User.find_each(:conditions=>["id >? and id <?",2,10] ) do |u|
ruby-1.9.2-p0 > puts u.class
ruby-1.9.2-p0 ?> end
ruby-1.9.2-p0 > puts u.class
ruby-1.9.2-p0 ?> end

User.find_each(:conditions=>["id >? and id <?",2,10] ) do |u|
ruby-1.9.2-p0 > puts u.class ruby-1.9.2-p0 ?> end ![]() ![]() |