Skip to content

galori/spark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spark
=======

Spark lets you seed your database with a set of data, either programatically or via fixtures.

Example
=======

It's insanely easy to use. 

After installation, there will be directories created for each rails environment like so:

db/
  spark/
    development/
    test/
    production/

Place a script (.rb) or a fixture (.yml) into the appropriate directory for the environment you wish to seed, run 'rake spark' and voila: you've seeded your DB.

Not much more to it than that.  Enjoy.

Copyright (c) 2008 [Ian Hunter], released under the MIT license

About

Spark is a way of initializing/seeding your project's DB, either programatically or via fixtures (*blech*)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%