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?
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?
James B. 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?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs