Project

jewel_seed

0.0
No commit activity in last 3 years
No release in over 3 years
JewelSeed is best seed manager for Rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0

Runtime

 Project Readme

JewelSeed

Gem Version Build Status

JewelSeed migrate seed files. It is efficient, quick, and best seed manager for Rails.

Installation

Add this line to your application's Gemfile:

gem 'jewel_seed'

And then execute:

$ bundle install

After running bundle install, setup databases for JewelSeed:

$ rake jseed:install

Usage

Basic Usage

Run the JewelSeed generator to add seed file:

$ rails g jseed InitUser

Then edit generated seed file, and migrate:

$ rake jseed:migrate

Dump seeds & Load seeds

Create db/seeds/*.rb files:

$ rake jseed:dump

And load seed files in db/seeds/*.rb:

$ rake jseed:load

Rollback

Rollback seed data:

$ rake jseed:rollback

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request