author avatar

manu

Tue Jan 23 2018

looping through a collection of records in database using methods like all is very inefficient (it tries to instantiate all objects at once) and should resort to batch processing methods eg: find_each.