X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5449cf4adcc1fad4b9f43426e6d3e4a8f65e6fbb..c3bf919e3e8d20503c1ef39f87d674d1adf31553:/app/models/relation_member.rb diff --git a/app/models/relation_member.rb b/app/models/relation_member.rb index b385dd6d1..fbaf89daf 100644 --- a/app/models/relation_member.rb +++ b/app/models/relation_member.rb @@ -2,7 +2,7 @@ class RelationMember < ActiveRecord::Base set_table_name 'current_relation_members' set_primary_keys :id, :sequence_id - belongs_to :member, :polymorphic => true, :foreign_type => :member_class + belongs_to :member, :polymorphic => true belongs_to :relation, :foreign_key => :id def after_find