diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-06-19 10:14:06 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-06-21 00:53:29 +0900 |
commit | a26d4ad64b0451301711b7050dea2593c977cfd3 (patch) | |
tree | 2b5d41d815201d4d4cd289ccd67d0094201209c9 /activerecord/lib/active_record/relation/from_clause.rb | |
parent | ce459720ec5ef039d1f825c69bd3d929d5885996 (diff) | |
download | rails-a26d4ad64b0451301711b7050dea2593c977cfd3.tar.gz rails-a26d4ad64b0451301711b7050dea2593c977cfd3.tar.bz2 rails-a26d4ad64b0451301711b7050dea2593c977cfd3.zip |
`PolymorphicReflection` is not using the methods from `ThroughReflection`
`ThroughReflection` initializes `@delegate_reflection` and delegate all
public methods to `delegate_reflection`. But `PolymorphicReflection`
does not initialize `@delegate_reflection`.
It is enough to inherit `AbstractReflection` (using `alias_candidate`
only).
Diffstat (limited to 'activerecord/lib/active_record/relation/from_clause.rb')
0 files changed, 0 insertions, 0 deletions