1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/test/template
John Hawthorn dd9991bac5 Deprecate rendering templates with . in the name
Allowing templates with "." introduces some ambiguity. Is index.html.erb
a template named "index" with format "html", or is it a template named
"index.html" without a format? We know it's probably the former, but if
we asked ActionView to render "index.html" we would currently get some
combination of the two: a Template with index.html as the name and
virtual path, but with html as the format.

This deprecates having "." anywhere in the template's name, we should
reserve this character for specifying formats. I think in 99% of cases
this will be people specifying `index.html` instead of simply `index`.

This was actually once deprecated in the 3.x series (removed in
6c57177f2c) but I don't think we can rely
on nobody having introduced this in the past 8 years.
2020-05-05 23:21:17 -07:00
..
erb
form_helper Call method outside the loop 2019-12-27 15:13:44 -03:00
testing Support :any variants for FixtureResolver 2019-06-30 02:23:08 +09:00
active_model_helper_test.rb Raise deprecation for calling [:f] = 'b' or [:f] << 'b' 2019-03-31 22:59:12 +08:00
asset_tag_helper_test.rb Use ActionDispatch mimes in asset_tag_helper_test 2019-12-21 03:38:39 -08:00
atom_feed_helper_test.rb Auto-correct rubocop offences 2019-11-24 09:54:47 +09:00
capture_helper_test.rb
compiled_templates_test.rb Remove actionview tests which modify fixtures 2019-06-05 18:40:06 -07:00
controller_helper_test.rb
csp_helper_test.rb
csrf_helper_test.rb form_authenticity_token takes keyword arguments 2019-09-15 03:05:52 +09:00
date_helper_i18n_test.rb This test needs integer core ext for time 2019-08-02 01:16:50 -04:00
date_helper_test.rb Use travel_to to in date_helper_test.rb. 2020-01-02 02:11:33 +01:00
dependency_tracker_test.rb Ignore interpolated strings in DependencyTracker 2020-04-27 10:10:45 -07:00
digestor_test.rb Make Template::Resolver always cache 2019-03-15 09:20:05 -07:00
erb_util_test.rb
fallback_file_system_resolver_test.rb Deprecate rendering templates with . in the name 2020-05-05 23:21:17 -07:00
file_system_resolver_test.rb Add tests against resolver 2019-04-11 17:09:00 -07:00
form_collections_helper_test.rb
form_helper_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
form_options_helper_i18n_test.rb
form_options_helper_test.rb Use index_by and index_with wherever possible 2020-03-05 01:24:14 +00:00
form_tag_helper_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
html_test.rb
javascript_helper_test.rb Fix possible XSS vector in JS escape helper 2020-03-19 09:48:08 -07:00
log_subscriber_test.rb add additional instrumentation block for ActionView layout rendering 2020-05-01 19:15:54 -07:00
lookup_context_test.rb Mostly remove bad test 2020-02-24 16:20:33 -08:00
number_helper_test.rb
optimized_file_system_resolver_test.rb Add tests against resolver 2019-04-11 17:09:00 -07:00
output_safety_helper_test.rb Suppress Ruby warning: ⚠️ non-nil $, will be deprecated 2019-07-29 12:55:28 +09:00
partial_iteration_test.rb fix require 2020-02-27 14:12:09 -08:00
record_identifier_test.rb
render_test.rb Deprecate rendering templates with . in the name 2020-05-05 23:21:17 -07:00
resolver_cache_test.rb
resolver_patterns_test.rb Deprecate custom patterns for PathResolver 2019-03-26 14:19:31 -07:00
resolver_shared_tests.rb Deprecate rendering templates with . in the name 2020-05-05 23:21:17 -07:00
sanitize_helper_test.rb
streaming_render_test.rb Introduce Template::File as new render file: 2019-03-27 15:51:25 -07:00
tag_helper_test.rb Update boolean attributes for actionview tag helper 2020-02-24 10:23:30 -05:00
template_error_test.rb Empty array instead of nil for source_extract 2019-07-14 15:04:25 -04:00
template_test.rb Fix Class#new + keyword arguments warnings 2019-09-09 02:35:59 +09:00
test_case_test.rb Fix helper_method in ActionView::TestCase to allow keyword arguments 2020-02-28 04:46:05 +09:00
test_test.rb
text_helper_test.rb Passing in a Hash instance as kwargs parameters requires the "double splat" prefix 2019-09-05 13:26:58 +09:00
text_test.rb
translation_helper_test.rb Fix translate method with default: nil 2020-02-09 23:22:00 +01:00
url_helper_test.rb Merge pull request #25214 from maclover7/jm-av-tests 2019-12-18 12:23:11 -03:00