diff options
| author | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-18 10:22:05 +0900 |
|---|---|---|
| committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-19 00:50:40 +0900 |
| commit | d13f54d50a166d49c683f79d49341185788faed8 (patch) | |
| tree | 14468a7ece9ce1bfcc4aa06c027a50f722146170 /actioncable/lib/action_cable/subscription_adapter/postgresql.rb | |
| parent | 58c567adaeba1208522640e7890db9e07cbb768a (diff) | |
| download | rails-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 'actioncable/lib/action_cable/subscription_adapter/postgresql.rb')
0 files changed, 0 insertions, 0 deletions
