Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Remove warning added by my own commit :fire: | Carlos Antonio da Silva | 2012-03-26 | 1 | -1/+1 | |
| | | | | | | | | Commit: 7a0cf2f5294e8bcef547642435636b394340a3e4 | |||||
* | | Merge pull request #5561 from carlosantoniodasilva/form-builder-block-arg | Aaron Patterson | 2012-03-26 | 1 | -0/+12 | |
|\ \ | | | | | | | Properly deprecate the block argument in AV FormBuilder | |||||
| * | | Properly deprecate the block argument in AV FormBuilder | Carlos Antonio da Silva | 2012-03-23 | 1 | -0/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 56089ca986c767763f29159c8de0aa1ebabfd4d2 introduced a backward incompatible change by changing the method signature of the FormBuilder. This brings back the same method signature warning in case someone gives a block to the builder. More info: https://github.com/rails/rails/commit/56089ca986c767763f29159c8de0aa1ebabfd4d2#commitcomment-1116166 | |||||
* | | | apply form_for namespace option to date_select | Sergey Nartimov | 2012-03-26 | 1 | -0/+8 | |
|/ / | ||||||
* | | Fixes issue #5222: DateTimeSelector builds invalid dates on leap day when ↵ | Jey Balachandran | 2012-03-18 | 2 | -7/+21 | |
| | | | | | | | | discarding both day and month. | |||||
* | | time_tag support for blocks | Antonio Tapiador del Dujo | 2012-03-18 | 1 | -0/+4 | |
| | | ||||||
* | | Remove remaining sprockets tests | Guillermo Iguaran | 2012-03-13 | 1 | -28/+0 | |
| | | ||||||
* | | Remove tests and fixtures for Sprockets on ActionPack | Guillermo Iguaran | 2012-03-13 | 2 | -406/+0 | |
| | | ||||||
* | | add include_hidden option to checkbox tag | Sergey Nartimov | 2012-03-13 | 1 | -0/+5 | |
| | | ||||||
* | | add 'include_hidden' option to select tag, closes #5402 | Vasiliy Ermolovich | 2012-03-13 | 1 | -0/+8 | |
| | | ||||||
* | | Merge pull request #5375 from nertzy/assert_template_with_regexp | Aaron Patterson | 2012-03-12 | 1 | -0/+6 | |
|\ \ | | | | | | | assert_template matches against Regexp | |||||
| * | | assert_template matches against Regexp | Grant Hutchins | 2012-03-10 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for more strict template assertions, while maintaining backward compatibility. For example, if you use assert_template("foo/bar") and "foo/bar/baz" was rendered, the test passes. But if you use assert_template(%r{\Afoo/bar\Z}), you will catch that a different template was rendered. Also, if you passed an unsupported argument to assert_template() in the past, it would silently succeed. Now it raises an ArgumentError. | |||||
* | | | Merge pull request #5380 from benmmurphy/escape_unicode_paragraph_separator | Aaron Patterson | 2012-03-12 | 1 | -0/+2 | |
|\ \ \ | | | | | | | | | ensure u2029 is escaped in escape_javascript helper | |||||
| * | | | ensure u2029 is escaped in escape_javascript helper | benmmurphy | 2012-03-11 | 1 | -0/+2 | |
| |/ / | ||||||
* / / | Fixes #5324 by removing default size options from input:text and default ↵ | Philip Arndt | 2012-03-10 | 2 | -165/+165 | |
|/ / | | | | | | | cols and rows options from textarea. | |||||
* | | Merge pull request #5310 from Serabe/layout_for_partials_with_collections | José Valim | 2012-03-06 | 1 | -0/+4 | |
|\ \ | | | | | | | Adds :layout option to render :partial when a collection is given. | |||||
| * | | Adds :layout option to render :partial when a collection is given. | Sergio Arbeo | 2012-03-06 | 1 | -0/+4 | |
| | | | ||||||
* | | | Compute asset paths from the request if ENV["RAILS_RELATIVE_URL_ROOT"] is ↵ | Dwayne Litzenberger | 2012-03-05 | 2 | -0/+103 | |
|/ / | | | | | | | | | | | | | | | | | not set. This should fix the following issue: "Rails is not a Rack Application (SCRIPT_NAME vs. relative_url_root ?)" https://github.com/rails/rails/issues/910 | |||||
* | | Merge pull request #5242 from rails/opt_routes | José Valim | 2012-03-02 | 1 | -2/+2 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | Optimize routes generation in simple cases. If you pass to the route helper the same amount of arguments as the required segments, route generation will be optimized as a string interpolation. After this commit, `post_path(post)` is about 6.5 times faster, `post_url(post)` is about 5 times. | |||||
| * | | Optimize url helpers. | Sergey Nartimov + José Valim | 2012-03-02 | 1 | -2/+2 | |
| | | | ||||||
* | | | Allow fieldsets to be created without a block. | Ben Pickles | 2012-03-01 | 1 | -0/+10 | |
|/ / | ||||||
* | | Merge branch 'master-security' | Aaron Patterson | 2012-03-01 | 1 | -1/+8 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master-security: Ensure [] respects the status of the buffer. delete vulnerable AS::SafeBuffer#[] use AS::SafeBuffer#clone_empty for flushing the output_buffer add AS::SafeBuffer#clone_empty fix output safety issue with select options Conflicts: actionpack/lib/action_view/helpers/tags/base.rb | |||||
| * | | fix output safety issue with select options | Sergey Nartimov | 2012-02-20 | 1 | -1/+8 | |
| | | | ||||||
* | | | Add a new line after the textarea opening tag. | Rafael Mendonça França | 2012-02-27 | 2 | -37/+37 | |
| | | | | | | | | | | | | Closes #393 | |||||
* | | | Fix collection_check_boxes and collection_radio_buttons when using local | Rafael Mendonça França | 2012-02-26 | 1 | -0/+38 | |
| | | | | | | | | | | | | variables in the form builder | |||||
* | | | Move all the helpers to protected section | Rafael Mendonça França | 2012-02-26 | 1 | -31/+31 | |
| | | | ||||||
* | | | uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵ | Xavier Noria | 2012-02-24 | 1 | -69/+66 | |
| | | | | | | | | | | | | the update action of resources | |||||
* | | | correct fetching :name option in form fields | Vasiliy Ermolovich | 2012-02-23 | 1 | -0/+5 | |
| | | | ||||||
* | | | Merge pull request #5130 from dlee/revised_patch_verb | Xavier Noria | 2012-02-22 | 2 | -0/+15 | |
|\ \ \ | | | | | | | | | Add config.default_method_for_update to support PATCH | |||||
| * | | | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 2 | -0/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update. | |||||
* | | | | format lookup for partials is derived from the format in which the template ↵ | Santiago Pastorino | 2012-02-22 | 2 | -4/+8 | |
|/ / / | | | | | | | | | | | | | | | | is being rendered Closes #5025 part 2 | |||||
* | | | Don't wrap the raise with ensure | Santiago Pastorino | 2012-02-21 | 1 | -1/+1 | |
| | | | ||||||
* | | | Restore lookup formats to the previous value after searching for the failing ↵ | Santiago Pastorino | 2012-02-21 | 1 | -1/+2 | |
|/ / | | | | | | | view | |||||
* | | Merge pull request #5102 from nashby/form-option-refactor | José Valim | 2012-02-20 | 1 | -16/+16 | |
|\ \ | | | | | | | form option refactor | |||||
| * | | refactor options_for_select | Vasiliy Ermolovich | 2012-02-20 | 1 | -16/+16 | |
| | | | ||||||
* | | | Fix a failing test | Santiago Pastorino | 2012-02-20 | 1 | -0/+2 | |
| | | | ||||||
* | | | Use the right format when a partial is missing. | Santiago Pastorino | 2012-02-20 | 1 | -0/+7 | |
| | | | | | | | | | | | | Closes #5025 | |||||
* | | | Merge pull request #5101 from ckdake/ckdake_actionview_handler_reset | José Valim | 2012-02-20 | 1 | -0/+6 | |
|/ / | | | | | | | | | | | | | Reset memoized hash keys when new ActionView::Template handler is registered Conflicts: actionpack/lib/action_view/template/handlers.rb | |||||
* | | add selected and disabled option to grouped select | Vasiliy Ermolovich | 2012-02-18 | 1 | -0/+18 | |
| | | ||||||
* | | Allow collection helpers with block to access current object in the collection | Carlos Antonio da Silva | 2012-02-13 | 1 | -0/+26 | |
| | | | | | | | | | | | | | | | | | | | | This gives a lot more flexibility to the user, for instance to generate a collection of check boxes and labels, allowing to add custom classes or data-* attributes to the label/check_box using another object attribute. This basically mimics options_for_select functionality that accepts a third option for each item to generate html attributes for each option. | |||||
* | | remove unwanted require for string encoding | Vishnu Atrai | 2012-02-13 | 1 | -1/+0 | |
| | | ||||||
* | | Add HTML5 input[type="date"] helper | Olek Janiszewski | 2012-02-12 | 2 | -1/+32 | |
| | | ||||||
* | | removed unnecessary code | ganesh | 2012-02-09 | 1 | -1/+0 | |
| | | ||||||
* | | Always use content_tag for audio/video tag | Rafael Mendonça França | 2012-02-07 | 1 | -15/+15 | |
| | | | | | | | | Closes #4919 | |||||
* | | Highlight defaults to HTML5 `mark` element | Brian Cardarella | 2012-02-05 | 1 | -12/+12 | |
| | | ||||||
* | | Add *_url helpers to get the full assets URL | Prem Sichanugrist | 2012-02-04 | 1 | -2/+129 | |
| | | | | | | | | | | | | | | Adds `image_url`, `javascript_url`, `stylesheet_url`, `audio_url`, `video_url`, and `font_url` to assets tag helper. These URL helpers will return the full path to your assets. This is useful when you are going to reference this asset from external host. | |||||
* | | Remove default class to collection_check_boxes and | Rafael Mendonça França | 2012-02-02 | 1 | -16/+16 | |
| | | | | | | | | | | | | collection_radio_buttons [Carlos Antonio da Silva + Rafael Mendonça França] | |||||
* | | Allow collection radio_buttons/check_boxes to access current text/value | Carlos Antonio da Silva | 2012-02-02 | 1 | -0/+44 | |
| | | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | |||||
* | | Add changelog, docs and guides entries | Carlos Antonio da Silva | 2012-02-02 | 1 | -2/+20 | |
| | | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | |||||
* | | Allow proc for value/text method in collection_select | Carlos Antonio da Silva | 2012-02-02 | 1 | -10/+42 | |
| | | | | | | | | | | | | And options_from_collection_for_select as well. [Carlos Antonio da Silva + Rafael Mendonça França] |