diff options
author | Fabian Schwahn <fabian.schwahn@gmail.com> | 2017-04-20 10:59:20 +0200 |
---|---|---|
committer | Fabian Schwahn <fabian.schwahn@gmail.com> | 2017-04-20 11:09:53 +0200 |
commit | dc47c2be4eb28a92e7fc0f2195b81ed453b8245d (patch) | |
tree | cb808a6196bb6d261fbbc3c941109535f04cf2d5 /activerecord/test/cases/sanitize_test.rb | |
parent | 809421811440391d596c63fb65e2a4a0424027ef (diff) | |
download | rails-dc47c2be4eb28a92e7fc0f2195b81ed453b8245d.tar.gz rails-dc47c2be4eb28a92e7fc0f2195b81ed453b8245d.tar.bz2 rails-dc47c2be4eb28a92e7fc0f2195b81ed453b8245d.zip |
Remove :polymorphic from INVALID_AUTOMATIC_INVERSE_OPTIONS
This makes automatic inverse detection possible for polymorphic
:has_one & :has_many possible.
This resolves a number of issues, eg. `touch: true` on polymorphic relationships (#16446) and automatically setting inverse associations on newly built objects (#15028, #21843).
Diffstat (limited to 'activerecord/test/cases/sanitize_test.rb')
0 files changed, 0 insertions, 0 deletions