Add activerecord-import and try to reduce n+1 queries.