Monday, January 28, 2013

rails generator templates


Scaffold View templates:
https://github.com/rails/rails/tree/master/railties/lib/rails/generators/erb/scaffold/templates
#replace able through
lib/templates/erb/scaffold/ (rails 3.2)

Scaffold Controller template:
https://github.com/rails/rails/tree/master/railties/lib/rails/generators/rails/scaffold_controller/templates
lib/templates/rails/scaffold_controller/controller.rb

No comments: