Method: ActiveRecord::ConnectionAdapters::SchemaReflection#data_sources
- Defined in:
- activerecord/lib/active_record/connection_adapters/schema_cache.rb
#data_sources(pool, name) ⇒ Object
45 46 47 |
# File 'activerecord/lib/active_record/connection_adapters/schema_cache.rb', line 45 def data_sources(pool, name) cache(pool).data_source_exists?(pool, name) end |