actionview 6.0.3.2 → 6.1.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of actionview might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +163 -213
- data/MIT-LICENSE +1 -1
- data/lib/action_view.rb +4 -1
- data/lib/action_view/base.rb +21 -52
- data/lib/action_view/cache_expiry.rb +1 -2
- data/lib/action_view/context.rb +0 -1
- data/lib/action_view/dependency_tracker.rb +10 -4
- data/lib/action_view/digestor.rb +3 -2
- data/lib/action_view/gem_version.rb +3 -3
- data/lib/action_view/helpers/asset_tag_helper.rb +40 -15
- data/lib/action_view/helpers/asset_url_helper.rb +6 -4
- data/lib/action_view/helpers/atom_feed_helper.rb +2 -1
- data/lib/action_view/helpers/cache_helper.rb +10 -16
- data/lib/action_view/helpers/date_helper.rb +4 -4
- data/lib/action_view/helpers/form_helper.rb +59 -17
- data/lib/action_view/helpers/form_options_helper.rb +7 -16
- data/lib/action_view/helpers/form_tag_helper.rb +7 -7
- data/lib/action_view/helpers/javascript_helper.rb +3 -3
- data/lib/action_view/helpers/number_helper.rb +6 -6
- data/lib/action_view/helpers/rendering_helper.rb +11 -3
- data/lib/action_view/helpers/sanitize_helper.rb +2 -2
- data/lib/action_view/helpers/tag_helper.rb +92 -17
- data/lib/action_view/helpers/tags/base.rb +9 -5
- data/lib/action_view/helpers/tags/date_field.rb +1 -1
- data/lib/action_view/helpers/tags/date_select.rb +2 -2
- data/lib/action_view/helpers/tags/datetime_local_field.rb +1 -1
- data/lib/action_view/helpers/tags/label.rb +4 -0
- data/lib/action_view/helpers/tags/month_field.rb +1 -1
- data/lib/action_view/helpers/tags/select.rb +1 -1
- data/lib/action_view/helpers/tags/time_field.rb +1 -1
- data/lib/action_view/helpers/tags/week_field.rb +1 -1
- data/lib/action_view/helpers/text_helper.rb +1 -1
- data/lib/action_view/helpers/translation_helper.rb +95 -49
- data/lib/action_view/helpers/url_helper.rb +107 -13
- data/lib/action_view/layouts.rb +3 -2
- data/lib/action_view/log_subscriber.rb +26 -10
- data/lib/action_view/lookup_context.rb +3 -18
- data/lib/action_view/path_set.rb +0 -3
- data/lib/action_view/railtie.rb +35 -46
- data/lib/action_view/renderer/abstract_renderer.rb +93 -14
- data/lib/action_view/renderer/collection_renderer.rb +192 -0
- data/lib/action_view/renderer/object_renderer.rb +34 -0
- data/lib/action_view/renderer/partial_renderer.rb +20 -282
- data/lib/action_view/renderer/partial_renderer/collection_caching.rb +25 -26
- data/lib/action_view/renderer/renderer.rb +44 -1
- data/lib/action_view/renderer/streaming_template_renderer.rb +5 -1
- data/lib/action_view/renderer/template_renderer.rb +15 -12
- data/lib/action_view/rendering.rb +3 -1
- data/lib/action_view/routing_url_for.rb +1 -1
- data/lib/action_view/template.rb +9 -49
- data/lib/action_view/template/handlers.rb +0 -26
- data/lib/action_view/template/handlers/erb.rb +10 -14
- data/lib/action_view/template/handlers/erb/erubi.rb +9 -7
- data/lib/action_view/template/html.rb +1 -11
- data/lib/action_view/template/raw_file.rb +0 -3
- data/lib/action_view/template/renderable.rb +24 -0
- data/lib/action_view/template/resolver.rb +82 -40
- data/lib/action_view/template/text.rb +0 -3
- data/lib/action_view/test_case.rb +18 -25
- data/lib/action_view/testing/resolvers.rb +10 -31
- data/lib/action_view/unbound_template.rb +3 -3
- data/lib/action_view/view_paths.rb +34 -36
- metadata +18 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66b9ba4747ae5973f8f784343f64e7201d2bbf8299cb9b9dc2ed7869db55cbc6
|
4
|
+
data.tar.gz: da671bc8666ecd9386fa75a7639c837492df9b0d5b81c9f2a66114a522d6dec9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 409ff7a86026884f20e3fbf1eb0560fc990328369c15e90500f27dc8336020edc59acfb3b8da61806c7eac62ae501c1c5f176c4dc7da641f3da338bcfb2cc6f5
|
7
|
+
data.tar.gz: 961932d31d4e46c9674a9ea3229db468dfd922c1b79c9f23403b928763f1a8798848dae25554f09255965968109e7557953b4c3a7d6573e142061a3fc3e360c7
|
data/CHANGELOG.md
CHANGED
@@ -1,328 +1,278 @@
|
|
1
|
-
## Rails 6.0
|
1
|
+
## Rails 6.1.0 (December 09, 2020) ##
|
2
2
|
|
3
|
-
*
|
3
|
+
* SanitizeHelper.sanitized_allowed_attributes and SanitizeHelper.sanitized_allowed_tags
|
4
|
+
call safe_list_sanitizer's class method
|
4
5
|
|
6
|
+
Fixes #39586
|
5
7
|
|
6
|
-
|
8
|
+
*Taufiq Muhammadi*
|
7
9
|
|
8
|
-
*
|
10
|
+
* Change form_with to generate non-remote forms by default.
|
9
11
|
|
10
|
-
|
12
|
+
`form_with` would generate a remote form by default. This would confuse
|
13
|
+
users because they were forced to handle remote requests.
|
11
14
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
*Guilherme Mansur*, *Kasper Timm Hansen*
|
16
|
-
|
17
|
-
* Add autoload for SyntaxErrorInTemplate so syntax errors are correctly raised by DebugExceptions.
|
18
|
-
|
19
|
-
*Guilherme Mansur*, *Gannon McGibbon*
|
20
|
-
|
21
|
-
|
22
|
-
## Rails 6.0.2.2 (March 19, 2020) ##
|
15
|
+
All new 6.1 applications will generate non-remote forms by default.
|
16
|
+
When upgrading a 6.0 application you can enable remote forms by default by
|
17
|
+
setting `config.action_view.form_with_generates_remote_forms` to `true`.
|
23
18
|
|
24
|
-
*
|
19
|
+
*Petrik de Heus*
|
25
20
|
|
26
|
-
|
21
|
+
* Yield translated strings to calls of `ActionView::FormBuilder#button`
|
22
|
+
when a block is given.
|
27
23
|
|
28
|
-
*
|
24
|
+
*Sean Doyle*
|
29
25
|
|
26
|
+
* Alias `ActionView::Helpers::Tags::Label::LabelBuilder#translation` to
|
27
|
+
`#to_s` so that `form.label` calls can yield that value to their blocks.
|
30
28
|
|
31
|
-
|
29
|
+
*Sean Doyle*
|
32
30
|
|
33
|
-
*
|
31
|
+
* Rename the new `TagHelper#class_names` method to `TagHelper#token_list`,
|
32
|
+
and make the original available as an alias.
|
34
33
|
|
34
|
+
token_list("foo", "foo bar")
|
35
|
+
# => "foo bar"
|
35
36
|
|
36
|
-
|
37
|
+
*Sean Doyle*
|
37
38
|
|
38
|
-
*
|
39
|
-
|
40
|
-
|
41
|
-
## Rails 6.0.1 (November 5, 2019) ##
|
42
|
-
|
43
|
-
* UJS avoids `Element.closest()` for IE 9 compatibility.
|
44
|
-
|
45
|
-
*George Claghorn*
|
46
|
-
|
47
|
-
|
48
|
-
## Rails 6.0.0 (August 16, 2019) ##
|
49
|
-
|
50
|
-
* ActionView::Helpers::SanitizeHelper: support rails-html-sanitizer 1.1.0.
|
51
|
-
|
52
|
-
*Juanito Fatas*
|
39
|
+
* ARIA Array and Hash attributes are treated as space separated `DOMTokenList`
|
40
|
+
values. This is useful when declaring lists of label text identifiers in
|
41
|
+
`aria-labelledby` or `aria-describedby`.
|
53
42
|
|
43
|
+
tag.input type: 'checkbox', name: 'published', aria: {
|
44
|
+
invalid: @post.errors[:published].any?,
|
45
|
+
labelledby: ['published_context', 'published_label'],
|
46
|
+
describedby: { published_errors: @post.errors[:published].any? }
|
47
|
+
}
|
48
|
+
#=> <input
|
49
|
+
type="checkbox" name="published" aria-invalid="true"
|
50
|
+
aria-labelledby="published_context published_label"
|
51
|
+
aria-describedby="published_errors"
|
52
|
+
>
|
54
53
|
|
55
|
-
|
56
|
-
|
57
|
-
* Fix `select_tag` so that it doesn't change `options` when `include_blank` is present.
|
58
|
-
|
59
|
-
*Younes SERRAJ*
|
60
|
-
|
61
|
-
|
62
|
-
## Rails 6.0.0.rc1 (April 24, 2019) ##
|
63
|
-
|
64
|
-
* Fix partial caching skips same item issue
|
65
|
-
|
66
|
-
If we render cached collection partials with repeated items, those repeated items
|
67
|
-
will get skipped. For example, if you have 5 identical items in your collection, Rails
|
68
|
-
only renders the first one when `cached` is set to true. But it should render all
|
69
|
-
5 items instead.
|
70
|
-
|
71
|
-
Fixes #35114.
|
72
|
-
|
73
|
-
*Stan Lo*
|
74
|
-
|
75
|
-
* Only clear ActionView cache in development on file changes
|
76
|
-
|
77
|
-
To speed up development mode, view caches are only cleared when files in
|
78
|
-
the view paths have changed. Applications which have implemented custom
|
79
|
-
`ActionView::Resolver` subclasses may need to add their own cache clearing.
|
54
|
+
*Sean Doyle*
|
80
55
|
|
81
|
-
|
56
|
+
* Remove deprecated `escape_whitelist` from `ActionView::Template::Handlers::ERB`.
|
82
57
|
|
83
|
-
*
|
58
|
+
*Rafael Mendonça França*
|
84
59
|
|
85
|
-
|
60
|
+
* Remove deprecated `find_all_anywhere` from `ActionView::Resolver`.
|
86
61
|
|
87
|
-
*
|
88
|
-
without using any handlers, using the new `Template::RawFile` class.
|
62
|
+
*Rafael Mendonça França*
|
89
63
|
|
90
|
-
|
64
|
+
* Remove deprecated `formats` from `ActionView::Template::HTML`.
|
91
65
|
|
66
|
+
*Rafael Mendonça França*
|
92
67
|
|
93
|
-
|
68
|
+
* Remove deprecated `formats` from `ActionView::Template::RawFile`.
|
94
69
|
|
95
|
-
*
|
70
|
+
*Rafael Mendonça França*
|
96
71
|
|
97
|
-
|
98
|
-
arbitrary files on the target server or to perform a denial of service
|
99
|
-
attack.
|
72
|
+
* Remove deprecated `formats` from `ActionView::Template::Text`.
|
100
73
|
|
101
|
-
|
102
|
-
Fixes CVE-2019-5419
|
74
|
+
*Rafael Mendonça França*
|
103
75
|
|
104
|
-
|
76
|
+
* Remove deprecated `find_file` from `ActionView::PathSet`.
|
105
77
|
|
78
|
+
*Rafael Mendonça França*
|
106
79
|
|
107
|
-
|
80
|
+
* Remove deprecated `rendered_format` from `ActionView::LookupContext`.
|
108
81
|
|
109
|
-
*
|
110
|
-
no replacement.
|
82
|
+
*Rafael Mendonça França*
|
111
83
|
|
112
|
-
|
84
|
+
* Remove deprecated `find_file` from `ActionView::ViewPaths`.
|
113
85
|
|
114
|
-
*
|
115
|
-
no replacement.
|
86
|
+
*Rafael Mendonça França*
|
116
87
|
|
117
|
-
|
88
|
+
* Require that `ActionView::Base` subclasses implement `#compiled_method_container`.
|
118
89
|
|
119
|
-
*
|
90
|
+
*Rafael Mendonça França*
|
120
91
|
|
121
|
-
|
92
|
+
* Remove deprecated support to pass an object that is not a `ActionView::LookupContext` as the first argument
|
93
|
+
in `ActionView::Base#initialize`.
|
122
94
|
|
123
|
-
*
|
95
|
+
*Rafael Mendonça França*
|
124
96
|
|
125
|
-
*
|
126
|
-
now accept two parameters, the view object and the source for the view object.
|
97
|
+
* Remove deprecated `format` argument `ActionView::Base#initialize`.
|
127
98
|
|
128
|
-
*
|
99
|
+
*Rafael Mendonça França*
|
129
100
|
|
101
|
+
* Remove deprecated `ActionView::Template#refresh`.
|
130
102
|
|
131
|
-
|
103
|
+
*Rafael Mendonça França*
|
132
104
|
|
133
|
-
*
|
134
|
-
[`rails-ujs`](https://www.npmjs.com/package/rails-ujs) to
|
135
|
-
[`@rails/ujs`](https://www.npmjs.com/package/@rails/ujs).
|
105
|
+
* Remove deprecated `ActionView::Template#original_encoding`.
|
136
106
|
|
137
|
-
*
|
107
|
+
*Rafael Mendonça França*
|
138
108
|
|
139
|
-
* Remove deprecated `
|
109
|
+
* Remove deprecated `ActionView::Template#variants`.
|
140
110
|
|
141
111
|
*Rafael Mendonça França*
|
142
112
|
|
143
|
-
*
|
144
|
-
`ActionView::Base` subclasses. This prevents the use of forms and buttons.
|
145
|
-
|
146
|
-
*Genadi Samokovarov*
|
113
|
+
* Remove deprecated `ActionView::Template#formats`.
|
147
114
|
|
148
|
-
*
|
115
|
+
*Rafael Mendonça França*
|
149
116
|
|
150
|
-
|
117
|
+
* Remove deprecated `ActionView::Template#virtual_path=`.
|
151
118
|
|
152
|
-
*
|
119
|
+
*Rafael Mendonça França*
|
153
120
|
|
154
|
-
*
|
155
|
-
Firefox fires click events even if the click was triggered by non-primary mouse keys such as right- or scroll-wheel-clicks.
|
156
|
-
For example, right-clicking a link such as the one described below (with an underlying ajax request registered on click) should not cause that request to occur.
|
121
|
+
* Remove deprecated `ActionView::Template#updated_at`.
|
157
122
|
|
158
|
-
|
159
|
-
<%= link_to 'Remote', remote_path, class: 'remote', remote: true, data: { type: :json } %>
|
160
|
-
```
|
123
|
+
*Rafael Mendonça França*
|
161
124
|
|
162
|
-
|
125
|
+
* Remove deprecated `updated_at` argument required on `ActionView::Template#initialize`.
|
163
126
|
|
164
|
-
*
|
127
|
+
*Rafael Mendonça França*
|
165
128
|
|
166
|
-
*
|
129
|
+
* Make `locals` argument required on `ActionView::Template#initialize`.
|
167
130
|
|
168
|
-
|
131
|
+
*Rafael Mendonça França*
|
169
132
|
|
170
|
-
|
171
|
-
This is a paragraph with an initial indent,
|
172
|
-
followed by additional lines that are not indented,
|
173
|
-
and finally terminated with a blockquote:
|
174
|
-
"A pithy saying"
|
175
|
-
```
|
133
|
+
* Remove deprecated `ActionView::Template.finalize_compiled_template_methods`.
|
176
134
|
|
177
|
-
|
135
|
+
*Rafael Mendonça França*
|
178
136
|
|
179
|
-
|
137
|
+
* Remove deprecated `config.action_view.finalize_compiled_template_methods`
|
180
138
|
|
181
|
-
*
|
139
|
+
*Rafael Mendonça França*
|
182
140
|
|
183
|
-
*
|
141
|
+
* Remove deprecated support to calling `ActionView::ViewPaths#with_fallback` with a block.
|
184
142
|
|
185
|
-
|
143
|
+
*Rafael Mendonça França*
|
186
144
|
|
187
|
-
|
188
|
-
Rendered posts/_form.html.erb (Duration: 7.1ms | Allocations: 6004)
|
189
|
-
Rendered posts/new.html.erb within layouts/application (Duration: 8.3ms | Allocations: 6654)
|
190
|
-
Completed 200 OK in 858ms (Views: 848.4ms | ActiveRecord: 0.4ms | Allocations: 1539564)
|
191
|
-
```
|
145
|
+
* Remove deprecated support to passing absolute paths to `render template:`.
|
192
146
|
|
193
|
-
*
|
147
|
+
*Rafael Mendonça França*
|
194
148
|
|
195
|
-
*
|
149
|
+
* Remove deprecated support to passing relative paths to `render file:`.
|
196
150
|
|
197
|
-
|
151
|
+
*Rafael Mendonça França*
|
198
152
|
|
199
|
-
|
153
|
+
* Remove support to template handlers that don't accept two arguments.
|
200
154
|
|
201
|
-
*
|
155
|
+
*Rafael Mendonça França*
|
202
156
|
|
203
|
-
|
204
|
-
and `collection_select` it is possible to call private methods from
|
205
|
-
the objects used.
|
157
|
+
* Remove deprecated pattern argument in `ActionView::Template::PathResolver`.
|
206
158
|
|
207
|
-
|
159
|
+
*Rafael Mendonça França*
|
208
160
|
|
209
|
-
|
161
|
+
* Remove deprecated support to call private methods from object in some view helpers.
|
210
162
|
|
211
|
-
*
|
163
|
+
*Rafael Mendonça França*
|
212
164
|
|
213
|
-
|
214
|
-
|
215
|
-
`to_form_params` was comparing the given symbol and string keys.
|
165
|
+
* `ActionView::Helpers::TranslationHelper#translate` accepts a block, yielding
|
166
|
+
the translated text and the fully resolved translation key:
|
216
167
|
|
217
|
-
|
218
|
-
|
168
|
+
<%= translate(".relative_key") do |translation, resolved_key| %>
|
169
|
+
<span title="<%= resolved_key %>"><%= translation %></span>
|
170
|
+
<% end %>
|
219
171
|
|
220
|
-
*
|
172
|
+
*Sean Doyle*
|
221
173
|
|
222
|
-
*
|
174
|
+
* Ensure cache fragment digests include all relevant template dependencies when
|
175
|
+
fragments are contained in a block passed to the render helper. Remove the
|
176
|
+
virtual_path keyword arguments found in CacheHelper as they no longer possess
|
177
|
+
any function following 1581cab.
|
223
178
|
|
224
|
-
|
179
|
+
Fixes #38984.
|
225
180
|
|
226
|
-
|
227
|
-
foo_html:
|
228
|
-
- "One"
|
229
|
-
- "<strong>Two</strong>"
|
230
|
-
- "Three 👋 🙂"
|
181
|
+
*Aaron Lipman*
|
231
182
|
|
232
|
-
|
183
|
+
* Deprecate `config.action_view.raise_on_missing_translations` in favor of
|
184
|
+
`config.i18n.raise_on_missing_translations`.
|
233
185
|
|
234
|
-
|
235
|
-
|
186
|
+
New generalized configuration option now determines whether an error should be raised
|
187
|
+
for missing translations in controllers and views.
|
236
188
|
|
237
|
-
|
189
|
+
*fatkodima*
|
238
190
|
|
239
|
-
|
191
|
+
* Instrument layout rendering in `TemplateRenderer#render_with_layout` as `render_layout.action_view`,
|
192
|
+
and include (when necessary) the layout's virtual path in notification payloads for collection and partial renders.
|
240
193
|
|
241
|
-
|
194
|
+
*Zach Kemp*
|
242
195
|
|
243
|
-
|
244
|
-
<option value="1998">Heisei 10</option>
|
245
|
-
<option value="1999">Heisei 11</option>
|
246
|
-
<option value="2000">Heisei 12</option>
|
247
|
-
</select>
|
248
|
-
/* The rest is omitted */
|
196
|
+
* `ActionView::Base.annotate_rendered_view_with_filenames` annotates HTML output with template file names.
|
249
197
|
|
250
|
-
*
|
198
|
+
*Joel Hawksley*, *Aaron Patterson*
|
251
199
|
|
252
|
-
*
|
253
|
-
|
200
|
+
* `ActionView::Helpers::TranslationHelper#translate` returns nil when
|
201
|
+
passed `default: nil` without a translation matching `I18n#translate`.
|
254
202
|
|
255
|
-
|
203
|
+
*Stefan Wrobel*
|
256
204
|
|
257
|
-
|
205
|
+
* `OptimizedFileSystemResolver` prefers template details in order of locale,
|
206
|
+
formats, variants, handlers.
|
258
207
|
|
259
|
-
*
|
260
|
-
support automatic nonce generation for Content Security Policy.
|
261
|
-
Works the same way as `javascript_tag nonce: true` does.
|
208
|
+
*Iago Pimenta*
|
262
209
|
|
263
|
-
|
210
|
+
* Added `class_names` helper to create a CSS class value with conditional classes.
|
264
211
|
|
265
|
-
*
|
212
|
+
*Joel Hawksley*, *Aaron Patterson*
|
266
213
|
|
267
|
-
|
214
|
+
* Add support for conditional values to TagBuilder.
|
268
215
|
|
269
|
-
*
|
216
|
+
*Joel Hawksley*
|
270
217
|
|
271
|
-
|
272
|
-
Add a configuration option,
|
273
|
-
`action_view.finalize_compiled_template_methods`, and turn it off in
|
274
|
-
the test environment.
|
218
|
+
* `ActionView::Helpers::FormOptionsHelper#select` should mark option for `nil` as selected.
|
275
219
|
|
276
|
-
|
220
|
+
```ruby
|
221
|
+
@post = Post.new
|
222
|
+
@post.category = nil
|
277
223
|
|
278
|
-
|
224
|
+
# Before
|
225
|
+
select("post", "category", none: nil, programming: 1, economics: 2)
|
226
|
+
# =>
|
227
|
+
# <select name="post[category]" id="post_category">
|
228
|
+
# <option value="">none</option>
|
229
|
+
# <option value="1">programming</option>
|
230
|
+
# <option value="2">economics</option>
|
231
|
+
# </select>
|
279
232
|
|
280
|
-
|
233
|
+
# After
|
234
|
+
select("post", "category", none: nil, programming: 1, economics: 2)
|
235
|
+
# =>
|
236
|
+
# <select name="post[category]" id="post_category">
|
237
|
+
# <option selected="selected" value="">none</option>
|
238
|
+
# <option value="1">programming</option>
|
239
|
+
# <option value="2">economics</option>
|
240
|
+
# </select>
|
241
|
+
```
|
281
242
|
|
282
|
-
|
283
|
-
return (my_bootstrap_modal_confirm(message));
|
284
|
-
}
|
243
|
+
*bogdanvlviv*
|
285
244
|
|
286
|
-
|
245
|
+
* Log lines for partial renders and started template renders are now
|
246
|
+
emitted at the `DEBUG` level instead of `INFO`.
|
287
247
|
|
288
|
-
|
289
|
-
field.
|
248
|
+
Completed template renders are still logged at the `INFO` level.
|
290
249
|
|
291
|
-
|
250
|
+
*DHH*
|
292
251
|
|
293
|
-
|
294
|
-
:category,
|
295
|
-
["lifestyle", "programming", "spiritual"],
|
296
|
-
{ selected: "", disabled: "", prompt: "Choose one" },
|
297
|
-
{ required: true }
|
252
|
+
* ActionView::Helpers::SanitizeHelper: support rails-html-sanitizer 1.1.0.
|
298
253
|
|
299
|
-
|
254
|
+
*Juanito Fatas*
|
300
255
|
|
301
|
-
|
256
|
+
* Added `phone_to` helper method to create a link from mobile numbers.
|
302
257
|
|
303
|
-
|
304
|
-
<option disabled="disabled" selected="selected" value="">Choose one</option>
|
305
|
-
<option value="lifestyle">lifestyle</option>
|
306
|
-
<option value="programming">programming</option>
|
307
|
-
<option value="spiritual">spiritual</option></select>
|
258
|
+
*Pietro Moro*
|
308
259
|
|
309
|
-
|
260
|
+
* annotated_source_code returns an empty array so TemplateErrors without a
|
261
|
+
template in the backtrace are surfaced properly by DebugExceptions.
|
310
262
|
|
311
|
-
*
|
263
|
+
*Guilherme Mansur*, *Kasper Timm Hansen*
|
312
264
|
|
313
|
-
|
314
|
-
IE8 or lower becomes increasingly difficult so default to not enforcing
|
315
|
-
UTF-8 encoding as it's not relevant to other browsers.
|
265
|
+
* Add autoload for SyntaxErrorInTemplate so syntax errors are correctly raised by DebugExceptions.
|
316
266
|
|
317
|
-
*
|
267
|
+
*Guilherme Mansur*, *Gannon McGibbon*
|
318
268
|
|
319
|
-
*
|
269
|
+
* `RenderingHelper` supports rendering objects that `respond_to?` `:render_in`.
|
320
270
|
|
321
|
-
*
|
271
|
+
*Joel Hawksley*, *Natasha Umer*, *Aaron Patterson*, *Shawn Allen*, *Emily Plummer*, *Diana Mounter*, *John Hawthorn*, *Nathan Herald*, *Zaid Zawaideh*, *Zach Ahn*
|
322
272
|
|
323
|
-
*
|
273
|
+
* Fix `select_tag` so that it doesn't change `options` when `include_blank` is present.
|
324
274
|
|
325
|
-
*
|
275
|
+
*Younes SERRAJ*
|
326
276
|
|
327
277
|
|
328
|
-
Please check [
|
278
|
+
Please check [6-0-stable](https://github.com/rails/rails/blob/6-0-stable/actionview/CHANGELOG.md) for previous changes.
|