rails--rails/activerecord/test/active_record/connection_adapters
Yves Senn 152b85f06c introduce `conn.data_source_exists?` and `conn.data_sources`.
These new methods are used from the Active Record model layer to
determine which relations are viable to back a model. These new methods
allow us to change `conn.tables` in the future to only return tables and
no views. Same for `conn.table_exists?`.

The goal is to provide the following introspection methods on the
connection:

* `tables`
* `table_exists?`
* `views`
* `view_exists?`
* `data_sources` (views + tables)
* `data_source_exists?` (views + tables)
2015-09-22 19:48:44 +02:00
..
fake_adapter.rb introduce `conn.data_source_exists?` and `conn.data_sources`. 2015-09-22 19:48:44 +02:00