Sha256: 1cd984e649974a1e285f0b6e4f43dcc098bc8934216c5e561aa1f7fb16619119

Contents?: true

Size: 161 Bytes

Versions: 48

Compression:

Stored size: 161 Bytes

Contents

# frozen_string_literal: true

class Spree::Preference < Spree::Base
  serialize :value

  validates :key, presence: true, uniqueness: { allow_blank: true }
end

Version data entries

48 entries across 48 versions & 2 rubygems

Version Path
solidus_core-2.10.5 app/models/spree/preference.rb
solidus_core-2.10.3 app/models/spree/preference.rb
solidus_core-2.10.2 app/models/spree/preference.rb
solidus_core-2.9.6 app/models/spree/preference.rb
solidus_core-2.8.6 app/models/spree/preference.rb
solidus_core-2.10.1 app/models/spree/preference.rb
solidus_core-2.9.5 app/models/spree/preference.rb
solidus_core-2.10.0 app/models/spree/preference.rb
solidus_core-2.9.4 app/models/spree/preference.rb
solidus_core-2.6.6 app/models/spree/preference.rb
solidus_core-2.7.4 app/models/spree/preference.rb
solidus_core-2.8.5 app/models/spree/preference.rb
solidus_core-2.9.3 app/models/spree/preference.rb
solidus_core-2.9.2 app/models/spree/preference.rb
solidus_core-2.10.0.beta1 app/models/spree/preference.rb
solidus_core-2.7.3 app/models/spree/preference.rb
solidus_core-2.6.5 app/models/spree/preference.rb
solidus_core-2.9.1 app/models/spree/preference.rb
solidus_core-2.9.0 app/models/spree/preference.rb
solidus_core-2.9.0.rc.1 app/models/spree/preference.rb