In config/application.rb I have "config.time_zone = 'UTC'" (without quotes) in the file. I am assuming this is to make the conversion from the user's time, which is entered into the view, to UTC, which is stored in the database. My question is, how do I convert the UTC value from the database to the user's local time to display in the view? I have read that rails takes care of that automatically - how do I tell it to do this?
I have a timezone field in each user's row in the database, I'm just not sure what to store in there, also. I know about rake time:zones:all - I just don't know how all of this fits together in rails 3!
Thank you,
sk