aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Using URI.parser.unescapeArun Agrawal2013-08-031-2/+2
| | | | | | Fixes warning warning: URI.unescape is obsolete
* Make current_page? compare binary stringsRafael Mendonça França2013-08-011-3/+4
|
* Fix `current_page?` when the URL contains escaped charactersRafael Mendonça França2013-08-011-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 M2013-07-311-2/+2
|
* AV::Digestor thread safety fixes.thedarkone2013-07-301-9/+29
| | | | | This fixes potential thread safety issues introduced in 09f6fe1. The problem with the original code was that the "recursion-stopping" `nil` values could be seen by other threads.
* text_area should handle nil value option like text_fieldJoel Cogen2013-07-242-3/+3
|
* Leave the knowledge of boolean tag values to content tagCarlos Antonio da Silva2013-07-221-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 styleCarlos Antonio da Silva2013-07-221-7/+7
|
* syntax fix for f.select doc. [ci skip] .Karunakar (Ruby)2013-07-221-1/+1
|
* add support for html attributes to grouped_options_for_selectVasiliy Ermolovich2013-07-201-1/+5
|
* Extract verbs array from helper to a constantVipul A M2013-07-201-2/+2
|
* Fix default rendered format problem when calling render method without ↵kennyj2013-07-151-1/+1
| | | | :content_type option. Closes #11393.
* Merge pull request #11383 from mattdbridges/simple-format-doc-fixRafael Mendonça França2013-07-091-1/+1
|\ | | | | Fix simple_format output example ending tag
| * Fix simple_format output example ending tagMatt Bridges2013-07-091-1/+1
| |
* | Merge pull request #11348 from sanemat/fix/link-to-blockRafael Mendonça França2013-07-071-1/+1
|\ \ | | | | | | Fix actionview link_to with block and url_hash
| * | Include block in a argument shiftsanemat2013-07-081-6/+2
| | |
| * | Fix link_to with block and url_hashsanemat2013-07-071-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.
* | Fix "Stack Level Too Deep" error when rendering recursive partialsRafael Mendonça França2013-07-071-3/+7
| | | | | | | | | | | | | | When rendering recursive partial Action View is trying to generate the view digest infinitly causing a stack level error. Fixes #11340
* | Added an `enforce_utf8` hash option for `form_tag` methodTakayuki Matsubara2013-07-071-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="&#x2713;" />..</form>' After: form_tag # => '<form>..<input name="utf8" type="hidden" value="&#x2713;" />..</form>' form_tag({}, { :enforce_utf8 => false }) # => '<form>....</form>'
* Remove the deprecated include_seconds argument from distance_of_time_in_wordsCarlos Antonio da Silva2013-07-021-9/+1
| | | | Pass in an :include_seconds hash option to use this feature.
* Remove `FormBuilder` deprecation warning about block argument and associated ↵Vipul A M2013-07-021-5/+1
| | | | tests
* Clean the code a bitSantiago Pastorino2013-06-292-2/+2
|
* fetch value(s) from stringified optionsJon Rowe2013-06-292-2/+2
|
* Remove passing the prompt to grouped_options_for_select as an argument, ↵kennyj2013-06-281-9/+2
| | | | because it was deprecated.
* Fix documentation for grouped_collection_select [ci skip]Artyom2013-06-271-1/+1
|
* Refactor cache fragment handling with read/write methodsCarlos Antonio da Silva2013-06-251-6/+6
|
* Move the write portion of fragment_for to its own method to allow for easier ↵Andrew Rove2013-06-251-10/+14
| | | | creation of custom cache methods.
* Fix typo in docs. HABTM associations should use a pluralized namemariozig2013-06-251-1/+1
|
* Comment typoRyan Williams2013-06-251-2/+2
|
* Bump up version, fix module nameŁukasz Strzałkowski2013-06-201-4/+4
|
* Remove require to AP stuff that leftŁukasz Strzałkowski2013-06-202-2/+0
|
* Move actionpack/lib/action_view* into actionview/libPiotr Sarnacki2013-06-2096-2/+14624
|
* Add bare actionview gem to the root directoryPiotr Sarnacki2013-06-202-0/+35
This commit creates structure for Action View gem and is first of a series of commits extracting Action View from Action Pack.