module Spree
  class OptionValue < ActiveRecord::Base
    belongs_to :option_type
    acts_as_list :scope => :option_type
    has_and_belongs_to_many :variants, :join_table => 'spree_option_values_variants'
  end
end

module Spree
  class OptionValue < ActiveRecord::Base
    belongs_to :option_type
    acts_as_list :scope => :option_type
    has_and_belongs_to_many :variants, :join_table => 'spree_option_values_variants'

    attr_accessible :name, :presentation
  end
end

Make name and presentation accessible in OptionValue
Make name and presentation accessible in OptionValue
