Class: JournalCategory

Inherits:
Object
  • Object
show all
Includes:
Ants::Content, Ants::Orderable, Mongoid::Autoinc
Defined in:
app/models/journal_category.rb

Instance Method Summary collapse

Instance Method Details

#int_idObject

Autoinc



10
# File 'app/models/journal_category.rb', line 10

field :int_id, type: Integer

#postsObject

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_nameObject

Attributes



7
# File 'app/models/journal_category.rb', line 7

field :template_name, default: "show"