Method: ActiveRecord::SchemaMigration#table_exists?
- Defined in:
- activerecord/lib/active_record/schema_migration.rb
#table_exists? ⇒ Boolean
100 101 102 103 104 |
# File 'activerecord/lib/active_record/schema_migration.rb', line 100 def table_exists? @pool.with_connection do |connection| connection.data_source_exists?(table_name) end end |