Class: TaggedSectionKeyword
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- TaggedSectionKeyword
- Includes:
- Housekeeping, Shared::IsData
- Defined in:
- app/models/tagged_section_keyword.rb
Overview
TODO:
TaggedSectionKeyword definition…
Instance Attribute Summary collapse
- #keyword_id ⇒ Integer
- #otu_page_layout_section_id ⇒ Integer
- #position ⇒ Integer
-
#project_id ⇒ Integer
the project ID.
Method Summary
Methods included from Shared::IsData
#errors_excepting, #full_error_messages_excepting, #identical, #is_community?, #is_destroyable?, #is_editable?, #is_in_use?, #is_in_users_projects?, #metamorphosize, #similar
Methods included from Housekeeping
#has_polymorphic_relationship?
Methods inherited from ApplicationRecord
Instance Attribute Details
#keyword_id ⇒ Integer
TODO:
20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'app/models/tagged_section_keyword.rb', line 20 class TaggedSectionKeyword < ApplicationRecord include Housekeeping include Shared::IsData acts_as_list scope: [:otu_page_layout_section, :project_id] belongs_to :otu_page_layout_section belongs_to :keyword validates :keyword, presence: true validates :otu_page_layout_section, presence: true end |
#otu_page_layout_section_id ⇒ Integer
TODO:
20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'app/models/tagged_section_keyword.rb', line 20 class TaggedSectionKeyword < ApplicationRecord include Housekeeping include Shared::IsData acts_as_list scope: [:otu_page_layout_section, :project_id] belongs_to :otu_page_layout_section belongs_to :keyword validates :keyword, presence: true validates :otu_page_layout_section, presence: true end |
#position ⇒ Integer
TODO:
20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'app/models/tagged_section_keyword.rb', line 20 class TaggedSectionKeyword < ApplicationRecord include Housekeeping include Shared::IsData acts_as_list scope: [:otu_page_layout_section, :project_id] belongs_to :otu_page_layout_section belongs_to :keyword validates :keyword, presence: true validates :otu_page_layout_section, presence: true end |
#project_id ⇒ Integer
the project ID
20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'app/models/tagged_section_keyword.rb', line 20 class TaggedSectionKeyword < ApplicationRecord include Housekeeping include Shared::IsData acts_as_list scope: [:otu_page_layout_section, :project_id] belongs_to :otu_page_layout_section belongs_to :keyword validates :keyword, presence: true validates :otu_page_layout_section, presence: true end |