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.

Files changed (65) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +136 -255
  3. data/MIT-LICENSE +1 -1
  4. data/README.rdoc +2 -3
  5. data/lib/action_view.rb +1 -1
  6. data/lib/action_view/base.rb +14 -2
  7. data/lib/action_view/dependency_tracker.rb +46 -15
  8. data/lib/action_view/digestor.rb +13 -9
  9. data/lib/action_view/flows.rb +1 -1
  10. data/lib/action_view/gem_version.rb +4 -4
  11. data/lib/action_view/helpers/asset_tag_helper.rb +15 -5
  12. data/lib/action_view/helpers/asset_url_helper.rb +51 -12
  13. data/lib/action_view/helpers/atom_feed_helper.rb +5 -4
  14. data/lib/action_view/helpers/cache_helper.rb +75 -20
  15. data/lib/action_view/helpers/capture_helper.rb +3 -2
  16. data/lib/action_view/helpers/controller_helper.rb +1 -0
  17. data/lib/action_view/helpers/date_helper.rb +39 -10
  18. data/lib/action_view/helpers/debug_helper.rb +1 -1
  19. data/lib/action_view/helpers/form_helper.rb +81 -35
  20. data/lib/action_view/helpers/form_options_helper.rb +74 -35
  21. data/lib/action_view/helpers/form_tag_helper.rb +46 -19
  22. data/lib/action_view/helpers/javascript_helper.rb +4 -4
  23. data/lib/action_view/helpers/number_helper.rb +10 -12
  24. data/lib/action_view/helpers/record_tag_helper.rb +12 -99
  25. data/lib/action_view/helpers/rendering_helper.rb +2 -2
  26. data/lib/action_view/helpers/sanitize_helper.rb +1 -2
  27. data/lib/action_view/helpers/tag_helper.rb +20 -13
  28. data/lib/action_view/helpers/tags/base.rb +33 -28
  29. data/lib/action_view/helpers/tags/collection_check_boxes.rb +2 -30
  30. data/lib/action_view/helpers/tags/collection_helpers.rb +28 -0
  31. data/lib/action_view/helpers/tags/collection_radio_buttons.rb +1 -9
  32. data/lib/action_view/helpers/tags/file_field.rb +15 -0
  33. data/lib/action_view/helpers/tags/label.rb +1 -1
  34. data/lib/action_view/helpers/tags/placeholderable.rb +1 -1
  35. data/lib/action_view/helpers/tags/search_field.rb +12 -9
  36. data/lib/action_view/helpers/tags/text_field.rb +0 -1
  37. data/lib/action_view/helpers/tags/translator.rb +1 -1
  38. data/lib/action_view/helpers/text_helper.rb +25 -9
  39. data/lib/action_view/helpers/translation_helper.rb +56 -26
  40. data/lib/action_view/helpers/url_helper.rb +40 -65
  41. data/lib/action_view/layouts.rb +11 -10
  42. data/lib/action_view/lookup_context.rb +14 -40
  43. data/lib/action_view/model_naming.rb +1 -1
  44. data/lib/action_view/path_set.rb +15 -18
  45. data/lib/action_view/railtie.rb +20 -3
  46. data/lib/action_view/record_identifier.rb +44 -19
  47. data/lib/action_view/renderer/abstract_renderer.rb +1 -1
  48. data/lib/action_view/renderer/partial_renderer.rb +27 -26
  49. data/lib/action_view/renderer/partial_renderer/collection_caching.rb +70 -0
  50. data/lib/action_view/renderer/renderer.rb +2 -6
  51. data/lib/action_view/renderer/streaming_template_renderer.rb +1 -1
  52. data/lib/action_view/renderer/template_renderer.rb +12 -11
  53. data/lib/action_view/rendering.rb +8 -5
  54. data/lib/action_view/routing_url_for.rb +18 -6
  55. data/lib/action_view/template.rb +50 -13
  56. data/lib/action_view/template/error.rb +14 -7
  57. data/lib/action_view/template/handlers.rb +3 -3
  58. data/lib/action_view/template/handlers/erb.rb +25 -0
  59. data/lib/action_view/template/handlers/raw.rb +1 -1
  60. data/lib/action_view/template/resolver.rb +36 -58
  61. data/lib/action_view/template/types.rb +1 -1
  62. data/lib/action_view/test_case.rb +13 -8
  63. data/lib/action_view/testing/resolvers.rb +3 -4
  64. data/lib/action_view/view_paths.rb +6 -22
  65. metadata +17 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 35fcfe997dc7203fb3f98d02246095f8dc4a6f04dcc55202b0e7c46103f5ea6f
4
- data.tar.gz: d847aabe2601aabc3d08859d1c50dd05b3d9e6948308d7021de3e76826667beb
2
+ SHA1:
3
+ metadata.gz: 9a5d4fbdf7e7d54e2c400d21f35654616b57d37e
4
+ data.tar.gz: aad959776d43d98e48262abf657a4af7bc94c342
5
5
  SHA512:
