Class: JournalCategory
- Inherits:
-
Object
- Object
- JournalCategory
- Includes:
- Ants::Content, Ants::Orderable, Mongoid::Autoinc
- Defined in:
- app/models/journal_category.rb
Instance Method Summary collapse
-
#int_id ⇒ Object
Autoinc.
-
#posts ⇒ Object
Relations.
-
#template_name ⇒ Object
Attributes.
Instance Method Details
#int_id ⇒ Object
Autoinc
10 |
# File 'app/models/journal_category.rb', line 10 field :int_id, type: Integer |
#posts ⇒ Object
Relations
14 |
# File 'app/models/journal_category.rb', line 14 has_and_belongs_to_many :posts, class_name: "JournalPost", inverse_of: :categories, index: true |
#template_name ⇒ Object
Attributes
7 |
# File 'app/models/journal_category.rb', line 7 field :template_name, default: "show" |