aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-12-01 15:03:50 +0000
committerJon Leighton <j@jonathanleighton.com>2011-12-01 23:41:51 +0000
commit365e10b8dcbefe36cdbe98e077d6432ad76c6a08 (patch)
treecefd2237b2ca4f9abcfc7de3f552116ebcbc8ed0 /activerecord/lib
parent07f90f6bec702a6e08d65a33682ddd244050375f (diff)
downloadrails-365e10b8dcbefe36cdbe98e077d6432ad76c6a08.tar.gz
rails-365e10b8dcbefe36cdbe98e077d6432ad76c6a08.tar.bz2
rails-365e10b8dcbefe36cdbe98e077d6432ad76c6a08.zip
Remove unnecessary *args
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/attribute_methods.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/attribute_methods.rb b/activerecord/lib/active_record/attribute_methods.rb
index d7bfaa5655..818dc88725 100644
--- a/activerecord/lib/active_record/attribute_methods.rb
+++ b/activerecord/lib/active_record/attribute_methods.rb
@@ -29,12 +29,12 @@ module ActiveRecord
end
end
- def undefine_attribute_methods(*args)
+ def undefine_attribute_methods
if base_class == self
super
@attribute_methods_generated = false
else
- base_class.undefine_attribute_methods(*args)
+ base_class.undefine_attribute_methods
end
end