8000 GitHub - jalada/seedbed: Plant Seeds like Jack's Beans and climb the stalk to ugh. · GitHub
[go: up one dir, main page]

Skip to content
jaladaPublic

About

Plant Seeds like Jack's Beans and climb the stalk to ugh.

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

39 Commits

8000 Folders and files

Repository files navigation

Manage groups of seeds.

gem install seedbed

Create db/seeds/ directory; Place your seed files in the directory.

In seeds.rb

SeedBed.plant "my/seedfile"
SeedBed.plant "another/seedfile"

When rake db:seed is run all seed files invoked by ‘plant’ will be run.

Seedbed automatically generates rake tasks for existing files in the db/seeds directory. For example, if you have the file db/seeds/admin_users.rb the following rake task will be available:

rake db:seed:admin_users

Nested directories are supported and will be used as the namespace in the rake task. For example, the file db/seeds/admin/users.rb would be accessed via:

rake db:seed:admin:users

Copyright © 2010 The Able Few Spencer Markowski. See LICENSE.txt for further details.

About

Plant Seeds like Jack's Beans and climb the stalk to ugh.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0