class method
self.new
Ruby on Rails 6.1.7.10
Since v3.1.12Signature
self.new(delegate = nil)
No documentation comment.
Parameters
-
delegateopt = nil
Source
# File activerecord/lib/active_record/migration/command_recorder.rb, line 51
def initialize(delegate = nil)
@commands = []
@delegate = delegate
@reverting = false
end
Defined in activerecord/lib/active_record/migration/command_recorder.rb line 51
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Migration::CommandRecorder