]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/relation_member.rb
Merge branch 'master' of git://git.openstreetmap.org/rails
[rails.git] / app / models / relation_member.rb
index b385dd6d1d0362b0f4dc45f3fa81ef582c73a366..fbaf89dafd937d30871f30fed7c3bb5ab87e1d20 100644 (file)
@@ -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