Sha256: c4530276c55452d68ebd1b378ef162fceff955e6988ccc23d5c7aa94dd5f95d2
Contents?: true
Size: 426 Bytes
Versions: 5
Compression:
Stored size: 426 Bytes
Contents
module Refinery class PodsGenerator < Rails::Generators::Base def rake_db rake("refinery_pods: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::Pods::Engine.load_seed EOH end end end end
Version data entries
5 entries across 5 versions & 1 rubygems