Postgres activerecord post