Sha256: 09c5732a5f32be54a6eb69c1631a48d4654b185dd5090a2bd96df038e27b5ba1
Contents?: true
Size: 362 Bytes
Versions: 28
Compression:
Stored size: 362 Bytes
Contents
# frozen_string_literal: true require 'rails/generators' module Hyrax 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
28 entries across 28 versions & 1 rubygems