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
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
..
actionpack Fix actionview tests for missing helper 2020-05-03 06:06:09 +09:00
activerecord pull preloading behavior in to the collection renderer 2020-02-28 09:23:22 -08:00
fixtures Add a regression test that ActionText caught 2020-02-27 16:47:22 -08:00
lib Document view components support (#38656) 2020-03-13 23:52:49 +01:00
template Deprecate rendering templates with . in the name 2020-05-05 23:21:17 -07:00
ujs Fix typos [ci skip] 2020-04-22 21:43:37 -07:00
abstract_unit.rb Fix actionview tests for missing helper 2020-05-03 06:06:09 +09:00
active_record_unit.rb Run actionview tests in parallel 2019-06-05 18:40:08 -07:00