← all posts

31 December 2008

How Rails Works #1: A Timezone Overview

Today fowlduck and I were talking in the #rubyonrails channel and we both wondered about timezones and why they were so (apparently) screwy. It turns out all I (and he possibly also) forgot to do was to put config.time_zone in the config/environment.rb. So what does this mysterious method do? Well:

In Rails 2.2...

Changelog

Updated on April 23rd, 2009

  1. Fixed line number linkings, linking directly to 2-2-stable branch which, ideally, should now never change.

— Ryan

Got a thought? Email me or find me on Mastodon.

Before this: Windows 8 Icon Size

After this: How Dare I!