Displaying 1 result from an estimated 1 matches for "each_model".
Did you mean:
acc_model
2012 Jan 11
4
ActiveRecord: ar-each_model
...took only 40
seconds) on my legacy database.
So I was searching for a method, which yields a model instance at a
time from the result set of the query, but I could not find anything.
At the end, I tried to find a solution myself and so I came up to this
simple solution
https://github.com/tvw/ar-each_model
I want to put into discussion here, since I wonder, why similar things
do not exist in ActiveRecord.
Regards
Thomas
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39U...