Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add blank lines between divs in form scaffolding | Sean Collins | 2015-04-20 | 1 | -0/+2 |
| | |||||
* | Merge pull request #13434 from tanraya/local_variables | Carlos Antonio da Silva | 2015-01-03 | 1 | -4/+4 |
|\ | | | | | | | | | | | | | Use local variables in _form.html.erb generated by scaffold. Conflicts: railties/CHANGELOG.md | ||||
| * | Use local variables in _form.html.erb generated by scaffold generator. | tanraya | 2014-07-26 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | It seems a good idea to use local variables in generated partials instead of using instance variables. Before <%= render 'form' %> After <%= render 'form', product: @product %> | ||||
* | | Give password_confirmation div the "field" class in erb form template | noinkling | 2014-07-29 | 1 | -1/+1 |
|/ | |||||
* | Avoid unnecessary conditional block | Giovanni Cappellotto | 2014-05-01 | 1 | -5/+0 |
| | | | | | GeneratedAttribute#column_name checks already for reference? on the attribute returning the right name to use as symbol for label and field. | ||||
* | Dont abbreviate that which needs no abbreviation | David Heinemeier Hansson | 2014-04-08 | 1 | -2/+2 |
| | |||||
* | Fix the indentation on the from template of the scaffold generator | Rafael Mendonça França | 2013-08-19 | 1 | -3/+3 |
| | |||||
* | Use GeneratedAttribute#column_name if #reference? scaffold_generator in ↵ | Zachary Scott | 2013-07-23 | 1 | -0/+5 |
| | | | | _form view [Fixes #11573] | ||||
* | HTML5 breaks | David Heinemeier Hansson | 2013-04-18 | 1 | -3/+3 |
| | |||||
* | Add support for generate scaffold password:digest | Sam Ruby | 2013-03-13 | 1 | -0/+9 |
| | | | | | | | | | | * adds password_digest attribute to the migration * adds has_secure_password to the model * adds password and password_confirmation password_fields to _form.html * omits password entirely from index.html and show.html * adds password and password_confirmation to the controller * adds unencrypted password and password_confirmation to the controller test * adds encrypted password_digest to the fixture | ||||
* | for ... in => .each | Akira Matsuda | 2011-05-18 | 1 | -1/+1 |
| | | | | I believe this is more modern way | ||||
* | Change inside_namespace method to inside_template and use it in all ↵ | Piotr Sarnacki | 2010-11-16 | 1 | -2/+0 |
| | | | | | | | | | | templates by default The initial implementation of namespacing was based on wrong assumptions. Namespacing path and class names in templates should be based on current namespace and skip_namespace attribute, but it should be not necessary to wrap content on all the templates into additional block methods. | ||||
* | Fix scaffold generator to be aware of namespace in isolated engine | Piotr Sarnacki | 2010-11-03 | 1 | -0/+2 |
| | |||||
* | Patch for Namespace problem in Scaffold. [#4763 state:resolved] | Mohammed Siddick.E | 2010-06-23 | 1 | -4/+4 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Cleanup indention and spacing and turn errorExplanation into ↵ | David Heinemeier Hansson | 2010-04-13 | 1 | -8/+9 |
| | | | | error_explanation now that nobody depends on it anymore | ||||
* | Use pluralize to properly inflect the number of errors. | José Valim | 2010-04-10 | 1 | -1/+1 |
| | |||||
* | Remove error_messages_for from scaffold. | José Valim | 2010-04-10 | 1 | -1/+10 |
| | |||||
* | Load generators from both lib/rails/generators and lib/generators. Using the ↵ | José Valim | 2010-03-23 | 1 | -0/+13 |
| | | | | former since it's less obstrusive. | ||||
* | Generators load path now will be Ruby load path. If you want to use ↵ | José Valim | 2010-01-18 | 1 | -13/+0 |
| | | | | rspec:install generator, you need generators/rspec/install_generator in your load path. | ||||
* | Add documentation to f.submit and make scaffold generators use the new shortcut. | José Valim | 2010-01-14 | 1 | -5/+1 |
| | |||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 1 | -0/+17 |