Mercurial > hg > soundsoftware-site
view vendor/plugins/redmine_bibliography/app/models/author.rb @ 470:30b36ab6f15a feature_36
Correctly removing authors.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Fri, 24 Jun 2011 11:41:01 +0100 |
parents | 0bb9c7baed07 |
children | aeedcec4df5f |
line wrap: on
line source
class Author < ActiveRecord::Base has_many :authorships, :dependent => :destroy has_many :publications, :through => :authorships belongs_to :user end