mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Remove unnecessary *args
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user