Skip to main content

Auto-detect User Time Zones in Rails Discussion

General • Asked by Chris Oliver

Great video Chris, time zones can be extremely frustating to work with. I would caution against setting time zone in a before action across all controllers. I did something similar and ended up in a default scope sort of situation where it was helpful but then I had to selectively turn that off for a lot of requests.


another well explained video! I have been struggling with how to handle timezones for some time now!


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.