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.1.0.rc4 db/default/spree/stores.rb
spree_core-3.0.9 db/default/spree/stores.rb
spree_core-3.1.0.rc3 db/default/spree/stores.rb
spree_core-3.1.0.rc2 db/default/spree/stores.rb
spree_core-3.1.0.rc1 db/default/spree/stores.rb
spree_core-3.0.8 db/default/spree/stores.rb
spree_core-3.0.7 db/default/spree/stores.rb
spree_core-3.0.6.1 db/default/spree/stores.rb
spree_core-3.0.6 db/default/spree/stores.rb
spree_core-3.0.5 db/default/spree/stores.rb
spree_core-3.0.4 db/default/spree/stores.rb
spree_core-3.0.3 db/default/spree/stores.rb
spree_core-3.0.2 db/default/spree/stores.rb
spree_core-3.0.1 db/default/spree/stores.rb
spree_core-3.0.0 db/default/spree/stores.rb
spree_core-3.0.0.rc4 db/default/spree/stores.rb
spree_core-3.0.0.rc3 db/default/spree/stores.rb
spree_core-3.0.0.rc1 db/default/spree/stores.rb