aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/.gitignore
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-07-18 10:22:05 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-07-19 00:50:40 +0900
commitd13f54d50a166d49c683f79d49341185788faed8 (patch)
tree14468a7ece9ce1bfcc4aa06c027a50f722146170 /activerecord/test/.gitignore
parent58c567adaeba1208522640e7890db9e07cbb768a (diff)
downloadrails-d13f54d50a166d49c683f79d49341185788faed8.tar.gz
rails-d13f54d50a166d49c683f79d49341185788faed8.tar.bz2
rails-d13f54d50a166d49c683f79d49341185788faed8.zip
Fix unscoping `default_scope` in STI associations
Since 5c71000, it has lost to be able to unscope `default_scope` in STI associations. This change will use `.empty_scope?` instead of `.values.empty?` to regard as an empty scope if only have `type_condition`.
Diffstat (limited to 'activerecord/test/.gitignore')
0 files changed, 0 insertions, 0 deletions