search for: fittype

Displaying 1 result from an estimated 1 matches for "fittype".

Did you mean: fitype
2010 Aug 06
0
adding options to erb scaffold generator to include or skip custom views / templates
...icket-5319-2 When I was working on customizing the erb scaffold generator to match the style and design I wanted to use by creating custom templates in / lib/templates/erb/scaffold I found that I wanted to add additional files. I can now do something like the following: $ rails generate scaffold FitType key:string name:string description:text --add-views=_nav --skip-views=new ... invoke erb create app/views/fit_types create app/views/fit_types/index.html.erb create app/views/fit_types/edit.html.erb create app/views/fit_types/show.html.erb create app/views/f...