Sha256: 10af2f40148c22f27a725c66adb0737b88ecb984e88c940671416eaf2751e61e

Contents?: true

Size: 297 Bytes

Versions: 78

Compression:

Stored size: 297 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               = 'example.com'
    s.mail_from_address = 'spree@example.com'
  end.save!
end

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
spree_core-3.4.6 db/default/spree/stores.rb
spree_core-3.2.9 db/default/spree/stores.rb
spree_core-3.1.14 db/default/spree/stores.rb
spree_core-3.6.6 db/default/spree/stores.rb
spree_core-3.6.5 db/default/spree/stores.rb
spree_core-3.6.4 db/default/spree/stores.rb
spree_core-3.6.3 db/default/spree/stores.rb
spree_core-3.6.2 db/default/spree/stores.rb
spree_core-3.6.1 db/default/spree/stores.rb
spree_core-3.6.0 db/default/spree/stores.rb
spree_core-3.5.0 db/default/spree/stores.rb
spree_core-3.3.6 db/default/spree/stores.rb
spree_core-3.2.8 db/default/spree/stores.rb
spree_core-3.1.13 db/default/spree/stores.rb
spree_core-3.6.0.rc1 db/default/spree/stores.rb
spree_core-3.5.0.rc2 db/default/spree/stores.rb
spree_core-3.5.0.rc1 db/default/spree/stores.rb
spree_core-3.4.5 db/default/spree/stores.rb
spree_core-3.3.5 db/default/spree/stores.rb
spree_core-3.4.4 db/default/spree/stores.rb