class method
self.new
Ruby on Rails 7.0.10
Since v4.0.13Signature
self.new(app, file_watcher: ActiveSupport::FileUpdateChecker)
No documentation comment.
Parameters
-
appreq -
file_watcherkey = ActiveSupport::FileUpdateChecker
Source
# File activerecord/lib/active_record/migration.rb, line 617
def initialize(app, file_watcher: ActiveSupport::FileUpdateChecker)
@app = app
@needs_check = true
@mutex = Mutex.new
@file_watcher = file_watcher
end
Defined in activerecord/lib/active_record/migration.rb line 617
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Migration::CheckPending