0
私はenvironment.rb
でconfig.time_zone = 'UTC'
を設定していて、それでも私はといくつかの奇妙な振る舞いを取得Railsの組み込みの日時フィールド:奇妙なのcreated_at行動
>> Time.now
=> Sun Jun 21 17:05:59 -0700 2009
>> Feedback.create(:body => "testing")
=> #<Feedback id: 23, body: "testing", email_address: nil, name: nil, created_at: "2009-06-22 00:06:09", updated_at: "2009-06-22 00:06:09">
>> Time.parse(Feedback.last.created_at.to_s)
=> Mon Jun 22 00:06:09 UTC 2009
任意の考え?