Software Development
Pages
Home
About
Contact
Thursday, August 13, 2009
How to prevent the active_record output in rails console
end the statements with ; nil
Eg: list = Blog.find(:all)
list.each do |x|
puts x.title
end ; nil
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment