Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not load AV inside AP | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+1 |
| | | | | Move that part to AV railtie | ||||
* | Add missing require | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+2 |
| | |||||
* | Revert "Move setting content_type to AV" | Łukasz Strzałkowski | 2013-08-25 | 2 | -3/+1 |
| | | | | This reverts commit f4d602aff6cec80304b131ecfcc2676d0304f0cc. | ||||
* | Move setting content_type to AV | Łukasz Strzałkowski | 2013-08-25 | 2 | -1/+3 |
| | |||||
* | Use concat to avoid allocating additional array | Łukasz Strzałkowski | 2013-08-25 | 1 | -1/+1 |
| | |||||
* | Pass args to render's super method | Łukasz Strzałkowski | 2013-08-25 | 1 | -1/+2 |
| | |||||
* | Improve AV::Rendering docs | Łukasz Strzałkowski | 2013-08-25 | 1 | -2/+8 |
| | |||||
* | Include AV::Layouts before setting view_paths | Łukasz Strzałkowski | 2013-08-25 | 1 | -2/+2 |
| | |||||
* | Load AV::Layout to AM::Base in railties | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+6 |
| | |||||
* | Remove view_assigns from AV | Łukasz Strzałkowski | 2013-08-25 | 1 | -7/+0 |
| | | | | It wasn't adding anything, just invoking super | ||||
* | Load AV::Layouts dynamicly via railties | Łukasz Strzałkowski | 2013-08-25 | 1 | -1/+1 |
| | |||||
* | Code formatting & typo fixes | Łukasz Strzałkowski | 2013-08-25 | 1 | -35/+35 |
| | |||||
* | Remove abstract_controller load hooks | Łukasz Strzałkowski | 2013-08-25 | 1 | -4/+0 |
| | |||||
* | Move protected_instance_variables & view_assigns to AbstractController | Łukasz Strzałkowski | 2013-08-25 | 1 | -15/+4 |
| | |||||
* | Remove 'api plugin' from docs | Łukasz Strzałkowski | 2013-08-25 | 1 | -3/+0 |
| | | | | AbstractController::Rendering is module which defines thie api | ||||
* | Create AbstractController::Rendering interface | Łukasz Strzałkowski | 2013-08-25 | 1 | -17/+4 |
| | | | | This interface should be use when implementing renderers. | ||||
* | Fix eager_autoload for layouts | Łukasz Strzałkowski | 2013-08-25 | 1 | -1/+1 |
| | | | | Name was singular, should be plural | ||||
* | Revert "Require only path_set && lookup_context instead of whole base" | Łukasz Strzałkowski | 2013-08-25 | 1 | -2/+1 |
| | | | | This reverts commit 77bb03df2ca3687b290e9fe77d21007642f0329c. | ||||
* | Hook up AV::Rendering on AV intialization | Łukasz Strzałkowski | 2013-08-25 | 1 | -1/+5 |
| | |||||
* | Move layouts to AV | Łukasz Strzałkowski | 2013-08-25 | 3 | -0/+431 |
| | |||||
* | Move rendering from AP to AV | Łukasz Strzałkowski | 2013-08-25 | 2 | -0/+187 |
| | |||||
* | Require only path_set && lookup_context instead of whole base | Łukasz Strzałkowski | 2013-08-25 | 1 | -1/+2 |
| | |||||
* | Move view_paths from AP to AV | Łukasz Strzałkowski | 2013-08-25 | 2 | -0/+97 |
| | |||||
* | 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 |
| | |||||
* | AV::Digestor thread safety fixes. | thedarkone | 2013-07-30 | 1 | -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_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 |
| | |||||
* | Fix default rendered format problem when calling render method without ↵ | kennyj | 2013-07-15 | 1 | -1/+1 |
| | | | | :content_type option. Closes #11393. | ||||
* | 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. | ||||
* | | Fix "Stack Level Too Deep" error when rendering recursive partials | Rafael Mendonça França | 2013-07-07 | 1 | -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` 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. |