From d90b4e2615e8048fdeffc6dffe3246704adee01f Mon Sep 17 00:00:00 2001 From: Jon Leighton Date: Wed, 23 Feb 2011 00:17:01 +0000 Subject: Rewrote AssociationPreload. --- .../lib/active_record/associations/preloader/has_one_through.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 activerecord/lib/active_record/associations/preloader/has_one_through.rb (limited to 'activerecord/lib/active_record/associations/preloader/has_one_through.rb') diff --git a/activerecord/lib/active_record/associations/preloader/has_one_through.rb b/activerecord/lib/active_record/associations/preloader/has_one_through.rb new file mode 100644 index 0000000000..f063f85574 --- /dev/null +++ b/activerecord/lib/active_record/associations/preloader/has_one_through.rb @@ -0,0 +1,9 @@ +module ActiveRecord + module Associations + class Preloader + class HasOneThrough < SingularAssociation #:nodoc: + include ThroughAssociation + end + end + end +end -- cgit v1.2.3