Sha256: 8eefb7727202b87488590fbc6c980ca91382f9e6b58787e346d404f69e394dfa

Contents?: true

Size: 371 Bytes

Versions: 19

Compression:

Stored size: 371 Bytes

Contents

# Possibly already created by a migration.
unless Spree::Store.where(code: 'spree').exists?
  Spree::Store.new do |s|
    s.code              = 'spree'
    s.name              = 'Spree Demo Site'
    s.url               = 'demo.spreecommerce.com'
    s.mail_from_address = 'spree@example.com'
    s.cart_tax_country_iso = Spree::Config.admin_vat_location
  end.save!
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
solidus_core-2.0.3 db/default/spree/stores.rb
solidus_core-1.4.2 db/default/spree/stores.rb
solidus_core-1.3.2 db/default/spree/stores.rb
solidus_core-2.0.2 db/default/spree/stores.rb
solidus_core-1.4.1 db/default/spree/stores.rb
solidus_core-2.1.0.rc1 db/default/spree/stores.rb
solidus_core-2.0.1 db/default/spree/stores.rb
solidus_core-2.1.0.beta1 db/default/spree/stores.rb
solidus_core-2.0.0 db/default/spree/stores.rb
solidus_core-1.4.0 db/default/spree/stores.rb
solidus_core-2.0.0.rc1 db/default/spree/stores.rb
solidus_core-1.4.0.rc1 db/default/spree/stores.rb
solidus_core-2.0.0.beta1 db/default/spree/stores.rb
solidus_core-1.4.0.beta1 db/default/spree/stores.rb
solidus_core-1.3.1 db/default/spree/stores.rb
solidus_core-1.3.0 db/default/spree/stores.rb
solidus_core-1.3.0.rc2 db/default/spree/stores.rb
solidus_core-1.3.0.rc1 db/default/spree/stores.rb
solidus_core-1.3.0.beta1 db/default/spree/stores.rb