After migrating my SQLite database to Postgres on the development server, I get the
PG::UndefinedFunction: ERROR: function strftime(unknown, date) does not
Your best bet might be to_char().
One alternative is to implement the behavior of strftime() as a user-defined function. (Named "strftime", of course.)