Plugins - active_record_each
Add to favoritesThis plugins let you, do something like these:
User.each (:conditions => { :is => "idiot" } ) do |u|
do_something_interesting_with u
end
The reason for these is that User.find(:all).each … load a huge array in mem
http://github.com/guillermo/active_record_each/wikis
git://github.com/guillermo/active_record_each.git
Ruby's
Model
