1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #15261 from hbin/missing_parameters

Bring the missing parameters back.
This commit is contained in:
Rafael Mendonça França 2014-05-23 15:23:12 -03:00
commit a6f55fe257

View file

@ -48,7 +48,11 @@ module ActiveRecord
end
private
def method_body; raise NotImplementedError; end
# Override this method in the subclasses for method body.
def method_body(method_name, const_name)
raise NotImplementedError, "Subclasses must implement a method_body(method_name, const_name) method."
end
end
module ClassMethods