1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib/action_view/helpers
Aaron Patterson 2b6d2d2037
Turn lookup context in to a stack, push and pop if formats change
This commit keeps a stack of lookup contexts on the ActionView::Base
instance.  If a format is passed to render, we instantiate a new lookup
context and push it on the stack, that way any child calls to "render"
will use the same format information as the parent.  This also isolates
"sibling" calls to render (multiple calls to render in the same
template).

Fixes #35222 #34138
2019-02-11 17:55:59 -08:00
..
tags Fix unique DOM IDs for collection inputs 2019-01-25 10:04:23 -08:00
active_model_helper.rb Fix field_error_proc wrap form select optgroup and divider option tag 2017-11-09 17:37:06 +01:00
asset_tag_helper.rb Prefer ImageProcessing's resize_to_limit macro over resize_to_fit 2019-01-24 11:46:42 -05:00
asset_url_helper.rb Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
atom_feed_helper.rb Fix broken doc layout for action_view [ci skip] 2017-08-27 09:12:19 +09:00
cache_helper.rb Move digest path calculation out of loop 2018-09-11 16:52:44 -05:00
capture_helper.rb [ci skip] Doc ActionView::OutputBuffer 2018-09-06 15:28:45 -05:00
controller_helper.rb Fix broken doc layout for action_view [ci skip] 2017-08-27 09:12:19 +09:00
csp_helper.rb Add support for automatic nonce generation for Rails UJS 2018-02-19 15:59:34 +00:00
csrf_helper.rb Don't expect defined protect_against_forgery? in {token,csrf_meta}_tag 2018-12-27 11:33:54 +02:00
date_helper.rb Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
debug_helper.rb We should call methods with .method_name not ::method_name. 2018-02-22 00:54:40 +01:00
form_helper.rb Generate doc of methods provided by form builders [ci skip] 2018-12-26 19:53:48 +09:00
form_options_helper.rb Fix typo in collection_radio_buttons spec [ci skip] 2019-01-11 00:06:25 +01:00
form_tag_helper.rb Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
javascript_helper.rb Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
number_helper.rb Add missing documentation options to number_to_currency [ci skip] 2018-07-11 20:59:51 -03:00
output_safety_helper.rb Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
rendering_helper.rb Turn lookup context in to a stack, push and pop if formats change 2019-02-11 17:55:59 -08:00
sanitize_helper.rb Permit list usage cleanup and clearer documentation 2018-08-27 09:51:46 -04:00
tag_helper.rb Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
tags.rb Fix broken doc layout for action_view [ci skip] 2017-08-27 09:12:19 +09:00
text_helper.rb Fix integer regex deprecation warnings for Ruby 2.6.0 (#34728) 2018-12-21 08:19:41 +09:00
translation_helper.rb Improve regexp of html_safe_translation_key? 2019-02-05 23:23:22 +09:00
url_helper.rb Don't expect defined protect_against_forgery? in {token,csrf_meta}_tag 2018-12-27 11:33:54 +02:00