aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
diff options
context:
space:
mode:
authorFranck Verrot <franck@verrot.fr>2010-11-25 02:53:28 +0800
committerAaron Patterson <aaron.patterson@gmail.com>2010-11-25 03:01:30 +0800
commit7b77a1fc71e54f6e42e97b426380303d696051c0 (patch)
tree5135b86a89403d85842cfa97a5628ec4e2b90fc7 /activerecord/lib/active_record/base.rb
parentc17cb7326d6af7c4226e955abd3f89db95fabb33 (diff)
downloadrails-7b77a1fc71e54f6e42e97b426380303d696051c0.tar.gz
rails-7b77a1fc71e54f6e42e97b426380303d696051c0.tar.bz2
rails-7b77a1fc71e54f6e42e97b426380303d696051c0.zip
Typo in the comments of the clear_timestamp_attributes method
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
-rw-r--r--activerecord/lib/active_record/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index 49b30f4779..1e0fd7c6fd 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -1833,7 +1833,7 @@ MSG
end
end
- # Clear attributes and changged_attributes
+ # Clear attributes and changed_attributes
def clear_timestamp_attributes
%w(created_at created_on updated_at updated_on).each do |attribute_name|
if self.has_attribute?(attribute_name)