diff options
author | Josh Nesbitt <josh@wearestac.com> | 2011-09-02 13:28:38 +0100 |
---|---|---|
committer | Josh Nesbitt <josh@wearestac.com> | 2011-09-02 13:28:38 +0100 |
commit | d0f9f4e66467f7ab6a75c16e1a5b9d00912870cc (patch) | |
tree | d135ee8f1801fae236c16e4bb69766705a4a50f2 /activemodel/lib/active_model | |
parent | 16aa4330d7a07736ce59ea3a96e57d17fa628a2d (diff) | |
download | rails-d0f9f4e66467f7ab6a75c16e1a5b9d00912870cc.tar.gz rails-d0f9f4e66467f7ab6a75c16e1a5b9d00912870cc.tar.bz2 rails-d0f9f4e66467f7ab6a75c16e1a5b9d00912870cc.zip |
Fix typo in ActiveModel::Dirty comment. define_attribute_methods is a class method, not attribute.
Diffstat (limited to 'activemodel/lib/active_model')
-rw-r--r-- | activemodel/lib/active_model/dirty.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/dirty.rb b/activemodel/lib/active_model/dirty.rb index e3e71525fa..166cccf161 100644 --- a/activemodel/lib/active_model/dirty.rb +++ b/activemodel/lib/active_model/dirty.rb @@ -29,7 +29,7 @@ module ActiveModel # # include ActiveModel::Dirty # - # define_attribute_methods = [:name] + # define_attribute_methods [:name] # # def name # @name |