aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib
Commit message (Collapse)AuthorAgeFilesLines
* sub! can return nilArun Agrawal2013-11-071-1/+1
| | | | | | Revert "drop one more string allocation" This reverts commit 4d15661d6c46c86a62ee1fc358f4b3ef9dd9f2ea.
* drop one more string allocationAaron Patterson2013-11-061-1/+1
|
* drop string allocations in the log subscriberAaron Patterson2013-11-061-2/+12
|
* Merge pull request #12788 from kylefritz/patch-1Rafael Mendonça França2013-11-061-2/+2
| | | | | | rdoc: favicon source shouldn't begin with a slash to reference asset pipeline resource [ci skip] Conflicts: actionview/lib/action_view/helpers/asset_tag_helper.rb
* Line up the comments for aestheticsDavid Heinemeier Hansson2013-11-031-5/+5
|
* Convert CDATA input to string before gsub'ingCarsten Zimmermann2013-10-291-1/+1
| | | | | Rails 3.2 API allowed arbitrary input for cdata_section; this change re-introduces the old behaviour.
* Remove warning of shadowing outer local variableRafael Mendonça França2013-10-271-2/+2
|
* Merge pull request #12636 from kongregate/dont_rescue_ExceptionsRafael Mendonça França2013-10-241-2/+2
|\ | | | | Avoid unnecessary catching of Exception instead of StandardError (conver...
| * Avoid unnecessary catching of Exception instead of StandardError (converting ↵stopdropandrew2013-10-241-2/+2
| | | | | | | | Exceptions into StandardErrors)
* | Merge pull request #10471 from andyw8/button_to_paramsRafael Mendonça França2013-10-241-0/+7
|\ \ | |/ |/| | | | | | | | | Add params option for button_to Conflicts: actionpack/CHANGELOG.md
| * Add params option for button_toAndy Waite2013-09-181-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.
* | Merge pull request #12540 from wyaeld/bug/fix-recursive-digestRafael Mendonça França2013-10-161-6/+6
|\ \ | | | | | | | | | Ensure ActionView::Digestor.cache is correctly cleaned up
| * | add a new local variable to track if digests are being stored, to ensure the ↵Brad Murray2013-10-171-2/+2
| | | | | | | | | | | | cleanup works correctly
| * | update digestor code based on reviewBrad Murray2013-10-151-2/+2
| | |
| * | Ensure ActionView::Digest.cache is correctly cleaned up whenBrad Murray2013-10-151-6/+6
| | | | | | | | | | | | ActionView::Resolver.caching = false.
* | | Fix typo in form_helper.rbAdam Jahnke2013-10-161-1/+1
|/ /
* | Merge pull request #12491 from shamanime/patch-1Rafael Mendonça França2013-10-131-2/+2
|\ \ | | | | | | Fix wrong variable name used in the select_day method documentation
| * | Fix wrong variable name used in the select_day method documentationJefferson Queiroz Venerando2013-10-101-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 arrayVipul A M2013-10-131-1/+1
|/ /
* | Fixed return strings in documentationJoseph Zidell2013-10-031-3/+3
| |
* | Fixed typo in documentationJoseph Zidell2013-10-031-3/+3
| |
* | Adds template dependencies rake task from cache_digests gem.Thomas von Deyen2013-09-262-0/+21
| | | | | | | | This adds the rake tasks `cache_digests:dependencies` and `cache_digests:nested_dependencies` from `cache_digests` gem.
* | Use the given name in html_options for the hidden field in ↵Angel N. Sciortino2013-09-241-1/+2
| | | | | | | | collection_check_boxes
* | Merge pull request #10773 from wangjohn/link_and_routing_optionsRafael Mendonça França2013-09-231-2/+3
| | | | | | | | Adding documentation and tests to ``polymorphic_url`` and ``link_to``
* | Fix some edge cases for AV `select` helper with `:selected` optionBogdan Gusiev2013-09-231-1/+2
| |
* | Expand select documentation to tell about the blockRafael Mendonça França2013-09-231-0/+9
| | | | | | | | [ci skip]
* | Ability to pass block to AV#select helperBogdan Gusiev2013-09-232-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 labelsVasiliy Ermolovich2013-09-222-1/+3
| |
* | Bust the template digest cache key when details are changedDaniel Schierbeck2013-09-191-1/+4
| | | | | | | | | | | | Since the lookup details will influence which template is resolved, they need to be included in the cache key -- otherwise two different templates may erroneously share the same digest value.
* | Merge pull request #12112 from adamniedzielski/fix-form-for-namespace-and-asRafael Mendonça França2013-09-121-1/+2
|\ \ | | | | | | | | | | | | | | | | | | form_for - fix :namespace and :as options clash Conflicts: actionview/CHANGELOG.md
| * | form_for - fix :namespace and :as options clashAdam Niedzielski2013-09-091-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
* | | Merge pull request #11603 from ↵Rafael Mendonça França2013-09-121-2/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | jetthoughts/join_strings_instead_of_contactination Cleanup: replace String concatenation by joining for excerpt helper
| * | | Cleanup of excerpt helperPaul Nikitochkin2013-09-061-2/+3
| |/ / | | | | | | | | | | | | * replaced String concatenation by joining * separator has default value to '', even it is nil
* | | Remove remaining coupling with AV in MimeRespondsJosé Valim2013-09-091-0/+7
| | |
* | | Remove BasicRendering and remove template functionality from AbsC::RenderingJosé Valim2013-09-091-7/+5
|/ /
* | Fix a few typos. [ci skip]namusyaka2013-09-041-2/+2
| |
* | Move skeleton methods from AV to AbsCŁukasz Strzałkowski2013-09-031-22/+0
| | | | | | | | | | | | | | | | | | | | The methods: * #render_to_body * #render_to_string * #_normalize_render Haven't had anything specyfic to ActionView. This was common code which should belong to AbstractController
* | Return to using protected_instance_variables in AVŁukasz Strzałkowski2013-09-021-4/+0
| |
* | fix the typo [ci skip]Rajarshi Das2013-09-021-1/+1
| | | | | | fix the typo newstopics => new topics in action view cache helper
* | Merge pull request #11768 from cloudspace/cache_template_loadingRafael Mendonça França2013-08-271-3/+7
|\ \ | | | | | | Only cache template digests if !config.cache_template_loading
| * | Only cache template digests if config.cache_template_loadingJosh Lauer2013-08-061-3/+7
| | | | | | | | | | | | | | | | | | since ActionView::Resolver.caching is set to the same value as config.cache_template_loading only cache template digests if config.cache_template_loading is not falsy fixes issues #10752 and #10791
* | | Load HTML in ActionView not ActionPackŁukasz Strzałkowski2013-08-251-0/+1
| | | | | | | | | | | | HTML Scanner is part of ActionView and it should be loaded along with it
* | | Fist stab on basic renderingŁukasz Strzałkowski2013-08-251-2/+0
| | |
* | | Add #rendered_format method to controllersŁukasz Strzałkowski2013-08-251-0/+4
| | |
* | | Add missing requires inside AVŁukasz Strzałkowski2013-08-254-1/+8
| | |
* | | Do not load AV inside APŁukasz Strzałkowski2013-08-251-0/+1
| | | | | | | | | | | | Move that part to AV railtie
* | | Add missing requireŁukasz Strzałkowski2013-08-251-0/+2
| | |
* | | Revert "Move setting content_type to AV"Łukasz Strzałkowski2013-08-252-3/+1
| | | | | | | | | | | | This reverts commit f4d602aff6cec80304b131ecfcc2676d0304f0cc.
* | | Move setting content_type to AVŁukasz Strzałkowski2013-08-252-1/+3
| | |
* | | Use concat to avoid allocating additional arrayŁukasz Strzałkowski2013-08-251-1/+1
| | |