]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/relation.rb
Merge pull request #14 from tomhughes/routing
[rails.git] / app / models / relation.rb
index 4e423504939d294eda3a3a04a82276b81e34f72d..008f365c4a248d72b307c96d2725536a14c952d3 100644 (file)
@@ -15,7 +15,7 @@ class Relation < ActiveRecord::Base
   has_many :relation_tags
 
   has_many :containing_relation_members, :class_name => "RelationMember", :as => :member
-  has_many :containing_relations, :class_name => "Relation", :through => :containing_relation_members, :source => :relation, :extend => ObjectFinder
+  has_many :containing_relations, :class_name => "Relation", :through => :containing_relation_members, :source => :relation
 
   validates_presence_of :id, :on => :update
   validates_presence_of :timestamp,:version,  :changeset_id