Sha256: 6b872378e7a03a40b75d05c3450994690bc5821f2e1d212255f1e82d790d9472

Contents?: true

Size: 267 Bytes

Versions: 28

Compression:

Stored size: 267 Bytes

Contents

module Spree
  class Prototype < ActiveRecord::Base
    has_and_belongs_to_many :properties, join_table: :spree_properties_prototypes
    has_and_belongs_to_many :option_types, join_table: :spree_option_types_prototypes

    validates :name, presence: true
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
spree_core-2.2.14 app/models/spree/prototype.rb
spree_core-2.2.13 app/models/spree/prototype.rb
spree_core-2.2.12 app/models/spree/prototype.rb
spree_core-2.2.11 app/models/spree/prototype.rb
spree_core-2.2.10 app/models/spree/prototype.rb
spree_core-2.2.9 app/models/spree/prototype.rb
spree_core-2.1.12 app/models/spree/prototype.rb
spree_core-2.2.8 app/models/spree/prototype.rb
spree_core-2.1.11 app/models/spree/prototype.rb
spree_core-2.2.7 app/models/spree/prototype.rb
spree_core-2.1.10 app/models/spree/prototype.rb
spree_core-2.1.9 app/models/spree/prototype.rb
spree_core-2.2.6 app/models/spree/prototype.rb
spree_core-2.2.5 app/models/spree/prototype.rb
spree_core-2.1.8 app/models/spree/prototype.rb
spree_core-2.2.4 app/models/spree/prototype.rb
spree_core-2.2.3 app/models/spree/prototype.rb
spree_core-2.2.2 app/models/spree/prototype.rb
spree_core-2.1.7 app/models/spree/prototype.rb
spree_core-2.1.6 app/models/spree/prototype.rb