instance method
method_missing
Ruby on Rails 5.2.8.1
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 231
def method_missing(method, *args, &block)
if delegate.respond_to?(method)
delegate.public_send(method, *args, &block)
else
super
end
end
Defined in activerecord/lib/active_record/migration/command_recorder.rb line 231
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Migration::CommandRecorder