use activerecord-db-tasks gem