aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-06-01 04:40:55 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-06-01 04:40:55 +0900
commit4bdd86fb1e608d0031ee5e03af4ae0b13b41fea3 (patch)
treed9663d958b76584becb94870b0427ec6c95636b3 /activerecord/test/cases/relations_test.rb
parent6fecb188fa14e7ef7b8bbc0b8e5070306338d22c (diff)
downloadrails-4bdd86fb1e608d0031ee5e03af4ae0b13b41fea3.tar.gz
rails-4bdd86fb1e608d0031ee5e03af4ae0b13b41fea3.tar.bz2
rails-4bdd86fb1e608d0031ee5e03af4ae0b13b41fea3.zip
The receiver in a scope should be a `relation`
Currently the receiver in a scope is `klass`, not `relation`. I think it is a strange because the receiver in `default_scope` and a scope on association is `relation`. I fixed to the receiver is to be a `relation` properly for consistency.
Diffstat (limited to 'activerecord/test/cases/relations_test.rb')
0 files changed, 0 insertions, 0 deletions