actionview 6.1.3.2 → 7.0.0.alpha2
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 +99 -262
- data/MIT-LICENSE +1 -1
- data/lib/action_view/base.rb +3 -3
- data/lib/action_view/buffers.rb +2 -2
- data/lib/action_view/cache_expiry.rb +46 -32
- data/lib/action_view/dependency_tracker/erb_tracker.rb +154 -0
- data/lib/action_view/dependency_tracker/ripper_tracker.rb +59 -0
- data/lib/action_view/dependency_tracker.rb +6 -147
- data/lib/action_view/digestor.rb +7 -4
- data/lib/action_view/flows.rb +4 -4
- data/lib/action_view/gem_version.rb +4 -4
- data/lib/action_view/helpers/active_model_helper.rb +1 -1
- data/lib/action_view/helpers/asset_tag_helper.rb +85 -30
- data/lib/action_view/helpers/asset_url_helper.rb +7 -7
- data/lib/action_view/helpers/atom_feed_helper.rb +3 -4
- data/lib/action_view/helpers/cache_helper.rb +51 -3
- data/lib/action_view/helpers/capture_helper.rb +2 -2
- data/lib/action_view/helpers/controller_helper.rb +2 -2
- data/lib/action_view/helpers/csp_helper.rb +1 -1
- data/lib/action_view/helpers/csrf_helper.rb +1 -1
- data/lib/action_view/helpers/date_helper.rb +5 -5
- data/lib/action_view/helpers/debug_helper.rb +3 -1
- data/lib/action_view/helpers/form_helper.rb +72 -12
- data/lib/action_view/helpers/form_options_helper.rb +65 -33
- data/lib/action_view/helpers/form_tag_helper.rb +73 -30
- data/lib/action_view/helpers/javascript_helper.rb +3 -5
- data/lib/action_view/helpers/number_helper.rb +3 -4
- data/lib/action_view/helpers/output_safety_helper.rb +2 -2
- data/lib/action_view/helpers/rendering_helper.rb +1 -1
- data/lib/action_view/helpers/sanitize_helper.rb +2 -2
- data/lib/action_view/helpers/tag_helper.rb +17 -4
- data/lib/action_view/helpers/tags/base.rb +2 -14
- data/lib/action_view/helpers/tags/check_box.rb +1 -1
- data/lib/action_view/helpers/tags/collection_select.rb +1 -1
- data/lib/action_view/helpers/tags/time_field.rb +10 -1
- data/lib/action_view/helpers/tags/weekday_select.rb +27 -0
- data/lib/action_view/helpers/tags.rb +3 -2
- data/lib/action_view/helpers/text_helper.rb +24 -13
- data/lib/action_view/helpers/translation_helper.rb +4 -3
- data/lib/action_view/helpers/url_helper.rb +122 -80
- data/lib/action_view/helpers.rb +25 -25
- data/lib/action_view/lookup_context.rb +33 -52
- data/lib/action_view/model_naming.rb +1 -1
- data/lib/action_view/path_set.rb +16 -22
- data/lib/action_view/railtie.rb +15 -2
- data/lib/action_view/render_parser.rb +188 -0
- data/lib/action_view/renderer/abstract_renderer.rb +2 -2
- data/lib/action_view/renderer/partial_renderer.rb +0 -34
- data/lib/action_view/renderer/renderer.rb +4 -4
- data/lib/action_view/renderer/streaming_template_renderer.rb +3 -3
- data/lib/action_view/renderer/template_renderer.rb +6 -2
- data/lib/action_view/rendering.rb +2 -2
- data/lib/action_view/ripper_ast_parser.rb +198 -0
- data/lib/action_view/routing_url_for.rb +1 -1
- data/lib/action_view/template/error.rb +108 -13
- data/lib/action_view/template/handlers/erb.rb +6 -0
- data/lib/action_view/template/handlers.rb +3 -3
- data/lib/action_view/template/html.rb +3 -3
- data/lib/action_view/template/inline.rb +3 -3
- data/lib/action_view/template/raw_file.rb +3 -3
- data/lib/action_view/template/resolver.rb +84 -311
- data/lib/action_view/template/text.rb +3 -3
- data/lib/action_view/template/types.rb +14 -12
- data/lib/action_view/template.rb +10 -1
- data/lib/action_view/template_details.rb +66 -0
- data/lib/action_view/template_path.rb +64 -0
- data/lib/action_view/test_case.rb +6 -2
- data/lib/action_view/testing/resolvers.rb +11 -12
- data/lib/action_view/unbound_template.rb +33 -7
- data/lib/action_view.rb +3 -4
- data/lib/assets/compiled/rails-ujs.js +2 -2
- metadata +25 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10a4345b17834e9593bf0b42ccd2170b3cbf15e12f90b46d5022d3f42debe197
|
4
|
+
data.tar.gz: fe8446b4f105e3dd0b071fb3bd2da626d62221bc10ef3da4f2ba67165e6c4f39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eac9c7426ef7c9562fcb5da319e2b553e7703f0ecd3eb7341120d69abf4dd52fe3de8e9f4f179de8c4ed91864ddcf47bb5c80a0c727b4b1bc1063a996cad6527
|
7
|
+
data.tar.gz: 9ea9389303fa84db67be4603551b2fa71542ede511479f9f7430a55b2d519b4c88305b167167849d19b5b249e33d45a5ab666a860536b9843a7aeed7cfbbcd40
|
data/CHANGELOG.md
CHANGED
@@ -1,329 +1,166 @@
|
|
1
|
-
## Rails
|
1
|
+
## Rails 7.0.0.alpha2 (September 15, 2021) ##
|
2
2
|
|
3
3
|
* No changes.
|
4
4
|
|
5
5
|
|
6
|
-
## Rails
|
6
|
+
## Rails 7.0.0.alpha1 (September 15, 2021) ##
|
7
7
|
|
8
|
-
*
|
8
|
+
* Improves the performance of ActionView::Helpers::NumberHelper formatters by avoiding the use of
|
9
|
+
exceptions as flow control.
|
9
10
|
|
11
|
+
*Mike Dalessio*
|
10
12
|
|
11
|
-
|
13
|
+
* `preload_link_tag` properly inserts `as` attributes for files with `image` MIME types, such as JPG or SVG.
|
12
14
|
|
13
|
-
*
|
15
|
+
*Nate Berkopec*
|
14
16
|
|
17
|
+
* Add `weekday_options_for_select` and `weekday_select` helper methods. Also adds `weekday_select` to `FormBuilder`.
|
15
18
|
|
16
|
-
|
19
|
+
*Drew Bragg*, *Dana Kashubeck*, *Kasper Timm Hansen*
|
17
20
|
|
18
|
-
*
|
21
|
+
* Add `caching?` helper that returns whether the current code path is being cached and `uncacheable!` to denote helper methods that can't participate in fragment caching.
|
19
22
|
|
23
|
+
*Ben Toews*, *John Hawthorn*, *Kasper Timm Hansen*, *Joel Hawksley*
|
20
24
|
|
21
|
-
|
25
|
+
* Add `include_seconds` option for `time_field`.
|
22
26
|
|
23
|
-
|
27
|
+
<%= form.time_field :foo, include_seconds: false %>
|
28
|
+
# => <input value="16:22" type="time" />
|
24
29
|
|
30
|
+
Default includes seconds:
|
25
31
|
|
26
|
-
|
32
|
+
<%= form.time_field :foo %>
|
33
|
+
# => <input value="16:22:01.440" type="time" />
|
27
34
|
|
28
|
-
|
35
|
+
This allows you to take advantage of [different rendering options](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time#time_value_format) in some browsers.
|
29
36
|
|
30
|
-
*
|
37
|
+
*Alex Ghiculescu*
|
31
38
|
|
32
|
-
*
|
39
|
+
* Improve error messages when template file does not exist at absolute filepath.
|
33
40
|
|
34
|
-
*
|
41
|
+
*Ted Whang*
|
35
42
|
|
36
|
-
*
|
43
|
+
* Add `:country_code` option to `sms_to` for consistency with `phone_to`.
|
37
44
|
|
38
|
-
|
45
|
+
*Jonathan Hefner*
|
39
46
|
|
40
|
-
*
|
41
|
-
the `Link` header being added by default when using `stylesheet_link_tag`
|
42
|
-
and `javascript_include_tag`.
|
47
|
+
* OpenSSL constants are now used for Digest computations.
|
43
48
|
|
44
|
-
*
|
49
|
+
*Dirkjan Bussink*
|
45
50
|
|
46
|
-
* The `translate` helper now
|
47
|
-
|
51
|
+
* The `translate` helper now passes `default` values that aren't
|
52
|
+
translation keys through `I18n.translate` for interpolation.
|
48
53
|
|
49
54
|
*Jonathan Hefner*
|
50
55
|
|
56
|
+
* Adds option `extname` to `stylesheet_link_tag` to skip default
|
57
|
+
`.css` extension appended to the stylesheet path.
|
51
58
|
|
52
|
-
|
59
|
+
Before:
|
53
60
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
61
|
+
```ruby
|
62
|
+
stylesheet_link_tag "style.less"
|
63
|
+
# <link href="/stylesheets/style.less.scss" rel="stylesheet">
|
64
|
+
```
|
58
65
|
|
59
|
-
|
66
|
+
After:
|
60
67
|
|
61
|
-
|
68
|
+
```ruby
|
69
|
+
stylesheet_link_tag "style.less", extname: false, skip_pipeline: true, rel: "stylesheet/less"
|
70
|
+
# <link href="/stylesheets/style.less" rel="stylesheet/less">
|
71
|
+
```
|
62
72
|
|
63
|
-
|
64
|
-
users because they were forced to handle remote requests.
|
73
|
+
*Abhay Nikam*
|
65
74
|
|
66
|
-
|
67
|
-
When upgrading a 6.0 application you can enable remote forms by default by
|
68
|
-
setting `config.action_view.form_with_generates_remote_forms` to `true`.
|
75
|
+
* Deprecate `render` locals to be assigned to instance variables.
|
69
76
|
|
70
77
|
*Petrik de Heus*
|
71
78
|
|
72
|
-
*
|
73
|
-
when a block is given.
|
74
|
-
|
75
|
-
*Sean Doyle*
|
76
|
-
|
77
|
-
* Alias `ActionView::Helpers::Tags::Label::LabelBuilder#translation` to
|
78
|
-
`#to_s` so that `form.label` calls can yield that value to their blocks.
|
79
|
-
|
80
|
-
*Sean Doyle*
|
81
|
-
|
82
|
-
* Rename the new `TagHelper#class_names` method to `TagHelper#token_list`,
|
83
|
-
and make the original available as an alias.
|
79
|
+
* Remove legacy default `media=screen` from `stylesheet_link_tag`.
|
84
80
|
|
85
|
-
|
86
|
-
# => "foo bar"
|
81
|
+
*André Luis Leal Cardoso Junior*
|
87
82
|
|
88
|
-
|
83
|
+
* Change `ActionView::Helpers::FormBuilder#button` to transform `formmethod`
|
84
|
+
attributes into `_method="$VERB"` Form Data to enable varied same-form actions:
|
89
85
|
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
type="checkbox" name="published" aria-invalid="true"
|
101
|
-
aria-labelledby="published_context published_label"
|
102
|
-
aria-describedby="published_errors"
|
103
|
-
>
|
86
|
+
<%= form_with model: post, method: :put do %>
|
87
|
+
<%= form.button "Update" %>
|
88
|
+
<%= form.button "Delete", formmethod: :delete %>
|
89
|
+
<% end %>
|
90
|
+
<%# => <form action="posts/1">
|
91
|
+
=> <input type="hidden" name="_method" value="put">
|
92
|
+
=> <button type="submit">Update</button>
|
93
|
+
=> <button type="submit" formmethod="post" name="_method" value="delete">Delete</button>
|
94
|
+
=> </form>
|
95
|
+
%>
|
104
96
|
|
105
97
|
*Sean Doyle*
|
106
98
|
|
107
|
-
*
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
* Remove deprecated `find_all_anywhere` from `ActionView::Resolver`.
|
112
|
-
|
113
|
-
*Rafael Mendonça França*
|
114
|
-
|
115
|
-
* Remove deprecated `formats` from `ActionView::Template::HTML`.
|
116
|
-
|
117
|
-
*Rafael Mendonça França*
|
118
|
-
|
119
|
-
* Remove deprecated `formats` from `ActionView::Template::RawFile`.
|
120
|
-
|
121
|
-
*Rafael Mendonça França*
|
122
|
-
|
123
|
-
* Remove deprecated `formats` from `ActionView::Template::Text`.
|
124
|
-
|
125
|
-
*Rafael Mendonça França*
|
126
|
-
|
127
|
-
* Remove deprecated `find_file` from `ActionView::PathSet`.
|
128
|
-
|
129
|
-
*Rafael Mendonça França*
|
130
|
-
|
131
|
-
* Remove deprecated `rendered_format` from `ActionView::LookupContext`.
|
132
|
-
|
133
|
-
*Rafael Mendonça França*
|
134
|
-
|
135
|
-
* Remove deprecated `find_file` from `ActionView::ViewPaths`.
|
136
|
-
|
137
|
-
*Rafael Mendonça França*
|
138
|
-
|
139
|
-
* Require that `ActionView::Base` subclasses implement `#compiled_method_container`.
|
140
|
-
|
141
|
-
*Rafael Mendonça França*
|
142
|
-
|
143
|
-
* Remove deprecated support to pass an object that is not a `ActionView::LookupContext` as the first argument
|
144
|
-
in `ActionView::Base#initialize`.
|
145
|
-
|
146
|
-
*Rafael Mendonça França*
|
147
|
-
|
148
|
-
* Remove deprecated `format` argument `ActionView::Base#initialize`.
|
149
|
-
|
150
|
-
*Rafael Mendonça França*
|
151
|
-
|
152
|
-
* Remove deprecated `ActionView::Template#refresh`.
|
153
|
-
|
154
|
-
*Rafael Mendonça França*
|
155
|
-
|
156
|
-
* Remove deprecated `ActionView::Template#original_encoding`.
|
157
|
-
|
158
|
-
*Rafael Mendonça França*
|
159
|
-
|
160
|
-
* Remove deprecated `ActionView::Template#variants`.
|
161
|
-
|
162
|
-
*Rafael Mendonça França*
|
163
|
-
|
164
|
-
* Remove deprecated `ActionView::Template#formats`.
|
165
|
-
|
166
|
-
*Rafael Mendonça França*
|
167
|
-
|
168
|
-
* Remove deprecated `ActionView::Template#virtual_path=`.
|
169
|
-
|
170
|
-
*Rafael Mendonça França*
|
99
|
+
* Change `ActionView::Helpers::UrlHelper#button_to` to *always* render a
|
100
|
+
`<button>` element, regardless of whether or not the content is passed as
|
101
|
+
the first argument or as a block.
|
171
102
|
|
172
|
-
|
103
|
+
<%= button_to "Delete", post_path(@post), method: :delete %>
|
104
|
+
# => <form action="/posts/1"><input type="hidden" name="_method" value="delete"><button type="submit">Delete</button></form>
|
173
105
|
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
*Rafael Mendonça França*
|
179
|
-
|
180
|
-
* Make `locals` argument required on `ActionView::Template#initialize`.
|
181
|
-
|
182
|
-
*Rafael Mendonça França*
|
183
|
-
|
184
|
-
* Remove deprecated `ActionView::Template.finalize_compiled_template_methods`.
|
185
|
-
|
186
|
-
*Rafael Mendonça França*
|
187
|
-
|
188
|
-
* Remove deprecated `config.action_view.finalize_compiled_template_methods`
|
189
|
-
|
190
|
-
*Rafael Mendonça França*
|
191
|
-
|
192
|
-
* Remove deprecated support to calling `ActionView::ViewPaths#with_fallback` with a block.
|
193
|
-
|
194
|
-
*Rafael Mendonça França*
|
195
|
-
|
196
|
-
* Remove deprecated support to passing absolute paths to `render template:`.
|
106
|
+
<%= button_to post_path(@post), method: :delete do %>
|
107
|
+
Delete
|
108
|
+
<% end %>
|
109
|
+
# => <form action="/posts/1"><input type="hidden" name="_method" value="delete"><button type="submit">Delete</button></form>
|
197
110
|
|
198
|
-
*
|
111
|
+
*Sean Doyle*, *Dusan Orlovic*
|
199
112
|
|
200
|
-
*
|
113
|
+
* Add `config.action_view.preload_links_header` to allow disabling of
|
114
|
+
the `Link` header being added by default when using `stylesheet_link_tag`
|
115
|
+
and `javascript_include_tag`.
|
201
116
|
|
202
|
-
*
|
117
|
+
*Andrew White*
|
203
118
|
|
204
|
-
*
|
119
|
+
* The `translate` helper now resolves `default` values when a `nil` key is
|
120
|
+
specified, instead of always returning `nil`.
|
205
121
|
|
206
|
-
*
|
122
|
+
*Jonathan Hefner*
|
207
123
|
|
208
|
-
*
|
124
|
+
* Add `config.action_view.image_loading` to configure the default value of
|
125
|
+
the `image_tag` `:loading` option.
|
209
126
|
|
210
|
-
|
127
|
+
By setting `config.action_view.image_loading = "lazy"`, an application can opt in to
|
128
|
+
lazy loading images sitewide, without changing view code.
|
211
129
|
|
212
|
-
*
|
130
|
+
*Jonathan Hefner*
|
213
131
|
|
214
|
-
|
132
|
+
* `ActionView::Helpers::FormBuilder#id` returns the value
|
133
|
+
of the `<form>` element's `id` attribute. With a `method` argument, returns
|
134
|
+
the `id` attribute for a form field with that name.
|
215
135
|
|
216
|
-
|
217
|
-
|
136
|
+
<%= form_for @post do |f| %>
|
137
|
+
<%# ... %>
|
218
138
|
|
219
|
-
|
220
|
-
|
139
|
+
<% content_for :sticky_footer do %>
|
140
|
+
<%= form.button(form: f.id) %>
|
141
|
+
<% end %>
|
221
142
|
<% end %>
|
222
143
|
|
223
144
|
*Sean Doyle*
|
224
145
|
|
225
|
-
*
|
226
|
-
|
227
|
-
virtual_path keyword arguments found in CacheHelper as they no longer possess
|
228
|
-
any function following 1581cab.
|
229
|
-
|
230
|
-
Fixes #38984.
|
231
|
-
|
232
|
-
*Aaron Lipman*
|
233
|
-
|
234
|
-
* Deprecate `config.action_view.raise_on_missing_translations` in favor of
|
235
|
-
`config.i18n.raise_on_missing_translations`.
|
236
|
-
|
237
|
-
New generalized configuration option now determines whether an error should be raised
|
238
|
-
for missing translations in controllers and views.
|
239
|
-
|
240
|
-
*fatkodima*
|
241
|
-
|
242
|
-
* Instrument layout rendering in `TemplateRenderer#render_with_layout` as `render_layout.action_view`,
|
243
|
-
and include (when necessary) the layout's virtual path in notification payloads for collection and partial renders.
|
244
|
-
|
245
|
-
*Zach Kemp*
|
246
|
-
|
247
|
-
* `ActionView::Base.annotate_rendered_view_with_filenames` annotates HTML output with template file names.
|
146
|
+
* `ActionView::Helpers::FormBuilder#field_id` returns the value generated by
|
147
|
+
the FormBuilder for the given attribute name.
|
248
148
|
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
*Stefan Wrobel*
|
255
|
-
|
256
|
-
* `OptimizedFileSystemResolver` prefers template details in order of locale,
|
257
|
-
formats, variants, handlers.
|
258
|
-
|
259
|
-
*Iago Pimenta*
|
260
|
-
|
261
|
-
* Added `class_names` helper to create a CSS class value with conditional classes.
|
262
|
-
|
263
|
-
*Joel Hawksley*, *Aaron Patterson*
|
264
|
-
|
265
|
-
* Add support for conditional values to TagBuilder.
|
266
|
-
|
267
|
-
*Joel Hawksley*
|
268
|
-
|
269
|
-
* `ActionView::Helpers::FormOptionsHelper#select` should mark option for `nil` as selected.
|
270
|
-
|
271
|
-
```ruby
|
272
|
-
@post = Post.new
|
273
|
-
@post.category = nil
|
274
|
-
|
275
|
-
# Before
|
276
|
-
select("post", "category", none: nil, programming: 1, economics: 2)
|
277
|
-
# =>
|
278
|
-
# <select name="post[category]" id="post_category">
|
279
|
-
# <option value="">none</option>
|
280
|
-
# <option value="1">programming</option>
|
281
|
-
# <option value="2">economics</option>
|
282
|
-
# </select>
|
283
|
-
|
284
|
-
# After
|
285
|
-
select("post", "category", none: nil, programming: 1, economics: 2)
|
286
|
-
# =>
|
287
|
-
# <select name="post[category]" id="post_category">
|
288
|
-
# <option selected="selected" value="">none</option>
|
289
|
-
# <option value="1">programming</option>
|
290
|
-
# <option value="2">economics</option>
|
291
|
-
# </select>
|
292
|
-
```
|
293
|
-
|
294
|
-
*bogdanvlviv*
|
295
|
-
|
296
|
-
* Log lines for partial renders and started template renders are now
|
297
|
-
emitted at the `DEBUG` level instead of `INFO`.
|
298
|
-
|
299
|
-
Completed template renders are still logged at the `INFO` level.
|
300
|
-
|
301
|
-
*DHH*
|
302
|
-
|
303
|
-
* ActionView::Helpers::SanitizeHelper: support rails-html-sanitizer 1.1.0.
|
304
|
-
|
305
|
-
*Juanito Fatas*
|
306
|
-
|
307
|
-
* Added `phone_to` helper method to create a link from mobile numbers.
|
308
|
-
|
309
|
-
*Pietro Moro*
|
310
|
-
|
311
|
-
* annotated_source_code returns an empty array so TemplateErrors without a
|
312
|
-
template in the backtrace are surfaced properly by DebugExceptions.
|
313
|
-
|
314
|
-
*Guilherme Mansur*, *Kasper Timm Hansen*
|
315
|
-
|
316
|
-
* Add autoload for SyntaxErrorInTemplate so syntax errors are correctly raised by DebugExceptions.
|
317
|
-
|
318
|
-
*Guilherme Mansur*, *Gannon McGibbon*
|
149
|
+
<%= form_for @post do |f| %>
|
150
|
+
<%= f.label :title %>
|
151
|
+
<%= f.text_field :title, aria: { describedby: f.field_id(:title, :error) } %>
|
152
|
+
<%= tag.span("is blank", id: f.field_id(:title, :error) %>
|
153
|
+
<% end %>
|
319
154
|
|
320
|
-
*
|
155
|
+
*Sean Doyle*
|
321
156
|
|
322
|
-
|
157
|
+
* Add `tag.attributes` to transform a Hash into HTML Attributes, ready to be
|
158
|
+
interpolated into ERB.
|
323
159
|
|
324
|
-
|
160
|
+
<input <%= tag.attributes(type: :text, aria: { label: "Search" }) %> >
|
161
|
+
# => <input type="text" aria-label="Search">
|
325
162
|
|
326
|
-
*
|
163
|
+
*Sean Doyle*
|
327
164
|
|
328
165
|
|
329
|
-
Please check [6-
|
166
|
+
Please check [6-1-stable](https://github.com/rails/rails/blob/6-1-stable/actionview/CHANGELOG.md) for previous changes.
|
data/MIT-LICENSE
CHANGED
data/lib/action_view/base.rb
CHANGED
@@ -9,7 +9,7 @@ require "action_view/context"
|
|
9
9
|
require "action_view/template"
|
10
10
|
require "action_view/lookup_context"
|
11
11
|
|
12
|
-
module ActionView
|
12
|
+
module ActionView # :nodoc:
|
13
13
|
# = Action View Base
|
14
14
|
#
|
15
15
|
# Action View templates can be written in several ways.
|
@@ -179,7 +179,7 @@ module ActionView #:nodoc:
|
|
179
179
|
ActionView::Resolver.caching = value
|
180
180
|
end
|
181
181
|
|
182
|
-
def xss_safe?
|
182
|
+
def xss_safe? # :nodoc:
|
183
183
|
true
|
184
184
|
end
|
185
185
|
|
@@ -227,7 +227,7 @@ module ActionView #:nodoc:
|
|
227
227
|
|
228
228
|
# :startdoc:
|
229
229
|
|
230
|
-
def initialize(lookup_context, assigns, controller)
|
230
|
+
def initialize(lookup_context, assigns, controller) # :nodoc:
|
231
231
|
@_config = ActiveSupport::InheritableOptions.new
|
232
232
|
|
233
233
|
@lookup_context = lookup_context
|