instance method
record
Ruby on Rails 3.2.22.5
Since v3.1.12Signature
record(*command)
record command. command should be a method name and arguments. For example:
recorder.record(:method_name, [:arg1, :arg2])
Parameters
-
commandrest
Source
# File activerecord/lib/active_record/migration/command_recorder.rb, line 27
def record(*command)
@commands << command
end
Defined in activerecord/lib/active_record/migration/command_recorder.rb line 27
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Migration::CommandRecorder