diff options
author | Chris Salzberg <chris@dejimata.com> | 2017-12-15 23:48:10 +0900 |
---|---|---|
committer | Chris Salzberg <chris@dejimata.com> | 2017-12-17 11:58:29 +0900 |
commit | e1ceb10fa829c5d6700f0bfbb5332e8f7967183d (patch) | |
tree | 76787547c8cdb475cd389596dc8e486612cb8aed /activerecord/test/cases/connection_management_test.rb | |
parent | 4aee5fcbfbb1d9eff01c9a2016904ae9fe93046d (diff) | |
download | rails-e1ceb10fa829c5d6700f0bfbb5332e8f7967183d.tar.gz rails-e1ceb10fa829c5d6700f0bfbb5332e8f7967183d.tar.bz2 rails-e1ceb10fa829c5d6700f0bfbb5332e8f7967183d.zip |
Undefine attribute methods on all descendants when resetting column info
If we don't do this, then we end up with an inconsistent situation where
a parent class may e.g. reset column information, but child classes will
contine to see attribute methods as already generated, and thus not pick
up this new column (falling through to method_missing).
Diffstat (limited to 'activerecord/test/cases/connection_management_test.rb')
0 files changed, 0 insertions, 0 deletions