Module: Shared::Notable

Extended by:
ActiveSupport::Concern
Included in:
CollectingEvent, CollectionObject, Image, Otu, Serial, Source
Defined in:
app/models/concerns/shared/notable.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#has_notations?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'app/models/concerns/shared/notable.rb', line 12

def has_notations?
  self.notes.count > 0
end