Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Add params option for button_to | Andy Waite | 2013-09-18 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | | | The parameters are rendered as hidden form fields within the generated form. This is useful for when a record has multiple buttons associated with it, each of which target the same controller method, but which need to submit different attributes. | |||||
* | | | Fix typo in form_helper.rb | Adam Jahnke | 2013-10-16 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge pull request #12491 from shamanime/patch-1 | Rafael Mendonça França | 2013-10-13 | 1 | -2/+2 | |
|\ \ \ | | | | | | | | | Fix wrong variable name used in the select_day method documentation | |||||
| * | | | Fix wrong variable name used in the select_day method documentation | Jefferson Queiroz Venerando | 2013-10-10 | 1 | -2/+2 | |
| | | | | | | | | | | | | The variable name created in the example is `my_date`, the methods were using `my_time` instead. | |||||
* | | | | Change `map` to `map!` to save extra array creation on new array | Vipul A M | 2013-10-13 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Fixed return strings in documentation | Joseph Zidell | 2013-10-03 | 1 | -3/+3 | |
| | | | ||||||
* | | | Fixed typo in documentation | Joseph Zidell | 2013-10-03 | 1 | -3/+3 | |
| | | | ||||||
* | | | Use the given name in html_options for the hidden field in ↵ | Angel N. Sciortino | 2013-09-24 | 1 | -1/+2 | |
| | | | | | | | | | | | | collection_check_boxes | |||||
* | | | Merge pull request #10773 from wangjohn/link_and_routing_options | Rafael Mendonça França | 2013-09-23 | 1 | -2/+3 | |
| | | | | | | | | | | | | Adding documentation and tests to ``polymorphic_url`` and ``link_to`` | |||||
* | | | Fix some edge cases for AV `select` helper with `:selected` option | Bogdan Gusiev | 2013-09-23 | 1 | -1/+2 | |
| | | | ||||||
* | | | Expand select documentation to tell about the block | Rafael Mendonça França | 2013-09-23 | 1 | -0/+9 | |
| | | | | | | | | | | | | [ci skip] | |||||
* | | | Ability to pass block to AV#select helper | Bogdan Gusiev | 2013-09-23 | 2 | -5/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Example: = select(report, "campaign_ids") do - available_campaigns.each do |c| %option{:data => {:tags => c.tags.to_json}, :value => c.id}= c.name | |||||
* | | | handle `:namespace` form option in collection labels | Vasiliy Ermolovich | 2013-09-22 | 2 | -1/+3 | |
| | | | ||||||
* | | | Merge pull request #12112 from adamniedzielski/fix-form-for-namespace-and-as | Rafael Mendonça França | 2013-09-12 | 1 | -1/+2 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | form_for - fix :namespace and :as options clash Conflicts: actionview/CHANGELOG.md | |||||
| * | | | form_for - fix :namespace and :as options clash | Adam Niedzielski | 2013-09-09 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | :as option should not overwrite :namespace option when generating html id attribute of the form element. id should be prefixed by specified namespace even if :as option is present Add test case showing the issue and code fixing it | |||||
* | | | | Cleanup of excerpt helper | Paul Nikitochkin | 2013-09-06 | 1 | -2/+3 | |
|/ / / | | | | | | | | | | | | | * replaced String concatenation by joining * separator has default value to '', even it is nil | |||||
* | | | Fix a few typos. [ci skip] | namusyaka | 2013-09-04 | 1 | -2/+2 | |
| | | | ||||||
* | | | fix the typo [ci skip] | Rajarshi Das | 2013-09-02 | 1 | -1/+1 | |
| | | | | | | | | | fix the typo newstopics => new topics in action view cache helper | |||||
* | | | Add missing requires inside AV | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+2 | |
|/ / | ||||||
* / | RDoc tweaks | Xavier Noria | 2013-08-07 | 1 | -5/+10 | |
|/ | ||||||
* | Removed an unnecessary loop - it kills performance on large texts. | Jan Szumiec | 2013-08-03 | 1 | -4/+6 | |
| | ||||||
* | Add "extname" option to javascript_include_tag | Nathan Stitt | 2013-08-03 | 1 | -3/+6 | |
| | | | | | | | | | | | | ActionView::Helpers.asset_path is where the logic for javascript_include_tag resides. It takes an extname option for specifying the extension or false to not append it. This exposes that option to javascript_include_tag. Without the option files that didn't end with ".js" would get the extension appended to them. This broke JST templates and other file types that should be interpreted as JavaScript but who's file extension isn't ".js" | |||||
* | Using URI.parser.unescape | Arun Agrawal | 2013-08-03 | 1 | -2/+2 | |
| | | | | | | Fixes warning warning: URI.unescape is obsolete | |||||
* | Make current_page? compare binary strings | Rafael Mendonça França | 2013-08-01 | 1 | -3/+4 | |
| | ||||||
* | Fix `current_page?` when the URL contains escaped characters | Rafael Mendonça França | 2013-08-01 | 1 | -2/+2 | |
| | | | | | | | In some cases webservers like nginx send the escaped characters lowercased to the Rails application. The current_page? helper was comparing the escaped strings that are different since Ruby escapes the URL using uppercased characters. | |||||
* | Change from `map` => `map!` and `collect!` to save creation of extra array. | Vipul A M | 2013-07-31 | 1 | -2/+2 | |
| | ||||||
* | text_area should handle nil value option like text_field | Joel Cogen | 2013-07-24 | 2 | -3/+3 | |
| | ||||||
* | Leave the knowledge of boolean tag values to content tag | Carlos Antonio da Silva | 2013-07-22 | 1 | -3/+3 | |
| | | | | | | content tag already knows which tags are boolean and the values that should generate them when a truthy value is passed, so leave this logic for it instead of duplicating when generating options tags. | |||||
* | Use merge! to avoid a new hash and change some spots to 1.9 hash style | Carlos Antonio da Silva | 2013-07-22 | 1 | -7/+7 | |
| | ||||||
* | syntax fix for f.select doc. [ci skip] . | Karunakar (Ruby) | 2013-07-22 | 1 | -1/+1 | |
| | ||||||
* | add support for html attributes to grouped_options_for_select | Vasiliy Ermolovich | 2013-07-20 | 1 | -1/+5 | |
| | ||||||
* | Extract verbs array from helper to a constant | Vipul A M | 2013-07-20 | 1 | -2/+2 | |
| | ||||||
* | Merge pull request #11383 from mattdbridges/simple-format-doc-fix | Rafael Mendonça França | 2013-07-09 | 1 | -1/+1 | |
|\ | | | | | Fix simple_format output example ending tag | |||||
| * | Fix simple_format output example ending tag | Matt Bridges | 2013-07-09 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #11348 from sanemat/fix/link-to-block | Rafael Mendonça França | 2013-07-07 | 1 | -1/+1 | |
|\ \ | | | | | | | Fix actionview link_to with block and url_hash | |||||
| * | | Include block in a argument shift | sanemat | 2013-07-08 | 1 | -6/+2 | |
| | | | ||||||
| * | | Fix link_to with block and url_hash | sanemat | 2013-07-07 | 1 | -1/+5 | |
| |/ | | | | | | | | | | | Use link_to with block and url_hash, expect block as name. But ignore block and use url_hash as name. 3-2-stable passes this test. 4-0-stable and master fail this. | |||||
* / | Added an `enforce_utf8` hash option for `form_tag` method | Takayuki Matsubara | 2013-07-07 | 1 | -1/+3 | |
|/ | | | | | | | | | | | | | | | | | | Control to output a hidden input tag with name `utf8` without monkey patching Before: form_tag # => '<form>..<input name="utf8" type="hidden" value="✓" />..</form>' After: form_tag # => '<form>..<input name="utf8" type="hidden" value="✓" />..</form>' form_tag({}, { :enforce_utf8 => false }) # => '<form>....</form>' | |||||
* | Remove the deprecated include_seconds argument from distance_of_time_in_words | Carlos Antonio da Silva | 2013-07-02 | 1 | -9/+1 | |
| | | | | Pass in an :include_seconds hash option to use this feature. | |||||
* | Remove `FormBuilder` deprecation warning about block argument and associated ↵ | Vipul A M | 2013-07-02 | 1 | -5/+1 | |
| | | | | tests | |||||
* | Clean the code a bit | Santiago Pastorino | 2013-06-29 | 2 | -2/+2 | |
| | ||||||
* | fetch value(s) from stringified options | Jon Rowe | 2013-06-29 | 2 | -2/+2 | |
| | ||||||
* | Remove passing the prompt to grouped_options_for_select as an argument, ↵ | kennyj | 2013-06-28 | 1 | -9/+2 | |
| | | | | because it was deprecated. | |||||
* | Fix documentation for grouped_collection_select [ci skip] | Artyom | 2013-06-27 | 1 | -1/+1 | |
| | ||||||
* | Refactor cache fragment handling with read/write methods | Carlos Antonio da Silva | 2013-06-25 | 1 | -6/+6 | |
| | ||||||
* | Move the write portion of fragment_for to its own method to allow for easier ↵ | Andrew Rove | 2013-06-25 | 1 | -10/+14 | |
| | | | | creation of custom cache methods. | |||||
* | Fix typo in docs. HABTM associations should use a pluralized name | mariozig | 2013-06-25 | 1 | -1/+1 | |
| | ||||||
* | Move actionpack/lib/action_view* into actionview/lib | Piotr Sarnacki | 2013-06-20 | 57 | -0/+9312 | |