# HG changeset patch # User luisf # Date 1312391987 -3600 # Node ID 3c9ca235835bc7c31e2c5a14d434fa4e46a953af # Parent c94e23a6eff12b4ed6f3c74efcc7a0b2dc8fafea Addressing Bug #247. In progress. diff -r c94e23a6eff1 -r 3c9ca235835b vendor/plugins/redmine_bibliography/app/models/publication.rb --- a/vendor/plugins/redmine_bibliography/app/models/publication.rb Wed Aug 03 16:27:13 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/models/publication.rb Wed Aug 03 18:19:47 2011 +0100 @@ -6,7 +6,7 @@ has_many :authorships, :dependent => :destroy has_many :authors, :through => :authorships, :uniq => true - has_one :bibtex_entry, :dependent => :destroy + has_one :bibtex_entry validates_presence_of :title