Sha256: b2a4208d4de67c7f7f41fbf5f71cd1c75be481db463651fecaae207ec35a9e9f

Contents?: true

Size: 340 Bytes

Versions: 56

Compression:

Stored size: 340 Bytes

Contents

module Tenon
  module TenonContent
    class Piece < ActiveRecord::Base
      self.table_name = 'tenon_tenon_content_pieces'

      # Scopes, attachments, etc.
      has_asset :image, styles: { wrap: '400', half: '600', full: '1400' }

      # Relationships
      belongs_to :row, class_name: '::Tenon::TenonContent::Row'
    end
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
tenon-1.0.56 app/models/tenon/tenon_content/piece.rb
tenon-1.0.55 app/models/tenon/tenon_content/piece.rb
tenon-1.0.54 app/models/tenon/tenon_content/piece.rb
tenon-1.0.53 app/models/tenon/tenon_content/piece.rb
tenon-1.0.52 app/models/tenon/tenon_content/piece.rb
tenon-1.0.51 app/models/tenon/tenon_content/piece.rb
tenon-1.0.50 app/models/tenon/tenon_content/piece.rb
tenon-1.0.49 app/models/tenon/tenon_content/piece.rb
tenon-1.0.48 app/models/tenon/tenon_content/piece.rb
tenon-1.0.47 app/models/tenon/tenon_content/piece.rb
tenon-1.0.46 app/models/tenon/tenon_content/piece.rb
tenon-1.0.45 app/models/tenon/tenon_content/piece.rb
tenon-1.0.44 app/models/tenon/tenon_content/piece.rb
tenon-1.0.43 app/models/tenon/tenon_content/piece.rb
tenon-1.0.42 app/models/tenon/tenon_content/piece.rb
tenon-1.0.41 app/models/tenon/tenon_content/piece.rb
tenon-1.0.40 app/models/tenon/tenon_content/piece.rb
tenon-1.0.39 app/models/tenon/tenon_content/piece.rb
tenon-1.0.38 app/models/tenon/tenon_content/piece.rb
tenon-1.0.37 app/models/tenon/tenon_content/piece.rb