Class: Gallery
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Gallery
- Defined in:
- app/models/gallery.rb
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
9 10 11 |
# File 'app/models/gallery.rb', line 9 def name title.downcase.gsub(" ", "_") end |