Class: Spina::Admin::Conferences::Blog::Category

Inherits:
ApplicationRecord
  • Object
show all
Extended by:
FriendlyId
Defined in:
app/models/spina/admin/conferences/blog/category.rb

Overview

Spina::Blog::Category

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.table_nameObject



20
21
22
# File 'app/models/spina/admin/conferences/blog/category.rb', line 20

def self.table_name
  'spina_blog_categories'
end

Instance Method Details

#to_sObject



16
17
18
# File 'app/models/spina/admin/conferences/blog/category.rb', line 16

def to_s
  name
end