Get rid of foreign_class specification which is no longer needed.
authorTom Hughes <tom@compton.nu>
Fri, 1 May 2009 23:20:53 +0000 (23:20 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 1 May 2009 23:20:53 +0000 (23:20 +0000)
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