Mongo-related Rails generator scripts
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib Getting started Jul 24, 2009
rails_generators/mongo_model Getting started Jul 24, 2009
tasks Getting started Jul 24, 2009
.gitignore Getting started Jul 24, 2009
CHANGELOG Getting started Jul 24, 2009
LICENSE Getting started Jul 24, 2009
README.rdoc Not going to mess with rubyforge today. Jul 24, 2009
Rakefile Getting started Jul 24, 2009
mongo-generators.gemspec gemspec Jul 24, 2009

README.rdoc

Mongo Generators

Mongo-related Rails generator scripts.

Install

gem install stympy-mongo-generators

Usage

Once you install the gem, the generators will be available to all Rails applications on your system. If you run script/generate without any additional arguments you should see the available generators listed.

To run the generator, go to your rails project directory and call it using the script/generate or script/destroy command.

script/generate mongo_model Post name:string body:string published:boolean

Thanks

Thanks to Ryan Bate's nifty-generators for being the scaffold of this project. :)