packwerk 3.2.2 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/packwerk/application_validator.rb +2 -1
- data/lib/packwerk/graph.rb +15 -56
- data/lib/packwerk/reference_checking/checkers/dependency_checker.rb +1 -2
- data/lib/packwerk/run_context.rb +5 -0
- data/lib/packwerk/validators/dependency_validator.rb +5 -4
- data/lib/packwerk/version.rb +1 -1
- data/sorbet/rbi/gems/{actionpack@7.0.3.1.rbi → actionpack@7.0.8.7.rbi} +1338 -1227
- data/sorbet/rbi/gems/{actionview@7.0.3.1.rbi → actionview@7.0.8.7.rbi} +548 -503
- data/sorbet/rbi/gems/{activesupport@7.0.3.1.rbi → activesupport@7.0.8.7.rbi} +714 -635
- data/sorbet/rbi/gems/{better_html@2.0.1.rbi → better_html@2.1.1.rbi} +21 -21
- data/sorbet/rbi/gems/{concurrent-ruby@1.1.10.rbi → concurrent-ruby@1.3.5.rbi} +1390 -1366
- data/sorbet/rbi/gems/{constant_resolver@0.2.0.rbi → constant_resolver@0.3.0.rbi} +22 -13
- data/sorbet/rbi/gems/{erubi@1.11.0.rbi → erubi@1.13.1.rbi} +28 -17
- data/sorbet/rbi/gems/{i18n@1.12.0.rbi → i18n@1.14.7.rbi} +234 -172
- data/sorbet/rbi/gems/{json@2.6.2.rbi → json@2.7.2.rbi} +94 -74
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
- data/sorbet/rbi/gems/{loofah@2.18.0.rbi → loofah@2.24.0.rbi} +470 -243
- data/sorbet/rbi/gems/{minitest@5.16.2.rbi → minitest@5.25.4.rbi} +577 -472
- data/sorbet/rbi/gems/{mocha@1.14.0.rbi → mocha@2.5.0.rbi} +468 -684
- data/sorbet/rbi/gems/{nokogiri@1.15.3.rbi → nokogiri@1.18.4.rbi} +1756 -869
- data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.25.1.rbi} +26 -20
- data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.8.1.rbi} +36 -36
- data/sorbet/rbi/gems/{rack-test@2.0.2.rbi → rack-test@2.2.0.rbi} +87 -114
- data/sorbet/rbi/gems/{rack@2.2.4.rbi → rack@2.2.13.rbi} +243 -195
- data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +754 -0
- data/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi +764 -0
- data/sorbet/rbi/gems/{railties@7.0.3.1.rbi → railties@7.0.8.7.rbi} +146 -140
- data/sorbet/rbi/gems/{regexp_parser@2.5.0.rbi → regexp_parser@2.9.2.rbi} +947 -542
- data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.3.9.rbi} +452 -312
- data/sorbet/rbi/gems/{rubocop-ast@1.21.0.rbi → rubocop-ast@1.31.3.rbi} +717 -588
- data/sorbet/rbi/gems/{rubocop@1.34.1.rbi → rubocop@1.64.1.rbi} +10916 -4406
- data/sorbet/rbi/gems/{ruby-progressbar@1.11.0.rbi → ruby-progressbar@1.13.0.rbi} +359 -281
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
- data/sorbet/rbi/gems/{tzinfo@2.0.5.rbi → tzinfo@2.0.6.rbi} +144 -141
- data/sorbet/rbi/gems/{unicode-display_width@2.2.0.rbi → unicode-display_width@2.5.0.rbi} +24 -7
- metadata +36 -41
- data/sorbet/rbi/gems/language_server-protocol@3.16.0.3.rbi +0 -8
- data/sorbet/rbi/gems/prettier_print@0.1.0.rbi +0 -8
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -455
- data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +0 -542
- data/sorbet/rbi/gems/ruby-lsp@0.2.3.rbi +0 -11
- data/sorbet/rbi/gems/syntax_tree@3.3.0.rbi +0 -8
- /data/sorbet/rbi/gems/{builder@3.2.4.rbi → builder@3.3.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{parser@3.3.1.0.rbi → parser@3.3.3.0.rbi} +0 -0
@@ -10,235 +10,235 @@ class ActionController::Base < ::ActionController::Metal
|
|
10
10
|
include ::AbstractController::Caching::ConfigMethods
|
11
11
|
include ::ActionController::BasicImplicitRender
|
12
12
|
|
13
|
-
# source://activesupport/7.0.
|
13
|
+
# source://activesupport/7.0.8.7/lib/active_support/callbacks.rb#68
|
14
14
|
def __callbacks; end
|
15
15
|
|
16
|
-
# source://activesupport/7.0.
|
16
|
+
# source://activesupport/7.0.8.7/lib/active_support/callbacks.rb#68
|
17
17
|
def __callbacks?; end
|
18
18
|
|
19
|
-
# source://actionpack/7.0.
|
19
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/helpers.rb#11
|
20
20
|
def _helper_methods; end
|
21
21
|
|
22
|
-
# source://actionpack/7.0.
|
22
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/helpers.rb#11
|
23
23
|
def _helper_methods=(_arg0); end
|
24
24
|
|
25
|
-
# source://actionpack/7.0.
|
25
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/helpers.rb#11
|
26
26
|
def _helper_methods?; end
|
27
27
|
|
28
|
-
# source://activesupport/7.0.
|
28
|
+
# source://activesupport/7.0.8.7/lib/active_support/callbacks.rb#940
|
29
29
|
def _process_action_callbacks; end
|
30
30
|
|
31
|
-
# source://actionpack/7.0.
|
31
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/renderers.rb#31
|
32
32
|
def _renderers; end
|
33
33
|
|
34
|
-
# source://actionpack/7.0.
|
34
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/renderers.rb#31
|
35
35
|
def _renderers=(_arg0); end
|
36
36
|
|
37
|
-
# source://actionpack/7.0.
|
37
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/renderers.rb#31
|
38
38
|
def _renderers?; end
|
39
39
|
|
40
|
-
# source://activesupport/7.0.
|
40
|
+
# source://activesupport/7.0.8.7/lib/active_support/callbacks.rb#928
|
41
41
|
def _run_process_action_callbacks(&block); end
|
42
42
|
|
43
|
-
# source://actionpack/7.0.
|
43
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/caching.rb#42
|
44
44
|
def _view_cache_dependencies; end
|
45
45
|
|
46
|
-
# source://actionpack/7.0.
|
46
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/caching.rb#42
|
47
47
|
def _view_cache_dependencies=(_arg0); end
|
48
48
|
|
49
|
-
# source://actionpack/7.0.
|
49
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/caching.rb#42
|
50
50
|
def _view_cache_dependencies?; end
|
51
51
|
|
52
|
-
# source://actionpack/7.0.
|
52
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/params_wrapper.rb#185
|
53
53
|
def _wrapper_options; end
|
54
54
|
|
55
|
-
# source://actionpack/7.0.
|
55
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/params_wrapper.rb#185
|
56
56
|
def _wrapper_options=(_arg0); end
|
57
57
|
|
58
|
-
# source://actionpack/7.0.
|
58
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/params_wrapper.rb#185
|
59
59
|
def _wrapper_options?; end
|
60
60
|
|
61
|
-
# source://actionpack/7.0.
|
61
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/flash.rb#36
|
62
62
|
def alert; end
|
63
63
|
|
64
|
-
# source://activesupport/7.0.
|
64
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
65
65
|
def allow_forgery_protection; end
|
66
66
|
|
67
|
-
# source://activesupport/7.0.
|
67
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
68
68
|
def allow_forgery_protection=(value); end
|
69
69
|
|
70
|
-
# source://activesupport/7.0.
|
70
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
71
71
|
def asset_host; end
|
72
72
|
|
73
|
-
# source://activesupport/7.0.
|
73
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
74
74
|
def asset_host=(value); end
|
75
75
|
|
76
|
-
# source://activesupport/7.0.
|
76
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
77
77
|
def assets_dir; end
|
78
78
|
|
79
|
-
# source://activesupport/7.0.
|
79
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
80
80
|
def assets_dir=(value); end
|
81
81
|
|
82
|
-
# source://activesupport/7.0.
|
82
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
83
83
|
def default_asset_host_protocol; end
|
84
84
|
|
85
|
-
# source://activesupport/7.0.
|
85
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
86
86
|
def default_asset_host_protocol=(value); end
|
87
87
|
|
88
|
-
# source://activesupport/7.0.
|
88
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
89
89
|
def default_protect_from_forgery; end
|
90
90
|
|
91
|
-
# source://activesupport/7.0.
|
91
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
92
92
|
def default_protect_from_forgery=(value); end
|
93
93
|
|
94
|
-
# source://activesupport/7.0.
|
94
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
95
95
|
def default_static_extension; end
|
96
96
|
|
97
|
-
# source://activesupport/7.0.
|
97
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
98
98
|
def default_static_extension=(value); end
|
99
99
|
|
100
|
-
# source://actionpack/7.0.
|
100
|
+
# source://actionpack/7.0.8.7/lib/action_dispatch/routing/url_for.rb#95
|
101
101
|
def default_url_options; end
|
102
102
|
|
103
|
-
# source://actionpack/7.0.
|
103
|
+
# source://actionpack/7.0.8.7/lib/action_dispatch/routing/url_for.rb#95
|
104
104
|
def default_url_options=(_arg0); end
|
105
105
|
|
106
|
-
# source://actionpack/7.0.
|
106
|
+
# source://actionpack/7.0.8.7/lib/action_dispatch/routing/url_for.rb#95
|
107
107
|
def default_url_options?; end
|
108
108
|
|
109
|
-
# source://activesupport/7.0.
|
109
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
110
110
|
def enable_fragment_cache_logging; end
|
111
111
|
|
112
|
-
# source://activesupport/7.0.
|
112
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
113
113
|
def enable_fragment_cache_logging=(value); end
|
114
114
|
|
115
|
-
# source://actionpack/7.0.
|
115
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/etag_with_template_digest.rb#27
|
116
116
|
def etag_with_template_digest; end
|
117
117
|
|
118
|
-
# source://actionpack/7.0.
|
118
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/etag_with_template_digest.rb#27
|
119
119
|
def etag_with_template_digest=(_arg0); end
|
120
120
|
|
121
|
-
# source://actionpack/7.0.
|
121
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/etag_with_template_digest.rb#27
|
122
122
|
def etag_with_template_digest?; end
|
123
123
|
|
124
|
-
# source://actionpack/7.0.
|
124
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/conditional_get.rb#13
|
125
125
|
def etaggers; end
|
126
126
|
|
127
|
-
# source://actionpack/7.0.
|
127
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/conditional_get.rb#13
|
128
128
|
def etaggers=(_arg0); end
|
129
129
|
|
130
|
-
# source://actionpack/7.0.
|
130
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/conditional_get.rb#13
|
131
131
|
def etaggers?; end
|
132
132
|
|
133
|
-
# source://actionpack/7.0.
|
133
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/flash.rb#10
|
134
134
|
def flash(*_arg0, **_arg1, &_arg2); end
|
135
135
|
|
136
|
-
# source://activesupport/7.0.
|
136
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
137
137
|
def forgery_protection_origin_check; end
|
138
138
|
|
139
|
-
# source://activesupport/7.0.
|
139
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
140
140
|
def forgery_protection_origin_check=(value); end
|
141
141
|
|
142
|
-
# source://activesupport/7.0.
|
142
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
143
143
|
def forgery_protection_strategy; end
|
144
144
|
|
145
|
-
# source://activesupport/7.0.
|
145
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
146
146
|
def forgery_protection_strategy=(value); end
|
147
147
|
|
148
|
-
# source://actionpack/7.0.
|
148
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/caching/fragments.rb#23
|
149
149
|
def fragment_cache_keys; end
|
150
150
|
|
151
|
-
# source://actionpack/7.0.
|
151
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/caching/fragments.rb#23
|
152
152
|
def fragment_cache_keys=(_arg0); end
|
153
153
|
|
154
|
-
# source://actionpack/7.0.
|
154
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/caching/fragments.rb#23
|
155
155
|
def fragment_cache_keys?; end
|
156
156
|
|
157
|
-
# source://actionpack/7.0.
|
157
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/helpers.rb#63
|
158
158
|
def helpers_path; end
|
159
159
|
|
160
|
-
# source://actionpack/7.0.
|
160
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/helpers.rb#63
|
161
161
|
def helpers_path=(_arg0); end
|
162
162
|
|
163
|
-
# source://actionpack/7.0.
|
163
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/helpers.rb#63
|
164
164
|
def helpers_path?; end
|
165
165
|
|
166
|
-
# source://actionpack/7.0.
|
166
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/helpers.rb#64
|
167
167
|
def include_all_helpers; end
|
168
168
|
|
169
|
-
# source://actionpack/7.0.
|
169
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/helpers.rb#64
|
170
170
|
def include_all_helpers=(_arg0); end
|
171
171
|
|
172
|
-
# source://actionpack/7.0.
|
172
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/helpers.rb#64
|
173
173
|
def include_all_helpers?; end
|
174
174
|
|
175
|
-
# source://activesupport/7.0.
|
175
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
176
176
|
def javascripts_dir; end
|
177
177
|
|
178
|
-
# source://activesupport/7.0.
|
178
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
179
179
|
def javascripts_dir=(value); end
|
180
180
|
|
181
|
-
# source://activesupport/7.0.
|
181
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
182
182
|
def log_warning_on_csrf_failure; end
|
183
183
|
|
184
|
-
# source://activesupport/7.0.
|
184
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
185
185
|
def log_warning_on_csrf_failure=(value); end
|
186
186
|
|
187
|
-
# source://activesupport/7.0.
|
187
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
188
188
|
def logger; end
|
189
189
|
|
190
|
-
# source://activesupport/7.0.
|
190
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
191
191
|
def logger=(value); end
|
192
192
|
|
193
|
-
# source://actionpack/7.0.
|
193
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/flash.rb#36
|
194
194
|
def notice; end
|
195
195
|
|
196
|
-
# source://activesupport/7.0.
|
196
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
197
197
|
def per_form_csrf_tokens; end
|
198
198
|
|
199
|
-
# source://activesupport/7.0.
|
199
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
200
200
|
def per_form_csrf_tokens=(value); end
|
201
201
|
|
202
|
-
# source://activesupport/7.0.
|
202
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
203
203
|
def perform_caching; end
|
204
204
|
|
205
|
-
# source://activesupport/7.0.
|
205
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
206
206
|
def perform_caching=(value); end
|
207
207
|
|
208
|
-
# source://actionpack/7.0.
|
208
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/redirecting.rb#15
|
209
209
|
def raise_on_open_redirects; end
|
210
210
|
|
211
|
-
# source://actionpack/7.0.
|
211
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/redirecting.rb#15
|
212
212
|
def raise_on_open_redirects=(val); end
|
213
213
|
|
214
|
-
# source://activesupport/7.0.
|
214
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
215
215
|
def relative_url_root; end
|
216
216
|
|
217
|
-
# source://activesupport/7.0.
|
217
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
218
218
|
def relative_url_root=(value); end
|
219
219
|
|
220
|
-
# source://activesupport/7.0.
|
220
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
221
221
|
def request_forgery_protection_token; end
|
222
222
|
|
223
|
-
# source://activesupport/7.0.
|
223
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
224
224
|
def request_forgery_protection_token=(value); end
|
225
225
|
|
226
|
-
# source://activesupport/7.0.
|
226
|
+
# source://activesupport/7.0.8.7/lib/active_support/rescuable.rb#13
|
227
227
|
def rescue_handlers; end
|
228
228
|
|
229
|
-
# source://activesupport/7.0.
|
229
|
+
# source://activesupport/7.0.8.7/lib/active_support/rescuable.rb#13
|
230
230
|
def rescue_handlers=(_arg0); end
|
231
231
|
|
232
|
-
# source://activesupport/7.0.
|
232
|
+
# source://activesupport/7.0.8.7/lib/active_support/rescuable.rb#13
|
233
233
|
def rescue_handlers?; end
|
234
234
|
|
235
|
-
# source://activesupport/7.0.
|
235
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
236
236
|
def stylesheets_dir; end
|
237
237
|
|
238
|
-
# source://activesupport/7.0.
|
238
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
239
239
|
def stylesheets_dir=(value); end
|
240
240
|
|
241
|
-
# source://activesupport/7.0.
|
241
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
242
242
|
def urlsafe_csrf_tokens; end
|
243
243
|
|
244
244
|
private
|
@@ -246,47 +246,47 @@ class ActionController::Base < ::ActionController::Metal
|
|
246
246
|
# source://actionview//lib/action_view/layouts.rb#328
|
247
247
|
def _layout(lookup_context, formats); end
|
248
248
|
|
249
|
-
# source://actionpack/7.0.
|
249
|
+
# source://actionpack/7.0.8.7/lib/action_controller/base.rb#266
|
250
250
|
def _protected_ivars; end
|
251
251
|
|
252
252
|
class << self
|
253
|
-
# source://activesupport/7.0.
|
253
|
+
# source://activesupport/7.0.8.7/lib/active_support/callbacks.rb#68
|
254
254
|
def __callbacks; end
|
255
255
|
|
256
|
-
# source://activesupport/7.0.
|
256
|
+
# source://activesupport/7.0.8.7/lib/active_support/callbacks.rb#68
|
257
257
|
def __callbacks=(value); end
|
258
258
|
|
259
|
-
# source://activesupport/7.0.
|
259
|
+
# source://activesupport/7.0.8.7/lib/active_support/callbacks.rb#68
|
260
260
|
def __callbacks?; end
|
261
261
|
|
262
|
-
# source://actionpack/7.0.
|
262
|
+
# source://actionpack/7.0.8.7/lib/action_controller/form_builder.rb#31
|
263
263
|
def _default_form_builder; end
|
264
264
|
|
265
|
-
# source://actionpack/7.0.
|
265
|
+
# source://actionpack/7.0.8.7/lib/action_controller/form_builder.rb#31
|
266
266
|
def _default_form_builder=(value); end
|
267
267
|
|
268
|
-
# source://actionpack/7.0.
|
268
|
+
# source://actionpack/7.0.8.7/lib/action_controller/form_builder.rb#31
|
269
269
|
def _default_form_builder?; end
|
270
270
|
|
271
|
-
# source://actionpack/7.0.
|
271
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/flash.rb#8
|
272
272
|
def _flash_types; end
|
273
273
|
|
274
|
-
# source://actionpack/7.0.
|
274
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/flash.rb#8
|
275
275
|
def _flash_types=(value); end
|
276
276
|
|
277
|
-
# source://actionpack/7.0.
|
277
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/flash.rb#8
|
278
278
|
def _flash_types?; end
|
279
279
|
|
280
|
-
# source://actionpack/7.0.
|
280
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/helpers.rb#11
|
281
281
|
def _helper_methods; end
|
282
282
|
|
283
|
-
# source://actionpack/7.0.
|
283
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/helpers.rb#11
|
284
284
|
def _helper_methods=(value); end
|
285
285
|
|
286
|
-
# source://actionpack/7.0.
|
286
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/helpers.rb#11
|
287
287
|
def _helper_methods?; end
|
288
288
|
|
289
|
-
# source://actionpack/7.0.
|
289
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/helpers.rb#15
|
290
290
|
def _helpers; end
|
291
291
|
|
292
292
|
# source://actionview//lib/action_view/layouts.rb#209
|
@@ -307,220 +307,220 @@ class ActionController::Base < ::ActionController::Metal
|
|
307
307
|
# source://actionview//lib/action_view/layouts.rb#210
|
308
308
|
def _layout_conditions?; end
|
309
309
|
|
310
|
-
# source://activesupport/7.0.
|
310
|
+
# source://activesupport/7.0.8.7/lib/active_support/callbacks.rb#932
|
311
311
|
def _process_action_callbacks; end
|
312
312
|
|
313
|
-
# source://activesupport/7.0.
|
313
|
+
# source://activesupport/7.0.8.7/lib/active_support/callbacks.rb#936
|
314
314
|
def _process_action_callbacks=(value); end
|
315
315
|
|
316
|
-
# source://actionpack/7.0.
|
316
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/renderers.rb#31
|
317
317
|
def _renderers; end
|
318
318
|
|
319
|
-
# source://actionpack/7.0.
|
319
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/renderers.rb#31
|
320
320
|
def _renderers=(value); end
|
321
321
|
|
322
|
-
# source://actionpack/7.0.
|
322
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/renderers.rb#31
|
323
323
|
def _renderers?; end
|
324
324
|
|
325
|
-
# source://actionpack/7.0.
|
325
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/caching.rb#42
|
326
326
|
def _view_cache_dependencies; end
|
327
327
|
|
328
|
-
# source://actionpack/7.0.
|
328
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/caching.rb#42
|
329
329
|
def _view_cache_dependencies=(value); end
|
330
330
|
|
331
|
-
# source://actionpack/7.0.
|
331
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/caching.rb#42
|
332
332
|
def _view_cache_dependencies?; end
|
333
333
|
|
334
|
-
# source://actionpack/7.0.
|
334
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/params_wrapper.rb#185
|
335
335
|
def _wrapper_options; end
|
336
336
|
|
337
|
-
# source://actionpack/7.0.
|
337
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/params_wrapper.rb#185
|
338
338
|
def _wrapper_options=(value); end
|
339
339
|
|
340
|
-
# source://actionpack/7.0.
|
340
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/params_wrapper.rb#185
|
341
341
|
def _wrapper_options?; end
|
342
342
|
|
343
|
-
# source://activesupport/7.0.
|
343
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
344
344
|
def allow_forgery_protection; end
|
345
345
|
|
346
|
-
# source://activesupport/7.0.
|
346
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
347
347
|
def allow_forgery_protection=(value); end
|
348
348
|
|
349
|
-
# source://activesupport/7.0.
|
349
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
350
350
|
def asset_host; end
|
351
351
|
|
352
|
-
# source://activesupport/7.0.
|
352
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
353
353
|
def asset_host=(value); end
|
354
354
|
|
355
|
-
# source://activesupport/7.0.
|
355
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
356
356
|
def assets_dir; end
|
357
357
|
|
358
|
-
# source://activesupport/7.0.
|
358
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
359
359
|
def assets_dir=(value); end
|
360
360
|
|
361
|
-
# source://activesupport/7.0.
|
361
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
362
362
|
def default_asset_host_protocol; end
|
363
363
|
|
364
|
-
# source://activesupport/7.0.
|
364
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
365
365
|
def default_asset_host_protocol=(value); end
|
366
366
|
|
367
|
-
# source://activesupport/7.0.
|
367
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
368
368
|
def default_protect_from_forgery; end
|
369
369
|
|
370
|
-
# source://activesupport/7.0.
|
370
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
371
371
|
def default_protect_from_forgery=(value); end
|
372
372
|
|
373
|
-
# source://activesupport/7.0.
|
373
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
374
374
|
def default_static_extension; end
|
375
375
|
|
376
|
-
# source://activesupport/7.0.
|
376
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
377
377
|
def default_static_extension=(value); end
|
378
378
|
|
379
|
-
# source://actionpack/7.0.
|
379
|
+
# source://actionpack/7.0.8.7/lib/action_dispatch/routing/url_for.rb#95
|
380
380
|
def default_url_options; end
|
381
381
|
|
382
|
-
# source://actionpack/7.0.
|
382
|
+
# source://actionpack/7.0.8.7/lib/action_dispatch/routing/url_for.rb#95
|
383
383
|
def default_url_options=(value); end
|
384
384
|
|
385
|
-
# source://actionpack/7.0.
|
385
|
+
# source://actionpack/7.0.8.7/lib/action_dispatch/routing/url_for.rb#95
|
386
386
|
def default_url_options?; end
|
387
387
|
|
388
|
-
# source://activesupport/7.0.
|
388
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
389
389
|
def enable_fragment_cache_logging; end
|
390
390
|
|
391
|
-
# source://activesupport/7.0.
|
391
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
392
392
|
def enable_fragment_cache_logging=(value); end
|
393
393
|
|
394
|
-
# source://actionpack/7.0.
|
394
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/etag_with_template_digest.rb#27
|
395
395
|
def etag_with_template_digest; end
|
396
396
|
|
397
|
-
# source://actionpack/7.0.
|
397
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/etag_with_template_digest.rb#27
|
398
398
|
def etag_with_template_digest=(value); end
|
399
399
|
|
400
|
-
# source://actionpack/7.0.
|
400
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/etag_with_template_digest.rb#27
|
401
401
|
def etag_with_template_digest?; end
|
402
402
|
|
403
|
-
# source://actionpack/7.0.
|
403
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/conditional_get.rb#13
|
404
404
|
def etaggers; end
|
405
405
|
|
406
|
-
# source://actionpack/7.0.
|
406
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/conditional_get.rb#13
|
407
407
|
def etaggers=(value); end
|
408
408
|
|
409
|
-
# source://actionpack/7.0.
|
409
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/conditional_get.rb#13
|
410
410
|
def etaggers?; end
|
411
411
|
|
412
|
-
# source://activesupport/7.0.
|
412
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
413
413
|
def forgery_protection_origin_check; end
|
414
414
|
|
415
|
-
# source://activesupport/7.0.
|
415
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
416
416
|
def forgery_protection_origin_check=(value); end
|
417
417
|
|
418
|
-
# source://activesupport/7.0.
|
418
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
419
419
|
def forgery_protection_strategy; end
|
420
420
|
|
421
|
-
# source://activesupport/7.0.
|
421
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
422
422
|
def forgery_protection_strategy=(value); end
|
423
423
|
|
424
|
-
# source://actionpack/7.0.
|
424
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/caching/fragments.rb#23
|
425
425
|
def fragment_cache_keys; end
|
426
426
|
|
427
|
-
# source://actionpack/7.0.
|
427
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/caching/fragments.rb#23
|
428
428
|
def fragment_cache_keys=(value); end
|
429
429
|
|
430
|
-
# source://actionpack/7.0.
|
430
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/caching/fragments.rb#23
|
431
431
|
def fragment_cache_keys?; end
|
432
432
|
|
433
|
-
# source://actionpack/7.0.
|
433
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/helpers.rb#63
|
434
434
|
def helpers_path; end
|
435
435
|
|
436
|
-
# source://actionpack/7.0.
|
436
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/helpers.rb#63
|
437
437
|
def helpers_path=(value); end
|
438
438
|
|
439
|
-
# source://actionpack/7.0.
|
439
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/helpers.rb#63
|
440
440
|
def helpers_path?; end
|
441
441
|
|
442
|
-
# source://actionpack/7.0.
|
442
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/helpers.rb#64
|
443
443
|
def include_all_helpers; end
|
444
444
|
|
445
|
-
# source://actionpack/7.0.
|
445
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/helpers.rb#64
|
446
446
|
def include_all_helpers=(value); end
|
447
447
|
|
448
|
-
# source://actionpack/7.0.
|
448
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/helpers.rb#64
|
449
449
|
def include_all_helpers?; end
|
450
450
|
|
451
|
-
# source://activesupport/7.0.
|
451
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
452
452
|
def javascripts_dir; end
|
453
453
|
|
454
|
-
# source://activesupport/7.0.
|
454
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
455
455
|
def javascripts_dir=(value); end
|
456
456
|
|
457
|
-
# source://activesupport/7.0.
|
457
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
458
458
|
def log_warning_on_csrf_failure; end
|
459
459
|
|
460
|
-
# source://activesupport/7.0.
|
460
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
461
461
|
def log_warning_on_csrf_failure=(value); end
|
462
462
|
|
463
|
-
# source://activesupport/7.0.
|
463
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
464
464
|
def logger; end
|
465
465
|
|
466
|
-
# source://activesupport/7.0.
|
466
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
467
467
|
def logger=(value); end
|
468
468
|
|
469
|
-
# source://actionpack/7.0.
|
469
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal.rb#210
|
470
470
|
def middleware_stack; end
|
471
471
|
|
472
|
-
# source://activesupport/7.0.
|
472
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
473
473
|
def per_form_csrf_tokens; end
|
474
474
|
|
475
|
-
# source://activesupport/7.0.
|
475
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
476
476
|
def per_form_csrf_tokens=(value); end
|
477
477
|
|
478
|
-
# source://activesupport/7.0.
|
478
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
479
479
|
def perform_caching; end
|
480
480
|
|
481
|
-
# source://activesupport/7.0.
|
481
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
482
482
|
def perform_caching=(value); end
|
483
483
|
|
484
|
-
# source://actionpack/7.0.
|
484
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/redirecting.rb#15
|
485
485
|
def raise_on_open_redirects; end
|
486
486
|
|
487
|
-
# source://actionpack/7.0.
|
487
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/redirecting.rb#15
|
488
488
|
def raise_on_open_redirects=(val); end
|
489
489
|
|
490
|
-
# source://activesupport/7.0.
|
490
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
491
491
|
def relative_url_root; end
|
492
492
|
|
493
|
-
# source://activesupport/7.0.
|
493
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
494
494
|
def relative_url_root=(value); end
|
495
495
|
|
496
|
-
# source://activesupport/7.0.
|
496
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
497
497
|
def request_forgery_protection_token; end
|
498
498
|
|
499
|
-
# source://activesupport/7.0.
|
499
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
500
500
|
def request_forgery_protection_token=(value); end
|
501
501
|
|
502
|
-
# source://activesupport/7.0.
|
502
|
+
# source://activesupport/7.0.8.7/lib/active_support/rescuable.rb#13
|
503
503
|
def rescue_handlers; end
|
504
504
|
|
505
|
-
# source://activesupport/7.0.
|
505
|
+
# source://activesupport/7.0.8.7/lib/active_support/rescuable.rb#13
|
506
506
|
def rescue_handlers=(value); end
|
507
507
|
|
508
|
-
# source://activesupport/7.0.
|
508
|
+
# source://activesupport/7.0.8.7/lib/active_support/rescuable.rb#13
|
509
509
|
def rescue_handlers?; end
|
510
510
|
|
511
|
-
# source://activesupport/7.0.
|
511
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
512
512
|
def stylesheets_dir; end
|
513
513
|
|
514
|
-
# source://activesupport/7.0.
|
514
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#114
|
515
515
|
def stylesheets_dir=(value); end
|
516
516
|
|
517
|
-
# source://activesupport/7.0.
|
517
|
+
# source://activesupport/7.0.8.7/lib/active_support/configurable.rb#113
|
518
518
|
def urlsafe_csrf_tokens; end
|
519
519
|
|
520
|
-
# source://actionpack/7.0.
|
520
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal/request_forgery_protection.rb#97
|
521
521
|
def urlsafe_csrf_tokens=(urlsafe_csrf_tokens); end
|
522
522
|
|
523
|
-
# source://actionpack/7.0.
|
523
|
+
# source://actionpack/7.0.8.7/lib/action_controller/base.rb#198
|
524
524
|
def without_modules(*modules); end
|
525
525
|
end
|
526
526
|
end
|
@@ -905,10 +905,10 @@ class ActionView::Base
|
|
905
905
|
# source://actionview//lib/action_view/base.rb#207
|
906
906
|
def assign(new_assigns); end
|
907
907
|
|
908
|
-
# source://activesupport/7.0.
|
908
|
+
# source://activesupport/7.0.8.7/lib/active_support/core_ext/module/attr_internal.rb#33
|
909
909
|
def assigns; end
|
910
910
|
|
911
|
-
# source://activesupport/7.0.
|
911
|
+
# source://activesupport/7.0.8.7/lib/active_support/core_ext/module/attr_internal.rb#33
|
912
912
|
def assigns=(_arg0); end
|
913
913
|
|
914
914
|
# source://actionview//lib/action_view/base.rb#160
|
@@ -922,10 +922,10 @@ class ActionView::Base
|
|
922
922
|
# source://actionview//lib/action_view/base.rb#249
|
923
923
|
def compiled_method_container; end
|
924
924
|
|
925
|
-
# source://activesupport/7.0.
|
925
|
+
# source://activesupport/7.0.8.7/lib/active_support/core_ext/module/attr_internal.rb#33
|
926
926
|
def config; end
|
927
927
|
|
928
|
-
# source://activesupport/7.0.
|
928
|
+
# source://activesupport/7.0.8.7/lib/active_support/core_ext/module/attr_internal.rb#33
|
929
929
|
def config=(_arg0); end
|
930
930
|
|
931
931
|
# source://actionview//lib/action_view/helpers/translation_helper.rb#18
|
@@ -1040,10 +1040,10 @@ class ActionView::Base
|
|
1040
1040
|
# source://actionview//lib/action_view/helpers/translation_helper.rb#18
|
1041
1041
|
def debug_missing_translation=(val); end
|
1042
1042
|
|
1043
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
1043
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2730
|
1044
1044
|
def default_form_builder; end
|
1045
1045
|
|
1046
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
1046
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2730
|
1047
1047
|
def default_form_builder=(val); end
|
1048
1048
|
|
1049
1049
|
# source://actionview//lib/action_view/base.rb#157
|
@@ -1596,64 +1596,64 @@ class ActionView::EncodingError < ::StandardError; end
|
|
1596
1596
|
|
1597
1597
|
# A resolver that loads files from the filesystem.
|
1598
1598
|
#
|
1599
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
1599
|
+
# source://actionview//lib/action_view/template/resolver.rb#89
|
1600
1600
|
class ActionView::FileSystemResolver < ::ActionView::Resolver
|
1601
1601
|
# @raise [ArgumentError]
|
1602
1602
|
# @return [FileSystemResolver] a new instance of FileSystemResolver
|
1603
1603
|
#
|
1604
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
1604
|
+
# source://actionview//lib/action_view/template/resolver.rb#92
|
1605
1605
|
def initialize(path); end
|
1606
1606
|
|
1607
1607
|
# @return [Boolean]
|
1608
1608
|
#
|
1609
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
1609
|
+
# source://actionview//lib/action_view/template/resolver.rb#111
|
1610
1610
|
def ==(resolver); end
|
1611
1611
|
|
1612
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
1612
|
+
# source://actionview//lib/action_view/template/resolver.rb#116
|
1613
1613
|
def all_template_paths; end
|
1614
1614
|
|
1615
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
1615
|
+
# source://actionview//lib/action_view/template/resolver.rb#100
|
1616
1616
|
def clear_cache; end
|
1617
1617
|
|
1618
1618
|
# @return [Boolean]
|
1619
1619
|
#
|
1620
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
1620
|
+
# source://actionview//lib/action_view/template/resolver.rb#111
|
1621
1621
|
def eql?(resolver); end
|
1622
1622
|
|
1623
1623
|
# Returns the value of attribute path.
|
1624
1624
|
#
|
1625
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
1625
|
+
# source://actionview//lib/action_view/template/resolver.rb#90
|
1626
1626
|
def path; end
|
1627
1627
|
|
1628
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
1628
|
+
# source://actionview//lib/action_view/template/resolver.rb#106
|
1629
1629
|
def to_path; end
|
1630
1630
|
|
1631
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
1631
|
+
# source://actionview//lib/action_view/template/resolver.rb#106
|
1632
1632
|
def to_s; end
|
1633
1633
|
|
1634
1634
|
private
|
1635
1635
|
|
1636
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
1636
|
+
# source://actionview//lib/action_view/template/resolver.rb#126
|
1637
1637
|
def _find_all(name, prefix, partial, details, key, locals); end
|
1638
1638
|
|
1639
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
1639
|
+
# source://actionview//lib/action_view/template/resolver.rb#145
|
1640
1640
|
def build_unbound_template(template); end
|
1641
1641
|
|
1642
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
1642
|
+
# source://actionview//lib/action_view/template/resolver.rb#203
|
1643
1643
|
def escape_entry(entry); end
|
1644
1644
|
|
1645
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
1645
|
+
# source://actionview//lib/action_view/template/resolver.rb#175
|
1646
1646
|
def filter_and_sort_by_details(templates, requested_details); end
|
1647
1647
|
|
1648
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
1648
|
+
# source://actionview//lib/action_view/template/resolver.rb#141
|
1649
1649
|
def source_for_template(template); end
|
1650
1650
|
|
1651
1651
|
# Safe glob within @path
|
1652
1652
|
#
|
1653
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
1653
|
+
# source://actionview//lib/action_view/template/resolver.rb#190
|
1654
1654
|
def template_glob(glob); end
|
1655
1655
|
|
1656
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
1656
|
+
# source://actionview//lib/action_view/template/resolver.rb#158
|
1657
1657
|
def unbound_templates_from_path(path); end
|
1658
1658
|
end
|
1659
1659
|
|
@@ -1916,7 +1916,7 @@ module ActionView::Helpers::AssetTagHelper
|
|
1916
1916
|
# When the Asset Pipeline is enabled, you can pass the name of your manifest as
|
1917
1917
|
# source, and include other JavaScript or CoffeeScript files inside the manifest.
|
1918
1918
|
#
|
1919
|
-
# If the server supports Early Hints header links for these assets will be
|
1919
|
+
# If the server supports Early Hints, header links for these assets will be
|
1920
1920
|
# automatically pushed.
|
1921
1921
|
#
|
1922
1922
|
# ==== Options
|
@@ -2017,7 +2017,7 @@ module ActionView::Helpers::AssetTagHelper
|
|
2017
2017
|
# set <tt>extname: false</tt> in the options.
|
2018
2018
|
# You can modify the link attributes by passing a hash as the last argument.
|
2019
2019
|
#
|
2020
|
-
# If the server supports Early Hints header links for these assets will be
|
2020
|
+
# If the server supports Early Hints, header links for these assets will be
|
2021
2021
|
# automatically pushed.
|
2022
2022
|
#
|
2023
2023
|
# ==== Options
|
@@ -3302,7 +3302,7 @@ module ActionView::Helpers::CaptureHelper
|
|
3302
3302
|
# <li><%= link_to 'Home', action: 'index' %></li>
|
3303
3303
|
# <% end %>
|
3304
3304
|
#
|
3305
|
-
#
|
3305
|
+
# And in another place:
|
3306
3306
|
#
|
3307
3307
|
# <% content_for :navigation do %>
|
3308
3308
|
# <li><%= link_to 'Login', action: 'login' %></li>
|
@@ -3318,7 +3318,7 @@ module ActionView::Helpers::CaptureHelper
|
|
3318
3318
|
# <li><%= link_to 'Home', action: 'index' %></li>
|
3319
3319
|
# <% end %>
|
3320
3320
|
#
|
3321
|
-
# <%#
|
3321
|
+
# <%# Add some other content, or use a different template: %>
|
3322
3322
|
#
|
3323
3323
|
# <% content_for :navigation, flush: true do %>
|
3324
3324
|
# <li><%= link_to 'Login', action: 'login' %></li>
|
@@ -3460,7 +3460,7 @@ module ActionView::Helpers::CsrfHelper
|
|
3460
3460
|
# You don't need to use these tags for regular forms as they generate their own hidden fields.
|
3461
3461
|
#
|
3462
3462
|
# For AJAX requests other than GETs, extract the "csrf-token" from the meta-tag and send as the
|
3463
|
-
#
|
3463
|
+
# +X-CSRF-Token+ HTTP header. If you are using rails-ujs, this happens automatically.
|
3464
3464
|
# For backwards compatibility.
|
3465
3465
|
#
|
3466
3466
|
# source://actionview//lib/action_view/helpers/csrf_helper.rb#22
|
@@ -3479,7 +3479,7 @@ module ActionView::Helpers::CsrfHelper
|
|
3479
3479
|
# You don't need to use these tags for regular forms as they generate their own hidden fields.
|
3480
3480
|
#
|
3481
3481
|
# For AJAX requests other than GETs, extract the "csrf-token" from the meta-tag and send as the
|
3482
|
-
#
|
3482
|
+
# +X-CSRF-Token+ HTTP header. If you are using rails-ujs, this happens automatically.
|
3483
3483
|
#
|
3484
3484
|
# source://actionview//lib/action_view/helpers/csrf_helper.rb#22
|
3485
3485
|
def csrf_meta_tags; end
|
@@ -4171,52 +4171,59 @@ class ActionView::Helpers::DateTimeSelector
|
|
4171
4171
|
private
|
4172
4172
|
|
4173
4173
|
# Build select option HTML for day.
|
4174
|
-
#
|
4175
|
-
#
|
4176
|
-
#
|
4177
|
-
#
|
4174
|
+
#
|
4175
|
+
# build_day_options(2)
|
4176
|
+
# => "<option value="1">1</option>
|
4177
|
+
# <option value="2" selected="selected">2</option>
|
4178
|
+
# <option value="3">3</option>..."
|
4178
4179
|
#
|
4179
4180
|
# If <tt>day_format: ->(day) { day.ordinalize }</tt> option is passed to DateTimeSelector
|
4180
|
-
#
|
4181
|
-
#
|
4182
|
-
#
|
4183
|
-
#
|
4181
|
+
#
|
4182
|
+
# build_day_options(2)
|
4183
|
+
# => "<option value="1">1st</option>
|
4184
|
+
# <option value="2" selected="selected">2nd</option>
|
4185
|
+
# <option value="3">3rd</option>..."
|
4184
4186
|
#
|
4185
4187
|
# If <tt>use_two_digit_numbers: true</tt> option is passed to DateTimeSelector
|
4186
|
-
# build_day_options(2)
|
4187
|
-
# => "<option value="1">01</option>
|
4188
|
-
# <option value="2" selected="selected">02</option>
|
4189
|
-
# <option value="3">03</option>..."
|
4190
4188
|
#
|
4191
|
-
#
|
4189
|
+
# build_day_options(2)
|
4190
|
+
# => "<option value="1">01</option>
|
4191
|
+
# <option value="2" selected="selected">02</option>
|
4192
|
+
# <option value="3">03</option>..."
|
4193
|
+
#
|
4194
|
+
# source://actionview//lib/action_view/helpers/date_helper.rb#1066
|
4192
4195
|
def build_day_options(selected); end
|
4193
4196
|
|
4194
4197
|
# Builds hidden input tag for date part and value.
|
4195
|
-
# build_hidden(:year, 2008)
|
4196
|
-
# => "<input type="hidden" id="date_year" name="date[year]" value="2008" autocomplete="off" />"
|
4197
4198
|
#
|
4198
|
-
#
|
4199
|
+
# build_hidden(:year, 2008)
|
4200
|
+
# => "<input type="hidden" id="date_year" name="date[year]" value="2008" autocomplete="off" />"
|
4201
|
+
#
|
4202
|
+
# source://actionview//lib/action_view/helpers/date_helper.rb#1167
|
4199
4203
|
def build_hidden(type, value); end
|
4200
4204
|
|
4201
4205
|
# Build select option HTML from date value and options.
|
4202
|
-
#
|
4203
|
-
#
|
4204
|
-
#
|
4205
|
-
#
|
4206
|
-
#
|
4207
|
-
#
|
4208
|
-
#
|
4209
|
-
#
|
4210
|
-
#
|
4211
|
-
#
|
4212
|
-
#
|
4213
|
-
#
|
4214
|
-
#
|
4215
|
-
#
|
4216
|
-
#
|
4217
|
-
#
|
4218
|
-
#
|
4219
|
-
#
|
4206
|
+
#
|
4207
|
+
# build_options(15, start: 1, end: 31)
|
4208
|
+
# => "<option value="1">1</option>
|
4209
|
+
# <option value="2">2</option>
|
4210
|
+
# <option value="3">3</option>..."
|
4211
|
+
#
|
4212
|
+
# If <tt>use_two_digit_numbers: true</tt> option is passed:
|
4213
|
+
#
|
4214
|
+
# build_options(15, start: 1, end: 31, use_two_digit_numbers: true)
|
4215
|
+
# => "<option value="1">01</option>
|
4216
|
+
# <option value="2">02</option>
|
4217
|
+
# <option value="3">03</option>..."
|
4218
|
+
#
|
4219
|
+
# If <tt>:step</tt> options is passed:
|
4220
|
+
#
|
4221
|
+
# build_options(15, start: 1, end: 31, step: 2)
|
4222
|
+
# => "<option value="1">1</option>
|
4223
|
+
# <option value="3">3</option>
|
4224
|
+
# <option value="5">5</option>..."
|
4225
|
+
#
|
4226
|
+
# source://actionview//lib/action_view/helpers/date_helper.rb#1023
|
4220
4227
|
def build_options(selected, options = T.unsafe(nil)); end
|
4221
4228
|
|
4222
4229
|
# Build full select tag from date type and options.
|
@@ -4225,41 +4232,43 @@ class ActionView::Helpers::DateTimeSelector
|
|
4225
4232
|
def build_options_and_select(type, selected, options = T.unsafe(nil)); end
|
4226
4233
|
|
4227
4234
|
# Builds select tag from date type and HTML select options.
|
4228
|
-
# build_select(:month, "<option value="1">January</option>...")
|
4229
|
-
# => "<select id="post_written_on_2i" name="post[written_on(2i)]">
|
4230
|
-
# <option value="1">January</option>...
|
4231
|
-
# </select>"
|
4232
4235
|
#
|
4233
|
-
#
|
4236
|
+
# build_select(:month, "<option value="1">January</option>...")
|
4237
|
+
# => "<select id="post_written_on_2i" name="post[written_on(2i)]">
|
4238
|
+
# <option value="1">January</option>...
|
4239
|
+
# </select>"
|
4240
|
+
#
|
4241
|
+
# source://actionview//lib/action_view/helpers/date_helper.rb#1112
|
4234
4242
|
def build_select(type, select_options_as_html); end
|
4235
4243
|
|
4236
4244
|
# Given an ordering of datetime components, create the selection HTML
|
4237
4245
|
# and join them with their appropriate separators.
|
4238
4246
|
#
|
4239
|
-
# source://actionview//lib/action_view/helpers/date_helper.rb#
|
4247
|
+
# source://actionview//lib/action_view/helpers/date_helper.rb#1205
|
4240
4248
|
def build_selects_from_types(order); end
|
4241
4249
|
|
4242
4250
|
# Build select option HTML for year.
|
4243
4251
|
# If <tt>year_format</tt> option is not passed
|
4244
|
-
#
|
4245
|
-
#
|
4246
|
-
#
|
4247
|
-
#
|
4252
|
+
# build_year_options(1998, start: 1998, end: 2000)
|
4253
|
+
# => "<option value="1998" selected="selected">1998</option>
|
4254
|
+
# <option value="1999">1999</option>
|
4255
|
+
# <option value="2000">2000</option>"
|
4248
4256
|
#
|
4249
4257
|
# If <tt>year_format</tt> option is passed
|
4250
|
-
#
|
4251
|
-
#
|
4252
|
-
#
|
4253
|
-
#
|
4258
|
+
# build_year_options(1998, start: 1998, end: 2000, year_format: ->year { "Heisei #{ year - 1988 }" })
|
4259
|
+
# => "<option value="1998" selected="selected">Heisei 10</option>
|
4260
|
+
# <option value="1999">Heisei 11</option>
|
4261
|
+
# <option value="2000">Heisei 12</option>"
|
4254
4262
|
#
|
4255
|
-
# source://actionview//lib/action_view/helpers/date_helper.rb#
|
4263
|
+
# source://actionview//lib/action_view/helpers/date_helper.rb#1090
|
4256
4264
|
def build_year_options(selected, options = T.unsafe(nil)); end
|
4257
4265
|
|
4258
|
-
# Builds the CSS class value for the select element
|
4259
|
-
#
|
4260
|
-
#
|
4266
|
+
# Builds the CSS class value for the select element.
|
4267
|
+
#
|
4268
|
+
# css_class_attribute(:year, 'date optional', { year: 'my-year' })
|
4269
|
+
# => "date optional my-year"
|
4261
4270
|
#
|
4262
|
-
# source://actionview//lib/action_view/helpers/date_helper.rb#
|
4271
|
+
# source://actionview//lib/action_view/helpers/date_helper.rb#1132
|
4263
4272
|
def css_class_attribute(type, html_options_class, options); end
|
4264
4273
|
|
4265
4274
|
# source://actionview//lib/action_view/helpers/date_helper.rb#981
|
@@ -4289,13 +4298,13 @@ class ActionView::Helpers::DateTimeSelector
|
|
4289
4298
|
# Returns the id attribute for the input tag.
|
4290
4299
|
# => "post_written_on_1i"
|
4291
4300
|
#
|
4292
|
-
# source://actionview//lib/action_view/helpers/date_helper.rb#
|
4301
|
+
# source://actionview//lib/action_view/helpers/date_helper.rb#1196
|
4293
4302
|
def input_id_from_type(type); end
|
4294
4303
|
|
4295
4304
|
# Returns the name attribute for the input tag.
|
4296
4305
|
# => post[written_on(1i)]
|
4297
4306
|
#
|
4298
|
-
# source://actionview//lib/action_view/helpers/date_helper.rb#
|
4307
|
+
# source://actionview//lib/action_view/helpers/date_helper.rb#1182
|
4299
4308
|
def input_name_from_type(type); end
|
4300
4309
|
|
4301
4310
|
# source://actionview//lib/action_view/helpers/date_helper.rb#864
|
@@ -4336,10 +4345,11 @@ class ActionView::Helpers::DateTimeSelector
|
|
4336
4345
|
def month_names; end
|
4337
4346
|
|
4338
4347
|
# Builds a prompt option tag with supplied options or from default options.
|
4339
|
-
# prompt_option_tag(:month, prompt: 'Select month')
|
4340
|
-
# => "<option value="">Select month</option>"
|
4341
4348
|
#
|
4342
|
-
#
|
4349
|
+
# prompt_option_tag(:month, prompt: 'Select month')
|
4350
|
+
# => "<option value="">Select month</option>"
|
4351
|
+
#
|
4352
|
+
# source://actionview//lib/action_view/helpers/date_helper.rb#1148
|
4343
4353
|
def prompt_option_tag(type, options); end
|
4344
4354
|
|
4345
4355
|
# source://actionview//lib/action_view/helpers/date_helper.rb#874
|
@@ -4350,7 +4360,7 @@ class ActionView::Helpers::DateTimeSelector
|
|
4350
4360
|
|
4351
4361
|
# Returns the separator for a given datetime component.
|
4352
4362
|
#
|
4353
|
-
# source://actionview//lib/action_view/helpers/date_helper.rb#
|
4363
|
+
# source://actionview//lib/action_view/helpers/date_helper.rb#1216
|
4354
4364
|
def separator(type); end
|
4355
4365
|
|
4356
4366
|
# If the day is hidden, the day should be set to the 1st so all month and year choices are
|
@@ -4474,13 +4484,13 @@ end
|
|
4474
4484
|
# The standard set of helper methods for form building are located in the
|
4475
4485
|
# +field_helpers+ class attribute.
|
4476
4486
|
#
|
4477
|
-
# source://actionview//lib/action_view/helpers/date_helper.rb#
|
4487
|
+
# source://actionview//lib/action_view/helpers/date_helper.rb#1230
|
4478
4488
|
class ActionView::Helpers::FormBuilder
|
4479
4489
|
include ::ActionView::ModelNaming
|
4480
4490
|
|
4481
4491
|
# @return [FormBuilder] a new instance of FormBuilder
|
4482
4492
|
#
|
4483
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
4493
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1701
|
4484
4494
|
def initialize(object_name, object, template, options); end
|
4485
4495
|
|
4486
4496
|
# Add the submit button for the given form. When no value is given, it checks
|
@@ -4538,7 +4548,7 @@ class ActionView::Helpers::FormBuilder
|
|
4538
4548
|
# # <strong>Save as draft</strong>
|
4539
4549
|
# # </button>
|
4540
4550
|
#
|
4541
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
4551
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2615
|
4542
4552
|
def button(value = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
4543
4553
|
|
4544
4554
|
# Returns a checkbox tag tailored for accessing a specified attribute (identified by +method+) on an object
|
@@ -4607,7 +4617,7 @@ class ActionView::Helpers::FormBuilder
|
|
4607
4617
|
# # => <input name="eula[accepted]" type="hidden" value="no" />
|
4608
4618
|
# # <input type="checkbox" class="eula_check" id="eula_accepted" name="eula[accepted]" value="yes" />
|
4609
4619
|
#
|
4610
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
4620
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2439
|
4611
4621
|
def check_box(method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end
|
4612
4622
|
|
4613
4623
|
# Wraps ActionView::Helpers::FormOptionsHelper#collection_check_boxes for form builders:
|
@@ -4619,7 +4629,7 @@ class ActionView::Helpers::FormBuilder
|
|
4619
4629
|
#
|
4620
4630
|
# Please refer to the documentation of the base helper for details.
|
4621
4631
|
#
|
4622
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
4632
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#907
|
4623
4633
|
def collection_check_boxes(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
|
4624
4634
|
|
4625
4635
|
# Wraps ActionView::Helpers::FormOptionsHelper#collection_radio_buttons for form builders:
|
@@ -4631,7 +4641,7 @@ class ActionView::Helpers::FormBuilder
|
|
4631
4641
|
#
|
4632
4642
|
# Please refer to the documentation of the base helper for details.
|
4633
4643
|
#
|
4634
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
4644
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#919
|
4635
4645
|
def collection_radio_buttons(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
|
4636
4646
|
|
4637
4647
|
# Wraps ActionView::Helpers::FormOptionsHelper#collection_select for form builders:
|
@@ -4643,13 +4653,13 @@ class ActionView::Helpers::FormBuilder
|
|
4643
4653
|
#
|
4644
4654
|
# Please refer to the documentation of the base helper for details.
|
4645
4655
|
#
|
4646
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
4656
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#859
|
4647
4657
|
def collection_select(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
|
4648
4658
|
|
4649
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
4659
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
4650
4660
|
def color_field(method, options = T.unsafe(nil)); end
|
4651
4661
|
|
4652
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
4662
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
4653
4663
|
def date_field(method, options = T.unsafe(nil)); end
|
4654
4664
|
|
4655
4665
|
# Wraps ActionView::Helpers::DateHelper#date_select for form builders:
|
@@ -4661,13 +4671,13 @@ class ActionView::Helpers::FormBuilder
|
|
4661
4671
|
#
|
4662
4672
|
# Please refer to the documentation of the base helper for details.
|
4663
4673
|
#
|
4664
|
-
# source://actionview//lib/action_view/helpers/date_helper.rb#
|
4674
|
+
# source://actionview//lib/action_view/helpers/date_helper.rb#1239
|
4665
4675
|
def date_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
|
4666
4676
|
|
4667
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
4677
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
4668
4678
|
def datetime_field(method, options = T.unsafe(nil)); end
|
4669
4679
|
|
4670
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
4680
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
4671
4681
|
def datetime_local_field(method, options = T.unsafe(nil)); end
|
4672
4682
|
|
4673
4683
|
# Wraps ActionView::Helpers::DateHelper#datetime_select for form builders:
|
@@ -4679,24 +4689,24 @@ class ActionView::Helpers::FormBuilder
|
|
4679
4689
|
#
|
4680
4690
|
# Please refer to the documentation of the base helper for details.
|
4681
4691
|
#
|
4682
|
-
# source://actionview//lib/action_view/helpers/date_helper.rb#
|
4692
|
+
# source://actionview//lib/action_view/helpers/date_helper.rb#1263
|
4683
4693
|
def datetime_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
|
4684
4694
|
|
4685
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
4695
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
4686
4696
|
def email_field(method, options = T.unsafe(nil)); end
|
4687
4697
|
|
4688
4698
|
# @return [Boolean]
|
4689
4699
|
#
|
4690
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
4700
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2636
|
4691
4701
|
def emitted_hidden_id?; end
|
4692
4702
|
|
4693
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
4703
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1666
|
4694
4704
|
def field_helpers; end
|
4695
4705
|
|
4696
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
4706
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1666
|
4697
4707
|
def field_helpers=(_arg0); end
|
4698
4708
|
|
4699
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
4709
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1666
|
4700
4710
|
def field_helpers?; end
|
4701
4711
|
|
4702
4712
|
# Generate an HTML <tt>id</tt> attribute value for the given field
|
@@ -4716,7 +4726,7 @@ class ActionView::Helpers::FormBuilder
|
|
4716
4726
|
# element, sharing a common <tt>id</tt> root (<tt>post_title</tt>, in this
|
4717
4727
|
# case).
|
4718
4728
|
#
|
4719
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
4729
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1758
|
4720
4730
|
def field_id(method, *suffixes, namespace: T.unsafe(nil), index: T.unsafe(nil)); end
|
4721
4731
|
|
4722
4732
|
# Generate an HTML <tt>name</tt> attribute value for the given name and
|
@@ -4735,12 +4745,12 @@ class ActionView::Helpers::FormBuilder
|
|
4735
4745
|
# <%# => <input type="text" name="post[tag][]">
|
4736
4746
|
# <% end %>
|
4737
4747
|
#
|
4738
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
4748
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1778
|
4739
4749
|
def field_name(method, *methods, multiple: T.unsafe(nil), index: T.unsafe(nil)); end
|
4740
4750
|
|
4741
4751
|
# See the docs for the ActionView::Helpers::FormHelper#fields helper method.
|
4742
4752
|
#
|
4743
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
4753
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2295
|
4744
4754
|
def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
|
4745
4755
|
|
4746
4756
|
# Creates a scope around a specific model object like form_for, but
|
@@ -4985,7 +4995,7 @@ class ActionView::Helpers::FormBuilder
|
|
4985
4995
|
# hidden field is not needed and you can pass <tt>include_id: false</tt>
|
4986
4996
|
# to prevent fields_for from rendering it automatically.
|
4987
4997
|
#
|
4988
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
4998
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2258
|
4989
4999
|
def fields_for(record_name, record_object = T.unsafe(nil), fields_options = T.unsafe(nil), &block); end
|
4990
5000
|
|
4991
5001
|
# Returns a file upload input tag tailored for accessing a specified attribute (identified by +method+) on an object
|
@@ -5023,7 +5033,7 @@ class ActionView::Helpers::FormBuilder
|
|
5023
5033
|
# file_field(:file, class: 'file_input')
|
5024
5034
|
# # => <input type="file" id="attachment_file" name="attachment[file]" class="file_input" />
|
5025
5035
|
#
|
5026
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5036
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2522
|
5027
5037
|
def file_field(method, options = T.unsafe(nil)); end
|
5028
5038
|
|
5029
5039
|
# Wraps ActionView::Helpers::FormOptionsHelper#grouped_collection_select for form builders:
|
@@ -5035,7 +5045,7 @@ class ActionView::Helpers::FormBuilder
|
|
5035
5045
|
#
|
5036
5046
|
# Please refer to the documentation of the base helper for details.
|
5037
5047
|
#
|
5038
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
5048
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#871
|
5039
5049
|
def grouped_collection_select(method, collection, group_method, group_label_method, option_key_method, option_value_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
|
5040
5050
|
|
5041
5051
|
# Returns a hidden input tag tailored for accessing a specified attribute (identified by +method+) on an object
|
@@ -5056,7 +5066,7 @@ class ActionView::Helpers::FormBuilder
|
|
5056
5066
|
# hidden_field(:token)
|
5057
5067
|
# # => <input type="hidden" id="user_token" name="user[token]" value="abcde" />
|
5058
5068
|
#
|
5059
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5069
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2483
|
5060
5070
|
def hidden_field(method, options = T.unsafe(nil)); end
|
5061
5071
|
|
5062
5072
|
# Generate an HTML <tt>id</tt> attribute value.
|
@@ -5077,12 +5087,12 @@ class ActionView::Helpers::FormBuilder
|
|
5077
5087
|
# <tt><button></tt> element should be treated as the <tt><form></tt>
|
5078
5088
|
# element's submit button, regardless of where it exists in the DOM.
|
5079
5089
|
#
|
5080
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5090
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1738
|
5081
5091
|
def id; end
|
5082
5092
|
|
5083
5093
|
# Returns the value of attribute index.
|
5084
5094
|
#
|
5085
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5095
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1678
|
5086
5096
|
def index; end
|
5087
5097
|
|
5088
5098
|
# Returns a label tag tailored for labelling an input field for a specified attribute (identified by +method+) on an object
|
@@ -5152,68 +5162,68 @@ class ActionView::Helpers::FormBuilder
|
|
5152
5162
|
# end
|
5153
5163
|
# # => <label for="post_terms">Accept <a href="/terms">Terms</a>.</label>
|
5154
5164
|
#
|
5155
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5165
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2370
|
5156
5166
|
def label(method, text = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
5157
5167
|
|
5158
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5168
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
5159
5169
|
def month_field(method, options = T.unsafe(nil)); end
|
5160
5170
|
|
5161
5171
|
# Returns the value of attribute multipart.
|
5162
5172
|
#
|
5163
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5173
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1678
|
5164
5174
|
def multipart; end
|
5165
5175
|
|
5166
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5176
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1681
|
5167
5177
|
def multipart=(multipart); end
|
5168
5178
|
|
5169
5179
|
# Returns the value of attribute multipart.
|
5170
5180
|
#
|
5171
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5181
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1678
|
5172
5182
|
def multipart?; end
|
5173
5183
|
|
5174
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5184
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
5175
5185
|
def number_field(method, options = T.unsafe(nil)); end
|
5176
5186
|
|
5177
5187
|
# Returns the value of attribute object.
|
5178
5188
|
#
|
5179
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5189
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1676
|
5180
5190
|
def object; end
|
5181
5191
|
|
5182
5192
|
# Sets the attribute object
|
5183
5193
|
#
|
5184
5194
|
# @param value the value to set the attribute object to.
|
5185
5195
|
#
|
5186
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5196
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1676
|
5187
5197
|
def object=(_arg0); end
|
5188
5198
|
|
5189
5199
|
# Returns the value of attribute object_name.
|
5190
5200
|
#
|
5191
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5201
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1676
|
5192
5202
|
def object_name; end
|
5193
5203
|
|
5194
5204
|
# Sets the attribute object_name
|
5195
5205
|
#
|
5196
5206
|
# @param value the value to set the attribute object_name to.
|
5197
5207
|
#
|
5198
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5208
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1676
|
5199
5209
|
def object_name=(_arg0); end
|
5200
5210
|
|
5201
5211
|
# Returns the value of attribute options.
|
5202
5212
|
#
|
5203
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5213
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1676
|
5204
5214
|
def options; end
|
5205
5215
|
|
5206
5216
|
# Sets the attribute options
|
5207
5217
|
#
|
5208
5218
|
# @param value the value to set the attribute options to.
|
5209
5219
|
#
|
5210
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5220
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1676
|
5211
5221
|
def options=(_arg0); end
|
5212
5222
|
|
5213
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5223
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
5214
5224
|
def password_field(method, options = T.unsafe(nil)); end
|
5215
5225
|
|
5216
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5226
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
5217
5227
|
def phone_field(method, options = T.unsafe(nil)); end
|
5218
5228
|
|
5219
5229
|
# Returns a radio button tag for accessing a specified attribute (identified by +method+) on an object
|
@@ -5235,13 +5245,13 @@ class ActionView::Helpers::FormBuilder
|
|
5235
5245
|
# # => <input type="radio" id="user_receive_newsletter_yes" name="user[receive_newsletter]" value="yes" />
|
5236
5246
|
# # <input type="radio" id="user_receive_newsletter_no" name="user[receive_newsletter]" value="no" checked="checked" />
|
5237
5247
|
#
|
5238
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5248
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2461
|
5239
5249
|
def radio_button(method, tag_value, options = T.unsafe(nil)); end
|
5240
5250
|
|
5241
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5251
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
5242
5252
|
def range_field(method, options = T.unsafe(nil)); end
|
5243
5253
|
|
5244
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5254
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
5245
5255
|
def search_field(method, options = T.unsafe(nil)); end
|
5246
5256
|
|
5247
5257
|
# Wraps ActionView::Helpers::FormOptionsHelper#select for form builders:
|
@@ -5253,7 +5263,7 @@ class ActionView::Helpers::FormBuilder
|
|
5253
5263
|
#
|
5254
5264
|
# Please refer to the documentation of the base helper for details.
|
5255
5265
|
#
|
5256
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
5266
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#847
|
5257
5267
|
def select(method, choices = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
|
5258
5268
|
|
5259
5269
|
# Add the submit button for the given form. When no value is given, it checks
|
@@ -5283,19 +5293,19 @@ class ActionView::Helpers::FormBuilder
|
|
5283
5293
|
# post:
|
5284
5294
|
# create: "Add %{model}"
|
5285
5295
|
#
|
5286
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5296
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2554
|
5287
5297
|
def submit(value = T.unsafe(nil), options = T.unsafe(nil)); end
|
5288
5298
|
|
5289
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5299
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
5290
5300
|
def telephone_field(method, options = T.unsafe(nil)); end
|
5291
5301
|
|
5292
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5302
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
5293
5303
|
def text_area(method, options = T.unsafe(nil)); end
|
5294
5304
|
|
5295
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5305
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
5296
5306
|
def text_field(method, options = T.unsafe(nil)); end
|
5297
5307
|
|
5298
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5308
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
5299
5309
|
def time_field(method, options = T.unsafe(nil)); end
|
5300
5310
|
|
5301
5311
|
# Wraps ActionView::Helpers::DateHelper#time_select for form builders:
|
@@ -5307,7 +5317,7 @@ class ActionView::Helpers::FormBuilder
|
|
5307
5317
|
#
|
5308
5318
|
# Please refer to the documentation of the base helper for details.
|
5309
5319
|
#
|
5310
|
-
# source://actionview//lib/action_view/helpers/date_helper.rb#
|
5320
|
+
# source://actionview//lib/action_view/helpers/date_helper.rb#1251
|
5311
5321
|
def time_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
|
5312
5322
|
|
5313
5323
|
# Wraps ActionView::Helpers::FormOptionsHelper#time_zone_select for form builders:
|
@@ -5319,19 +5329,19 @@ class ActionView::Helpers::FormBuilder
|
|
5319
5329
|
#
|
5320
5330
|
# Please refer to the documentation of the base helper for details.
|
5321
5331
|
#
|
5322
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
5332
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#883
|
5323
5333
|
def time_zone_select(method, priority_zones = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end
|
5324
5334
|
|
5325
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5335
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1697
|
5326
5336
|
def to_model; end
|
5327
5337
|
|
5328
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5338
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1693
|
5329
5339
|
def to_partial_path; end
|
5330
5340
|
|
5331
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5341
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
5332
5342
|
def url_field(method, options = T.unsafe(nil)); end
|
5333
5343
|
|
5334
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5344
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2007
|
5335
5345
|
def week_field(method, options = T.unsafe(nil)); end
|
5336
5346
|
|
5337
5347
|
# Wraps ActionView::Helpers::FormOptionsHelper#weekday_select for form builders:
|
@@ -5343,45 +5353,45 @@ class ActionView::Helpers::FormBuilder
|
|
5343
5353
|
#
|
5344
5354
|
# Please refer to the documentation of the base helper for details.
|
5345
5355
|
#
|
5346
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
5356
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#895
|
5347
5357
|
def weekday_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
|
5348
5358
|
|
5349
5359
|
private
|
5350
5360
|
|
5351
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5361
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2721
|
5352
5362
|
def convert_to_legacy_options(options); end
|
5353
5363
|
|
5354
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5364
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2703
|
5355
5365
|
def fields_for_nested_model(name, object, fields_options, block); end
|
5356
5366
|
|
5357
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5367
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2674
|
5358
5368
|
def fields_for_with_nested_attributes(association_name, association, options, block); end
|
5359
5369
|
|
5360
5370
|
# @return [Boolean]
|
5361
5371
|
#
|
5362
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5372
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2670
|
5363
5373
|
def nested_attributes_association?(association_name); end
|
5364
5374
|
|
5365
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5375
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2716
|
5366
5376
|
def nested_child_index(name); end
|
5367
5377
|
|
5368
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5378
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2641
|
5369
5379
|
def objectify_options(options); end
|
5370
5380
|
|
5371
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5381
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#2647
|
5372
5382
|
def submit_default_value; end
|
5373
5383
|
|
5374
5384
|
class << self
|
5375
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5385
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1689
|
5376
5386
|
def _to_partial_path; end
|
5377
5387
|
|
5378
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5388
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1666
|
5379
5389
|
def field_helpers; end
|
5380
5390
|
|
5381
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5391
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1666
|
5382
5392
|
def field_helpers=(value); end
|
5383
5393
|
|
5384
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5394
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1666
|
5385
5395
|
def field_helpers?; end
|
5386
5396
|
end
|
5387
5397
|
end
|
@@ -5493,7 +5503,7 @@ module ActionView::Helpers::FormHelper
|
|
5493
5503
|
mixes_in_class_methods ::ActionView::Helpers::UrlHelper::ClassMethods
|
5494
5504
|
mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods
|
5495
5505
|
|
5496
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5506
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1574
|
5497
5507
|
def _object_for_form_builder(object); end
|
5498
5508
|
|
5499
5509
|
# Returns a checkbox tag tailored for accessing a specified attribute (identified by +method+) on an object
|
@@ -5561,7 +5571,7 @@ module ActionView::Helpers::FormHelper
|
|
5561
5571
|
# # => <input name="eula[accepted]" type="hidden" value="no" />
|
5562
5572
|
# # <input type="checkbox" class="eula_check" id="eula_accepted" name="eula[accepted]" value="yes" />
|
5563
5573
|
#
|
5564
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5574
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1337
|
5565
5575
|
def check_box(object_name, method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end
|
5566
5576
|
|
5567
5577
|
# Returns a text_field of type "color".
|
@@ -5569,7 +5579,7 @@ module ActionView::Helpers::FormHelper
|
|
5569
5579
|
# color_field("car", "color")
|
5570
5580
|
# # => <input id="car_color" name="car[color]" type="color" value="#000000" />
|
5571
5581
|
#
|
5572
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5582
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1367
|
5573
5583
|
def color_field(object_name, method, options = T.unsafe(nil)); end
|
5574
5584
|
|
5575
5585
|
# Returns a text_field of type "date".
|
@@ -5598,7 +5608,7 @@ module ActionView::Helpers::FormHelper
|
|
5598
5608
|
# date_field("user", "born_on", min: "2014-05-20")
|
5599
5609
|
# # => <input id="user_born_on" name="user[born_on]" type="date" min="2014-05-20" />
|
5600
5610
|
#
|
5601
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5611
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1431
|
5602
5612
|
def date_field(object_name, method, options = T.unsafe(nil)); end
|
5603
5613
|
|
5604
5614
|
# Returns a text_field of type "datetime-local".
|
@@ -5626,7 +5636,7 @@ module ActionView::Helpers::FormHelper
|
|
5626
5636
|
# datetime_field("user", "born_on", min: "2014-05-20T00:00:00")
|
5627
5637
|
# # => <input id="user_born_on" name="user[born_on]" type="datetime-local" min="2014-05-20T00:00:00.000" />
|
5628
5638
|
#
|
5629
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5639
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1498
|
5630
5640
|
def datetime_field(object_name, method, options = T.unsafe(nil)); end
|
5631
5641
|
|
5632
5642
|
# Returns a text_field of type "datetime-local".
|
@@ -5654,7 +5664,7 @@ module ActionView::Helpers::FormHelper
|
|
5654
5664
|
# datetime_field("user", "born_on", min: "2014-05-20T00:00:00")
|
5655
5665
|
# # => <input id="user_born_on" name="user[born_on]" type="datetime-local" min="2014-05-20T00:00:00.000" />
|
5656
5666
|
#
|
5657
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5667
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1498
|
5658
5668
|
def datetime_local_field(object_name, method, options = T.unsafe(nil)); end
|
5659
5669
|
|
5660
5670
|
def default_form_builder; end
|
@@ -5665,7 +5675,7 @@ module ActionView::Helpers::FormHelper
|
|
5665
5675
|
# email_field("user", "address")
|
5666
5676
|
# # => <input id="user_address" name="user[address]" type="email" />
|
5667
5677
|
#
|
5668
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5678
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1552
|
5669
5679
|
def email_field(object_name, method, options = T.unsafe(nil)); end
|
5670
5680
|
|
5671
5681
|
# Scopes input fields with either an explicit scope or model.
|
@@ -5714,7 +5724,7 @@ module ActionView::Helpers::FormHelper
|
|
5714
5724
|
# to work with an object as a base, like
|
5715
5725
|
# FormOptionsHelper#collection_select and DateHelper#datetime_select.
|
5716
5726
|
#
|
5717
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5727
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1073
|
5718
5728
|
def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
|
5719
5729
|
|
5720
5730
|
# Creates a scope around a specific model object like form_for, but
|
@@ -5960,7 +5970,7 @@ module ActionView::Helpers::FormHelper
|
|
5960
5970
|
# can pass <tt>include_id: false</tt> to prevent fields_for from
|
5961
5971
|
# rendering it automatically.
|
5962
5972
|
#
|
5963
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
5973
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1022
|
5964
5974
|
def fields_for(record_name, record_object = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
5965
5975
|
|
5966
5976
|
# Returns a file upload input tag tailored for accessing a specified attribute (identified by +method+) on an object
|
@@ -5993,7 +6003,7 @@ module ActionView::Helpers::FormHelper
|
|
5993
6003
|
# file_field(:attachment, :file, class: 'file_input')
|
5994
6004
|
# # => <input type="file" id="attachment_file" name="attachment[file]" class="file_input" />
|
5995
6005
|
#
|
5996
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6006
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1239
|
5997
6007
|
def file_field(object_name, method, options = T.unsafe(nil)); end
|
5998
6008
|
|
5999
6009
|
# Creates a form that allows the user to create or update the attributes
|
@@ -6586,19 +6596,19 @@ module ActionView::Helpers::FormHelper
|
|
6586
6596
|
# form_with(**options.merge(builder: LabellingFormBuilder), &block)
|
6587
6597
|
# end
|
6588
6598
|
#
|
6589
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6599
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#755
|
6590
6600
|
def form_with(model: T.unsafe(nil), scope: T.unsafe(nil), url: T.unsafe(nil), format: T.unsafe(nil), **options, &block); end
|
6591
6601
|
|
6592
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6602
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#480
|
6593
6603
|
def form_with_generates_ids; end
|
6594
6604
|
|
6595
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6605
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#480
|
6596
6606
|
def form_with_generates_ids=(val); end
|
6597
6607
|
|
6598
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6608
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#478
|
6599
6609
|
def form_with_generates_remote_forms; end
|
6600
6610
|
|
6601
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6611
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#478
|
6602
6612
|
def form_with_generates_remote_forms=(val); end
|
6603
6613
|
|
6604
6614
|
# Returns a hidden input tag tailored for accessing a specified attribute (identified by +method+) on an object
|
@@ -6616,7 +6626,7 @@ module ActionView::Helpers::FormHelper
|
|
6616
6626
|
# hidden_field(:user, :token)
|
6617
6627
|
# # => <input type="hidden" id="user_token" name="user[token]" value="#{@user.token}" />
|
6618
6628
|
#
|
6619
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6629
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1206
|
6620
6630
|
def hidden_field(object_name, method, options = T.unsafe(nil)); end
|
6621
6631
|
|
6622
6632
|
# Returns a label tag tailored for labelling an input field for a specified attribute (identified by +method+) on an object
|
@@ -6678,7 +6688,7 @@ module ActionView::Helpers::FormHelper
|
|
6678
6688
|
# end
|
6679
6689
|
# # => <label for="post_terms">Accept <a href="/terms">Terms</a>.</label>
|
6680
6690
|
#
|
6681
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6691
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1143
|
6682
6692
|
def label(object_name, method, content_or_options = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
6683
6693
|
|
6684
6694
|
# Returns a text_field of type "month".
|
@@ -6694,21 +6704,22 @@ module ActionView::Helpers::FormHelper
|
|
6694
6704
|
# month_field("user", "born_on")
|
6695
6705
|
# # => <input id="user_born_on" name="user[born_on]" type="date" value="1984-01" />
|
6696
6706
|
#
|
6697
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6707
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1517
|
6698
6708
|
def month_field(object_name, method, options = T.unsafe(nil)); end
|
6699
6709
|
|
6700
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6710
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#482
|
6701
6711
|
def multiple_file_field_include_hidden; end
|
6702
6712
|
|
6703
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6713
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#482
|
6704
6714
|
def multiple_file_field_include_hidden=(val); end
|
6705
6715
|
|
6706
6716
|
# Returns an input tag of type "number".
|
6707
6717
|
#
|
6708
6718
|
# ==== Options
|
6709
|
-
# * Accepts same options as number_field_tag
|
6710
6719
|
#
|
6711
|
-
#
|
6720
|
+
# Supports the same options as FormTagHelper#number_field_tag.
|
6721
|
+
#
|
6722
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1561
|
6712
6723
|
def number_field(object_name, method, options = T.unsafe(nil)); end
|
6713
6724
|
|
6714
6725
|
# Returns an input tag of the "password" type tailored for accessing a specified attribute (identified by +method+) on an object
|
@@ -6729,7 +6740,7 @@ module ActionView::Helpers::FormHelper
|
|
6729
6740
|
# password_field(:account, :pin, size: 20, class: 'form_input')
|
6730
6741
|
# # => <input type="password" id="account_pin" name="account[pin]" size="20" class="form_input" />
|
6731
6742
|
#
|
6732
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6743
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1188
|
6733
6744
|
def password_field(object_name, method, options = T.unsafe(nil)); end
|
6734
6745
|
|
6735
6746
|
# Returns a text_field of type "tel".
|
@@ -6738,7 +6749,7 @@ module ActionView::Helpers::FormHelper
|
|
6738
6749
|
# # => <input id="user_phone" name="user[phone]" type="tel" />
|
6739
6750
|
# aliases telephone_field
|
6740
6751
|
#
|
6741
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6752
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1399
|
6742
6753
|
def phone_field(object_name, method, options = T.unsafe(nil)); end
|
6743
6754
|
|
6744
6755
|
# Returns a radio button tag for accessing a specified attribute (identified by +method+) on an object
|
@@ -6760,15 +6771,16 @@ module ActionView::Helpers::FormHelper
|
|
6760
6771
|
# # => <input type="radio" id="user_receive_newsletter_yes" name="user[receive_newsletter]" value="yes" />
|
6761
6772
|
# # <input type="radio" id="user_receive_newsletter_no" name="user[receive_newsletter]" value="no" checked="checked" />
|
6762
6773
|
#
|
6763
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6774
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1359
|
6764
6775
|
def radio_button(object_name, method, tag_value, options = T.unsafe(nil)); end
|
6765
6776
|
|
6766
6777
|
# Returns an input tag of type "range".
|
6767
6778
|
#
|
6768
6779
|
# ==== Options
|
6769
|
-
# * Accepts same options as range_field_tag
|
6770
6780
|
#
|
6771
|
-
#
|
6781
|
+
# Supports the same options as FormTagHelper#range_field_tag.
|
6782
|
+
#
|
6783
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1570
|
6772
6784
|
def range_field(object_name, method, options = T.unsafe(nil)); end
|
6773
6785
|
|
6774
6786
|
# Returns an input of type "search" for accessing a specified attribute (identified by +method+) on an object
|
@@ -6791,7 +6803,7 @@ module ActionView::Helpers::FormHelper
|
|
6791
6803
|
# search_field(:user, :name, autosave: true, onsearch: true)
|
6792
6804
|
# # => <input autosave="com.example.www" id="user_name" incremental="true" name="user[name]" onsearch="true" results="10" type="search" />
|
6793
6805
|
#
|
6794
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6806
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1390
|
6795
6807
|
def search_field(object_name, method, options = T.unsafe(nil)); end
|
6796
6808
|
|
6797
6809
|
# Returns a text_field of type "tel".
|
@@ -6799,7 +6811,7 @@ module ActionView::Helpers::FormHelper
|
|
6799
6811
|
# telephone_field("user", "phone")
|
6800
6812
|
# # => <input id="user_phone" name="user[phone]" type="tel" />
|
6801
6813
|
#
|
6802
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6814
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1399
|
6803
6815
|
def telephone_field(object_name, method, options = T.unsafe(nil)); end
|
6804
6816
|
|
6805
6817
|
# Returns a textarea opening and closing tag set tailored for accessing a specified attribute (identified by +method+)
|
@@ -6827,7 +6839,7 @@ module ActionView::Helpers::FormHelper
|
|
6827
6839
|
# # #{@entry.body}
|
6828
6840
|
# # </textarea>
|
6829
6841
|
#
|
6830
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6842
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1269
|
6831
6843
|
def text_area(object_name, method, options = T.unsafe(nil)); end
|
6832
6844
|
|
6833
6845
|
# Returns an input tag of the "text" type tailored for accessing a specified attribute (identified by +method+) on an object
|
@@ -6851,7 +6863,7 @@ module ActionView::Helpers::FormHelper
|
|
6851
6863
|
# text_field(:snippet, :code, size: 20, class: 'code_input')
|
6852
6864
|
# # => <input type="text" id="snippet_code" name="snippet[code]" size="20" value="#{@snippet.code}" class="code_input" />
|
6853
6865
|
#
|
6854
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6866
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1167
|
6855
6867
|
def text_field(object_name, method, options = T.unsafe(nil)); end
|
6856
6868
|
|
6857
6869
|
# Returns a text_field of type "time".
|
@@ -6861,10 +6873,12 @@ module ActionView::Helpers::FormHelper
|
|
6861
6873
|
# formatted by trying to call +strftime+ with "%H:%M" on the object's value.
|
6862
6874
|
# It is also possible to override this by passing the "value" option.
|
6863
6875
|
#
|
6864
|
-
#
|
6865
|
-
#
|
6876
|
+
# ==== Options
|
6877
|
+
#
|
6878
|
+
# Supports the same options as FormTagHelper#time_field_tag.
|
6879
|
+
#
|
6880
|
+
# ==== Examples
|
6866
6881
|
#
|
6867
|
-
# === Example
|
6868
6882
|
# time_field("task", "started_at")
|
6869
6883
|
# # => <input id="task_started_at" name="task[started_at]" type="time" />
|
6870
6884
|
#
|
@@ -6887,7 +6901,7 @@ module ActionView::Helpers::FormHelper
|
|
6887
6901
|
# time_field("task", "started_at", value: Time.now, include_seconds: false)
|
6888
6902
|
# # => <input id="task_started_at" name="task[started_at]" type="time" value="01:00" />
|
6889
6903
|
#
|
6890
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6904
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1469
|
6891
6905
|
def time_field(object_name, method, options = T.unsafe(nil)); end
|
6892
6906
|
|
6893
6907
|
# Returns a text_field of type "url".
|
@@ -6895,7 +6909,7 @@ module ActionView::Helpers::FormHelper
|
|
6895
6909
|
# url_field("user", "homepage")
|
6896
6910
|
# # => <input id="user_homepage" name="user[homepage]" type="url" />
|
6897
6911
|
#
|
6898
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6912
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1543
|
6899
6913
|
def url_field(object_name, method, options = T.unsafe(nil)); end
|
6900
6914
|
|
6901
6915
|
# Returns a text_field of type "week".
|
@@ -6911,7 +6925,7 @@ module ActionView::Helpers::FormHelper
|
|
6911
6925
|
# week_field("user", "born_on")
|
6912
6926
|
# # => <input id="user_born_on" name="user[born_on]" type="date" value="1984-W19" />
|
6913
6927
|
#
|
6914
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6928
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1534
|
6915
6929
|
def week_field(object_name, method, options = T.unsafe(nil)); end
|
6916
6930
|
|
6917
6931
|
private
|
@@ -6919,32 +6933,32 @@ module ActionView::Helpers::FormHelper
|
|
6919
6933
|
# source://actionview//lib/action_view/helpers/form_helper.rb#463
|
6920
6934
|
def apply_form_for_options!(object, options); end
|
6921
6935
|
|
6922
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6936
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1608
|
6923
6937
|
def default_form_builder_class; end
|
6924
6938
|
|
6925
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6939
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1579
|
6926
6940
|
def html_options_for_form_with(url_for_options = T.unsafe(nil), model = T.unsafe(nil), html: T.unsafe(nil), local: T.unsafe(nil), skip_enforcing_utf8: T.unsafe(nil), **options); end
|
6927
6941
|
|
6928
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6942
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#1594
|
6929
6943
|
def instantiate_builder(record_name, record_object, options); end
|
6930
6944
|
|
6931
6945
|
class << self
|
6932
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6946
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#480
|
6933
6947
|
def form_with_generates_ids; end
|
6934
6948
|
|
6935
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6949
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#480
|
6936
6950
|
def form_with_generates_ids=(val); end
|
6937
6951
|
|
6938
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6952
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#478
|
6939
6953
|
def form_with_generates_remote_forms; end
|
6940
6954
|
|
6941
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6955
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#478
|
6942
6956
|
def form_with_generates_remote_forms=(val); end
|
6943
6957
|
|
6944
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6958
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#482
|
6945
6959
|
def multiple_file_field_include_hidden; end
|
6946
6960
|
|
6947
|
-
# source://actionview//lib/action_view/helpers/form_helper.rb#
|
6961
|
+
# source://actionview//lib/action_view/helpers/form_helper.rb#482
|
6948
6962
|
def multiple_file_field_include_hidden=(val); end
|
6949
6963
|
end
|
6950
6964
|
end
|
@@ -7120,7 +7134,7 @@ module ActionView::Helpers::FormOptionsHelper
|
|
7120
7134
|
# In the rare case you don't want this hidden field, you can pass the
|
7121
7135
|
# <tt>include_hidden: false</tt> option to the helper method.
|
7122
7136
|
#
|
7123
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
7137
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#781
|
7124
7138
|
def collection_check_boxes(object, method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
|
7125
7139
|
|
7126
7140
|
# Returns radio button tags for the collection of existing return values
|
@@ -7203,7 +7217,7 @@ module ActionView::Helpers::FormOptionsHelper
|
|
7203
7217
|
# In case if you don't want the helper to generate this hidden field you can specify
|
7204
7218
|
# <tt>include_hidden: false</tt> option.
|
7205
7219
|
#
|
7206
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
7220
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#697
|
7207
7221
|
def collection_radio_buttons(object, method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
|
7208
7222
|
|
7209
7223
|
# Returns <tt><select></tt> and <tt><option></tt> tags for the collection of existing return values of
|
@@ -7338,6 +7352,8 @@ module ActionView::Helpers::FormOptionsHelper
|
|
7338
7352
|
# <tt><optgroup></tt> label while the second value must be an array of options. The second value can be a
|
7339
7353
|
# nested array of text-value pairs. See <tt>options_for_select</tt> for more info.
|
7340
7354
|
# Ex. ["North America",[["United States","US"],["Canada","CA"]]]
|
7355
|
+
# An optional third value can be provided as HTML attributes for the <tt>optgroup</tt>.
|
7356
|
+
# Ex. ["North America",[["United States","US"],["Canada","CA"]], { disabled: "disabled" }]
|
7341
7357
|
# * +selected_key+ - A value equal to the +value+ attribute for one of the <tt><option></tt> tags,
|
7342
7358
|
# which will have the +selected+ attribute set. Note: It is possible for this value to match multiple options
|
7343
7359
|
# as you might have the same option in multiple groups. Each will then get <tt>selected="selected"</tt>.
|
@@ -7367,7 +7383,7 @@ module ActionView::Helpers::FormOptionsHelper
|
|
7367
7383
|
# <b>Note:</b> Only the <tt><optgroup></tt> and <tt><option></tt> tags are returned, so you still have to
|
7368
7384
|
# wrap the output in an appropriate <tt><select></tt> tag.
|
7369
7385
|
#
|
7370
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
7386
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#533
|
7371
7387
|
def grouped_options_for_select(grouped_options, selected_key = T.unsafe(nil), options = T.unsafe(nil)); end
|
7372
7388
|
|
7373
7389
|
# Returns a string of <tt><option></tt> tags, like <tt>options_from_collection_for_select</tt>, but
|
@@ -7595,7 +7611,7 @@ module ActionView::Helpers::FormOptionsHelper
|
|
7595
7611
|
# NOTE: Only the option tags are returned, you have to wrap this call in
|
7596
7612
|
# a regular HTML select tag.
|
7597
7613
|
#
|
7598
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
7614
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#578
|
7599
7615
|
def time_zone_options_for_select(selected = T.unsafe(nil), priority_zones = T.unsafe(nil), model = T.unsafe(nil)); end
|
7600
7616
|
|
7601
7617
|
# Returns select and option tags for the given object and method, using
|
@@ -7644,7 +7660,7 @@ module ActionView::Helpers::FormOptionsHelper
|
|
7644
7660
|
# NOTE: Only the option tags are returned, you have to wrap this call in
|
7645
7661
|
# a regular HTML select tag.
|
7646
7662
|
#
|
7647
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
7663
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#610
|
7648
7664
|
def weekday_options_for_select(selected = T.unsafe(nil), index_as_value: T.unsafe(nil), day_format: T.unsafe(nil), beginning_of_week: T.unsafe(nil)); end
|
7649
7665
|
|
7650
7666
|
# Returns select and option tags for the given object and method, using
|
@@ -7655,27 +7671,27 @@ module ActionView::Helpers::FormOptionsHelper
|
|
7655
7671
|
|
7656
7672
|
private
|
7657
7673
|
|
7658
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
7674
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#808
|
7659
7675
|
def extract_selected_and_disabled(selected); end
|
7660
7676
|
|
7661
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
7677
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#819
|
7662
7678
|
def extract_values_from_collection(collection, value_method, selected); end
|
7663
7679
|
|
7664
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
7680
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#786
|
7665
7681
|
def option_html_attributes(element); end
|
7666
7682
|
|
7667
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
7683
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#794
|
7668
7684
|
def option_text_and_value(option); end
|
7669
7685
|
|
7670
7686
|
# @return [Boolean]
|
7671
7687
|
#
|
7672
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
7688
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#804
|
7673
7689
|
def option_value_selected?(value, selected); end
|
7674
7690
|
|
7675
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
7691
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#833
|
7676
7692
|
def prompt_text(prompt); end
|
7677
7693
|
|
7678
|
-
# source://actionview//lib/action_view/helpers/form_options_helper.rb#
|
7694
|
+
# source://actionview//lib/action_view/helpers/form_options_helper.rb#829
|
7679
7695
|
def value_for_collection(item, value); end
|
7680
7696
|
end
|
7681
7697
|
|
@@ -7780,9 +7796,11 @@ module ActionView::Helpers::FormTagHelper
|
|
7780
7796
|
# Creates a text field of type "color".
|
7781
7797
|
#
|
7782
7798
|
# ==== Options
|
7783
|
-
#
|
7799
|
+
#
|
7800
|
+
# Supports the same options as #text_field_tag.
|
7784
7801
|
#
|
7785
7802
|
# ==== Examples
|
7803
|
+
#
|
7786
7804
|
# color_field_tag 'name'
|
7787
7805
|
# # => <input id="name" name="name" type="color" />
|
7788
7806
|
#
|
@@ -7795,15 +7813,17 @@ module ActionView::Helpers::FormTagHelper
|
|
7795
7813
|
# color_field_tag 'color', '#DEF726', class: 'special_input', disabled: true
|
7796
7814
|
# # => <input disabled="disabled" class="special_input" id="color" name="color" type="color" value="#DEF726" />
|
7797
7815
|
#
|
7798
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
7816
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#676
|
7799
7817
|
def color_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
|
7800
7818
|
|
7801
7819
|
# Creates a text field of type "date".
|
7802
7820
|
#
|
7803
7821
|
# ==== Options
|
7804
|
-
#
|
7822
|
+
#
|
7823
|
+
# Supports the same options as #text_field_tag.
|
7805
7824
|
#
|
7806
7825
|
# ==== Examples
|
7826
|
+
#
|
7807
7827
|
# date_field_tag 'name'
|
7808
7828
|
# # => <input id="name" name="name" type="date" />
|
7809
7829
|
#
|
@@ -7816,29 +7836,33 @@ module ActionView::Helpers::FormTagHelper
|
|
7816
7836
|
# date_field_tag 'date', '01/01/2014', class: 'special_input', disabled: true
|
7817
7837
|
# # => <input disabled="disabled" class="special_input" id="date" name="date" type="date" value="01/01/2014" />
|
7818
7838
|
#
|
7819
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
7839
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#746
|
7820
7840
|
def date_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
|
7821
7841
|
|
7822
7842
|
# Creates a text field of type "datetime-local".
|
7823
7843
|
#
|
7824
|
-
#
|
7844
|
+
# ==== Options
|
7845
|
+
#
|
7846
|
+
# Supports the same options as #text_field_tag. Additionally, supports:
|
7847
|
+
#
|
7825
7848
|
# * <tt>:min</tt> - The minimum acceptable value.
|
7826
7849
|
# * <tt>:max</tt> - The maximum acceptable value.
|
7827
7850
|
# * <tt>:step</tt> - The acceptable value granularity.
|
7828
|
-
# * Otherwise accepts the same options as text_field_tag.
|
7829
7851
|
#
|
7830
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
7852
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#773
|
7831
7853
|
def datetime_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
|
7832
7854
|
|
7833
7855
|
# Creates a text field of type "datetime-local".
|
7834
7856
|
#
|
7835
|
-
#
|
7857
|
+
# ==== Options
|
7858
|
+
#
|
7859
|
+
# Supports the same options as #text_field_tag. Additionally, supports:
|
7860
|
+
#
|
7836
7861
|
# * <tt>:min</tt> - The minimum acceptable value.
|
7837
7862
|
# * <tt>:max</tt> - The maximum acceptable value.
|
7838
7863
|
# * <tt>:step</tt> - The acceptable value granularity.
|
7839
|
-
# * Otherwise accepts the same options as text_field_tag.
|
7840
7864
|
#
|
7841
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
7865
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#773
|
7842
7866
|
def datetime_local_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
|
7843
7867
|
|
7844
7868
|
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#26
|
@@ -7850,9 +7874,11 @@ module ActionView::Helpers::FormTagHelper
|
|
7850
7874
|
# Creates a text field of type "email".
|
7851
7875
|
#
|
7852
7876
|
# ==== Options
|
7853
|
-
#
|
7877
|
+
#
|
7878
|
+
# Supports the same options as #text_field_tag.
|
7854
7879
|
#
|
7855
7880
|
# ==== Examples
|
7881
|
+
#
|
7856
7882
|
# email_field_tag 'name'
|
7857
7883
|
# # => <input id="name" name="name" type="email" />
|
7858
7884
|
#
|
@@ -7865,7 +7891,7 @@ module ActionView::Helpers::FormTagHelper
|
|
7865
7891
|
# email_field_tag 'email', 'email@example.com', class: 'special_input', disabled: true
|
7866
7892
|
# # => <input disabled="disabled" class="special_input" id="email" name="email" type="email" value="email@example.com" />
|
7867
7893
|
#
|
7868
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
7894
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#847
|
7869
7895
|
def email_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
|
7870
7896
|
|
7871
7897
|
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#23
|
@@ -8095,27 +8121,32 @@ module ActionView::Helpers::FormTagHelper
|
|
8095
8121
|
|
8096
8122
|
# Creates a text field of type "month".
|
8097
8123
|
#
|
8098
|
-
#
|
8124
|
+
# ==== Options
|
8125
|
+
#
|
8126
|
+
# Supports the same options as #text_field_tag. Additionally, supports:
|
8127
|
+
#
|
8099
8128
|
# * <tt>:min</tt> - The minimum acceptable value.
|
8100
8129
|
# * <tt>:max</tt> - The maximum acceptable value.
|
8101
8130
|
# * <tt>:step</tt> - The acceptable value granularity.
|
8102
|
-
# * Otherwise accepts the same options as text_field_tag.
|
8103
8131
|
#
|
8104
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
8132
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#788
|
8105
8133
|
def month_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
|
8106
8134
|
|
8107
8135
|
# Creates a number field.
|
8108
8136
|
#
|
8109
8137
|
# ==== Options
|
8138
|
+
#
|
8139
|
+
# Supports the same options as #text_field_tag. Additionally, supports:
|
8140
|
+
#
|
8110
8141
|
# * <tt>:min</tt> - The minimum acceptable value.
|
8111
8142
|
# * <tt>:max</tt> - The maximum acceptable value.
|
8112
8143
|
# * <tt>:in</tt> - A range specifying the <tt>:min</tt> and
|
8113
8144
|
# <tt>:max</tt> values.
|
8114
8145
|
# * <tt>:within</tt> - Same as <tt>:in</tt>.
|
8115
8146
|
# * <tt>:step</tt> - The acceptable value granularity.
|
8116
|
-
# * Otherwise accepts the same options as text_field_tag.
|
8117
8147
|
#
|
8118
8148
|
# ==== Examples
|
8149
|
+
#
|
8119
8150
|
# number_field_tag 'quantity'
|
8120
8151
|
# # => <input id="quantity" name="quantity" type="number" />
|
8121
8152
|
#
|
@@ -8146,7 +8177,7 @@ module ActionView::Helpers::FormTagHelper
|
|
8146
8177
|
# number_field_tag 'quantity', '1', class: 'special_input', disabled: true
|
8147
8178
|
# # => <input disabled="disabled" class="special_input" id="quantity" name="quantity" type="number" value="1" />
|
8148
8179
|
#
|
8149
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
8180
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#895
|
8150
8181
|
def number_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
|
8151
8182
|
|
8152
8183
|
# Creates a password field, a masked text field that will hide the users input behind a mask character.
|
@@ -8185,9 +8216,11 @@ module ActionView::Helpers::FormTagHelper
|
|
8185
8216
|
# Creates a text field of type "tel".
|
8186
8217
|
#
|
8187
8218
|
# ==== Options
|
8188
|
-
#
|
8219
|
+
#
|
8220
|
+
# Supports the same options as #text_field_tag.
|
8189
8221
|
#
|
8190
8222
|
# ==== Examples
|
8223
|
+
#
|
8191
8224
|
# telephone_field_tag 'name'
|
8192
8225
|
# # => <input id="name" name="name" type="tel" />
|
8193
8226
|
#
|
@@ -8200,7 +8233,7 @@ module ActionView::Helpers::FormTagHelper
|
|
8200
8233
|
# telephone_field_tag 'tel', '0123456789', class: 'special_input', disabled: true
|
8201
8234
|
# # => <input disabled="disabled" class="special_input" id="tel" name="tel" type="tel" value="0123456789" />
|
8202
8235
|
#
|
8203
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
8236
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#722
|
8204
8237
|
def phone_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
|
8205
8238
|
|
8206
8239
|
# Creates a radio button; use groups of radio buttons named the same to allow users to
|
@@ -8229,17 +8262,20 @@ module ActionView::Helpers::FormTagHelper
|
|
8229
8262
|
# Creates a range form element.
|
8230
8263
|
#
|
8231
8264
|
# ==== Options
|
8232
|
-
# * Accepts the same options as number_field_tag.
|
8233
8265
|
#
|
8234
|
-
#
|
8266
|
+
# Supports the same options as #number_field_tag.
|
8267
|
+
#
|
8268
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#909
|
8235
8269
|
def range_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
|
8236
8270
|
|
8237
8271
|
# Creates a text field of type "search".
|
8238
8272
|
#
|
8239
8273
|
# ==== Options
|
8240
|
-
#
|
8274
|
+
#
|
8275
|
+
# Supports the same options as #text_field_tag.
|
8241
8276
|
#
|
8242
8277
|
# ==== Examples
|
8278
|
+
#
|
8243
8279
|
# search_field_tag 'name'
|
8244
8280
|
# # => <input id="name" name="name" type="search" />
|
8245
8281
|
#
|
@@ -8252,7 +8288,7 @@ module ActionView::Helpers::FormTagHelper
|
|
8252
8288
|
# search_field_tag 'search', 'Enter your search query here', class: 'special_input', disabled: true
|
8253
8289
|
# # => <input disabled="disabled" class="special_input" id="search" name="search" type="search" value="Enter your search query here" />
|
8254
8290
|
#
|
8255
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
8291
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#699
|
8256
8292
|
def search_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
|
8257
8293
|
|
8258
8294
|
# Creates a dropdown selection box, or if the <tt>:multiple</tt> option is set to true, a multiple
|
@@ -8362,9 +8398,11 @@ module ActionView::Helpers::FormTagHelper
|
|
8362
8398
|
# Creates a text field of type "tel".
|
8363
8399
|
#
|
8364
8400
|
# ==== Options
|
8365
|
-
#
|
8401
|
+
#
|
8402
|
+
# Supports the same options as #text_field_tag.
|
8366
8403
|
#
|
8367
8404
|
# ==== Examples
|
8405
|
+
#
|
8368
8406
|
# telephone_field_tag 'name'
|
8369
8407
|
# # => <input id="name" name="name" type="tel" />
|
8370
8408
|
#
|
@@ -8377,7 +8415,7 @@ module ActionView::Helpers::FormTagHelper
|
|
8377
8415
|
# telephone_field_tag 'tel', '0123456789', class: 'special_input', disabled: true
|
8378
8416
|
# # => <input disabled="disabled" class="special_input" id="tel" name="tel" type="tel" value="0123456789" />
|
8379
8417
|
#
|
8380
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
8418
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#722
|
8381
8419
|
def telephone_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
|
8382
8420
|
|
8383
8421
|
# Creates a text input area; use a textarea for longer text inputs such as blog posts or descriptions.
|
@@ -8455,22 +8493,26 @@ module ActionView::Helpers::FormTagHelper
|
|
8455
8493
|
|
8456
8494
|
# Creates a text field of type "time".
|
8457
8495
|
#
|
8458
|
-
#
|
8496
|
+
# ==== Options
|
8497
|
+
#
|
8498
|
+
# Supports the same options as #text_field_tag. Additionally, supports:
|
8499
|
+
#
|
8459
8500
|
# * <tt>:min</tt> - The minimum acceptable value.
|
8460
8501
|
# * <tt>:max</tt> - The maximum acceptable value.
|
8461
8502
|
# * <tt>:step</tt> - The acceptable value granularity.
|
8462
8503
|
# * <tt>:include_seconds</tt> - Include seconds and ms in the output timestamp format (true by default).
|
8463
|
-
# * Otherwise accepts the same options as text_field_tag.
|
8464
8504
|
#
|
8465
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
8505
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#760
|
8466
8506
|
def time_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
|
8467
8507
|
|
8468
8508
|
# Creates a text field of type "url".
|
8469
8509
|
#
|
8470
8510
|
# ==== Options
|
8471
|
-
#
|
8511
|
+
#
|
8512
|
+
# Supports the same options as #text_field_tag.
|
8472
8513
|
#
|
8473
8514
|
# ==== Examples
|
8515
|
+
#
|
8474
8516
|
# url_field_tag 'name'
|
8475
8517
|
# # => <input id="name" name="name" type="url" />
|
8476
8518
|
#
|
@@ -8483,49 +8525,51 @@ module ActionView::Helpers::FormTagHelper
|
|
8483
8525
|
# url_field_tag 'url', 'http://rubyonrails.org', class: 'special_input', disabled: true
|
8484
8526
|
# # => <input disabled="disabled" class="special_input" id="url" name="url" type="url" value="http://rubyonrails.org" />
|
8485
8527
|
#
|
8486
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
8528
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#824
|
8487
8529
|
def url_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
|
8488
8530
|
|
8489
|
-
# Creates the hidden
|
8531
|
+
# Creates the hidden UTF-8 enforcer tag. Override this method in a helper
|
8490
8532
|
# to customize the tag.
|
8491
8533
|
#
|
8492
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
8534
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#915
|
8493
8535
|
def utf8_enforcer_tag; end
|
8494
8536
|
|
8495
8537
|
# Creates a text field of type "week".
|
8496
8538
|
#
|
8497
|
-
#
|
8539
|
+
# ==== Options
|
8540
|
+
#
|
8541
|
+
# Supports the same options as #text_field_tag. Additionally, supports:
|
8542
|
+
#
|
8498
8543
|
# * <tt>:min</tt> - The minimum acceptable value.
|
8499
8544
|
# * <tt>:max</tt> - The maximum acceptable value.
|
8500
8545
|
# * <tt>:step</tt> - The acceptable value granularity.
|
8501
|
-
# * Otherwise accepts the same options as text_field_tag.
|
8502
8546
|
#
|
8503
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
8547
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#801
|
8504
8548
|
def week_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
|
8505
8549
|
|
8506
8550
|
private
|
8507
8551
|
|
8508
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
8552
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#1011
|
8509
8553
|
def convert_direct_upload_option_to_url(options); end
|
8510
8554
|
|
8511
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
8555
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#950
|
8512
8556
|
def extra_tags_for_form(html_options); end
|
8513
8557
|
|
8514
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
8558
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#980
|
8515
8559
|
def form_tag_html(html_options); end
|
8516
8560
|
|
8517
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
8561
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#985
|
8518
8562
|
def form_tag_with_body(html_options, content); end
|
8519
8563
|
|
8520
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
8564
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#923
|
8521
8565
|
def html_options_for_form(url_for_options, options); end
|
8522
8566
|
|
8523
8567
|
# see http://www.w3.org/TR/html4/types.html#type-name
|
8524
8568
|
#
|
8525
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
8569
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#992
|
8526
8570
|
def sanitize_to_id(name); end
|
8527
8571
|
|
8528
|
-
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#
|
8572
|
+
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#996
|
8529
8573
|
def set_default_disable_with(value, tag_options); end
|
8530
8574
|
|
8531
8575
|
class << self
|
@@ -8753,13 +8797,14 @@ module ActionView::Helpers::NumberHelper
|
|
8753
8797
|
# out by default (set <tt>:strip_insignificant_zeros</tt> to
|
8754
8798
|
# +false+ to change that):
|
8755
8799
|
#
|
8756
|
-
#
|
8757
|
-
#
|
8800
|
+
# number_to_human(12.00001) # => "12"
|
8801
|
+
# number_to_human(12.00001, strip_insignificant_zeros: false) # => "12.0"
|
8758
8802
|
#
|
8759
8803
|
# ==== Custom Unit Quantifiers
|
8760
8804
|
#
|
8761
8805
|
# You can also use your own custom unit quantifiers:
|
8762
|
-
#
|
8806
|
+
#
|
8807
|
+
# number_to_human(500000, units: {unit: "ml", thousand: "lt"}) # => "500 lt"
|
8763
8808
|
#
|
8764
8809
|
# If in your I18n locale you have:
|
8765
8810
|
# distance:
|
@@ -8776,14 +8821,14 @@ module ActionView::Helpers::NumberHelper
|
|
8776
8821
|
#
|
8777
8822
|
# Then you could do:
|
8778
8823
|
#
|
8779
|
-
#
|
8780
|
-
#
|
8781
|
-
#
|
8782
|
-
#
|
8783
|
-
#
|
8784
|
-
#
|
8824
|
+
# number_to_human(543934, units: :distance) # => "544 kilometers"
|
8825
|
+
# number_to_human(54393498, units: :distance) # => "54400 kilometers"
|
8826
|
+
# number_to_human(54393498000, units: :distance) # => "54.4 gazillion-distance"
|
8827
|
+
# number_to_human(343, units: :distance, precision: 1) # => "300 meters"
|
8828
|
+
# number_to_human(1, units: :distance) # => "1 meter"
|
8829
|
+
# number_to_human(0.34, units: :distance) # => "34 centimeters"
|
8785
8830
|
#
|
8786
|
-
# source://actionview//lib/action_view/helpers/number_helper.rb#
|
8831
|
+
# source://actionview//lib/action_view/helpers/number_helper.rb#404
|
8787
8832
|
def number_to_human(number, options = T.unsafe(nil)); end
|
8788
8833
|
|
8789
8834
|
# Formats the bytes in +number+ into a more understandable
|
@@ -8946,7 +8991,7 @@ module ActionView::Helpers::NumberHelper
|
|
8946
8991
|
# number_with_delimiter("123456.78",
|
8947
8992
|
# delimiter_pattern: /(\d+?)(?=(\d\d)+(\d)(?!\d))/) # => "1,23,456.78"
|
8948
8993
|
#
|
8949
|
-
#
|
8994
|
+
# number_with_delimiter("112a", raise: true) # => raise InvalidNumberError
|
8950
8995
|
#
|
8951
8996
|
# source://actionview//lib/action_view/helpers/number_helper.rb#206
|
8952
8997
|
def number_with_delimiter(number, options = T.unsafe(nil)); end
|
@@ -8998,28 +9043,28 @@ module ActionView::Helpers::NumberHelper
|
|
8998
9043
|
|
8999
9044
|
private
|
9000
9045
|
|
9001
|
-
# source://actionview//lib/action_view/helpers/number_helper.rb#
|
9046
|
+
# source://actionview//lib/action_view/helpers/number_helper.rb#409
|
9002
9047
|
def delegate_number_helper_method(method, number, options); end
|
9003
9048
|
|
9004
|
-
# source://actionview//lib/action_view/helpers/number_helper.rb#
|
9049
|
+
# source://actionview//lib/action_view/helpers/number_helper.rb#428
|
9005
9050
|
def escape_units(units); end
|
9006
9051
|
|
9007
|
-
# source://actionview//lib/action_view/helpers/number_helper.rb#
|
9052
|
+
# source://actionview//lib/action_view/helpers/number_helper.rb#418
|
9008
9053
|
def escape_unsafe_options(options); end
|
9009
9054
|
|
9010
9055
|
# @raise [InvalidNumberError]
|
9011
9056
|
#
|
9012
|
-
# source://actionview//lib/action_view/helpers/number_helper.rb#
|
9057
|
+
# source://actionview//lib/action_view/helpers/number_helper.rb#451
|
9013
9058
|
def parse_float(number, raise_error); end
|
9014
9059
|
|
9015
9060
|
# @return [Boolean]
|
9016
9061
|
#
|
9017
|
-
# source://actionview//lib/action_view/helpers/number_helper.rb#
|
9062
|
+
# source://actionview//lib/action_view/helpers/number_helper.rb#447
|
9018
9063
|
def valid_float?(number); end
|
9019
9064
|
|
9020
9065
|
# @raise [InvalidNumberError]
|
9021
9066
|
#
|
9022
|
-
# source://actionview//lib/action_view/helpers/number_helper.rb#
|
9067
|
+
# source://actionview//lib/action_view/helpers/number_helper.rb#434
|
9023
9068
|
def wrap_with_output_safety_handling(number, raise_on_invalid, &block); end
|
9024
9069
|
end
|
9025
9070
|
|
@@ -9055,8 +9100,8 @@ module ActionView::Helpers::OutputSafetyHelper
|
|
9055
9100
|
#
|
9056
9101
|
# For example:
|
9057
9102
|
#
|
9058
|
-
#
|
9059
|
-
#
|
9103
|
+
# raw @user.name
|
9104
|
+
# # => 'Jimmy <alert>Tables</alert>'
|
9060
9105
|
#
|
9061
9106
|
# source://actionview//lib/action_view/helpers/output_safety_helper.rb#18
|
9062
9107
|
def raw(stringish); end
|
@@ -9344,55 +9389,55 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods
|
|
9344
9389
|
# source://actionview//lib/action_view/helpers/sanitize_helper.rb#135
|
9345
9390
|
def sanitized_allowed_attributes; end
|
9346
9391
|
|
9347
|
-
# source://rails-html-sanitizer/1.
|
9392
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#34
|
9348
9393
|
def sanitized_allowed_attributes=(attributes); end
|
9349
9394
|
|
9350
|
-
# source://rails-html-sanitizer/1.
|
9395
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#47
|
9351
9396
|
def sanitized_allowed_css_keywords; end
|
9352
9397
|
|
9353
|
-
# source://rails-html-sanitizer/1.
|
9398
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#48
|
9354
9399
|
def sanitized_allowed_css_keywords=(_); end
|
9355
9400
|
|
9356
|
-
# source://rails-html-sanitizer/1.
|
9401
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#47
|
9357
9402
|
def sanitized_allowed_css_properties; end
|
9358
9403
|
|
9359
|
-
# source://rails-html-sanitizer/1.
|
9404
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#48
|
9360
9405
|
def sanitized_allowed_css_properties=(_); end
|
9361
9406
|
|
9362
|
-
# source://rails-html-sanitizer/1.
|
9407
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#47
|
9363
9408
|
def sanitized_allowed_protocols; end
|
9364
9409
|
|
9365
|
-
# source://rails-html-sanitizer/1.
|
9410
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#48
|
9366
9411
|
def sanitized_allowed_protocols=(_); end
|
9367
9412
|
|
9368
9413
|
# source://actionview//lib/action_view/helpers/sanitize_helper.rb#131
|
9369
9414
|
def sanitized_allowed_tags; end
|
9370
9415
|
|
9371
|
-
# source://rails-html-sanitizer/1.
|
9416
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#24
|
9372
9417
|
def sanitized_allowed_tags=(tags); end
|
9373
9418
|
|
9374
|
-
# source://rails-html-sanitizer/1.
|
9419
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#47
|
9375
9420
|
def sanitized_bad_tags; end
|
9376
9421
|
|
9377
|
-
# source://rails-html-sanitizer/1.
|
9422
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#48
|
9378
9423
|
def sanitized_bad_tags=(_); end
|
9379
9424
|
|
9380
|
-
# source://rails-html-sanitizer/1.
|
9425
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#47
|
9381
9426
|
def sanitized_protocol_separator; end
|
9382
9427
|
|
9383
|
-
# source://rails-html-sanitizer/1.
|
9428
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#48
|
9384
9429
|
def sanitized_protocol_separator=(_); end
|
9385
9430
|
|
9386
|
-
# source://rails-html-sanitizer/1.
|
9431
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#47
|
9387
9432
|
def sanitized_shorthand_css_properties; end
|
9388
9433
|
|
9389
|
-
# source://rails-html-sanitizer/1.
|
9434
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#48
|
9390
9435
|
def sanitized_shorthand_css_properties=(_); end
|
9391
9436
|
|
9392
|
-
# source://rails-html-sanitizer/1.
|
9437
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#47
|
9393
9438
|
def sanitized_uri_attributes; end
|
9394
9439
|
|
9395
|
-
# source://rails-html-sanitizer/1.
|
9440
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#48
|
9396
9441
|
def sanitized_uri_attributes=(_); end
|
9397
9442
|
|
9398
9443
|
# source://actionview//lib/action_view/helpers/sanitize_helper.rb#127
|
@@ -9400,7 +9445,7 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods
|
|
9400
9445
|
|
9401
9446
|
private
|
9402
9447
|
|
9403
|
-
# source://rails-html-sanitizer/1.
|
9448
|
+
# source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#52
|
9404
9449
|
def deprecate_option(name); end
|
9405
9450
|
end
|
9406
9451
|
|
@@ -10687,7 +10732,7 @@ module ActionView::Helpers::TranslationHelper
|
|
10687
10732
|
|
10688
10733
|
# Delegates to <tt>I18n.localize</tt> with no additional functionality.
|
10689
10734
|
#
|
10690
|
-
# See https://www.rubydoc.info/
|
10735
|
+
# See https://www.rubydoc.info/gems/i18n/I18n/Backend/Base:localize
|
10691
10736
|
# for more information.
|
10692
10737
|
#
|
10693
10738
|
# source://actionview//lib/action_view/helpers/translation_helper.rb#116
|
@@ -10695,7 +10740,7 @@ module ActionView::Helpers::TranslationHelper
|
|
10695
10740
|
|
10696
10741
|
# Delegates to <tt>I18n.localize</tt> with no additional functionality.
|
10697
10742
|
#
|
10698
|
-
# See https://www.rubydoc.info/
|
10743
|
+
# See https://www.rubydoc.info/gems/i18n/I18n/Backend/Base:localize
|
10699
10744
|
# for more information.
|
10700
10745
|
#
|
10701
10746
|
# source://actionview//lib/action_view/helpers/translation_helper.rb#116
|
@@ -10829,7 +10874,7 @@ module ActionView::Helpers::TranslationHelper
|
|
10829
10874
|
end
|
10830
10875
|
|
10831
10876
|
# source://actionview//lib/action_view/helpers/translation_helper.rb#122
|
10832
|
-
ActionView::Helpers::TranslationHelper::MISSING_TRANSLATION = T.let(T.unsafe(nil),
|
10877
|
+
ActionView::Helpers::TranslationHelper::MISSING_TRANSLATION = T.let(T.unsafe(nil), Integer)
|
10833
10878
|
|
10834
10879
|
# source://actionview//lib/action_view/helpers/translation_helper.rb#125
|
10835
10880
|
ActionView::Helpers::TranslationHelper::NO_DEFAULT = T.let(T.unsafe(nil), Array)
|
@@ -11222,7 +11267,7 @@ module ActionView::Helpers::UrlHelper
|
|
11222
11267
|
# * <tt>:body</tt> - Preset the body of the email.
|
11223
11268
|
# * <tt>:cc</tt> - Carbon Copy additional recipients on the email.
|
11224
11269
|
# * <tt>:bcc</tt> - Blind Carbon Copy additional recipients on the email.
|
11225
|
-
# * <tt>:reply_to</tt> - Preset the Reply-To field of the email.
|
11270
|
+
# * <tt>:reply_to</tt> - Preset the +Reply-To+ field of the email.
|
11226
11271
|
#
|
11227
11272
|
# ==== Obfuscation
|
11228
11273
|
# Prior to Rails 4.0, +mail_to+ provided options for encoding the address
|
@@ -12247,7 +12292,7 @@ class ActionView::OutputBuffer < ::ActiveSupport::SafeBuffer
|
|
12247
12292
|
# source://actionview//lib/action_view/buffers.rb#27
|
12248
12293
|
def append=(value); end
|
12249
12294
|
|
12250
|
-
# source://activesupport/7.0.
|
12295
|
+
# source://activesupport/7.0.8.7/lib/active_support/core_ext/string/output_safety.rb#195
|
12251
12296
|
def safe_append=(value); end
|
12252
12297
|
|
12253
12298
|
# source://actionview//lib/action_view/buffers.rb#33
|
@@ -12664,7 +12709,7 @@ end
|
|
12664
12709
|
# source://actionview//lib/action_view/railtie.rb#8
|
12665
12710
|
class ActionView::Railtie < ::Rails::Engine
|
12666
12711
|
class << self
|
12667
|
-
# source://activesupport/7.0.
|
12712
|
+
# source://activesupport/7.0.8.7/lib/active_support/callbacks.rb#68
|
12668
12713
|
def __callbacks; end
|
12669
12714
|
end
|
12670
12715
|
end
|
@@ -13699,29 +13744,29 @@ end
|
|
13699
13744
|
#
|
13700
13745
|
# source://actionview//lib/action_view/template/resolver.rb#12
|
13701
13746
|
class ActionView::Resolver
|
13702
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
13747
|
+
# source://actionview//lib/action_view/template/resolver.rb#68
|
13703
13748
|
def all_template_paths; end
|
13704
13749
|
|
13705
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
13750
|
+
# source://actionview//lib/action_view/template/resolver.rb#54
|
13706
13751
|
def caching; end
|
13707
13752
|
|
13708
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
13753
|
+
# source://actionview//lib/action_view/template/resolver.rb#54
|
13709
13754
|
def caching=(val); end
|
13710
13755
|
|
13711
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
13756
|
+
# source://actionview//lib/action_view/template/resolver.rb#78
|
13712
13757
|
def caching?(*_arg0, **_arg1, &_arg2); end
|
13713
13758
|
|
13714
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
13759
|
+
# source://actionview//lib/action_view/template/resolver.rb#60
|
13715
13760
|
def clear_cache; end
|
13716
13761
|
|
13717
13762
|
# Normalizes the arguments and passes it on to find_templates.
|
13718
13763
|
#
|
13719
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
13764
|
+
# source://actionview//lib/action_view/template/resolver.rb#64
|
13720
13765
|
def find_all(name, prefix = T.unsafe(nil), partial = T.unsafe(nil), details = T.unsafe(nil), key = T.unsafe(nil), locals = T.unsafe(nil)); end
|
13721
13766
|
|
13722
13767
|
private
|
13723
13768
|
|
13724
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
13769
|
+
# source://actionview//lib/action_view/template/resolver.rb#74
|
13725
13770
|
def _find_all(name, prefix, partial, details, key, locals); end
|
13726
13771
|
|
13727
13772
|
# This is what child classes implement. No defaults are needed
|
@@ -13730,17 +13775,17 @@ class ActionView::Resolver
|
|
13730
13775
|
#
|
13731
13776
|
# @raise [NotImplementedError]
|
13732
13777
|
#
|
13733
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
13778
|
+
# source://actionview//lib/action_view/template/resolver.rb#83
|
13734
13779
|
def find_templates(name, prefix, partial, details, locals = T.unsafe(nil)); end
|
13735
13780
|
|
13736
13781
|
class << self
|
13737
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
13782
|
+
# source://actionview//lib/action_view/template/resolver.rb#54
|
13738
13783
|
def caching; end
|
13739
13784
|
|
13740
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
13785
|
+
# source://actionview//lib/action_view/template/resolver.rb#54
|
13741
13786
|
def caching=(val); end
|
13742
13787
|
|
13743
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
13788
|
+
# source://actionview//lib/action_view/template/resolver.rb#54
|
13744
13789
|
def caching?; end
|
13745
13790
|
end
|
13746
13791
|
end
|
@@ -13753,7 +13798,7 @@ class ActionView::Resolver::PathParser
|
|
13753
13798
|
# source://actionview//lib/action_view/template/resolver.rb#19
|
13754
13799
|
def build_path_regex; end
|
13755
13800
|
|
13756
|
-
# source://actionview//lib/action_view/template/resolver.rb#
|
13801
|
+
# source://actionview//lib/action_view/template/resolver.rb#40
|
13757
13802
|
def parse(path); end
|
13758
13803
|
end
|
13759
13804
|
|
@@ -13794,19 +13839,19 @@ end
|
|
13794
13839
|
module ActionView::RoutingUrlFor
|
13795
13840
|
include ::ActionDispatch::Routing::PolymorphicRoutes
|
13796
13841
|
|
13797
|
-
# source://actionpack/7.0.
|
13842
|
+
# source://actionpack/7.0.8.7/lib/action_dispatch/routing/url_for.rb#97
|
13798
13843
|
def default_url_options=(val); end
|
13799
13844
|
|
13800
13845
|
# Returns the URL for the set of +options+ provided. This takes the
|
13801
13846
|
# same options as +url_for+ in Action Controller (see the
|
13802
|
-
# documentation for
|
13803
|
-
# <tt>:only_path</tt> is <tt>true</tt> so you'll get the relative "/controller/action"
|
13804
|
-
# instead of the fully qualified URL like "http://example.com/controller/action"
|
13847
|
+
# documentation for ActionDispatch::Routing::UrlFor#url_for). Note that by default
|
13848
|
+
# <tt>:only_path</tt> is <tt>true</tt> so you'll get the relative <tt>"/controller/action"</tt>
|
13849
|
+
# instead of the fully qualified URL like <tt>"http://example.com/controller/action"</tt>.
|
13805
13850
|
#
|
13806
13851
|
# ==== Options
|
13807
13852
|
# * <tt>:anchor</tt> - Specifies the anchor name to be appended to the path.
|
13808
13853
|
# * <tt>:only_path</tt> - If true, returns the relative URL (omitting the protocol, host name, and port) (<tt>true</tt> by default unless <tt>:host</tt> is specified).
|
13809
|
-
# * <tt>:trailing_slash</tt> - If true, adds a trailing slash, as in "/archive/2005/"
|
13854
|
+
# * <tt>:trailing_slash</tt> - If true, adds a trailing slash, as in <tt>"/archive/2005/"</tt>. Note that this
|
13810
13855
|
# is currently not recommended since it breaks caching.
|
13811
13856
|
# * <tt>:host</tt> - Overrides the default (current) host if provided.
|
13812
13857
|
# * <tt>:protocol</tt> - Overrides the default (current) protocol if provided.
|
@@ -13840,6 +13885,9 @@ module ActionView::RoutingUrlFor
|
|
13840
13885
|
# <%= url_for(action: 'jump', anchor: 'tax&ship') %>
|
13841
13886
|
# # => /testing/jump/#tax&ship
|
13842
13887
|
#
|
13888
|
+
# <%= url_for(Workshop) %>
|
13889
|
+
# # => /workshops
|
13890
|
+
#
|
13843
13891
|
# <%= url_for(Workshop.new) %>
|
13844
13892
|
# # relies on Workshop answering a persisted? call (and in this case returning false)
|
13845
13893
|
# # => /workshops
|
@@ -13870,30 +13918,30 @@ module ActionView::RoutingUrlFor
|
|
13870
13918
|
# # Specify absolute path with beginning slash
|
13871
13919
|
# # => /users
|
13872
13920
|
#
|
13873
|
-
# source://actionview//lib/action_view/routing_url_for.rb#
|
13921
|
+
# source://actionview//lib/action_view/routing_url_for.rb#82
|
13874
13922
|
def url_for(options = T.unsafe(nil)); end
|
13875
13923
|
|
13876
|
-
# source://actionview//lib/action_view/routing_url_for.rb#
|
13924
|
+
# source://actionview//lib/action_view/routing_url_for.rb#124
|
13877
13925
|
def url_options; end
|
13878
13926
|
|
13879
13927
|
private
|
13880
13928
|
|
13881
|
-
# source://actionview//lib/action_view/routing_url_for.rb#
|
13929
|
+
# source://actionview//lib/action_view/routing_url_for.rb#139
|
13882
13930
|
def _generate_paths_by_default; end
|
13883
13931
|
|
13884
|
-
# source://actionview//lib/action_view/routing_url_for.rb#
|
13932
|
+
# source://actionview//lib/action_view/routing_url_for.rb#130
|
13885
13933
|
def _routes_context; end
|
13886
13934
|
|
13887
|
-
# source://actionview//lib/action_view/routing_url_for.rb#
|
13935
|
+
# source://actionview//lib/action_view/routing_url_for.rb#143
|
13888
13936
|
def ensure_only_path_option(options); end
|
13889
13937
|
|
13890
13938
|
# @return [Boolean]
|
13891
13939
|
#
|
13892
|
-
# source://actionview//lib/action_view/routing_url_for.rb#
|
13940
|
+
# source://actionview//lib/action_view/routing_url_for.rb#134
|
13893
13941
|
def optimize_routes_generation?; end
|
13894
13942
|
|
13895
13943
|
class << self
|
13896
|
-
# source://actionpack/7.0.
|
13944
|
+
# source://actionpack/7.0.8.7/lib/action_dispatch/routing/url_for.rb#97
|
13897
13945
|
def default_url_options=(val); end
|
13898
13946
|
end
|
13899
13947
|
end
|
@@ -14839,14 +14887,6 @@ end
|
|
14839
14887
|
#
|
14840
14888
|
# source://actionview//lib/action_view/test_case.rb#12
|
14841
14889
|
class ActionView::TestCase < ::ActiveSupport::TestCase
|
14842
|
-
include ::ActionDispatch::TestProcess::FixtureFile
|
14843
|
-
include ::ActionDispatch::TestProcess
|
14844
|
-
include ::ActionDispatch::Assertions::ResponseAssertions
|
14845
|
-
include ::ActionDispatch::Assertions::RoutingAssertions
|
14846
|
-
include ::Rails::Dom::Testing::Assertions::DomAssertions
|
14847
|
-
include ::Rails::Dom::Testing::Assertions::SelectorAssertions::CountDescribable
|
14848
|
-
include ::Rails::Dom::Testing::Assertions::SelectorAssertions
|
14849
|
-
include ::Rails::Dom::Testing::Assertions
|
14850
14890
|
include ::AbstractController::Helpers
|
14851
14891
|
include ::ActiveSupport::Benchmarkable
|
14852
14892
|
include ::ActionView::Helpers::ActiveModelHelper
|
@@ -14866,6 +14906,13 @@ class ActionView::TestCase < ::ActiveSupport::TestCase
|
|
14866
14906
|
include ::ActionView::Helpers::DebugHelper
|
14867
14907
|
include ::ActionView::Helpers::TextHelper
|
14868
14908
|
include ::ActionView::Helpers::FormTagHelper
|
14909
|
+
include ::ActionDispatch::TestProcess::FixtureFile
|
14910
|
+
include ::ActionDispatch::TestProcess
|
14911
|
+
include ::ActionDispatch::Assertions::ResponseAssertions
|
14912
|
+
include ::ActionDispatch::Assertions::RoutingAssertions
|
14913
|
+
include ::Rails::Dom::Testing::Assertions::DomAssertions
|
14914
|
+
include ::Rails::Dom::Testing::Assertions::SelectorAssertions
|
14915
|
+
include ::Rails::Dom::Testing::Assertions
|
14869
14916
|
include ::ActionDispatch::Assertions
|
14870
14917
|
include ::ActionController::TemplateAssertions
|
14871
14918
|
include ::ActionView::Context
|
@@ -14889,13 +14936,13 @@ class ActionView::TestCase < ::ActiveSupport::TestCase
|
|
14889
14936
|
extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods
|
14890
14937
|
extend ::ActionView::TestCase::Behavior::ClassMethods
|
14891
14938
|
|
14892
|
-
# source://actionpack/7.0.
|
14939
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/helpers.rb#11
|
14893
14940
|
def _helper_methods; end
|
14894
14941
|
|
14895
|
-
# source://actionpack/7.0.
|
14942
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/helpers.rb#11
|
14896
14943
|
def _helper_methods=(_arg0); end
|
14897
14944
|
|
14898
|
-
# source://actionpack/7.0.
|
14945
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/helpers.rb#11
|
14899
14946
|
def _helper_methods?; end
|
14900
14947
|
|
14901
14948
|
# source://actionview//lib/action_view/helpers/translation_helper.rb#18
|
@@ -14905,19 +14952,19 @@ class ActionView::TestCase < ::ActiveSupport::TestCase
|
|
14905
14952
|
def debug_missing_translation=(val); end
|
14906
14953
|
|
14907
14954
|
class << self
|
14908
|
-
# source://activesupport/7.0.
|
14955
|
+
# source://activesupport/7.0.8.7/lib/active_support/callbacks.rb#68
|
14909
14956
|
def __callbacks; end
|
14910
14957
|
|
14911
|
-
# source://actionpack/7.0.
|
14958
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/helpers.rb#11
|
14912
14959
|
def _helper_methods; end
|
14913
14960
|
|
14914
|
-
# source://actionpack/7.0.
|
14961
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/helpers.rb#11
|
14915
14962
|
def _helper_methods=(value); end
|
14916
14963
|
|
14917
|
-
# source://actionpack/7.0.
|
14964
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/helpers.rb#11
|
14918
14965
|
def _helper_methods?; end
|
14919
14966
|
|
14920
|
-
# source://actionpack/7.0.
|
14967
|
+
# source://actionpack/7.0.8.7/lib/abstract_controller/helpers.rb#15
|
14921
14968
|
def _helpers; end
|
14922
14969
|
|
14923
14970
|
# source://actionview//lib/action_view/helpers/translation_helper.rb#18
|
@@ -14935,7 +14982,6 @@ module ActionView::TestCase::Behavior
|
|
14935
14982
|
include ::ActionDispatch::Assertions::ResponseAssertions
|
14936
14983
|
include ::ActionDispatch::Assertions::RoutingAssertions
|
14937
14984
|
include ::Rails::Dom::Testing::Assertions::DomAssertions
|
14938
|
-
include ::Rails::Dom::Testing::Assertions::SelectorAssertions::CountDescribable
|
14939
14985
|
include ::Rails::Dom::Testing::Assertions::SelectorAssertions
|
14940
14986
|
include ::Rails::Dom::Testing::Assertions
|
14941
14987
|
include ::ActionDispatch::Assertions
|
@@ -14948,7 +14994,6 @@ module ActionView::TestCase::Behavior
|
|
14948
14994
|
include ::ActionView::RoutingUrlFor
|
14949
14995
|
extend ::ActiveSupport::Concern
|
14950
14996
|
include GeneratedInstanceMethods
|
14951
|
-
include ::Rails::Dom::Testing::Assertions
|
14952
14997
|
include ::AbstractController::Helpers
|
14953
14998
|
include ::ActionView::Helpers::UrlHelper
|
14954
14999
|
include ::ActionView::Helpers::SanitizeHelper
|
@@ -15233,7 +15278,7 @@ class ActionView::TestCase::TestController < ::ActionController::Base
|
|
15233
15278
|
# source://actionview//lib/action_view/test_case.rb#20
|
15234
15279
|
def controller_path=(_arg0); end
|
15235
15280
|
|
15236
|
-
# source://actionpack/7.0.
|
15281
|
+
# source://actionpack/7.0.8.7/lib/action_controller/metal.rb#210
|
15237
15282
|
def middleware_stack; end
|
15238
15283
|
end
|
15239
15284
|
end
|