added a partially working rake task, need to wait for rails 4.2 to fix hstore bug