Nevermind all: I was also setting ActiveRecord::Base.default_timezone in my application_controller, likely to a value other than the symbol :utc. Removing this fixed it.
On Feb 18, 12:28 pm, jemminger <[email protected]> wrote: > Can you guys see here: > > http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/... > > I'm totally at a loss. Running rails 2.3.5, ruby 1.8.7 enterprise, > mysql 5.0.77 > > All datetimes (created_at, updated_at, any others that I've added) are > nil via my remote webserver, yet they're present in the console. > They're also present in the database. They're also present via > @model.created_at_before_type_cast > > Everything works flawlessly on my local macbook. > > Advice/Help please?! > > Thanks, > Jeff -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en.
