diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-09-22 22:29:59 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-09-22 22:29:59 +0200 |
commit | 7805fa2b0bdc49d1cc0f8e139739066c0f0b3f6c (patch) | |
tree | 7dbd4dda1c29b8ffdf2d13d9dbe96f490c6351b7 /activerecord/CHANGELOG.md | |
parent | 3bbc325613583015a1058a1fa77bc87f7af30568 (diff) | |
parent | 152b85f06c7f91b39de0e5da6426feb35a698d05 (diff) | |
download | rails-7805fa2b0bdc49d1cc0f8e139739066c0f0b3f6c.tar.gz rails-7805fa2b0bdc49d1cc0f8e139739066c0f0b3f6c.tar.bz2 rails-7805fa2b0bdc49d1cc0f8e139739066c0f0b3f6c.zip |
Merge pull request #21715 from rails/introduce_data_sources
introduce `conn.data_source_exists?` and `conn.data_sources`.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 248e32c2ae..3933c3f73a 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,13 @@ +* Introduce `connection.data_sources` and `connection.data_source_exists?`. + These methods determine what relations can be used to back Active Record + models (usually tables and views). + + Also deprecate `SchemaCache#tables`, `SchemaCache#table_exists?` and + `SchemaCache#clear_table_cache!` in favor of their new data source + counterparts. + + *Yves Senn*, *Matthew Draper* + * `ActiveRecord::Tasks::MySQLDatabaseTasks` fails if shellout to mysql commands (like `mysqldump`) is not successful. |