diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-08-30 17:17:17 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-08-30 17:17:17 -0700 |
commit | 12577dba0ef29c0199a88a29bc497812402c46f5 (patch) | |
tree | cc502d21edb3a5446799157617b3c849dfe3fd06 /activerecord | |
parent | 74abdb1eab2dffea6247af7653b994c1f1bfe2ef (diff) | |
download | rails-12577dba0ef29c0199a88a29bc497812402c46f5.tar.gz rails-12577dba0ef29c0199a88a29bc497812402c46f5.tar.bz2 rails-12577dba0ef29c0199a88a29bc497812402c46f5.zip |
no need to fully qualify
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 31f924ba52..e28938f9d0 100644 --- a/activerecord/lib/active_record/relation/delegation.rb +++ b/activerecord/lib/active_record/relation/delegation.rb @@ -15,7 +15,7 @@ module ActiveRecord ActiveRecord::AssociationRelation ].each do |klass| delegate = Class.new(klass) { - include ActiveRecord::Relation::ClassSpecificRelation + include ClassSpecificRelation } const_set klass.name.gsub('::', '_'), delegate cache[klass] = delegate |