diff options
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index c0b8e7e14f..73bd407f8f 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -649,7 +649,7 @@ module ActiveRecord #:nodoc: when :last find_last(options) when :all - find_every(options) + construct_finder_arel_with_includes(options).all else construct_finder_arel_with_includes(options).find(*args) end |