app/models/quorum/blastn_job.rb in quorum-0.3.0 vs app/models/quorum/blastn_job.rb in quorum-0.3.1
- old
+ new
@@ -2,10 +2,10 @@
class BlastnJob < ActiveRecord::Base
before_save :set_optional_params, :set_blast_dbs
belongs_to :job
- has_many :blastn_job_reports,
+ has_many :blastn_job_reports,
:dependent => :destroy,
:foreign_key => :blastn_job_id,
:primary_key => :job_id
attr_accessible :expectation, :max_score, :min_bit_score,