rails new store-backendgem 'spree_backend', github: 'spree/spree'| Copyright (c) 2011 ZURB, http://www.zurb.com/ |
| # 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) |