actionview 4.2.11.3 → 5.0.0.beta1
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 +5 -5
- data/CHANGELOG.md +136 -255
- data/MIT-LICENSE +1 -1
- data/README.rdoc +2 -3
- data/lib/action_view.rb +1 -1
- data/lib/action_view/base.rb +14 -2
- data/lib/action_view/dependency_tracker.rb +46 -15
- data/lib/action_view/digestor.rb +13 -9
- data/lib/action_view/flows.rb +1 -1
- data/lib/action_view/gem_version.rb +4 -4
- data/lib/action_view/helpers/asset_tag_helper.rb +15 -5
- data/lib/action_view/helpers/asset_url_helper.rb +51 -12
- data/lib/action_view/helpers/atom_feed_helper.rb +5 -4
- data/lib/action_view/helpers/cache_helper.rb +75 -20
- data/lib/action_view/helpers/capture_helper.rb +3 -2
- data/lib/action_view/helpers/controller_helper.rb +1 -0
- data/lib/action_view/helpers/date_helper.rb +39 -10
- data/lib/action_view/helpers/debug_helper.rb +1 -1
- data/lib/action_view/helpers/form_helper.rb +81 -35
- data/lib/action_view/helpers/form_options_helper.rb +74 -35
- data/lib/action_view/helpers/form_tag_helper.rb +46 -19
- data/lib/action_view/helpers/javascript_helper.rb +4 -4
- data/lib/action_view/helpers/number_helper.rb +10 -12
- data/lib/action_view/helpers/record_tag_helper.rb +12 -99
- data/lib/action_view/helpers/rendering_helper.rb +2 -2
- data/lib/action_view/helpers/sanitize_helper.rb +1 -2
- data/lib/action_view/helpers/tag_helper.rb +20 -13
- data/lib/action_view/helpers/tags/base.rb +33 -28
- data/lib/action_view/helpers/tags/collection_check_boxes.rb +2 -30
- data/lib/action_view/helpers/tags/collection_helpers.rb +28 -0
- data/lib/action_view/helpers/tags/collection_radio_buttons.rb +1 -9
- data/lib/action_view/helpers/tags/file_field.rb +15 -0
- data/lib/action_view/helpers/tags/label.rb +1 -1
- data/lib/action_view/helpers/tags/placeholderable.rb +1 -1
- data/lib/action_view/helpers/tags/search_field.rb +12 -9
- data/lib/action_view/helpers/tags/text_field.rb +0 -1
- data/lib/action_view/helpers/tags/translator.rb +1 -1
- data/lib/action_view/helpers/text_helper.rb +25 -9
- data/lib/action_view/helpers/translation_helper.rb +56 -26
- data/lib/action_view/helpers/url_helper.rb +40 -65
- data/lib/action_view/layouts.rb +11 -10
- data/lib/action_view/lookup_context.rb +14 -40
- data/lib/action_view/model_naming.rb +1 -1
- data/lib/action_view/path_set.rb +15 -18
- data/lib/action_view/railtie.rb +20 -3
- data/lib/action_view/record_identifier.rb +44 -19
- data/lib/action_view/renderer/abstract_renderer.rb +1 -1
- data/lib/action_view/renderer/partial_renderer.rb +27 -26
- data/lib/action_view/renderer/partial_renderer/collection_caching.rb +70 -0
- data/lib/action_view/renderer/renderer.rb +2 -6
- data/lib/action_view/renderer/streaming_template_renderer.rb +1 -1
- data/lib/action_view/renderer/template_renderer.rb +12 -11
- data/lib/action_view/rendering.rb +8 -5
- data/lib/action_view/routing_url_for.rb +18 -6
- data/lib/action_view/template.rb +50 -13
- data/lib/action_view/template/error.rb +14 -7
- data/lib/action_view/template/handlers.rb +3 -3
- data/lib/action_view/template/handlers/erb.rb +25 -0
- data/lib/action_view/template/handlers/raw.rb +1 -1
- data/lib/action_view/template/resolver.rb +36 -58
- data/lib/action_view/template/types.rb +1 -1
- data/lib/action_view/test_case.rb +13 -8
- data/lib/action_view/testing/resolvers.rb +3 -4
- data/lib/action_view/view_paths.rb +6 -22
- metadata +17 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9a5d4fbdf7e7d54e2c400d21f35654616b57d37e
|
4
|
+
data.tar.gz: aad959776d43d98e48262abf657a4af7bc94c342
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d99f3c252cc0440ffe527237ef527adaf85c2c48d56614b686ae4954eed201eb1ff736f35cf1486ed5dc0b13737c6567b1fa353adf785ef186e3a8ed090e5a0
|
7
|
+
data.tar.gz: 56a74dc0bd588a9ff6a5fd2899f509396d4e22fdf4d2b673fcd253b76cf177e1148834f1440d26a7df5d7799ee564f335fe76c50a2f46191dbceb1fb0c633e07
|
data/CHANGELOG.md
CHANGED
@@ -1,102 +1,128 @@
|
|
1
|
-
## Rails
|
1
|
+
## Rails 5.0.0.beta1 (December 18, 2015) ##
|
2
2
|
|
3
|
-
*
|
4
|
-
|
5
|
-
|
6
|
-
## Rails 4.2.11.2 (May 15, 2020) ##
|
7
|
-
|
8
|
-
* Restrict local variable names in templates [CVE-2020-8163]
|
3
|
+
* No changes.
|
9
4
|
|
10
5
|
|
11
|
-
|
6
|
+
* `I18n.translate` helper will wrap the missing translation keys
|
7
|
+
in a <span> tag only if `debug_missing_translation` configuration
|
8
|
+
be true. Default value is `true`. For example in `application.rb`:
|
12
9
|
|
13
|
-
|
10
|
+
# in order to turn off missing key wrapping
|
11
|
+
config.action_view.debug_missing_tranlation = false
|
14
12
|
|
13
|
+
*Sameer Rahmani*
|
15
14
|
|
16
|
-
|
15
|
+
* Respect value of `:object` if `:object` is false when rendering.
|
17
16
|
|
18
|
-
|
17
|
+
Fixes #22260.
|
19
18
|
|
19
|
+
*Yuichiro Kaneko*
|
20
20
|
|
21
|
-
|
21
|
+
* Generate `week_field` input values using a 1-based index and not a 0-based index
|
22
|
+
as per the W3 spec: http://www.w3.org/TR/html-markup/datatypes.html#form.data.week
|
22
23
|
|
23
|
-
*
|
24
|
+
*Christoph Geschwind*
|
24
25
|
|
26
|
+
* Allow `host` option in `javascript_include_tag` and `stylesheet_link_tag` helpers
|
25
27
|
|
26
|
-
|
28
|
+
*Grzegorz Witek*
|
27
29
|
|
28
|
-
*
|
30
|
+
* Restrict `url_for :back` to valid, non-JavaScript URLs. GH#14444
|
29
31
|
|
32
|
+
*Damien Burke*
|
30
33
|
|
31
|
-
|
34
|
+
* Allow `date_select` helper selected option to accept hash like the default options.
|
32
35
|
|
33
|
-
*
|
36
|
+
*Lecky Lao*
|
34
37
|
|
38
|
+
* Collection input propagates input's `id` to the label's `for` attribute when
|
39
|
+
using html options as the last element of collection.
|
35
40
|
|
36
|
-
|
41
|
+
*Vasiliy Ermolovich*
|
37
42
|
|
38
|
-
*
|
43
|
+
* Add a `hidden_field` on the `collection_radio_buttons` to avoid raising a error
|
44
|
+
when the only input on the form is the `collection_radio_buttons`.
|
39
45
|
|
46
|
+
*Mauro George*
|
40
47
|
|
41
|
-
|
48
|
+
* `url_for` does not modify its arguments when generating polymorphic URLs.
|
42
49
|
|
43
|
-
*
|
44
|
-
attribute when assets are handled by Sprockets >=3.0.
|
50
|
+
*Bernerd Schaefer*
|
45
51
|
|
46
|
-
|
52
|
+
* `number_to_currency` and `number_with_delimiter` now accept a custom `delimiter_pattern` option
|
53
|
+
to handle placement of delimiter, to support currency formats like INR.
|
47
54
|
|
48
|
-
|
55
|
+
Example:
|
49
56
|
|
50
|
-
|
57
|
+
number_to_currency(1230000, delimiter_pattern: /(\d+?)(?=(\d\d)+(\d)(?!\d))/, unit: '₹', format: "%u %n")
|
58
|
+
# => '₹ 12,30,000.00'
|
51
59
|
|
52
|
-
*
|
60
|
+
*Vipul A M*
|
53
61
|
|
54
|
-
*
|
62
|
+
* Make `disable_with` the default behavior for submit tags. Disables the
|
63
|
+
button on submit to prevent double submits.
|
55
64
|
|
56
|
-
|
65
|
+
*Justin Schiff*
|
57
66
|
|
58
|
-
|
67
|
+
* Add a break_sequence option to word_wrap so you can specify a custom break.
|
59
68
|
|
60
|
-
*
|
61
|
-
as per the W3 spec: http://www.w3.org/TR/html-markup/datatypes.html#form.data.week
|
69
|
+
*Mauricio Gomez*
|
62
70
|
|
63
|
-
|
71
|
+
* Add wildcard matching to explicit dependencies.
|
64
72
|
|
73
|
+
Turns:
|
65
74
|
|
66
|
-
|
75
|
+
```erb
|
76
|
+
<% # Template Dependency: recordings/threads/events/subscribers_changed %>
|
77
|
+
<% # Template Dependency: recordings/threads/events/completed %>
|
78
|
+
<% # Template Dependency: recordings/threads/events/uncompleted %>
|
79
|
+
```
|
67
80
|
|
68
|
-
|
81
|
+
Into:
|
69
82
|
|
70
|
-
|
83
|
+
```erb
|
84
|
+
<% # Template Dependency: recordings/threads/events/* %>
|
85
|
+
```
|
71
86
|
|
72
|
-
*
|
87
|
+
*Kasper Timm Hansen*
|
73
88
|
|
89
|
+
* Allow defining explicit collection caching using a `# Template Collection: ...`
|
90
|
+
directive inside templates.
|
74
91
|
|
75
|
-
|
92
|
+
*Dov Murik*
|
76
93
|
|
77
|
-
*
|
78
|
-
method.
|
94
|
+
* Asset helpers raise `ArgumentError` when `nil` is passed as a source.
|
79
95
|
|
80
|
-
*
|
96
|
+
*Anton Kolomiychuk*
|
81
97
|
|
98
|
+
* Always attach the template digest to the cache key for collection caching
|
99
|
+
even when `virtual_path` is not available from the view context.
|
100
|
+
Which could happen if the rendering was done directly in the controller
|
101
|
+
and not in a template.
|
82
102
|
|
83
|
-
|
103
|
+
Fixes #20535
|
84
104
|
|
85
|
-
*
|
105
|
+
*Roque Pinel*
|
86
106
|
|
87
|
-
|
107
|
+
* Improve detection of partial templates eligible for collection caching,
|
108
|
+
now allowing multi-line comments at the beginning of the template file.
|
88
109
|
|
89
|
-
*
|
110
|
+
*Dov Murik*
|
90
111
|
|
91
|
-
|
112
|
+
* Raise an ArgumentError when a false value for `include_blank` is passed to a
|
113
|
+
required select field (to comply with the HTML5 spec).
|
92
114
|
|
115
|
+
*Grey Baker*
|
93
116
|
|
94
|
-
|
117
|
+
* Do not put partial name to `local_assigns` when rendering without
|
118
|
+
an object or a collection.
|
95
119
|
|
96
|
-
*
|
120
|
+
*Henrik Nygren*
|
97
121
|
|
122
|
+
* Remove `:rescue_format` option for `translate` helper since it's no longer
|
123
|
+
supported by I18n.
|
98
124
|
|
99
|
-
|
125
|
+
*Bernard Potocki*
|
100
126
|
|
101
127
|
* `translate` should handle `raise` flag correctly in case of both main and default
|
102
128
|
translation is missing.
|
@@ -105,6 +131,15 @@
|
|
105
131
|
|
106
132
|
*Bernard Potocki*
|
107
133
|
|
134
|
+
* Load the `default_form_builder` from the controller on initialization, which overrides
|
135
|
+
the global config if it is present.
|
136
|
+
|
137
|
+
*Kevin McPhillips*
|
138
|
+
|
139
|
+
* Accept lambda as `child_index` option in `fields_for` method.
|
140
|
+
|
141
|
+
*Karol Galanciak*
|
142
|
+
|
108
143
|
* `translate` allows `default: [[]]` again for a default value of `[]`.
|
109
144
|
|
110
145
|
Fixes #19640.
|
@@ -112,8 +147,7 @@
|
|
112
147
|
*Adam Prescott*
|
113
148
|
|
114
149
|
* `translate` should accept nils as members of the `:default`
|
115
|
-
parameter without raising a translation missing error.
|
116
|
-
regression introduced 362557e.
|
150
|
+
parameter without raising a translation missing error.
|
117
151
|
|
118
152
|
Fixes #19419
|
119
153
|
|
@@ -126,242 +160,89 @@
|
|
126
160
|
|
127
161
|
*Yves Senn*
|
128
162
|
|
163
|
+
* Fixed the translation helper method to accept different default values types
|
164
|
+
besides String.
|
129
165
|
|
130
|
-
|
131
|
-
|
132
|
-
* No Changes *
|
133
|
-
|
134
|
-
|
135
|
-
## Rails 4.2.1 (March 19, 2015) ##
|
136
|
-
|
137
|
-
* Default translations that have a lower precedence than an html safe default,
|
138
|
-
but are not themselves safe, should not be marked as html_safe.
|
139
|
-
|
140
|
-
*Justin Coyne*
|
141
|
-
|
142
|
-
* Added an explicit error message, in `ActionView::PartialRenderer`
|
143
|
-
for partial `rendering`, when the value of option `as` has invalid characters.
|
144
|
-
|
145
|
-
*Angelo Capilleri*
|
146
|
-
|
166
|
+
*Ulisses Almeida*
|
147
167
|
|
148
|
-
|
168
|
+
* Collection rendering automatically caches and fetches multiple partials.
|
149
169
|
|
150
|
-
|
151
|
-
passed to `:object` when rendering a partial.
|
170
|
+
Collections rendered as:
|
152
171
|
|
153
|
-
|
172
|
+
```ruby
|
173
|
+
<%= render @notifications %>
|
174
|
+
<%= render partial: 'notifications/notification', collection: @notifications, as: :notification %>
|
175
|
+
```
|
154
176
|
|
155
|
-
|
156
|
-
|
157
|
-
* Add support for `:enforce_utf8` option in `form_for`.
|
158
|
-
|
159
|
-
This is the same option that was added in 06388b0 to `form_tag` and allows
|
160
|
-
users to skip the insertion of the UTF8 enforcer tag in a form.
|
161
|
-
|
162
|
-
* claudiob *
|
163
|
-
|
164
|
-
* Fix a bug that <%= foo(){ %> and <%= foo()do %> in view templates were not regarded
|
165
|
-
as Ruby block calls.
|
166
|
-
|
167
|
-
* Akira Matsuda *
|
168
|
-
|
169
|
-
* Update `select_tag` to work correctly with `:include_blank` option passing a string.
|
170
|
-
|
171
|
-
Fixes #16483.
|
172
|
-
|
173
|
-
*Frank Groeneveld*
|
174
|
-
|
175
|
-
* Changed the meaning of `render "foo/bar"`.
|
176
|
-
|
177
|
-
Previously, calling `render "foo/bar"` in a controller action is equivalent
|
178
|
-
to `render file: "foo/bar"`. In Rails 4.2, this has been changed to mean
|
179
|
-
`render template: "foo/bar"` instead. If you need to render a file, please
|
180
|
-
change your code to use the explicit form (`render file: "foo/bar"`) instead.
|
181
|
-
|
182
|
-
*Jeremy Jackson*
|
183
|
-
|
184
|
-
* Add support for ARIA attributes in tags.
|
185
|
-
|
186
|
-
Example:
|
177
|
+
will now read several partials from cache at once, if the template starts with a cache call:
|
187
178
|
|
188
|
-
|
179
|
+
```ruby
|
180
|
+
# notifications/_notification.html.erb
|
181
|
+
<% cache notification do %>
|
182
|
+
<%# ... %>
|
183
|
+
<% end %>
|
184
|
+
```
|
189
185
|
|
190
|
-
|
186
|
+
*Kasper Timm Hansen*
|
191
187
|
|
192
|
-
|
188
|
+
* Fixed a dependency tracker bug that caused template dependencies not
|
189
|
+
count layouts as dependencies for partials.
|
193
190
|
|
194
|
-
*
|
191
|
+
*Juho Leinonen*
|
195
192
|
|
196
|
-
*
|
197
|
-
|
198
|
-
The new `builder` object responds to `translation`, allowing I18n fallback support
|
199
|
-
when you want to customize how a particular label is presented.
|
200
|
-
|
201
|
-
*Alex Robbin*
|
202
|
-
|
203
|
-
* Add I18n support for input/textarea placeholder text.
|
204
|
-
|
205
|
-
Placeholder I18n follows the same convention as `label` I18n.
|
206
|
-
|
207
|
-
*Alex Robbin*
|
208
|
-
|
209
|
-
* Fix that render layout: 'messages/layout' should also be added to the dependency tracker tree.
|
210
|
-
|
211
|
-
*DHH*
|
212
|
-
|
213
|
-
* Add `PartialIteration` object used when rendering collections.
|
214
|
-
|
215
|
-
The iteration object is available as the local variable
|
216
|
-
`#{template_name}_iteration` when rendering partials with collections.
|
217
|
-
|
218
|
-
It gives access to the `size` of the collection being iterated over,
|
219
|
-
the current `index` and two convenience methods `first?` and `last?`.
|
220
|
-
|
221
|
-
*Joel Junström*, *Lucas Uyezu*
|
222
|
-
|
223
|
-
* Return an absolute instead of relative path from an asset url in the case
|
224
|
-
of the `asset_host` proc returning nil.
|
225
|
-
|
226
|
-
*Jolyon Pawlyn*
|
227
|
-
|
228
|
-
* Fix `html_escape_once` to properly handle hex escape sequences (e.g. ᨫ).
|
229
|
-
|
230
|
-
*John F. Douthat*
|
231
|
-
|
232
|
-
* Added String support for min and max properties for date field helpers.
|
193
|
+
* Extracted `ActionView::Helpers::RecordTagHelper` to external gem
|
194
|
+
(`record_tag_helper`) and added removal notices.
|
233
195
|
|
234
196
|
*Todd Bealmear*
|
235
197
|
|
236
|
-
*
|
237
|
-
option.
|
238
|
-
|
239
|
-
*Lucas Mazza*
|
240
|
-
|
241
|
-
* The `except` and `highlight` helpers now accept regular expressions.
|
242
|
-
|
243
|
-
*Jan Szumiec*
|
244
|
-
|
245
|
-
* Flatten the array parameter in `safe_join`, so it behaves consistently with
|
246
|
-
`Array#join`.
|
247
|
-
|
248
|
-
*Paul Grayson*
|
249
|
-
|
250
|
-
* Honor `html_safe` on array elements in tag values, as we do for plain string
|
251
|
-
values.
|
252
|
-
|
253
|
-
*Paul Grayson*
|
254
|
-
|
255
|
-
* Add `ActionView::Template::Handler.unregister_template_handler`.
|
256
|
-
|
257
|
-
It performs the opposite of `ActionView::Template::Handler.register_template_handler`.
|
258
|
-
|
259
|
-
*Zuhao Wan*
|
260
|
-
|
261
|
-
* Bring `cache_digest` rake tasks up-to-date with the latest API changes.
|
262
|
-
|
263
|
-
*Jiri Pospisil*
|
264
|
-
|
265
|
-
* Allow custom `:host` option to be passed to `asset_url` helper that
|
266
|
-
overwrites `config.action_controller.asset_host` for particular asset.
|
198
|
+
* Allow to pass a string value to `size` option in `image_tag` and `video_tag`.
|
267
199
|
|
268
|
-
|
200
|
+
This makes the behavior more consistent with `width` or `height` options.
|
269
201
|
|
270
|
-
*
|
271
|
-
Override `AbstractController::Base.local_prefixes` when you want to change
|
272
|
-
where to find views.
|
202
|
+
*Mehdi Lahmam*
|
273
203
|
|
274
|
-
|
204
|
+
* Partial template name does no more have to be a valid Ruby identifier.
|
275
205
|
|
276
|
-
|
206
|
+
There used to be a naming rule that the partial name should start with
|
207
|
+
underscore, and should be followed by any combination of letters, numbers
|
208
|
+
and underscores.
|
209
|
+
But now we can give our partials any name starting with underscore, such as
|
210
|
+
_🍔.html.erb.
|
277
211
|
|
278
|
-
|
212
|
+
*Akira Matsuda*
|
279
213
|
|
280
|
-
|
281
|
-
<%= form_for @post do |f| %>
|
282
|
-
<%= f.label :type, value: "long" %>
|
283
|
-
<% end %>
|
214
|
+
* Change the default template handler from `ERB` to `Raw`.
|
284
215
|
|
285
|
-
|
286
|
-
|
287
|
-
activerecord:
|
288
|
-
attributes:
|
289
|
-
post/long: "Long-form Post"
|
216
|
+
Files without a template handler in their extension will be rendered using the raw
|
217
|
+
handler instead of ERB.
|
290
218
|
|
291
|
-
|
292
|
-
Post".
|
293
|
-
|
294
|
-
*Joshua Cody*
|
295
|
-
|
296
|
-
* Change `asset_path` to use File.join to create proper paths:
|
297
|
-
|
298
|
-
Before:
|
299
|
-
|
300
|
-
https://some.host.com//assets/some.js
|
301
|
-
|
302
|
-
After:
|
303
|
-
|
304
|
-
https://some.host.com/assets/some.js
|
305
|
-
|
306
|
-
*Peter Schröder*
|
307
|
-
|
308
|
-
* Change `favicon_link_tag` default mimetype from `image/vnd.microsoft.icon` to
|
309
|
-
`image/x-icon`.
|
310
|
-
|
311
|
-
Before:
|
312
|
-
|
313
|
-
# => favicon_link_tag 'myicon.ico'
|
314
|
-
<link href="/assets/myicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
|
315
|
-
|
316
|
-
After:
|
317
|
-
|
318
|
-
# => favicon_link_tag 'myicon.ico'
|
319
|
-
<link href="/assets/myicon.ico" rel="shortcut icon" type="image/x-icon" />
|
320
|
-
|
321
|
-
*Geoffroy Lorieux*
|
322
|
-
|
323
|
-
* Remove wrapping div with inline styles for hidden form fields.
|
324
|
-
|
325
|
-
We are dropping HTML 4.01 and XHTML strict compliance since input tags directly
|
326
|
-
inside a form are valid HTML5, and the absence of inline styles help in validating
|
327
|
-
for Content Security Policy.
|
328
|
-
|
329
|
-
*Joost Baaij*
|
330
|
-
|
331
|
-
* `collection_check_boxes` respects `:index` option for the hidden field name.
|
332
|
-
|
333
|
-
Fixes #14147.
|
334
|
-
|
335
|
-
*Vasiliy Ermolovich*
|
336
|
-
|
337
|
-
* `date_select` helper with option `with_css_classes: true` does not overwrite other classes.
|
219
|
+
*Rafael Mendonça França*
|
338
220
|
|
339
|
-
|
221
|
+
* Remove deprecated `AbstractController::Base::parent_prefixes`.
|
340
222
|
|
341
|
-
*
|
342
|
-
as input.
|
223
|
+
*Rafael Mendonça França*
|
343
224
|
|
344
|
-
|
225
|
+
* Default translations that have a lower precedence than a html safe default,
|
226
|
+
but are not themselves safe, should not be marked as html_safe.
|
345
227
|
|
346
|
-
*
|
228
|
+
*Justin Coyne*
|
347
229
|
|
348
|
-
*
|
230
|
+
* Make possible to use blocks with short version of `render "partial"` helper.
|
349
231
|
|
350
|
-
*
|
232
|
+
*Nikolay Shebanov*
|
351
233
|
|
352
|
-
*
|
353
|
-
|
234
|
+
* Add a `hidden_field` on the `file_field` to avoid raising an error when the only
|
235
|
+
input on the form is the `file_field`.
|
354
236
|
|
355
|
-
|
237
|
+
*Mauro George*
|
356
238
|
|
357
|
-
|
239
|
+
* Add an explicit error message, in `ActionView::PartialRenderer` for partial
|
240
|
+
`rendering`, when the value of option `as` has invalid characters.
|
358
241
|
|
359
|
-
*
|
242
|
+
*Angelo Capilleri*
|
360
243
|
|
361
|
-
|
362
|
-
to support variants and allow more flexibility in the future. The support for
|
363
|
-
regular (required) arguments is deprecated and will be removed in Rails 5.0 or later.
|
244
|
+
* Allow entries without a link tag in `AtomFeedHelper`.
|
364
245
|
|
365
|
-
*
|
246
|
+
*Daniel Gomez de Souza*
|
366
247
|
|
367
|
-
Please check [4-
|
248
|
+
Please check [4-2-stable](https://github.com/rails/rails/blob/4-2-stable/actionview/CHANGELOG.md) for previous changes.
|