Sha256: 6e983f05afd84332843ebf5644f7c34011154d35b372ab89a330a2f654ff9f72
Contents?: true
Size: 413 Bytes
Versions: 16
Compression:
Stored size: 413 Bytes
Contents
module Refinery class StoresGenerator < Rails::Generators::Base def rake_db rake("refinery_stores:install:migrations") end def append_load_seed_data create_file 'db/seeds.rb' unless File.exists?(File.join(destination_root, 'db', 'seeds.rb')) append_file 'db/seeds.rb', :verbose => true do <<-EOH Refinery::Stores::Engine.load_seed EOH end end end end
Version data entries
16 entries across 16 versions & 1 rubygems