Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Rails 3 compatible generators for gems that don't have them yet

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
CHANGELOG.rdoc
Gemfile
Gemfile.lock
README.rdoc
Rakefile
rails3-generators.gemspec

README.rdoc

rails3-generators

Rails 3 compatible generators for gems that don't have them yet

Install

gem install rails3-generators

and add the following to your project's Gemfile

gem "rails3-generators"

Notes/Use

The Factory Girl generators have moved to the factory_girl_rails gem.

The Haml generators have moved to the haml-rails gem.

The jQuery generators have moved to the jquery-rails gem.

The MongoMapper generators moved to the mongo_mapper gem.

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

Note on Patches/Pull Requests

  • 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.

Contributors

  • DataMapper: José Valim

  • Authlogic: Jeff Tucker

  • Shoulda: Peter Haza

  • SimpleForm: Peter Gumeson

and more

License

Ruby license or MIT license, take your pick

Something went wrong with that request. Please try again.