- Extended by:
- Defined in:
Shared code for Attribution.
The default behaviour with order by youngest source and oldest source is to place records with NIL *last*
in the list.
When multiple attributions exist the earliest or latest is used in the sort order.
Instance Method Summary collapse
Instance Method Details
#attributed? ⇒ Boolean
24 25 26
# File 'app/models/concerns/shared/attributions.rb', line 24 def attributed? self.attribution.present? end
#reject_attribution(attributed) ⇒ Object (protected)
30 31 32
# File 'app/models/concerns/shared/attributions.rb', line 30 def reject_attribution(attributed) false end