Class: Spina::Admin::Journal::Issue
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- Spina::Admin::Journal::Issue
- Includes:
- AttrJson::NestedAttributes, AttrJson::Record, Partable, TranslatedContent
- Defined in:
- app/models/spina/admin/journal/issue.rb
Overview
Instance Attribute Summary collapse
-
#date ⇒ Date
The (planned) publication date of the issue.
-
#issue ⇒ ActiveRecord::Relation
The articles within this issue.
-
#number ⇒ Integer
The number.
-
#title ⇒ String
The title of the issue (optional).
-
#volume ⇒ ActiveRecord::Relation
The volume that contains this issue.
Instance Attribute Details
#date ⇒ Date
Returns The (planned) publication date of the issue.
32 |
# File 'app/models/spina/admin/journal/issue.rb', line 32 belongs_to :volume |
#issue ⇒ ActiveRecord::Relation
Returns the articles within this issue.
36 |
# File 'app/models/spina/admin/journal/issue.rb', line 36 has_many :articles, dependent: :destroy |
#number ⇒ Integer
Returns The number.
32 |
# File 'app/models/spina/admin/journal/issue.rb', line 32 belongs_to :volume |
#title ⇒ String
Returns The title of the issue (optional).
32 |
# File 'app/models/spina/admin/journal/issue.rb', line 32 belongs_to :volume |
#volume ⇒ ActiveRecord::Relation
Returns the volume that contains this issue.
32 |
# File 'app/models/spina/admin/journal/issue.rb', line 32 belongs_to :volume |