Monday, July 28, 2008

Rails 2.1 and Timestamps

Haven't posted many articles lately. Been busy with several work projects and other issues.

I've spent enough time with ruby that I can now look at tackling rails again. Since my first attempt at rails back in December were slow and did not gain traction. I thought a shift to getting to know the Ruby language would be better.

Version 2.1 of Rails has been released since I first looked at Rails. Apparently one of the new features that has been incorporated is time zones. One of my new rails projects uses date and timestamps. It was cool knowing everything is getting recorded in UTC. It cuts down on confusion of when a transaction was recorded. The only issue is displaying the users local time for it. I found this article that was very helpful in getting some quick results.

Labels: ,