Sha256: 3737a808c676d803a1e729072f713f2c01a982a0386601d6fb20865bf47b5e37

Contents?: true

Size: 289 Bytes

Versions: 22

Compression:

Stored size: 289 Bytes

Contents

module Para
  module Page
    class SectionResource < Para::ApplicationRecord
      self.table_name = 'para_page_section_resources'

      acts_as_orderable parent: :section, as: :section_resources

      belongs_to :section
      belongs_to :resource, polymorphic: true
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
para-0.12.4 app/models/para/page/section_resource.rb
para-0.12.3 app/models/para/page/section_resource.rb
para-0.12.2 app/models/para/page/section_resource.rb
para-0.12.1 app/models/para/page/section_resource.rb
para-0.12.0 app/models/para/page/section_resource.rb
para-0.11.4 app/models/para/page/section_resource.rb
para-0.11.3 app/models/para/page/section_resource.rb
para-0.11.2 app/models/para/page/section_resource.rb
para-0.11.1 app/models/para/page/section_resource.rb
para-0.11.0 app/models/para/page/section_resource.rb
para-0.10.0 app/models/para/page/section_resource.rb
para-0.9.4 app/models/para/page/section_resource.rb
para-0.9.3.3 app/models/para/page/section_resource.rb
para-0.9.3.2 app/models/para/page/section_resource.rb
para-0.9.3.1 app/models/para/page/section_resource.rb
para-0.9.2 app/models/para/page/section_resource.rb
para-0.9.0 app/models/para/page/section_resource.rb
para-0.8.15 app/models/para/page/section_resource.rb
para-0.8.14 app/models/para/page/section_resource.rb
para-0.8.13 app/models/para/page/section_resource.rb