Method: ActiveRecord::ConnectionAdapters::SchemaCache#add_all

Defined in:
activerecord/lib/active_record/connection_adapters/schema_cache.rb

#add_all(pool) ⇒ Object

:nodoc:



396
397
398
399
400
401
402
403
404
# File 'activerecord/lib/active_record/connection_adapters/schema_cache.rb', line 396

def add_all(pool) # :nodoc:
  pool.with_connection do
    tables_to_cache(pool).each do |table|
      add(pool, table)
    end

    version(pool)
  end
end