search for: initialize_time_zone

Displaying 1 result from an estimated 1 matches for "initialize_time_zone".

2011 Jul 20
1
Time.zone is nil creating problems
...290 and rails 2.3.11 and when i am trying to run Time.zone in my console it is showing me nil and when i am trying to mention it in the environment.rb file by config.time_zone = ''UTC'' it is showing me an error .rvm/gems/ruby-1.9.2-p290/gems/rails-2.3.11/lib/initializer.rb:561:in `initialize_time_zone'': Value assigned to config.time_zone not recognized.Run "rake -D time" for a list of tasks for finding appropriate time zone names. (RuntimeError) I have also mentioned these two things in my environment.rb file config.active_record.default_timezone = :utc and ENV[''T...