Mercurial > hg > soundsoftware-site
diff vendor/plugins/redmine_bibliography/app/models/publication.rb @ 468:0bb9c7baed07 feature_36
dynamically adding/removing users.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 23 Jun 2011 18:52:30 +0100 |
parents | fbdfec975bfa |
children | 76d064830472 |
line wrap: on
line diff
--- a/vendor/plugins/redmine_bibliography/app/models/publication.rb Wed Jun 22 19:42:31 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/models/publication.rb Thu Jun 23 18:52:30 2011 +0100 @@ -3,7 +3,7 @@ class Publication < ActiveRecord::Base unloadable - has_many :authorships + has_many :authorships, :dependent => :destroy has_many :authors, :through => :authorships, :uniq => true has_one :bibtex_entry, :dependent => :destroy