I am getting an error when pushing a Rails 3 app into production on Heroku (postgres) while locally (sqlite) the code works fine - I took at look at the Postgres manual to no avail:
My Code:
(strftime('%s','now') - strftime('%s', posts.created_at)
Error:
LINE 1: SELECT posts.*, ((strftime('%s','now') -...
HINT: No function matches the given name and argument types. You might need to add explicit type casts.