Revision 1317:2805873c0147 plugins/redmine_bibliography/app/models
| plugins/redmine_bibliography/app/models/authorship.rb | ||
|---|---|---|
| 12 | 12 |
attr_accessor :search_author_class, :search_author_id, :search_name, :search_results, :identify_author |
| 13 | 13 |
before_save :associate_author_user |
| 14 | 14 |
|
| 15 |
acts_as_list |
|
| 16 |
|
|
| 15 | 17 |
# todo: review usage of scope --lf.20130108 |
| 16 | 18 |
scope :like_unique, lambda {|q|
|
| 17 | 19 |
s = "%#{q.to_s.strip.downcase}%"
|
Also available in: Unified diff