6
- metadata.gz: d4b7cc1695c4ae8fa02deac117be9b6d174859d2f197e91f78ffacc9ed0be7aa80900ebd1634a9c34393e42b95249da20c82b63fb3c55e93e3ba69c41c4f0efd
7
- data.tar.gz: aee0806ac9e39e97d731f002c117686099436cf3b7c119c52ff33c08a3fa71fbca9e2c5461dbb3129be537f0ed9ac03fcb7dcd5bc804fd3f0066fc09ae740eaa
6
+ metadata.gz: 8d99f3c252cc0440ffe527237ef527adaf85c2c48d56614b686ae4954eed201eb1ff736f35cf1486ed5dc0b13737c6567b1fa353adf785ef186e3a8ed090e5a0
7
+ data.tar.gz: 56a74dc0bd588a9ff6a5fd2899f509396d4e22fdf4d2b673fcd253b76cf177e1148834f1440d26a7df5d7799ee564f335fe76c50a2f46191dbceb1fb0c633e07
data/CHANGELOG.md CHANGED
@@ -1,102 +1,128 @@
1
- ## Rails 4.2.11.3 (May 15, 2020) ##
1
+ ## Rails 5.0.0.beta1 (December 18, 2015) ##
2
2
 
3
- * Backport a missing commit for [CVE-2020-8163]
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
- ## Rails 4.2.11.1 (March 11, 2019) ##
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
- * No changes.
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
- ## Rails 4.2.11 (November 27, 2018) ##
15
+ * Respect value of `:object` if `:object` is false when rendering.
17
16
 
18
- * No changes.
17
+ Fixes #22260.
19
18
 
19
+ *Yuichiro Kaneko*
20
20
 
21
- ## Rails 4.2.10 (September 27, 2017) ##
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
- * No changes.
24
+ *Christoph Geschwind*
24
25
 
26
+ * Allow `host` option in `javascript_include_tag` and `stylesheet_link_tag` helpers
25
27
 
26
- ## Rails 4.2.9 (June 26, 2017) ##
28
+ *Grzegorz Witek*
27
29
 
28
- * No changes.
30
+ * Restrict `url_for :back` to valid, non-JavaScript URLs. GH#14444
29
31
 
32
+ *Damien Burke*
30
33
 
31
- ## Rails 4.2.8 (February 21, 2017) ##
34
+ * Allow `date_select` helper selected option to accept hash like the default options.
32
35
 
33
- * No changes.
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
- ## Rails 4.2.7 (July 12, 2016) ##
41
+ *Vasiliy Ermolovich*
37
42
 
38
- * No changes.
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
- ## Rails 4.2.6 (March 07, 2016) ##
48
+ * `url_for` does not modify its arguments when generating polymorphic URLs.
42
49
 
43
- * Fix stripping the digest from the automatically generated img tag alt
44
- attribute when assets are handled by Sprockets >=3.0.
50
+ *Bernerd Schaefer*
45
51
 
46
- *Bart de Water*
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
- * Create a new `ActiveSupport::SafeBuffer` instance when `content_for` is flushed.
55
+ Example:
49
56
 
50
- Fixes #19890
57
+ number_to_currency(1230000, delimiter_pattern: /(\d+?)(?=(\d\d)+(\d)(?!\d))/, unit: '₹', format: "%u %n")
58
+ # => '₹ 12,30,000.00'
51
59
 
52
- *Yoong Kang Lim*
60
+ *Vipul A M*
53
61
 
54
- * Respect value of `:object` if `:object` is false when rendering.
62
+ * Make `disable_with` the default behavior for submit tags. Disables the
63
+ button on submit to prevent double submits.
55
64
 
56
- Fixes #22260.
65
+ *Justin Schiff*
57
66
 
58
- *Yuichiro Kaneko*
67
+ * Add a break_sequence option to word_wrap so you can specify a custom break.
59
68
 
60
- * Generate `week_field` input values using a 1-based index and not a 0-based index
61
- as per the W3 spec: http://www.w3.org/TR/html-markup/datatypes.html#form.data.week
69
+ *Mauricio Gomez*
62
70
 
63
- *Christoph Geschwind*
71
+ * Add wildcard matching to explicit dependencies.
64
72
 
73
+ Turns:
65
74
 
66
- ## Rails 4.2.5.2 (February 26, 2016) ##
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
- * Do not allow render with unpermitted parameter.
81
+ Into:
69
82
 
70
- Fixes CVE-2016-2098.
83
+ ```erb
84
+ <% # Template Dependency: recordings/threads/events/* %>
85
+ ```
71
86
 
72
- *Arthur Neves*
87
+ *Kasper Timm Hansen*
73
88
 
89
+ * Allow defining explicit collection caching using a `# Template Collection: ...`
90
+ directive inside templates.
74
91
 
