Class: SimpleShowcaseAdmin::Category

Inherits:
ActiveRecord::Base
  • Object
show all
Extended by:
FriendlyId
Includes:
RankedModel
Defined in:
app/models/simple_showcase_admin/category.rb

Instance Method Summary collapse

Instance Method Details

#formatObject



19
20
21
# File 'app/models/simple_showcase_admin/category.rb', line 19

def format
  self.category = self.category.titleize
end