This was totally broken for me. Time.zone returns nil in my app.
After digging, I found that newer environment.rb files do set config.time_zone = 'UTC', but I was using an older. Might be worth having a default if Time.zone is nil - eg (Time.zone || Time).now