annotate vendor/plugins/redmine_bibliography/app/models/author.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 a7dc708d48a1
children aeedcec4df5f
rev   line source
luis@328 1 class Author < ActiveRecord::Base
luis@468 2 has_many :authorships, :dependent => :destroy
luis@328 3 has_many :publications, :through => :authorships
luis@403 4
luis@466 5 belongs_to :user
luis@403 6
luis@328 7 end