activerecord - Hide/truncate long attributes in rails console -
for blog model i'm saving rss field text under blog.rss
, problem is, of rather long , each 1 prints when i'm working in rails console, ie: blog.last(10)
.
is there way hide output unless call someblog.rss
specifically?
Comments
Post a Comment