./script/console - disabling "records found.inspect"?

How do I disable console’s default behavior of automatically outputting
what appears to be an inspect of all records found? For example:

Item.find(:all).each do |item|
puts item.title
end

bunch of text outputted that shows the contents of all fields in all

items…

Joe

Item.find(:all).each do |item|
puts item.title
end ; nil

Really!
Well, you do have to put up with the:
=> nil
But I find that acceptable :wink:

-Rob

Rob B. http://agileconsultingllc.com
[email protected]
+1 513-295-4739

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs