In config/environment.rb are these statements equivalent? config.default_timezone = :utc config.time_zone = "UTC" If not, then how do they differ in effect? -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
James Byrne wrote: Should have been:> In config/environment.rb are these statements equivalent? > > config.active_record.default_timezone = :utc > config.time_zone = "UTC" > > If not, then how do they differ in effect?-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Possibly Parallel Threads
- RSpec Testing ActiveRecord config dependency.
- Rails 3: Using local timezone on DB
- Some timezone trouble involving tzinfo and postgresql
- Mocking/Stubbing ActiveRecord.config.default_timezone
- TimeWithZone seems in rails 2.3 seems broken...is this the correct behavior?