Generators for DataMapper, Haml, Factory-girl, Authlogic, Mongomapper, Shoulda, Formtastic and SimpleForm
gem install rails3-generators
and add the following to your project’s Gemfile
gem 'rails3-generators'
To avoid overriding the rails built-in Erb template generators this project uses the namespace Erubis for *.erb templates
config.generators do |g| g.template_engine :erubis end
-
Fork the project.
-
Make your feature addition or bug fix.
-
Add tests for it. This is important so I don’t break it in a future version unintentionally.
-
Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
-
Send me a pull request. Bonus points for topic branches.
DataMapper generators: Jose Valim
Haml: Paul Barry, Anuj Dutta, Louis T, Chris Rhoden
Factory Girl: Paul Barry
Authlogic: Jeff Tucker
Mongomapper: Jai-Gouk Kim
MongoMapper: Kristian Mandrup (for 0.8) - needs testing
Mongoid: Kristian Mandrup (for 2.0.beta) - needs testing
Machinist: Darcy Laycock
Shoulda: Peter Haza
SimpleForm: Peter Gumeson
and more