diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-08-30 14:16:35 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-08-30 14:16:46 -0700 |
commit | 9b2cce3660dd91215afe9d26fa29c8f69965e9a5 (patch) | |
tree | cdd32fa67b3a49bd494442670e3c9a30de316644 /activerecord | |
parent | ab0cbff07ebb5df8c9354fa2b3fd9984e039d2c6 (diff) | |
download | rails-9b2cce3660dd91215afe9d26fa29c8f69965e9a5.tar.gz rails-9b2cce3660dd91215afe9d26fa29c8f69965e9a5.tar.bz2 rails-9b2cce3660dd91215afe9d26fa29c8f69965e9a5.zip |
cache misses should return self
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/relation/delegation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/delegation.rb b/activerecord/lib/active_record/relation/delegation.rb index b6f80ac5c7..1d87b028ec 100644 --- a/activerecord/lib/active_record/relation/delegation.rb +++ b/activerecord/lib/active_record/relation/delegation.rb @@ -95,7 +95,7 @@ module ActiveRecord end end else - ActiveRecord::Relation + self end end end |