diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-04-22 16:28:20 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-04-12 18:01:57 +0900 |
commit | fa8c525d20ff14e4a9d367d2845b446267065bcc (patch) | |
tree | 1753880cb6c0ecc20f43a1528bce09a8857c1509 /activerecord/lib/active_record/connection_adapters/sqlite3/database_statements.rb | |
parent | 3bd534287139549cee10e10364344d66139d9237 (diff) | |
download | rails-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/connection_adapters/sqlite3/database_statements.rb')
0 files changed, 0 insertions, 0 deletions