diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-06-01 04:40:55 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-06-01 04:40:55 +0900 |
commit | 4bdd86fb1e608d0031ee5e03af4ae0b13b41fea3 (patch) | |
tree | d9663d958b76584becb94870b0427ec6c95636b3 /activerecord/test/cases/relation_test.rb | |
parent | 6fecb188fa14e7ef7b8bbc0b8e5070306338d22c (diff) | |
download | rails-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/relation_test.rb')
0 files changed, 0 insertions, 0 deletions