ActiveRecord on MySQL— Iterating over large tables with conditions

?source=rss----3a8144eabfe3---4