Write Rails 2 generators with Rails 3 generator syntax
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.
.bundle
features
fixtures
lib
.gitignore
.rvmrc
CHANGELOG
Gemfile
Gemfile.lock
LICENCE
README.markdown
Rakefile
acts_as_rails3_generator.gemspec

README.markdown

This is a wrapper that enables you to write your generator using the Rails 3 syntax but still support Rails 2.

Usage

Just add it as a gem dependency and require "acts_as_rails3_generator" in your generator.

How to run the tests

bundle
rake