method
method_missing
v4.0.2 -
Show latest stable
- Class:
ActiveRecord::DynamicMatchers
method_missing(name, *arguments, &block)private
No documentation available.
# File activerecord/lib/active_record/dynamic_matchers.rb, line 15
def method_missing(name, *arguments, &block)
match = Method.match(self, name)
if match && match.valid?
match.define
send(name, *arguments, &block)
else
super
end
end