title: Supporting Timezones in Rails
body: <p>I've got an application that allows users within the same company to create job records, view, edit, and search these jobs. The users are spread out all over the United States. A user in California may need to update a job for a user in New York and visa versa.</p>
  
  <p>I read through an article that suggested setting <code>Time.zone</code> in the controller with a before action, but if I do this, I assume that Rails would then save that record in the current time zone for like the California user. Then, if the New York user updates the same record then <code>updated_at</code> time would then be in a different time zone than the <code>created_at</code> attribute. Ideally, I see all of my records having a UTC time and then when a given user accesses/creates records, the time is displayed to them in their set timezone but saved in the database as UTC. I'm not sure how to do this or if it's even the correct approach. Can anyone provide some guidance?</p>
  
  <p>Thanks in advance. </p>