instance method
method_missing
Ruby on Rails 3.1.12
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 97
def method_missing(method, *args, &block)
@delegate.send(method, *args, &block)
rescue NoMethodError => e
raise e, e.message.sub(/ for #<.*$/, " via proxy for #{@delegate}")
end
Defined in activerecord/lib/active_record/migration/command_recorder.rb line 97
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Migration::CommandRecorder