Remove unnecessary *args

This commit is contained in:
Jon Leighton
2011-12-01 15:03:50 +00:00
parent 07f90f6bec
commit 365e10b8dc

View File

@@ -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