aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-04-22 16:28:20 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-04-12 18:01:57 +0900
commitfa8c525d20ff14e4a9d367d2845b446267065bcc (patch)
tree1753880cb6c0ecc20f43a1528bce09a8857c1509 /activerecord/lib/active_record/associations.rb
parent3bd534287139549cee10e10364344d66139d9237 (diff)
downloadrails-fa8c525d20ff14e4a9d367d2845b446267065bcc.tar.gz
rails-fa8c525d20ff14e4a9d367d2845b446267065bcc.tar.bz2
rails-fa8c525d20ff14e4a9d367d2845b446267065bcc.zip
Fix `automatic_inverse_of` not to be disabled if extension block is given
If an association has a scope, `automatic_inverse_of` is to be disabled. But extension block is obviously not a scope. It should not be regarded as a scope. Fixes #28806.
Diffstat (limited to 'activerecord/lib/active_record/associations.rb')
0 files changed, 0 insertions, 0 deletions