Class: TaggedSectionKeyword

Inherits:
ApplicationRecord show all
Includes:
Housekeeping, Shared::IsData
Defined in:
app/models/tagged_section_keyword.rb

Overview

TODO:

TaggedSectionKeyword definition…

Instance Attribute Summary (collapse)

Method Summary

Methods included from Housekeeping

#has_polymorphic_relationship?

Methods included from ActiverecordUtilities

#trim_attributes

Instance Attribute Details

- (Integer) keyword_id

TODO:

Returns:

  • (Integer)


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]

  belongs_to :otu_page_layout_section
  belongs_to :keyword

  validates :keyword, presence: true
  validates :otu_page_layout_section, presence: true

end

- (Integer) otu_page_layout_section_id

TODO:

Returns:

  • (Integer)


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]

  belongs_to :otu_page_layout_section
  belongs_to :keyword

  validates :keyword, presence: true
  validates :otu_page_layout_section, presence: true

end

- (Integer) position

TODO:

Returns:

  • (Integer)


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]

  belongs_to :otu_page_layout_section
  belongs_to :keyword

  validates :keyword, presence: true
  validates :otu_page_layout_section, presence: true

end

- (Integer) project_id

the project ID

Returns:

  • (Integer)


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]

  belongs_to :otu_page_layout_section
  belongs_to :keyword

  validates :keyword, presence: true
  validates :otu_page_layout_section, presence: true

end