diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-06-11 19:57:38 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-06-13 13:15:50 +0900 |
commit | 5cab344494c340ea82a35b46efa06b94f0b7730b (patch) | |
tree | ec5e8e67eeff1693a8bf2a3395bceea397894e27 /activerecord/lib/active_record/database_configurations.rb | |
parent | 0ad238f4782375ea2d3e0145c74be1d1aa8f546f (diff) | |
download | rails-5cab344494c340ea82a35b46efa06b94f0b7730b.tar.gz rails-5cab344494c340ea82a35b46efa06b94f0b7730b.tar.bz2 rails-5cab344494c340ea82a35b46efa06b94f0b7730b.zip |
Clear schema cache when a table is created/dropped/renamed
Otherwise `Model.table_exists?` returns the staled cache result.
Diffstat (limited to 'activerecord/lib/active_record/database_configurations.rb')
0 files changed, 0 insertions, 0 deletions