Alexander Zubkov edited this page Jul 16, 2013 · 8 revisions

Rails3 Generators

Generators for DataMapper and Shoulda.

Many generators were removed because they have their own generators now:

install

gem install rails3-generators

and add the following to your project’s Gemfile

gem 'rails3-generators'

notes

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
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.