Sha256: beb36f47f3787b47f695c0dccb41fd1b67b1403abf84af69df3a5c64106f65b7

Contents?: true

Size: 180 Bytes

Versions: 7

Compression:

Stored size: 180 Bytes

Contents

class OptionType < ActiveRecord::Base
  has_many :option_values, :order => :position, :dependent => :destroy, :attributes => true
  validates_presence_of [:name, :presentation]
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spree-0.4.1 app/models/option_type.rb
spree-0.4.0 app/models/option_type.rb
spree-0.5.0 app/models/option_type.rb
spree-0.5.1 app/models/option_type.rb
spree-0.6.0 app/models/option_type.rb
spree-0.7.0 app/models/option_type.rb
spree-0.7.1 app/models/option_type.rb