This is a wrapper that enables you to write your generator using the Rails 3 syntax but still support Rails 2.
Joakim Kolsjö
gem "acts_as_rails3_generator", "~> 0.0.1"