RailsCasts Pro episodes are now free!

Learn more or hide this

Janusz's Profile

GitHub User: januszm

Comments by Janusz

Avatar

Just a follow up on the issue with before_filter - if we set the time zone using before_filter at the top of the ApplicationController then why should bother about leaking it through to the whole process? Every new request to our application will go through the controller and for each new request the proper time zone should be set again right? We just need to make sure that it's always set and fallbacks to some default. Workers can handle time zone in a different way.