Class: PhotosManager::Event
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- PhotosManager::Event
- Defined in:
- app/models/photos_manager/event.rb
Instance Method Summary collapse
Instance Method Details
#photos_number ⇒ Object
6 7 8 |
# File 'app/models/photos_manager/event.rb', line 6 def photos_number [photos.count.to_s, "photos"].join(" ") end |