diff options
author | Adam Meehan <adam.meehan@gmail.com> | 2010-08-09 13:44:04 +1000 |
---|---|---|
committer | Adam Meehan <adam.meehan@gmail.com> | 2010-08-09 13:44:04 +1000 |
commit | 9a43640ed1de6f65f152df2b0ab61f5bc740d805 (patch) | |
tree | dabd904047fa285063cf0a7499a864886175c93e /activemodel/lib/active_model/attribute_methods.rb | |
parent | 678aeb7e48fef9cd3107f22fb4ae9d1ecec27a59 (diff) | |
download | rails-9a43640ed1de6f65f152df2b0ab61f5bc740d805.tar.gz rails-9a43640ed1de6f65f152df2b0ab61f5bc740d805.tar.bz2 rails-9a43640ed1de6f65f152df2b0ab61f5bc740d805.zip |
typo in AM
Diffstat (limited to 'activemodel/lib/active_model/attribute_methods.rb')
-rw-r--r-- | activemodel/lib/active_model/attribute_methods.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/attribute_methods.rb b/activemodel/lib/active_model/attribute_methods.rb index 817640b178..a43436e008 100644 --- a/activemodel/lib/active_model/attribute_methods.rb +++ b/activemodel/lib/active_model/attribute_methods.rb @@ -283,7 +283,7 @@ module ActiveModel @attribute_methods_generated = true end - # Removes all the preiously dynamically defined methods from the class + # Removes all the previously dynamically defined methods from the class def undefine_attribute_methods generated_attribute_methods.module_eval do instance_methods.each { |m| undef_method(m) } |