Sha256: 4bc09f089eafe8d2b35a241760776bc759627d5fb81e96489f1abb3eaad834eb

Contents?: true

Size: 295 Bytes

Versions: 11

Compression:

Stored size: 295 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              = 'Sample Store'
    s.url               = 'example.com'
    s.mail_from_address = 'store@example.com'
  end.save!
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
solidus_core-2.4.2 db/default/spree/stores.rb
solidus_core-2.3.1 db/default/spree/stores.rb
solidus_core-2.4.1 db/default/spree/stores.rb
solidus_core-2.4.0 db/default/spree/stores.rb
solidus_core-2.4.0.rc1 db/default/spree/stores.rb
solidus_core-2.4.0.beta1 db/default/spree/stores.rb
solidus_core-2.3.0 db/default/spree/stores.rb
solidus_core-2.3.0.rc3 db/default/spree/stores.rb
solidus_core-2.3.0.rc2 db/default/spree/stores.rb
solidus_core-2.3.0.rc1 db/default/spree/stores.rb
solidus_core-2.3.0.beta1 db/default/spree/stores.rb