Sha256: 8602d2649eb2a204bc9187b36b210b83730c6fea9bc3c0e148984faa535a67ab

Contents?: true

Size: 308 Bytes

Versions: 56

Compression:

Stored size: 308 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'
  end.save!
end

Version data entries

56 entries across 56 versions & 2 rubygems

Version Path
solidus_core-1.0.2 db/default/spree/stores.rb
spree_core-2.4.10 db/default/spree/stores.rb
spree_core-2.3.13 db/default/spree/stores.rb
solidus_core-1.0.1 db/default/spree/stores.rb
solidus_core-1.0.0 db/default/spree/stores.rb
solidus_core-1.0.0.rc2 db/default/spree/stores.rb
solidus_core-1.0.0.rc1 db/default/spree/stores.rb
spree_core-2.4.9 db/default/spree/stores.rb
spree_core-2.3.12 db/default/spree/stores.rb
solidus_core-1.0.0.pre3 db/default/spree/stores.rb
solidus_core-1.0.0.pre2 db/default/spree/stores.rb
spree_core-2.4.8 db/default/spree/stores.rb
spree_core-2.3.11 db/default/spree/stores.rb
solidus_core-1.0.0.pre db/default/spree/stores.rb
spree_core-2.4.7 db/default/spree/stores.rb
spree_core-2.3.10 db/default/spree/stores.rb
spree_core-2.4.6 db/default/spree/stores.rb
spree_core-2.3.9 db/default/spree/stores.rb
spree_core-2.3.8 db/default/spree/stores.rb
spree_core-2.4.5 db/default/spree/stores.rb