Hi Frederick,

That makes a lot more sense and that's what I've done.  I think I was 
expecting too much magic out of Active Record / Rails.  I'm still 
getting up to speed on this time zone stuff.  I'm not sure why the prior 
approach ever worked at all (on my Mac).  There are times where I still 
need an actual TimeZone object, so I've added the following method to my 
User class.

  def time_zone_object
    ::ActiveSupport::TimeZone[time_zone]
  end

And the following if I need to format a time based on the user's time 
zone.

  def tz_strftime(format, time)
    time_zone_object.tzinfo.strftime(format, time)
  end

Problem solved.  Thanks again for the help.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to