aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/sanitize_test.rb
diff options
context:
space:
mode:
authorFabian Schwahn <fabian.schwahn@gmail.com>2017-04-20 10:59:20 +0200
committerFabian Schwahn <fabian.schwahn@gmail.com>2017-04-20 11:09:53 +0200
commitdc47c2be4eb28a92e7fc0f2195b81ed453b8245d (patch)
treecb808a6196bb6d261fbbc3c941109535f04cf2d5 /activerecord/test/cases/sanitize_test.rb
parent809421811440391d596c63fb65e2a4a0424027ef (diff)
downloadrails-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