aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Meehan <adam.meehan@gmail.com>2010-08-09 13:44:04 +1000
committerAdam Meehan <adam.meehan@gmail.com>2010-08-09 13:44:04 +1000
commit9a43640ed1de6f65f152df2b0ab61f5bc740d805 (patch)
treedabd904047fa285063cf0a7499a864886175c93e
parent678aeb7e48fef9cd3107f22fb4ae9d1ecec27a59 (diff)
downloadrails-9a43640ed1de6f65f152df2b0ab61f5bc740d805.tar.gz
rails-9a43640ed1de6f65f152df2b0ab61f5bc740d805.tar.bz2
rails-9a43640ed1de6f65f152df2b0ab61f5bc740d805.zip
typo in AM
-rw-r--r--activemodel/lib/active_model/attribute_methods.rb2
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) }