Class: Spina::Admin::Conferences::Blog::Category
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Spina::Admin::Conferences::Blog::Category
- 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_name ⇒ Object
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_s ⇒ Object
16 17 18 |
# File 'app/models/spina/admin/conferences/blog/category.rb', line 16 def to_s name end |