75
- ## Rails 4.2.5.1 (January 25, 2015) ##
92
+ *Dov Murik*
76
93
 
77
- * Adds boolean argument outside_app_allowed to `ActionView::Resolver#find_templates`
78
- method.
94
+ * Asset helpers raise `ArgumentError` when `nil` is passed as a source.
79
95
 
80
- *Aaron Patterson*
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
- ## Rails 4.2.5 (November 12, 2015) ##
103
+ Fixes #20535
84
104
 
85
- * Fix `mail_to` when called with `nil` as argument.
105
+ *Roque Pinel*
86
106
 
87
- *Rafael Mendonça França*
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
- * `url_for` does not modify its arguments when generating polymorphic URLs.
110
+ *Dov Murik*
90
111
 
91
- *Bernerd Schaefer*
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
- ## Rails 4.2.4 (August 24, 2015) ##
117
+ * Do not put partial name to `local_assigns` when rendering without
118
+ an object or a collection.
95
119
 
96
- * No Changes *
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
- ## Rails 4.2.3 (June 25, 2015) ##
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. Fixes a
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
- ## Rails 4.2.2 (June 16, 2015) ##
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
- ## Rails 4.2.0 (December 20, 2014) ##
168
+ * Collection rendering automatically caches and fetches multiple partials.
149
169
 
150
- * Local variable in a partial is now available even if a falsy value is
151
- passed to `:object` when rendering a partial.
170
+ Collections rendered as:
152
171
 
153
- Fixes #17373.
172
+ ```ruby
173
+ <%= render @notifications %>
174
+ <%= render partial: 'notifications/notification', collection: @notifications, as: :notification %>
175
+ ```
154
176
 
155
- *Agis Anastasopoulos*
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
- <%= f.text_field :name, aria: { required: "true", hidden: "false" } %>
179
+ ```ruby
180
+ # notifications/_notification.html.erb
181
+ <% cache notification do %>
182
+ <%# ... %>
183
+ <% end %>
184
+ ```
189
185
 
190
- now generates:
186
+ *Kasper Timm Hansen*
191
187
 
192
- <input aria-hidden="false" aria-required="true" id="user_name" name="user[name]" type="text">
188
+ * Fixed a dependency tracker bug that caused template dependencies not
189
+ count layouts as dependencies for partials.
193
190
 
194
- *Paola Garcia Casadiego*
191
+ *Juho Leinonen*
195
192
 
196
- * Provide a `builder` object when using the `label` form helper in block form.
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. &#x1a2b;).
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
- * The `highlight` helper now accepts a block to be used instead of the `highlighter`
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
- *Hubert Łępicki*
200
+ This makes the behavior more consistent with `width` or `height` options.
269
201
 
270
- * Deprecate `AbstractController::Base.parent_prefixes`.
271
- Override `AbstractController::Base.local_prefixes` when you want to change
272
- where to find views.
202
+ *Mehdi Lahmam*
273
203
 
274
- *Nick Sutterer*
204
+ * Partial template name does no more have to be a valid Ruby identifier.
275
205
 
276
- * Take label values into account when doing I18n lookups for model attributes.
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
- The following:
212
+ *Akira Matsuda*
279
213
 
280
- # form.html.erb
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
- # en.yml
286
- en:
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
- Used to simply return "long", but now it will return "Long-form
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
- *Izumi Wong-Horiuchi*
221
+ * Remove deprecated `AbstractController::Base::parent_prefixes`.
340
222
 
341
- * `number_to_percentage` does not crash with `Float::NAN` or `Float::INFINITY`
342
- as input.
223
+ *Rafael Mendonça França*
343
224
 
344
- Fixes #14405.
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
- *Yves Senn*
228
+ *Justin Coyne*
347
229
 
348
- * Add `include_hidden` option to `collection_check_boxes` helper.
230
+ * Make possible to use blocks with short version of `render "partial"` helper.
349
231
 
350
- *Vasiliy Ermolovich*
232
+ *Nikolay Shebanov*
351
233
 
352
- * Fixed a problem where the default options for the `button_tag` helper are not
353
- applied correctly.
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
- Fixes #14254.
237
+ *Mauro George*
356
238
 
357
- *Sergey Prikhodko*
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
- * Take variants into account when calculating template digests in ActionView::Digestor.
242
+ *Angelo Capilleri*
360
243
 
361
- The arguments to ActionView::Digestor#digest are now being passed as a hash
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
- *Piotr Chmolowski, Łukasz Strzałkowski*
246
+ *Daniel Gomez de Souza*
366
247
 
367
- Please check [4-1-stable](https://github.com/rails/rails/blob/4-1-stable/actionview/CHANGELOG.md) for previous changes.
248
+ Please check [4-2-stable](https://github.com/rails/rails/blob/4-2-stable/actionview/CHANGELOG.md) for previous changes.