Permalink
Browse files

Reverse related artefacts aren't used or needed.

  • Loading branch information...
1 parent e2f6752 commit 3685bfcc8c6790b04de74c7c2a7de820176bbb41 @threedaymonk threedaymonk committed Apr 24, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 app/models/artefact.rb
View
@@ -13,7 +13,6 @@ class Artefact < ActiveRecord::Base
].freeze
has_many :related_items, :foreign_key => :source_artefact_id, :order => 'sort_key ASC', :dependent => :destroy
- has_many :reverse_related_items, :foreign_key => :artefact_id, :class_name => 'RelatedItem', :order => 'sort_key ASC', :dependent => :destroy
has_many :related_artefacts, :through => :related_items, :source => :artefact
belongs_to :contact

0 comments on commit 3685bfc

Please sign in to comment.