After migrating my SQLite database to Postgres on the development server, I get the
PG::UndefinedFunction: ERROR: function strftime(unknown, date) does not
You probably want to use date_part(). See the documentation here http://www.postgresql.org/docs/9.1/static/functions-datetime.html
date_part()