instance method
method_missing
Ruby on Rails 4.0.13
Since v3.1.12 PrivateSignature
method_missing(method, *args, &block)
Forwards any missing method call to the \target.
Parameters
-
methodreq -
argsrest -
blockblock
Source
# File activerecord/lib/active_record/migration/command_recorder.rb, line 165
def method_missing(method, *args, &block)
if @delegate.respond_to?(method)
@delegate.send(method, *args, &block)
else
super
end
end
Defined in activerecord/lib/active_record/migration/command_recorder.rb line 165
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Migration::CommandRecorder