Sha256: 52818bd287475ce1c3c13af4ca2480f73b21bd1932db34cda6092e6e05667338

Contents?: true

Size: 251 Bytes

Versions: 22

Compression:

Stored size: 251 Bytes

Contents

module Cmor::Showcase
  class FileDetail < ApplicationRecord
    belongs_to :item
    belongs_to :asset, class_name: 'ActiveStorage::Attachment', dependent: :destroy

    acts_as_list scope: :item
    default_scope { order(position: :asc) }
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
cmor_showcase-0.0.60.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.59.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.58.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.57.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.56.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.55.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.54.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.53.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.52.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.51.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.50.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.49.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.48.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.45.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.44.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.43.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.42.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.41.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.40.pre app/models/cmor/showcase/file_detail.rb
cmor_showcase-0.0.39.pre app/models/cmor/showcase/file_detail.rb