diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-02-09 19:46:12 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-02-09 19:46:12 +0000 |
commit | 08bda903ec2b391e3d5660fdd1ea8f6137fecbd8 (patch) | |
tree | 4d478f955c5017b57af1293331ed36d04d735221 /activerecord | |
parent | d424674f1b95c958adb9e7235218135793c1a71f (diff) | |
download | rails-08bda903ec2b391e3d5660fdd1ea8f6137fecbd8.tar.gz rails-08bda903ec2b391e3d5660fdd1ea8f6137fecbd8.tar.bz2 rails-08bda903ec2b391e3d5660fdd1ea8f6137fecbd8.zip |
Update AR default timezone docs.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/timestamp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/timestamp.rb b/activerecord/lib/active_record/timestamp.rb index eb82728a0e..2877510ae4 100644 --- a/activerecord/lib/active_record/timestamp.rb +++ b/activerecord/lib/active_record/timestamp.rb @@ -4,7 +4,7 @@ module ActiveRecord # automatically included, so you don't need to do that manually. # # This behavior can be turned off by setting <tt>ActiveRecord::Base.record_timestamps = false</tt>. - # This behavior can use GMT by setting <tt>ActiveRecord::Base.timestamps_gmt = true</tt> + # This behavior by default uses local time, but can use UTC by setting <tt>ActiveRecord::Base.default_timezone = :utc</tt> module Timestamp def self.append_features(base) # :nodoc: super |