]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/relation_member.rb
Merge remote-tracking branch 'upstream/pull/3264'
[rails.git] / app / models / relation_member.rb
index 7f07dda9b82987226086f7d054e0a568d922f756..2de551c3f437c2b420574ca84aa58e17f9421bf3 100644 (file)
@@ -21,6 +21,6 @@ class RelationMember < ApplicationRecord
   self.table_name = "current_relation_members"
   self.primary_keys = "relation_id", "sequence_id"
 
-  belongs_to :relation, :foreign_key => :relation_id
+  belongs_to :relation
   belongs_to :member, :polymorphic => true
 end