Mercurial > hg > soundsoftware-site
changeset 559:3c9ca235835b feature_36
Addressing Bug #247. In progress.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 03 Aug 2011 18:19:47 +0100 |
parents | c94e23a6eff1 |
children | 735388da579a |
files | vendor/plugins/redmine_bibliography/app/models/publication.rb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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