seed_env
A simple gem to seed your Rails application by environment
Steps
- Add
gem 'seed_env'
to your Gemfile - Run
bundle
- Install it with
rails g seed_env:install
- Add your seed statemens in the db/seed_env/{environment}.rb
Really easy!
Project
A simple gem to seed your Rails application by environment
gem 'seed_env'
to your Gemfilebundle
rails g seed_env:install
Really easy!