Sha256: 15c953e968559d7b967307b2646bf064a7570ff6728ff1e1489aa48ac399aa6f
Contents?: true
Size: 343 Bytes
Versions: 13
Compression:
Stored size: 343 Bytes
Contents
require 'rails/generators' module CurationConcerns class SampleDataGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc 'This generator copies over a file that creates sample data via `rake db:seed`' def copy_sample_data copy_file 'db/seeds.rb', 'db/seeds.rb' end end end
Version data entries
13 entries across 13 versions & 1 rubygems