instance method
build_watcher
Ruby on Rails 6.1.7.10
Since v6.1.7.10 PrivateSignature
build_watcher(&block)
No documentation comment.
Parameters
-
blockblock
Source
# File activerecord/lib/active_record/migration.rb, line 605
def build_watcher(&block)
paths = Array(connection.migration_context.migrations_paths)
@file_watcher.new([], paths.index_with(["rb"]), &block)
end
Defined in activerecord/lib/active_record/migration.rb line 605
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Migration::CheckPending