This project is archived and is in readonly mode.

Changeset [8d47078a492de9e3fca61ec6894e975d570ef449] by José Valim

July 15th, 2009 @ 09:37 PM

Added source_paths to rails generators. If a template is added to RAILS_ROOT/lib/templates/base/generator it will be used. For example, to customize edit.html.erb template on scaffold, just add a customized copy at RAILS_ROOT/lib/templates/erb/scaffold. http://github.com/rails/rails/co...

Committed by José Valim

  • M railties/lib/generators/base.rb
  • M railties/lib/vendor/thor-0.11.1/lib/thor/actions.rb
  • M railties/test/generators_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>