rails new store-backend
gem 'spree_backend', github: 'spree/spree'
# Helper class for importing files with records to the database. | |
class SeedFile | |
def self.import(path) | |
new(path).import | |
end | |
attr_reader :path | |
def initialize(path) | |
@path = Pathname(path) |
Copyright (c) 2011 ZURB, http://www.zurb.com/ |