From 5b0e72ec71654c064b9efc267cdd8d44da02edff Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 1 May 2009 23:20:53 +0000 Subject: [PATCH] Get rid of foreign_class specification which is no longer needed. --- app/models/relation_member.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5