Skip to content
Browse files

Use proper module namespace.

  • Loading branch information...
1 parent ab0c89f commit 4b340ec2731120906300fbe230dc04cfc619b114 @metaskills committed Dec 5, 2011
View
2 lib/grouped_scope/arish/associations/collection_association.rb
@@ -9,7 +9,7 @@ module InstanceMethods
def association_scope
if reflection.grouped_scope?
- @association_scope ||= GroupedScope::Arish::Associations::AssociationScope.new(self).scope if klass
+ @association_scope ||= Associations::AssociationScope.new(self).scope if klass
else
super
end
View
2 lib/grouped_scope/arish/base.rb
@@ -12,7 +12,7 @@ module Base
module ClassMethods
def grouped_scope(*association_names)
- GroupedScope::Arish::Associations::Builder::GroupedCollectionAssociation.build(self, *association_names)
+ Associations::Builder::GroupedCollectionAssociation.build(self, *association_names)
end
end

0 comments on commit 4b340ec

Please sign in to comment.
Something went wrong with that request. Please try again.