Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add field ids when generating a scaffold form. | Yves Senn | 2017-03-26 | 1 | -3/+3 |
| | | | | | | This is a follow up to a6d065e. When using `form_with` you must supply field ids manually. Since the scaffold generator is using labels we need to make sure that they are linked up properly. | ||||
* | Default to yielding a `form` variable. | Kasper Timm Hansen | 2017-03-20 | 1 | -8/+8 |
| | | | | More intention revealing and means `f` can go F itself 😋 | ||||
* | disable remote submits | Ivan Velasquez | 2017-03-14 | 1 | -1/+1 |
| | |||||
* | user form with instead of form for in scaffold generator | Ivan Velasquez | 2017-03-13 | 1 | -1/+1 |
| | |||||
* | Remove <br> from scaffold, in favor of using CSS | Sean Collins | 2015-11-25 | 1 | -3/+3 |
| | |||||
* | titleizing the New Link | Thiago Pinto | 2015-07-20 | 1 | -1/+1 |
| | |||||
* | Add blank lines between divs in form scaffolding | Sean Collins | 2015-04-20 | 1 | -0/+2 |
| | |||||
* | Clean up grammar in scaffold index view, by removing the word 'Listing' from ↵ | Adrien Lamothe | 2015-01-12 | 1 | -1/+1 |
| | | | | list title. | ||||
* | Merge pull request #13434 from tanraya/local_variables | Carlos Antonio da Silva | 2015-01-03 | 3 | -6/+6 |
|\ | | | | | | | | | | | | | 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 | 3 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 |
|/ | |||||
* | Display notice in index.html pages in scaffolded generated views | Arun Agrawal | 2014-07-04 | 1 | -0/+2 |
| | | | | | | | | | As we are setting notice in destroy action we should display that For more information see https://github.com/rails/rails/pull/14044 And https://github.com/rails/jbuilder/pull/191 closes #14044 | ||||
* | Titling the model name in views generated by scaffold. | Amit Suryavanshi | 2014-06-18 | 3 | -3/+3 |
| | | | | | eg. rails g scaffold UserProfile will have in index.html.erb "Listing User Profiles" rather than Listing user_profiles. | ||||
* | 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] | ||||
* | Use Colspan in th Tags | Sıtkı Bağdat | 2013-06-17 | 1 | -3/+1 |
| | | | | | | | | | | Is it more suitable that using ```<th colspan="3">``` instead of three empty ```<th>```? It is simple, but what i am missing about it? Change repetitive th tags to use colspan attribute Update CHANGELOG.md Update CHANGELOG.md | ||||
* | Unindent attributes iteration in scaffold index template | Carlos Antonio da Silva | 2013-04-18 | 1 | -2/+2 |
| | | | | | | | | | | Otherwise we get extra indent for the <td> elements due to the extra spaces at the beginning of the lines, like this: <tr> <td><%= author.name %></td> <td><%= link_to 'Show', author %></td> <td><%= link_to 'Edit', edit_author_path(author) %></td> | ||||
* | Indent around the scaffold loop | David Heinemeier Hansson | 2013-04-18 | 1 | -8/+8 |
| | |||||
* | HTML5 breaks | David Heinemeier Hansson | 2013-04-18 | 2 | -4/+4 |
| | |||||
* | Add support for generate scaffold password:digest | Sam Ruby | 2013-03-13 | 3 | -3/+12 |
| | | | | | | | | | | * 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 | ||||
* | :scissors: extra blank line | Akira Matsuda | 2013-03-02 | 1 | -1/+0 |
| | |||||
* | Needless fancy structure that did not anything | David Heinemeier Hansson | 2013-01-05 | 1 | -1/+3 |
| | |||||
* | Fix indention issue in generated template | David Heinemeier Hansson | 2013-01-05 | 1 | -2/+2 |
| | |||||
* | Fix indention issue in generated template | David Heinemeier Hansson | 2013-01-05 | 1 | -2/+2 |
| | |||||
* | Remove `:confirm` in favor of `:data => { :confirm => 'Text' }` option | Carlos Galdino | 2012-07-18 | 1 | -1/+1 |
| | | | | | | | | | This applies to the following helpers: `button_to` `button_tag` `image_submit_tag` `link_to` `submit_tag` | ||||
* | Close #3886 - Add THEAD and TBODY to scaffold markup | twinturbo | 2012-04-29 | 1 | -16/+20 |
| | |||||
* | Changes b tag to strong | CollectiveJam | 2012-04-16 | 1 | -1/+1 |
| | | | | The change is made due to importance of the attribute name (e.g. Name:) on the page (versus just stylistic / appearance sake tag). | ||||
* | Remove key_value helper now that master is 1.9 only and we always use | Rafael Mendonça França | 2012-03-13 | 1 | -1/+1 |
| | | | | the 1.9 hash syntax in the generators. | ||||
* | Use content_tag_for with array by default on scaffold. | José Valim | 2012-01-26 | 1 | -4/+2 |
| | |||||
* | for ... in => .each | Akira Matsuda | 2011-05-18 | 3 | -4/+4 |
| | | | | I believe this is more modern way | ||||
* | Rails will now generate Ruby 1.9 style hash when running scaffold_controller ↵ | Prem Sichanugrist | 2011-04-10 | 1 | -1/+1 |
| | | | | | | | | generator on Ruby 1.9.x The new hash syntax of Ruby 1.9 looks more superior, so we decide to switch to it in the places that appropriate. This patch has been requested by DHH. | ||||
* | Change inside_namespace method to inside_template and use it in all ↵ | Piotr Sarnacki | 2010-11-16 | 5 | -10/+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 | 5 | -0/+10 |
| | |||||
* | Patch for Namespace problem in Scaffold. [#4763 state:resolved] | Mohammed Siddick.E | 2010-06-23 | 5 | -16/+16 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make polymorphic_url and scaffolding work with uncountable resources [#3930 ↵ | Andrew White | 2010-06-20 | 3 | -3/+3 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Rename fieldWithErrors style to field_with_errors. Remove unused alert style. | Jeremy Kemper | 2010-04-24 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | Need a double escape there | David Heinemeier Hansson | 2010-04-09 | 1 | -1/+1 |
| | |||||
* | Notice/alert are out of the layout, so notice has to go back into show to ↵ | David Heinemeier Hansson | 2010-04-09 | 1 | -0/+2 |
| | | | | make it work for scaffolding | ||||
* | A new application now comes with a layout and a stylesheet. | José Valim | 2010-04-06 | 1 | -17/+0 |
| | |||||
* | Load generators from both lib/rails/generators and lib/generators. Using the ↵ | José Valim | 2010-03-23 | 6 | -0/+78 |
| | | | | 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 | 6 | -75/+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 |
| | |||||
* | Rails layouts, error pages, and public/index now use HTML5. | Dan Croak | 2010-01-05 | 1 | -1/+0 |
| | | | | | | | | | | The specification allows the character encoding meta tag to be removed if character encoding is set at the transport level (Content-Type), which Rails is doing. http://dev.w3.org/html5/html4-differences/#character-encoding Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Added alert/notice from 2-3-stable and refactored redirect_to into just ↵ | David Heinemeier Hansson | 2009-12-17 | 1 | -1/+1 |
| | | | | living in Redirector [DHH] | ||||
* | Don't need h in there now that XSS protection is on by default | Michael Koziarski | 2009-10-08 | 2 | -2/+2 |
| |