Revision 1364:4d5d25039a5f plugins/redmine_bibliography/app/models
| plugins/redmine_bibliography/app/models/authorship.rb | ||
|---|---|---|
| 10 | 10 |
validates_presence_of :name_on_paper |
| 11 | 11 |
|
| 12 | 12 |
attr_accessor :search_author_class, :search_author_id, :search_name, :search_results, :identify_author |
| 13 |
before_save :associate_author_user |
|
| 13 |
|
|
| 14 |
before_create :associate_author_user |
|
| 14 | 15 |
|
| 15 | 16 |
# tod: review scope of ordering |
| 16 | 17 |
acts_as_list :column => 'auth_order' |
Also available in: Unified diff