Stop Rails Console from barfing a ton of data
When you use Rails' console for stuff like this:
You'll notice that first you get the names of people like you wanted, but then console barfs out the array of everything you are iterating through, in this case all of the people. Make it stop.
people.each { |person| puts person.name }
You'll notice that first you get the names of people like you wanted, but then console barfs out the array of everything you are iterating through, in this case all of the people. Make it stop.

Comments