Class: Gallery

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/gallery.rb

Instance Method Summary collapse

Instance Method Details

#nameObject



9
10
11
# File 'app/models/gallery.rb', line 9

def name
  title.downcase.gsub(" ", "_")
end