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

Bring the missing parameters back.

This commit is contained in:
Bin Huang 2014-05-23 14:39:54 +08:00
parent 9ca4839a1a
commit 36368eaa1e

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