lazy_migrate 0.1.0 → 0.2.0
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/.gitignore +4 -0
- data/Appraisals +9 -0
- data/Gemfile.lock +133 -4
- data/Guardfile +39 -0
- data/README.md +56 -6
- data/Rakefile +1 -3
- data/bin/exe/lazy_migrate +14 -1
- data/gemfiles/.bundle/config +2 -0
- data/gemfiles/rails_5_1_5.gemfile +8 -0
- data/gemfiles/rails_5_1_5.gemfile.lock +170 -0
- data/gemfiles/rails_5_2_4_3.gemfile +8 -0
- data/gemfiles/rails_5_2_4_3.gemfile.lock +178 -0
- data/github/demo.gif +0 -0
- data/lazy_migrate.gemspec +9 -3
- data/lib/lazy_migrate.rb +6 -2
- data/lib/lazy_migrate/client.rb +123 -0
- data/lib/lazy_migrate/migration.rb +14 -0
- data/lib/lazy_migrate/migrator_adapter.rb +144 -0
- data/lib/lazy_migrate/migrator_adapter_factory.rb +24 -0
- data/lib/lazy_migrate/new_migrator_adapter.rb +85 -0
- data/lib/lazy_migrate/old_migrator_adapter.rb +97 -0
- data/lib/lazy_migrate/version.rb +2 -1
- data/lib/tasks/lazy_migrate.rake +10 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/actioncable.rbi +393 -0
- data/sorbet/rbi/gems/actionmailer.rbi +425 -0
- data/sorbet/rbi/gems/actionpack.rbi +3230 -0
- data/sorbet/rbi/gems/actionview.rbi +1153 -0
- data/sorbet/rbi/gems/activejob.rbi +282 -0
- data/sorbet/rbi/gems/activemodel.rbi +742 -0
- data/sorbet/rbi/gems/activerecord.rbi +4004 -0
- data/sorbet/rbi/gems/activestorage.rbi +174 -0
- data/sorbet/rbi/gems/activesupport.rbi +2300 -0
- data/sorbet/rbi/gems/appraisal.rbi +151 -0
- data/sorbet/rbi/gems/arel.rbi +1253 -0
- data/sorbet/rbi/gems/byebug.rbi +1041 -0
- data/sorbet/rbi/gems/coderay.rbi +92 -0
- data/sorbet/rbi/gems/concurrent-ruby.rbi +1586 -0
- data/sorbet/rbi/gems/crass.rbi +93 -0
- data/sorbet/rbi/gems/erubi.rbi +27 -0
- data/sorbet/rbi/gems/globalid.rbi +99 -0
- data/sorbet/rbi/gems/i18n.rbi +192 -0
- data/sorbet/rbi/gems/loofah.rbi +131 -0
- data/sorbet/rbi/gems/mail.rbi +1092 -0
- data/sorbet/rbi/gems/marcel.rbi +13 -0
- data/sorbet/rbi/gems/method_source.rbi +64 -0
- data/sorbet/rbi/gems/mini_mime.rbi +52 -0
- data/sorbet/rbi/gems/minitest.rbi +282 -0
- data/sorbet/rbi/gems/nio4r.rbi +68 -0
- data/sorbet/rbi/gems/nokogiri.rbi +1011 -0
- data/sorbet/rbi/gems/pastel.rbi +119 -0
- data/sorbet/rbi/gems/pry-byebug.rbi +155 -0
- data/sorbet/rbi/gems/pry.rbi +1949 -0
- data/sorbet/rbi/gems/rack-test.rbi +162 -0
- data/sorbet/rbi/gems/rack.rbi +525 -0
- data/sorbet/rbi/gems/rails-dom-testing.rbi +68 -0
- data/sorbet/rbi/gems/rails-html-sanitizer.rbi +92 -0
- data/sorbet/rbi/gems/railties.rbi +724 -0
- data/sorbet/rbi/gems/rake.rbi +666 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1939 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1123 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1090 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/sprockets-rails.rbi +106 -0
- data/sorbet/rbi/gems/sprockets.rbi +755 -0
- data/sorbet/rbi/gems/sqlite3.rbi +354 -0
- data/sorbet/rbi/gems/thor.rbi +580 -0
- data/sorbet/rbi/gems/thread_safe.rbi +82 -0
- data/sorbet/rbi/gems/tty-color.rbi +44 -0
- data/sorbet/rbi/gems/tty-cursor.rbi +72 -0
- data/sorbet/rbi/gems/tty-prompt.rbi +531 -0
- data/sorbet/rbi/gems/tty-reader.rbi +176 -0
- data/sorbet/rbi/gems/tty-screen.rbi +66 -0
- data/sorbet/rbi/gems/tzinfo.rbi +406 -0
- data/sorbet/rbi/gems/websocket-driver.rbi +103 -0
- data/sorbet/rbi/gems/websocket-extensions.rbi +29 -0
- data/sorbet/rbi/gems/wisper.rbi +130 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +7584 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +13328 -0
- data/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
- data/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +954 -0
- data/sorbet/rbi/sorbet-typed/lib/actionview/all/actionview.rbi +321 -0
- data/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +597 -0
- data/sorbet/rbi/sorbet-typed/lib/activerecord/<6/activerecord.rbi +13 -0
- data/sorbet/rbi/sorbet-typed/lib/activerecord/>=5.2/activerecord.rbi +16 -0
- data/sorbet/rbi/sorbet-typed/lib/activerecord/>=5/activerecord.rbi +53 -0
- data/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1454 -0
- data/sorbet/rbi/sorbet-typed/lib/activerecord/all/model_schema.rbi +79 -0
- data/sorbet/rbi/sorbet-typed/lib/activerecord/all/sanitization.rbi +36 -0
- data/sorbet/rbi/sorbet-typed/lib/activerecord/~>5.2.0/activerecord.rbi +447 -0
- data/sorbet/rbi/sorbet-typed/lib/activestorage/<=6.1/activestorage.rbi +82 -0
- data/sorbet/rbi/sorbet-typed/lib/activestorage/all/activestorage.rbi +177 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1431 -0
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
- data/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +25 -0
- data/sorbet/rbi/todo.rbi +18 -0
- data/sorbet/rbi/user-defined/activerecord.rbi +56 -0
- metadata +181 -7
- data/lib/lazy_migrate/migrator.rb +0 -186
@@ -0,0 +1,1153 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: true
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/actionview/all/actionview.rbi
|
9
|
+
#
|
10
|
+
# actionview-5.2.4.3
|
11
|
+
|
12
|
+
module ActionView
|
13
|
+
def self.eager_load!; end
|
14
|
+
def self.gem_version; end
|
15
|
+
def self.version; end
|
16
|
+
extend ActiveSupport::Autoload
|
17
|
+
end
|
18
|
+
module ActionView::VERSION
|
19
|
+
end
|
20
|
+
module ActionView::ViewPaths
|
21
|
+
def _prefixes; end
|
22
|
+
def any_templates?(*args, &block); end
|
23
|
+
def append_view_path(path); end
|
24
|
+
def details_for_lookup; end
|
25
|
+
def formats(*args, &block); end
|
26
|
+
def formats=(arg); end
|
27
|
+
def locale(*args, &block); end
|
28
|
+
def locale=(arg); end
|
29
|
+
def lookup_context; end
|
30
|
+
def prepend_view_path(path); end
|
31
|
+
def template_exists?(*args, &block); end
|
32
|
+
def view_paths(*args, &block); end
|
33
|
+
extend ActiveSupport::Concern
|
34
|
+
end
|
35
|
+
module ActionView::ViewPaths::ClassMethods
|
36
|
+
def _prefixes; end
|
37
|
+
def append_view_path(path); end
|
38
|
+
def local_prefixes; end
|
39
|
+
def prepend_view_path(path); end
|
40
|
+
def view_paths; end
|
41
|
+
def view_paths=(paths); end
|
42
|
+
end
|
43
|
+
class ActionView::PathSet
|
44
|
+
def +(array); end
|
45
|
+
def <<(*args); end
|
46
|
+
def [](*args, &block); end
|
47
|
+
def _find_all(path, prefixes, args, outside_app); end
|
48
|
+
def compact; end
|
49
|
+
def concat(*args); end
|
50
|
+
def each(*args, &block); end
|
51
|
+
def exists?(path, prefixes, *args); end
|
52
|
+
def find(*args); end
|
53
|
+
def find_all(path, prefixes = nil, *args); end
|
54
|
+
def find_all_with_query(query); end
|
55
|
+
def find_file(path, prefixes = nil, *args); end
|
56
|
+
def include?(*args, &block); end
|
57
|
+
def initialize(paths = nil); end
|
58
|
+
def initialize_copy(other); end
|
59
|
+
def insert(*args); end
|
60
|
+
def paths; end
|
61
|
+
def pop(*args, &block); end
|
62
|
+
def push(*args); end
|
63
|
+
def size(*args, &block); end
|
64
|
+
def to_ary; end
|
65
|
+
def typecast(paths); end
|
66
|
+
def unshift(*args); end
|
67
|
+
include Enumerable
|
68
|
+
end
|
69
|
+
class ActionView::I18nProxy < I18n::Config
|
70
|
+
def initialize(original_config, lookup_context); end
|
71
|
+
def locale; end
|
72
|
+
def locale=(value); end
|
73
|
+
def lookup_context; end
|
74
|
+
def original_config; end
|
75
|
+
end
|
76
|
+
module ActionView::Rendering
|
77
|
+
def _normalize_args(action = nil, options = nil); end
|
78
|
+
def _normalize_options(options); end
|
79
|
+
def _process_format(format); end
|
80
|
+
def _render_template(options); end
|
81
|
+
def process(*arg0); end
|
82
|
+
def render_to_body(options = nil); end
|
83
|
+
def rendered_format; end
|
84
|
+
def view_context; end
|
85
|
+
def view_context_class; end
|
86
|
+
def view_context_class=(arg0); end
|
87
|
+
def view_renderer; end
|
88
|
+
extend ActiveSupport::Concern
|
89
|
+
include ActionView::ViewPaths
|
90
|
+
end
|
91
|
+
module ActionView::Rendering::ClassMethods
|
92
|
+
def view_context_class; end
|
93
|
+
end
|
94
|
+
module ActionView::Layouts
|
95
|
+
def _conditional_layout?; end
|
96
|
+
def _default_layout(formats, require_layout = nil); end
|
97
|
+
def _include_layout?(options); end
|
98
|
+
def _layout(*arg0); end
|
99
|
+
def _layout_conditions(*args, &block); end
|
100
|
+
def _layout_for_option(name); end
|
101
|
+
def _normalize_layout(value); end
|
102
|
+
def _normalize_options(options); end
|
103
|
+
def action_has_layout=(arg0); end
|
104
|
+
def action_has_layout?; end
|
105
|
+
def initialize(*arg0); end
|
106
|
+
extend ActiveSupport::Concern
|
107
|
+
include ActionView::Rendering
|
108
|
+
end
|
109
|
+
module ActionView::Layouts::ClassMethods
|
110
|
+
def _implied_layout_name; end
|
111
|
+
def _write_layout_method; end
|
112
|
+
def inherited(klass); end
|
113
|
+
def layout(layout, conditions = nil); end
|
114
|
+
end
|
115
|
+
module ActionView::Layouts::ClassMethods::LayoutConditions
|
116
|
+
def _conditional_layout?; end
|
117
|
+
end
|
118
|
+
class ActionView::Railtie < Rails::Engine
|
119
|
+
end
|
120
|
+
class ActionView::LogSubscriber < ActiveSupport::LogSubscriber
|
121
|
+
end
|
122
|
+
module ActionView::Helpers
|
123
|
+
def self.eager_load!; end
|
124
|
+
extend ActiveSupport::Autoload
|
125
|
+
extend ActiveSupport::Concern
|
126
|
+
include ActionView::Helpers::ActiveModelHelper
|
127
|
+
include ActionView::Helpers::AssetTagHelper
|
128
|
+
include ActionView::Helpers::AssetUrlHelper
|
129
|
+
include ActionView::Helpers::AtomFeedHelper
|
130
|
+
include ActionView::Helpers::CacheHelper
|
131
|
+
include ActionView::Helpers::CaptureHelper
|
132
|
+
include ActionView::Helpers::ControllerHelper
|
133
|
+
include ActionView::Helpers::CspHelper
|
134
|
+
include ActionView::Helpers::CsrfHelper
|
135
|
+
include ActionView::Helpers::DateHelper
|
136
|
+
include ActionView::Helpers::DebugHelper
|
137
|
+
include ActionView::Helpers::FormHelper
|
138
|
+
include ActionView::Helpers::FormOptionsHelper
|
139
|
+
include ActionView::Helpers::FormTagHelper
|
140
|
+
include ActionView::Helpers::JavaScriptHelper
|
141
|
+
include ActionView::Helpers::NumberHelper
|
142
|
+
include ActionView::Helpers::OutputSafetyHelper
|
143
|
+
include ActionView::Helpers::RecordTagHelper
|
144
|
+
include ActionView::Helpers::RenderingHelper
|
145
|
+
include ActionView::Helpers::SanitizeHelper
|
146
|
+
include ActionView::Helpers::TagHelper
|
147
|
+
include ActionView::Helpers::TextHelper
|
148
|
+
include ActionView::Helpers::TranslationHelper
|
149
|
+
include ActionView::Helpers::UrlHelper
|
150
|
+
include ActiveSupport::Benchmarkable
|
151
|
+
end
|
152
|
+
module ActionView::Helpers::ActiveModelHelper
|
153
|
+
end
|
154
|
+
module ActionView::Helpers::ActiveModelInstanceTag
|
155
|
+
def content_tag(type, options, *arg2); end
|
156
|
+
def error_message; end
|
157
|
+
def error_wrapping(html_tag); end
|
158
|
+
def object; end
|
159
|
+
def object_has_errors?; end
|
160
|
+
def select_markup_helper?(type); end
|
161
|
+
def tag(type, options, *arg2); end
|
162
|
+
def tag_generate_errors?(options); end
|
163
|
+
end
|
164
|
+
module ActionView::Helpers::AssetUrlHelper
|
165
|
+
def asset_path(source, options = nil); end
|
166
|
+
def asset_url(source, options = nil); end
|
167
|
+
def audio_path(source, options = nil); end
|
168
|
+
def audio_url(source, options = nil); end
|
169
|
+
def compute_asset_extname(source, options = nil); end
|
170
|
+
def compute_asset_host(source = nil, options = nil); end
|
171
|
+
def compute_asset_path(source, options = nil); end
|
172
|
+
def font_path(source, options = nil); end
|
173
|
+
def font_url(source, options = nil); end
|
174
|
+
def image_path(source, options = nil); end
|
175
|
+
def image_url(source, options = nil); end
|
176
|
+
def javascript_path(source, options = nil); end
|
177
|
+
def javascript_url(source, options = nil); end
|
178
|
+
def path_to_asset(source, options = nil); end
|
179
|
+
def path_to_audio(source, options = nil); end
|
180
|
+
def path_to_font(source, options = nil); end
|
181
|
+
def path_to_image(source, options = nil); end
|
182
|
+
def path_to_javascript(source, options = nil); end
|
183
|
+
def path_to_stylesheet(source, options = nil); end
|
184
|
+
def path_to_video(source, options = nil); end
|
185
|
+
def public_compute_asset_path(source, options = nil); end
|
186
|
+
def stylesheet_path(source, options = nil); end
|
187
|
+
def stylesheet_url(source, options = nil); end
|
188
|
+
def url_to_asset(source, options = nil); end
|
189
|
+
def url_to_audio(source, options = nil); end
|
190
|
+
def url_to_font(source, options = nil); end
|
191
|
+
def url_to_image(source, options = nil); end
|
192
|
+
def url_to_javascript(source, options = nil); end
|
193
|
+
def url_to_stylesheet(source, options = nil); end
|
194
|
+
def url_to_video(source, options = nil); end
|
195
|
+
def video_path(source, options = nil); end
|
196
|
+
def video_url(source, options = nil); end
|
197
|
+
end
|
198
|
+
module ActionView::Helpers::CaptureHelper
|
199
|
+
def capture(*args); end
|
200
|
+
def content_for(name, content = nil, options = nil, &block); end
|
201
|
+
def content_for?(name); end
|
202
|
+
def provide(name, content = nil, &block); end
|
203
|
+
def with_output_buffer(buf = nil); end
|
204
|
+
end
|
205
|
+
module ActionView::Helpers::OutputSafetyHelper
|
206
|
+
def raw(stringish); end
|
207
|
+
def safe_join(array, sep = nil); end
|
208
|
+
def to_sentence(array, options = nil); end
|
209
|
+
end
|
210
|
+
module ActionView::Helpers::TagHelper
|
211
|
+
def cdata_section(content); end
|
212
|
+
def content_tag(name, content_or_options_with_block = nil, options = nil, escape = nil, &block); end
|
213
|
+
def escape_once(html); end
|
214
|
+
def tag(name = nil, options = nil, open = nil, escape = nil); end
|
215
|
+
def tag_builder; end
|
216
|
+
extend ActiveSupport::Concern
|
217
|
+
include ActionView::Helpers::CaptureHelper
|
218
|
+
include ActionView::Helpers::OutputSafetyHelper
|
219
|
+
end
|
220
|
+
class ActionView::Helpers::TagHelper::TagBuilder
|
221
|
+
def boolean_tag_option(key); end
|
222
|
+
def content_tag_string(name, content, options, escape = nil); end
|
223
|
+
def initialize(view_context); end
|
224
|
+
def method_missing(called, *args, &block); end
|
225
|
+
def prefix_tag_option(prefix, key, value, escape); end
|
226
|
+
def respond_to_missing?(*args); end
|
227
|
+
def tag_option(key, value, escape); end
|
228
|
+
def tag_options(options, escape = nil); end
|
229
|
+
def tag_string(name, content = nil, escape_attributes: nil, **options, &block); end
|
230
|
+
include ActionView::Helpers::CaptureHelper
|
231
|
+
include ActionView::Helpers::OutputSafetyHelper
|
232
|
+
end
|
233
|
+
module ActionView::Helpers::AssetTagHelper
|
234
|
+
def audio_tag(*sources); end
|
235
|
+
def auto_discovery_link_tag(type = nil, url_options = nil, tag_options = nil); end
|
236
|
+
def check_for_image_tag_errors(options); end
|
237
|
+
def extract_dimensions(size); end
|
238
|
+
def favicon_link_tag(source = nil, options = nil); end
|
239
|
+
def image_alt(src); end
|
240
|
+
def image_tag(source, options = nil); end
|
241
|
+
def javascript_include_tag(*sources); end
|
242
|
+
def multiple_sources_tag_builder(type, sources); end
|
243
|
+
def preload_link_tag(source, options = nil); end
|
244
|
+
def resolve_image_source(source, skip_pipeline); end
|
245
|
+
def resolve_link_as(extname, mime_type); end
|
246
|
+
def stylesheet_link_tag(*sources); end
|
247
|
+
def video_tag(*sources); end
|
248
|
+
extend ActiveSupport::Concern
|
249
|
+
include ActionView::Helpers::AssetUrlHelper
|
250
|
+
include ActionView::Helpers::TagHelper
|
251
|
+
end
|
252
|
+
module ActionView::Helpers::AtomFeedHelper
|
253
|
+
def atom_feed(options = nil, &block); end
|
254
|
+
end
|
255
|
+
class ActionView::Helpers::AtomFeedHelper::AtomBuilder
|
256
|
+
def initialize(xml); end
|
257
|
+
def method_missing(method, *arguments, &block); end
|
258
|
+
def xhtml_block?(method, arguments); end
|
259
|
+
end
|
260
|
+
class ActionView::Helpers::AtomFeedHelper::AtomFeedBuilder < ActionView::Helpers::AtomFeedHelper::AtomBuilder
|
261
|
+
def entry(record, options = nil); end
|
262
|
+
def initialize(xml, view, feed_options = nil); end
|
263
|
+
def updated(date_or_time = nil); end
|
264
|
+
end
|
265
|
+
module ActionView::Helpers::CacheHelper
|
266
|
+
def cache(name = nil, options = nil, &block); end
|
267
|
+
def cache_fragment_name(name = nil, skip_digest: nil, virtual_path: nil); end
|
268
|
+
def cache_if(condition, name = nil, options = nil, &block); end
|
269
|
+
def cache_unless(condition, name = nil, options = nil, &block); end
|
270
|
+
def fragment_for(name = nil, options = nil, &block); end
|
271
|
+
def fragment_name_with_digest(name, virtual_path); end
|
272
|
+
def read_fragment_for(name, options); end
|
273
|
+
def write_fragment_for(name, options); end
|
274
|
+
end
|
275
|
+
module ActionView::Helpers::ControllerHelper
|
276
|
+
def action_name(*args, &block); end
|
277
|
+
def assign_controller(controller); end
|
278
|
+
def controller; end
|
279
|
+
def controller=(arg0); end
|
280
|
+
def controller_name(*args, &block); end
|
281
|
+
def controller_path(*args, &block); end
|
282
|
+
def cookies(*args, &block); end
|
283
|
+
def flash(*args, &block); end
|
284
|
+
def headers(*args, &block); end
|
285
|
+
def logger; end
|
286
|
+
def params(*args, &block); end
|
287
|
+
def request; end
|
288
|
+
def request=(arg0); end
|
289
|
+
def request_forgery_protection_token(*args, &block); end
|
290
|
+
def respond_to?(method_name, include_private = nil); end
|
291
|
+
def response(*args, &block); end
|
292
|
+
def session(*args, &block); end
|
293
|
+
end
|
294
|
+
module ActionView::Helpers::CspHelper
|
295
|
+
def csp_meta_tag; end
|
296
|
+
end
|
297
|
+
module ActionView::Helpers::CsrfHelper
|
298
|
+
def csrf_meta_tag; end
|
299
|
+
def csrf_meta_tags; end
|
300
|
+
end
|
301
|
+
module ActionView::Helpers::DateHelper
|
302
|
+
def date_select(object_name, method, options = nil, html_options = nil); end
|
303
|
+
def datetime_select(object_name, method, options = nil, html_options = nil); end
|
304
|
+
def distance_of_time_in_words(from_time, to_time = nil, options = nil); end
|
305
|
+
def distance_of_time_in_words_to_now(from_time, options = nil); end
|
306
|
+
def normalize_distance_of_time_argument_to_time(value); end
|
307
|
+
def select_date(date = nil, options = nil, html_options = nil); end
|
308
|
+
def select_datetime(datetime = nil, options = nil, html_options = nil); end
|
309
|
+
def select_day(date, options = nil, html_options = nil); end
|
310
|
+
def select_hour(datetime, options = nil, html_options = nil); end
|
311
|
+
def select_minute(datetime, options = nil, html_options = nil); end
|
312
|
+
def select_month(date, options = nil, html_options = nil); end
|
313
|
+
def select_second(datetime, options = nil, html_options = nil); end
|
314
|
+
def select_time(datetime = nil, options = nil, html_options = nil); end
|
315
|
+
def select_year(date, options = nil, html_options = nil); end
|
316
|
+
def time_ago_in_words(from_time, options = nil); end
|
317
|
+
def time_select(object_name, method, options = nil, html_options = nil); end
|
318
|
+
def time_tag(date_or_time, *args, &block); end
|
319
|
+
end
|
320
|
+
class ActionView::Helpers::DateTimeSelector
|
321
|
+
def build_hidden(type, value); end
|
322
|
+
def build_options(selected, options = nil); end
|
323
|
+
def build_options_and_select(type, selected, options = nil); end
|
324
|
+
def build_select(type, select_options_as_html); end
|
325
|
+
def build_selects_from_types(order); end
|
326
|
+
def css_class_attribute(type, html_options_class, options); end
|
327
|
+
def date_order; end
|
328
|
+
def day; end
|
329
|
+
def hour; end
|
330
|
+
def initialize(datetime, options = nil, html_options = nil); end
|
331
|
+
def input_id_from_type(type); end
|
332
|
+
def input_name_from_type(type); end
|
333
|
+
def min; end
|
334
|
+
def month; end
|
335
|
+
def month_name(number); end
|
336
|
+
def month_names; end
|
337
|
+
def prompt_option_tag(type, options); end
|
338
|
+
def sec; end
|
339
|
+
def select_date; end
|
340
|
+
def select_datetime; end
|
341
|
+
def select_day; end
|
342
|
+
def select_hour; end
|
343
|
+
def select_minute; end
|
344
|
+
def select_month; end
|
345
|
+
def select_second; end
|
346
|
+
def select_time; end
|
347
|
+
def select_year; end
|
348
|
+
def separator(type); end
|
349
|
+
def set_day_if_discarded; end
|
350
|
+
def translated_date_order; end
|
351
|
+
def translated_month_names; end
|
352
|
+
def year; end
|
353
|
+
include ActionView::Helpers::TagHelper
|
354
|
+
end
|
355
|
+
class ActionView::Helpers::FormBuilder
|
356
|
+
def button(value = nil, options = nil, &block); end
|
357
|
+
def check_box(method, options = nil, checked_value = nil, unchecked_value = nil); end
|
358
|
+
def collection_check_boxes(method, collection, value_method, text_method, options = nil, html_options = nil, &block); end
|
359
|
+
def collection_radio_buttons(method, collection, value_method, text_method, options = nil, html_options = nil, &block); end
|
360
|
+
def collection_select(method, collection, value_method, text_method, options = nil, html_options = nil); end
|
361
|
+
def color_field(method, options = nil); end
|
362
|
+
def convert_to_legacy_options(options); end
|
363
|
+
def date_field(method, options = nil); end
|
364
|
+
def date_select(method, options = nil, html_options = nil); end
|
365
|
+
def datetime_field(method, options = nil); end
|
366
|
+
def datetime_local_field(method, options = nil); end
|
367
|
+
def datetime_select(method, options = nil, html_options = nil); end
|
368
|
+
def email_field(method, options = nil); end
|
369
|
+
def emitted_hidden_id?; end
|
370
|
+
def field_helpers; end
|
371
|
+
def field_helpers=(val); end
|
372
|
+
def field_helpers?; end
|
373
|
+
def fields(scope = nil, model: nil, **options, &block); end
|
374
|
+
def fields_for(record_name, record_object = nil, fields_options = nil, &block); end
|
375
|
+
def fields_for_nested_model(name, object, fields_options, block); end
|
376
|
+
def fields_for_with_nested_attributes(association_name, association, options, block); end
|
377
|
+
def file_field(method, options = nil); end
|
378
|
+
def grouped_collection_select(method, collection, group_method, group_label_method, option_key_method, option_value_method, options = nil, html_options = nil); end
|
379
|
+
def hidden_field(method, options = nil); end
|
380
|
+
def index; end
|
381
|
+
def initialize(object_name, object, template, options); end
|
382
|
+
def label(method, text = nil, options = nil, &block); end
|
383
|
+
def month_field(method, options = nil); end
|
384
|
+
def multipart; end
|
385
|
+
def multipart=(multipart); end
|
386
|
+
def multipart?; end
|
387
|
+
def nested_attributes_association?(association_name); end
|
388
|
+
def nested_child_index(name); end
|
389
|
+
def number_field(method, options = nil); end
|
390
|
+
def object; end
|
391
|
+
def object=(arg0); end
|
392
|
+
def object_name; end
|
393
|
+
def object_name=(arg0); end
|
394
|
+
def objectify_options(options); end
|
395
|
+
def options; end
|
396
|
+
def options=(arg0); end
|
397
|
+
def password_field(method, options = nil); end
|
398
|
+
def phone_field(method, options = nil); end
|
399
|
+
def radio_button(method, tag_value, options = nil); end
|
400
|
+
def range_field(method, options = nil); end
|
401
|
+
def search_field(method, options = nil); end
|
402
|
+
def select(method, choices = nil, options = nil, html_options = nil, &block); end
|
403
|
+
def self._to_partial_path; end
|
404
|
+
def self.field_helpers; end
|
405
|
+
def self.field_helpers=(val); end
|
406
|
+
def self.field_helpers?; end
|
407
|
+
def submit(value = nil, options = nil); end
|
408
|
+
def submit_default_value; end
|
409
|
+
def telephone_field(method, options = nil); end
|
410
|
+
def text_area(method, options = nil); end
|
411
|
+
def text_field(method, options = nil); end
|
412
|
+
def time_field(method, options = nil); end
|
413
|
+
def time_select(method, options = nil, html_options = nil); end
|
414
|
+
def time_zone_select(method, priority_zones = nil, options = nil, html_options = nil); end
|
415
|
+
def to_model; end
|
416
|
+
def to_partial_path; end
|
417
|
+
def url_field(method, options = nil); end
|
418
|
+
def week_field(method, options = nil); end
|
419
|
+
include ActionView::ModelNaming
|
420
|
+
end
|
421
|
+
module ActionView::Helpers::DebugHelper
|
422
|
+
def debug(object); end
|
423
|
+
include ActionView::Helpers::TagHelper
|
424
|
+
end
|
425
|
+
module ActionView::Helpers::JavaScriptHelper
|
426
|
+
def escape_javascript(javascript); end
|
427
|
+
def j(javascript); end
|
428
|
+
def javascript_cdata_section(content); end
|
429
|
+
def javascript_tag(content_or_options_with_block = nil, html_options = nil, &block); end
|
430
|
+
end
|
431
|
+
module ActionView::Helpers::UrlHelper
|
432
|
+
def _back_url; end
|
433
|
+
def _filtered_referrer; end
|
434
|
+
def add_method_to_attributes!(html_options, method); end
|
435
|
+
def button_to(name = nil, options = nil, html_options = nil, &block); end
|
436
|
+
def convert_options_to_data_attributes(options, html_options); end
|
437
|
+
def current_page?(options, check_parameters: nil); end
|
438
|
+
def link_to(name = nil, options = nil, html_options = nil, &block); end
|
439
|
+
def link_to_if(condition, name, options = nil, html_options = nil, &block); end
|
440
|
+
def link_to_remote_options?(options); end
|
441
|
+
def link_to_unless(condition, name, options = nil, html_options = nil, &block); end
|
442
|
+
def link_to_unless_current(name, options = nil, html_options = nil, &block); end
|
443
|
+
def mail_to(email_address, name = nil, html_options = nil, &block); end
|
444
|
+
def method_not_get_method?(method); end
|
445
|
+
def method_tag(method); end
|
446
|
+
def to_form_params(attribute, namespace = nil); end
|
447
|
+
def token_tag(token = nil, form_options: nil); end
|
448
|
+
def url_for(options = nil); end
|
449
|
+
extend ActiveSupport::Concern
|
450
|
+
include ActionView::Helpers::TagHelper
|
451
|
+
end
|
452
|
+
module ActionView::Helpers::UrlHelper::ClassMethods
|
453
|
+
def _url_for_modules; end
|
454
|
+
end
|
455
|
+
module ActionView::Helpers::SanitizeHelper
|
456
|
+
def sanitize(html, options = nil); end
|
457
|
+
def sanitize_css(style); end
|
458
|
+
def strip_links(html); end
|
459
|
+
def strip_tags(html); end
|
460
|
+
extend ActiveSupport::Concern
|
461
|
+
end
|
462
|
+
module ActionView::Helpers::SanitizeHelper::ClassMethods
|
463
|
+
def full_sanitizer; end
|
464
|
+
def full_sanitizer=(arg0); end
|
465
|
+
def link_sanitizer; end
|
466
|
+
def link_sanitizer=(arg0); end
|
467
|
+
def sanitized_allowed_attributes; end
|
468
|
+
def sanitized_allowed_tags; end
|
469
|
+
def sanitizer_vendor; end
|
470
|
+
def white_list_sanitizer; end
|
471
|
+
def white_list_sanitizer=(arg0); end
|
472
|
+
end
|
473
|
+
module ActionView::Helpers::TextHelper
|
474
|
+
def concat(string); end
|
475
|
+
def current_cycle(name = nil); end
|
476
|
+
def cut_excerpt_part(part_position, part, separator, options); end
|
477
|
+
def cycle(first_value, *values); end
|
478
|
+
def excerpt(text, phrase, options = nil); end
|
479
|
+
def get_cycle(name); end
|
480
|
+
def highlight(text, phrases, options = nil); end
|
481
|
+
def pluralize(count, singular, plural_arg = nil, plural: nil, locale: nil); end
|
482
|
+
def reset_cycle(name = nil); end
|
483
|
+
def safe_concat(string); end
|
484
|
+
def set_cycle(name, cycle_object); end
|
485
|
+
def simple_format(text, html_options = nil, options = nil); end
|
486
|
+
def split_paragraphs(text); end
|
487
|
+
def truncate(text, options = nil, &block); end
|
488
|
+
def word_wrap(text, line_width: nil, break_sequence: nil); end
|
489
|
+
extend ActiveSupport::Concern
|
490
|
+
include ActionView::Helpers::OutputSafetyHelper
|
491
|
+
include ActionView::Helpers::SanitizeHelper
|
492
|
+
include ActionView::Helpers::TagHelper
|
493
|
+
end
|
494
|
+
class ActionView::Helpers::TextHelper::Cycle
|
495
|
+
def current_value; end
|
496
|
+
def initialize(first_value, *values); end
|
497
|
+
def next_index; end
|
498
|
+
def previous_index; end
|
499
|
+
def reset; end
|
500
|
+
def step_index(n); end
|
501
|
+
def to_s; end
|
502
|
+
def values; end
|
503
|
+
end
|
504
|
+
module ActionView::Helpers::FormTagHelper
|
505
|
+
def button_tag(content_or_options = nil, options = nil, &block); end
|
506
|
+
def check_box_tag(name, value = nil, checked = nil, options = nil); end
|
507
|
+
def color_field_tag(name, value = nil, options = nil); end
|
508
|
+
def convert_direct_upload_option_to_url(options); end
|
509
|
+
def date_field_tag(name, value = nil, options = nil); end
|
510
|
+
def datetime_field_tag(name, value = nil, options = nil); end
|
511
|
+
def datetime_local_field_tag(name, value = nil, options = nil); end
|
512
|
+
def email_field_tag(name, value = nil, options = nil); end
|
513
|
+
def embed_authenticity_token_in_remote_forms; end
|
514
|
+
def embed_authenticity_token_in_remote_forms=(obj); end
|
515
|
+
def extra_tags_for_form(html_options); end
|
516
|
+
def field_set_tag(legend = nil, options = nil, &block); end
|
517
|
+
def file_field_tag(name, options = nil); end
|
518
|
+
def form_tag(url_for_options = nil, options = nil, &block); end
|
519
|
+
def form_tag_html(html_options); end
|
520
|
+
def form_tag_with_body(html_options, content); end
|
521
|
+
def hidden_field_tag(name, value = nil, options = nil); end
|
522
|
+
def html_options_for_form(url_for_options, options); end
|
523
|
+
def image_submit_tag(source, options = nil); end
|
524
|
+
def label_tag(name = nil, content_or_options = nil, options = nil, &block); end
|
525
|
+
def month_field_tag(name, value = nil, options = nil); end
|
526
|
+
def number_field_tag(name, value = nil, options = nil); end
|
527
|
+
def password_field_tag(name = nil, value = nil, options = nil); end
|
528
|
+
def phone_field_tag(name, value = nil, options = nil); end
|
529
|
+
def radio_button_tag(name, value, checked = nil, options = nil); end
|
530
|
+
def range_field_tag(name, value = nil, options = nil); end
|
531
|
+
def sanitize_to_id(name); end
|
532
|
+
def search_field_tag(name, value = nil, options = nil); end
|
533
|
+
def select_tag(name, option_tags = nil, options = nil); end
|
534
|
+
def self.embed_authenticity_token_in_remote_forms; end
|
535
|
+
def self.embed_authenticity_token_in_remote_forms=(obj); end
|
536
|
+
def set_default_disable_with(value, tag_options); end
|
537
|
+
def submit_tag(value = nil, options = nil); end
|
538
|
+
def telephone_field_tag(name, value = nil, options = nil); end
|
539
|
+
def text_area_tag(name, content = nil, options = nil); end
|
540
|
+
def text_field_tag(name, value = nil, options = nil); end
|
541
|
+
def time_field_tag(name, value = nil, options = nil); end
|
542
|
+
def url_field_tag(name, value = nil, options = nil); end
|
543
|
+
def utf8_enforcer_tag; end
|
544
|
+
def week_field_tag(name, value = nil, options = nil); end
|
545
|
+
extend ActiveSupport::Concern
|
546
|
+
include ActionView::Helpers::TextHelper
|
547
|
+
include ActionView::Helpers::UrlHelper
|
548
|
+
end
|
549
|
+
module ActionView::ModelNaming
|
550
|
+
def convert_to_model(object); end
|
551
|
+
def model_name_from_record_or_class(record_or_class); end
|
552
|
+
end
|
553
|
+
module ActionView::RecordIdentifier
|
554
|
+
def dom_class(record_or_class, prefix = nil); end
|
555
|
+
def dom_id(record, prefix = nil); end
|
556
|
+
def record_key_for_dom_id(record); end
|
557
|
+
extend ActionView::ModelNaming
|
558
|
+
extend ActionView::RecordIdentifier
|
559
|
+
include ActionView::ModelNaming
|
560
|
+
end
|
561
|
+
module ActionView::Helpers::FormHelper
|
562
|
+
def apply_form_for_options!(record, object, options); end
|
563
|
+
def check_box(object_name, method, options = nil, checked_value = nil, unchecked_value = nil); end
|
564
|
+
def color_field(object_name, method, options = nil); end
|
565
|
+
def date_field(object_name, method, options = nil); end
|
566
|
+
def datetime_field(object_name, method, options = nil); end
|
567
|
+
def datetime_local_field(object_name, method, options = nil); end
|
568
|
+
def default_form_builder; end
|
569
|
+
def default_form_builder=(arg0); end
|
570
|
+
def default_form_builder_class; end
|
571
|
+
def email_field(object_name, method, options = nil); end
|
572
|
+
def fields(scope = nil, model: nil, **options, &block); end
|
573
|
+
def fields_for(record_name, record_object = nil, options = nil, &block); end
|
574
|
+
def file_field(object_name, method, options = nil); end
|
575
|
+
def form_for(record, options = nil, &block); end
|
576
|
+
def form_with(model: nil, scope: nil, url: nil, format: nil, **options, &block); end
|
577
|
+
def form_with_generates_ids; end
|
578
|
+
def form_with_generates_ids=(obj); end
|
579
|
+
def form_with_generates_remote_forms; end
|
580
|
+
def form_with_generates_remote_forms=(obj); end
|
581
|
+
def hidden_field(object_name, method, options = nil); end
|
582
|
+
def html_options_for_form_with(url_for_options = nil, model = nil, html: nil, local: nil, skip_enforcing_utf8: nil, **options); end
|
583
|
+
def instantiate_builder(record_name, record_object, options); end
|
584
|
+
def label(object_name, method, content_or_options = nil, options = nil, &block); end
|
585
|
+
def month_field(object_name, method, options = nil); end
|
586
|
+
def number_field(object_name, method, options = nil); end
|
587
|
+
def password_field(object_name, method, options = nil); end
|
588
|
+
def phone_field(object_name, method, options = nil); end
|
589
|
+
def radio_button(object_name, method, tag_value, options = nil); end
|
590
|
+
def range_field(object_name, method, options = nil); end
|
591
|
+
def search_field(object_name, method, options = nil); end
|
592
|
+
def self.form_with_generates_ids; end
|
593
|
+
def self.form_with_generates_ids=(obj); end
|
594
|
+
def self.form_with_generates_remote_forms; end
|
595
|
+
def self.form_with_generates_remote_forms=(obj); end
|
596
|
+
def telephone_field(object_name, method, options = nil); end
|
597
|
+
def text_area(object_name, method, options = nil); end
|
598
|
+
def text_field(object_name, method, options = nil); end
|
599
|
+
def time_field(object_name, method, options = nil); end
|
600
|
+
def url_field(object_name, method, options = nil); end
|
601
|
+
def week_field(object_name, method, options = nil); end
|
602
|
+
extend ActiveSupport::Concern
|
603
|
+
include ActionView::Helpers::FormTagHelper
|
604
|
+
include ActionView::Helpers::UrlHelper
|
605
|
+
include ActionView::ModelNaming
|
606
|
+
include ActionView::RecordIdentifier
|
607
|
+
end
|
608
|
+
module ActionView::Helpers::FormOptionsHelper
|
609
|
+
def collection_check_boxes(object, method, collection, value_method, text_method, options = nil, html_options = nil, &block); end
|
610
|
+
def collection_radio_buttons(object, method, collection, value_method, text_method, options = nil, html_options = nil, &block); end
|
611
|
+
def collection_select(object, method, collection, value_method, text_method, options = nil, html_options = nil); end
|
612
|
+
def extract_selected_and_disabled(selected); end
|
613
|
+
def extract_values_from_collection(collection, value_method, selected); end
|
614
|
+
def grouped_collection_select(object, method, collection, group_method, group_label_method, option_key_method, option_value_method, options = nil, html_options = nil); end
|
615
|
+
def grouped_options_for_select(grouped_options, selected_key = nil, options = nil); end
|
616
|
+
def option_groups_from_collection_for_select(collection, group_method, group_label_method, option_key_method, option_value_method, selected_key = nil); end
|
617
|
+
def option_html_attributes(element); end
|
618
|
+
def option_text_and_value(option); end
|
619
|
+
def option_value_selected?(value, selected); end
|
620
|
+
def options_for_select(container, selected = nil); end
|
621
|
+
def options_from_collection_for_select(collection, value_method, text_method, selected = nil); end
|
622
|
+
def prompt_text(prompt); end
|
623
|
+
def select(object, method, choices = nil, options = nil, html_options = nil, &block); end
|
624
|
+
def time_zone_options_for_select(selected = nil, priority_zones = nil, model = nil); end
|
625
|
+
def time_zone_select(object, method, priority_zones = nil, options = nil, html_options = nil); end
|
626
|
+
def value_for_collection(item, value); end
|
627
|
+
extend ActionView::Helpers::SanitizeHelper::ClassMethods
|
628
|
+
include ActionView::Helpers::SanitizeHelper
|
629
|
+
include ActionView::Helpers::TagHelper
|
630
|
+
include ActionView::Helpers::TextHelper
|
631
|
+
end
|
632
|
+
module ActionView::Helpers::NumberHelper
|
633
|
+
def delegate_number_helper_method(method, number, options); end
|
634
|
+
def escape_units(units); end
|
635
|
+
def escape_unsafe_options(options); end
|
636
|
+
def number_to_currency(number, options = nil); end
|
637
|
+
def number_to_human(number, options = nil); end
|
638
|
+
def number_to_human_size(number, options = nil); end
|
639
|
+
def number_to_percentage(number, options = nil); end
|
640
|
+
def number_to_phone(number, options = nil); end
|
641
|
+
def number_with_delimiter(number, options = nil); end
|
642
|
+
def number_with_precision(number, options = nil); end
|
643
|
+
def parse_float(number, raise_error); end
|
644
|
+
def valid_float?(number); end
|
645
|
+
def wrap_with_output_safety_handling(number, raise_on_invalid, &block); end
|
646
|
+
end
|
647
|
+
class ActionView::Helpers::NumberHelper::InvalidNumberError < StandardError
|
648
|
+
def initialize(number); end
|
649
|
+
def number; end
|
650
|
+
def number=(arg0); end
|
651
|
+
end
|
652
|
+
module ActionView::Helpers::RecordTagHelper
|
653
|
+
def content_tag_for(*arg0); end
|
654
|
+
def div_for(*arg0); end
|
655
|
+
end
|
656
|
+
module ActionView::Helpers::RenderingHelper
|
657
|
+
def _layout_for(*args, &block); end
|
658
|
+
def render(options = nil, locals = nil, &block); end
|
659
|
+
end
|
660
|
+
module ActionView::Helpers::TranslationHelper
|
661
|
+
def html_safe_translation_key?(key); end
|
662
|
+
def l(*args); end
|
663
|
+
def localize(*args); end
|
664
|
+
def scope_key_by_partial(key); end
|
665
|
+
def t(key, options = nil); end
|
666
|
+
def translate(key, options = nil); end
|
667
|
+
extend ActiveSupport::Concern
|
668
|
+
include ActionView::Helpers::TagHelper
|
669
|
+
end
|
670
|
+
module ActionView::CompiledTemplates
|
671
|
+
end
|
672
|
+
module ActionView::Context
|
673
|
+
def _layout_for(name = nil); end
|
674
|
+
def _prepare_context; end
|
675
|
+
def output_buffer; end
|
676
|
+
def output_buffer=(arg0); end
|
677
|
+
def view_flow; end
|
678
|
+
def view_flow=(arg0); end
|
679
|
+
include ActionView::CompiledTemplates
|
680
|
+
end
|
681
|
+
class ActionView::Template
|
682
|
+
def compile!(view); end
|
683
|
+
def compile(mod); end
|
684
|
+
def encode!; end
|
685
|
+
def formats; end
|
686
|
+
def formats=(arg0); end
|
687
|
+
def handle_render_error(view, e); end
|
688
|
+
def handler; end
|
689
|
+
def identifier; end
|
690
|
+
def identifier_method_name; end
|
691
|
+
def initialize(source, identifier, handler, details); end
|
692
|
+
def inspect; end
|
693
|
+
def instrument(action, &block); end
|
694
|
+
def instrument_payload; end
|
695
|
+
def instrument_render_template(&block); end
|
696
|
+
def locals; end
|
697
|
+
def locals=(arg0); end
|
698
|
+
def locals_code; end
|
699
|
+
def method_name; end
|
700
|
+
def original_encoding; end
|
701
|
+
def refresh(view); end
|
702
|
+
def render(view, locals, buffer = nil, &block); end
|
703
|
+
def source; end
|
704
|
+
def supports_streaming?; end
|
705
|
+
def type; end
|
706
|
+
def updated_at; end
|
707
|
+
def variants; end
|
708
|
+
def variants=(arg0); end
|
709
|
+
def virtual_path; end
|
710
|
+
def virtual_path=(arg0); end
|
711
|
+
extend ActionView::Template::Handlers
|
712
|
+
extend ActiveSupport::Autoload
|
713
|
+
end
|
714
|
+
module ActionView::Template::Handlers
|
715
|
+
def handler_for_extension(extension); end
|
716
|
+
def register_default_template_handler(extension, klass); end
|
717
|
+
def register_template_handler(*extensions, handler); end
|
718
|
+
def registered_template_handler(extension); end
|
719
|
+
def self.extended(base); end
|
720
|
+
def self.extensions; end
|
721
|
+
def template_handler_extensions; end
|
722
|
+
def unregister_template_handler(*extensions); end
|
723
|
+
end
|
724
|
+
class ActionView::Template::Handlers::Raw
|
725
|
+
def call(template); end
|
726
|
+
end
|
727
|
+
class ActionView::Template::Handlers::ERB
|
728
|
+
def call(template); end
|
729
|
+
def erb_implementation; end
|
730
|
+
def erb_implementation=(val); end
|
731
|
+
def erb_implementation?; end
|
732
|
+
def erb_trim_mode; end
|
733
|
+
def erb_trim_mode=(val); end
|
734
|
+
def erb_trim_mode?; end
|
735
|
+
def escape_whitelist; end
|
736
|
+
def escape_whitelist=(val); end
|
737
|
+
def escape_whitelist?; end
|
738
|
+
def handles_encoding?; end
|
739
|
+
def self.call(template); end
|
740
|
+
def self.erb_implementation; end
|
741
|
+
def self.erb_implementation=(val); end
|
742
|
+
def self.erb_implementation?; end
|
743
|
+
def self.erb_trim_mode; end
|
744
|
+
def self.erb_trim_mode=(val); end
|
745
|
+
def self.erb_trim_mode?; end
|
746
|
+
def self.escape_whitelist; end
|
747
|
+
def self.escape_whitelist=(val); end
|
748
|
+
def self.escape_whitelist?; end
|
749
|
+
def supports_streaming?; end
|
750
|
+
def valid_encoding(string, encoding); end
|
751
|
+
end
|
752
|
+
class ActionView::Template::Handlers::ERB::Erubi < Erubi::Engine
|
753
|
+
def add_code(code); end
|
754
|
+
def add_expression(indicator, code); end
|
755
|
+
def add_postamble(_); end
|
756
|
+
def add_text(text); end
|
757
|
+
def evaluate(action_view_erb_handler_context); end
|
758
|
+
def flush_newline_if_pending(src); end
|
759
|
+
def initialize(input, properties = nil); end
|
760
|
+
end
|
761
|
+
class ActionView::Template::Handlers::Html < ActionView::Template::Handlers::Raw
|
762
|
+
def call(template); end
|
763
|
+
end
|
764
|
+
class ActionView::Template::Handlers::Builder
|
765
|
+
def call(template); end
|
766
|
+
def default_format; end
|
767
|
+
def default_format=(val); end
|
768
|
+
def default_format?; end
|
769
|
+
def require_engine; end
|
770
|
+
def self.default_format; end
|
771
|
+
def self.default_format=(val); end
|
772
|
+
def self.default_format?; end
|
773
|
+
end
|
774
|
+
class ActionView::Resolver
|
775
|
+
def build_path(name, prefix, partial); end
|
776
|
+
def cached(key, path_info, details, locals); end
|
777
|
+
def caching; end
|
778
|
+
def caching=(obj); end
|
779
|
+
def caching?(*args, &block); end
|
780
|
+
def clear_cache; end
|
781
|
+
def decorate(templates, path_info, details, locals); end
|
782
|
+
def find_all(name, prefix = nil, partial = nil, details = nil, key = nil, locals = nil); end
|
783
|
+
def find_all_anywhere(name, prefix, partial = nil, details = nil, key = nil, locals = nil); end
|
784
|
+
def find_all_with_query(query); end
|
785
|
+
def find_templates(name, prefix, partial, details, outside_app_allowed = nil); end
|
786
|
+
def initialize; end
|
787
|
+
def self.caching; end
|
788
|
+
def self.caching=(obj); end
|
789
|
+
def self.caching?; end
|
790
|
+
end
|
791
|
+
class ActionView::Resolver::Path
|
792
|
+
def initialize(name, prefix, partial, virtual); end
|
793
|
+
def name; end
|
794
|
+
def partial; end
|
795
|
+
def partial?; end
|
796
|
+
def prefix; end
|
797
|
+
def self.build(name, prefix, partial); end
|
798
|
+
def to_s; end
|
799
|
+
def to_str; end
|
800
|
+
def virtual; end
|
801
|
+
end
|
802
|
+
class ActionView::Resolver::Cache
|
803
|
+
def cache(key, name, prefix, partial, locals); end
|
804
|
+
def cache_query(query); end
|
805
|
+
def canonical_no_templates(templates); end
|
806
|
+
def clear; end
|
807
|
+
def initialize; end
|
808
|
+
def inspect; end
|
809
|
+
def size; end
|
810
|
+
def templates_have_changed?(cached_templates, fresh_templates); end
|
811
|
+
end
|
812
|
+
class ActionView::Resolver::Cache::SmallCache < Concurrent::Map
|
813
|
+
def initialize(options = nil); end
|
814
|
+
end
|
815
|
+
class ActionView::PathResolver < ActionView::Resolver
|
816
|
+
def build_query(path, details); end
|
817
|
+
def escape_entry(entry); end
|
818
|
+
def extract_handler_and_format_and_variant(path); end
|
819
|
+
def find_template_paths(query); end
|
820
|
+
def find_templates(name, prefix, partial, details, outside_app_allowed = nil); end
|
821
|
+
def initialize(pattern = nil); end
|
822
|
+
def inside_path?(path, filename); end
|
823
|
+
def mtime(p); end
|
824
|
+
def query(path, details, formats, outside_app_allowed); end
|
825
|
+
def reject_files_external_to_app(files); end
|
826
|
+
end
|
827
|
+
class ActionView::FileSystemResolver < ActionView::PathResolver
|
828
|
+
def ==(resolver); end
|
829
|
+
def eql?(resolver); end
|
830
|
+
def initialize(path, pattern = nil); end
|
831
|
+
def to_path; end
|
832
|
+
def to_s; end
|
833
|
+
end
|
834
|
+
class ActionView::OptimizedFileSystemResolver < ActionView::FileSystemResolver
|
835
|
+
def build_query(path, details); end
|
836
|
+
end
|
837
|
+
class ActionView::FallbackFileSystemResolver < ActionView::FileSystemResolver
|
838
|
+
def decorate(*arg0); end
|
839
|
+
def self.instances; end
|
840
|
+
end
|
841
|
+
class ActionView::LookupContext
|
842
|
+
def digest_cache; end
|
843
|
+
def fallbacks; end
|
844
|
+
def fallbacks=(obj); end
|
845
|
+
def formats=(values); end
|
846
|
+
def initialize(view_paths, details = nil, prefixes = nil); end
|
847
|
+
def initialize_details(target, details); end
|
848
|
+
def locale; end
|
849
|
+
def locale=(value); end
|
850
|
+
def prefixes; end
|
851
|
+
def prefixes=(arg0); end
|
852
|
+
def registered_details; end
|
853
|
+
def registered_details=(obj); end
|
854
|
+
def rendered_format; end
|
855
|
+
def rendered_format=(arg0); end
|
856
|
+
def self.fallbacks; end
|
857
|
+
def self.fallbacks=(obj); end
|
858
|
+
def self.register_detail(name, &block); end
|
859
|
+
def self.registered_details; end
|
860
|
+
def self.registered_details=(obj); end
|
861
|
+
include ActionView::LookupContext::Accessors
|
862
|
+
include ActionView::LookupContext::DetailsCache
|
863
|
+
include ActionView::LookupContext::ViewPaths
|
864
|
+
end
|
865
|
+
module ActionView::LookupContext::Accessors
|
866
|
+
def default_formats; end
|
867
|
+
def default_handlers; end
|
868
|
+
def default_locale; end
|
869
|
+
def default_variants; end
|
870
|
+
def formats; end
|
871
|
+
def formats=(value); end
|
872
|
+
def handlers; end
|
873
|
+
def handlers=(value); end
|
874
|
+
def locale; end
|
875
|
+
def locale=(value); end
|
876
|
+
def variants; end
|
877
|
+
def variants=(value); end
|
878
|
+
end
|
879
|
+
class ActionView::LookupContext::DetailsKey
|
880
|
+
def eql?(arg0); end
|
881
|
+
def self.clear; end
|
882
|
+
def self.digest_caches; end
|
883
|
+
def self.get(details); end
|
884
|
+
end
|
885
|
+
module ActionView::LookupContext::DetailsCache
|
886
|
+
def _set_detail(key, value); end
|
887
|
+
def cache; end
|
888
|
+
def cache=(arg0); end
|
889
|
+
def details_key; end
|
890
|
+
def disable_cache; end
|
891
|
+
end
|
892
|
+
module ActionView::LookupContext::ViewPaths
|
893
|
+
def any?(name, prefixes = nil, partial = nil); end
|
894
|
+
def any_templates?(name, prefixes = nil, partial = nil); end
|
895
|
+
def args_for_any(name, prefixes, partial); end
|
896
|
+
def args_for_lookup(name, prefixes, partial, keys, details_options); end
|
897
|
+
def detail_args_for(options); end
|
898
|
+
def detail_args_for_any; end
|
899
|
+
def exists?(name, prefixes = nil, partial = nil, keys = nil, **options); end
|
900
|
+
def find(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
|
901
|
+
def find_all(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
|
902
|
+
def find_file(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
|
903
|
+
def find_template(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
|
904
|
+
def html_fallback_for_js; end
|
905
|
+
def normalize_name(name, prefixes); end
|
906
|
+
def template_exists?(name, prefixes = nil, partial = nil, keys = nil, **options); end
|
907
|
+
def view_paths; end
|
908
|
+
def view_paths=(paths); end
|
909
|
+
def with_fallbacks; end
|
910
|
+
end
|
911
|
+
class ActionView::Template::Types
|
912
|
+
def self.[](type); end
|
913
|
+
def self.delegate_to(klass); end
|
914
|
+
def self.symbols; end
|
915
|
+
def self.type_klass; end
|
916
|
+
def self.type_klass=(obj); end
|
917
|
+
def type_klass; end
|
918
|
+
def type_klass=(obj); end
|
919
|
+
end
|
920
|
+
class ActionView::Template::Types::Type
|
921
|
+
def ==(type); end
|
922
|
+
def initialize(symbol); end
|
923
|
+
def ref; end
|
924
|
+
def self.[](type); end
|
925
|
+
def symbol; end
|
926
|
+
def to_s; end
|
927
|
+
def to_str; end
|
928
|
+
def to_sym; end
|
929
|
+
end
|
930
|
+
class ActionView::Base
|
931
|
+
def _routes; end
|
932
|
+
def _routes=(val); end
|
933
|
+
def _routes?; end
|
934
|
+
def assign(new_assigns); end
|
935
|
+
def assigns; end
|
936
|
+
def assigns=(arg0); end
|
937
|
+
def automatically_disable_submit_tag; end
|
938
|
+
def automatically_disable_submit_tag=(obj); end
|
939
|
+
def config; end
|
940
|
+
def config=(arg0); end
|
941
|
+
def debug_missing_translation; end
|
942
|
+
def debug_missing_translation=(obj); end
|
943
|
+
def default_formats; end
|
944
|
+
def default_formats=(obj); end
|
945
|
+
def field_error_proc; end
|
946
|
+
def field_error_proc=(obj); end
|
947
|
+
def formats(*args, &block); end
|
948
|
+
def formats=(arg); end
|
949
|
+
def initialize(context = nil, assigns = nil, controller = nil, formats = nil); end
|
950
|
+
def locale(*args, &block); end
|
951
|
+
def locale=(arg); end
|
952
|
+
def logger; end
|
953
|
+
def logger=(val); end
|
954
|
+
def logger?; end
|
955
|
+
def lookup_context(*args, &block); end
|
956
|
+
def prefix_partial_path_with_controller_namespace; end
|
957
|
+
def prefix_partial_path_with_controller_namespace=(obj); end
|
958
|
+
def raise_on_missing_translations; end
|
959
|
+
def raise_on_missing_translations=(obj); end
|
960
|
+
def self._routes; end
|
961
|
+
def self._routes=(val); end
|
962
|
+
def self._routes?; end
|
963
|
+
def self.automatically_disable_submit_tag; end
|
964
|
+
def self.automatically_disable_submit_tag=(obj); end
|
965
|
+
def self.cache_template_loading; end
|
966
|
+
def self.cache_template_loading=(value); end
|
967
|
+
def self.debug_missing_translation; end
|
968
|
+
def self.debug_missing_translation=(obj); end
|
969
|
+
def self.default_form_builder; end
|
970
|
+
def self.default_form_builder=(obj); end
|
971
|
+
def self.default_formats; end
|
972
|
+
def self.default_formats=(obj); end
|
973
|
+
def self.erb_trim_mode=(arg); end
|
974
|
+
def self.field_error_proc; end
|
975
|
+
def self.field_error_proc=(obj); end
|
976
|
+
def self.logger; end
|
977
|
+
def self.logger=(val); end
|
978
|
+
def self.logger?; end
|
979
|
+
def self.prefix_partial_path_with_controller_namespace; end
|
980
|
+
def self.prefix_partial_path_with_controller_namespace=(obj); end
|
981
|
+
def self.raise_on_missing_translations; end
|
982
|
+
def self.raise_on_missing_translations=(obj); end
|
983
|
+
def self.streaming_completion_on_exception; end
|
984
|
+
def self.streaming_completion_on_exception=(obj); end
|
985
|
+
def self.xss_safe?; end
|
986
|
+
def streaming_completion_on_exception; end
|
987
|
+
def streaming_completion_on_exception=(obj); end
|
988
|
+
def view_paths(*args, &block); end
|
989
|
+
def view_paths=(arg); end
|
990
|
+
def view_renderer; end
|
991
|
+
def view_renderer=(arg0); end
|
992
|
+
extend ActionView::Helpers::SanitizeHelper::ClassMethods
|
993
|
+
extend ActionView::Helpers::SanitizeHelper::ClassMethods
|
994
|
+
extend ActionView::Helpers::UrlHelper::ClassMethods
|
995
|
+
include ActionView::Helpers
|
996
|
+
include ActionView::Helpers::AssetTagHelper
|
997
|
+
include ActionView::Helpers::FormHelper
|
998
|
+
include ActionView::Helpers::FormTagHelper
|
999
|
+
include ActionView::Helpers::FormTagHelper
|
1000
|
+
include ActionView::Helpers::SanitizeHelper
|
1001
|
+
include ActionView::Helpers::SanitizeHelper
|
1002
|
+
include ActionView::Helpers::TagHelper
|
1003
|
+
include ActionView::Helpers::TagHelper
|
1004
|
+
include ActionView::Helpers::TagHelper
|
1005
|
+
include ActionView::Helpers::TagHelper
|
1006
|
+
include ActionView::Helpers::TagHelper
|
1007
|
+
include ActionView::Helpers::TextHelper
|
1008
|
+
include ActionView::Helpers::TextHelper
|
1009
|
+
include ActionView::Helpers::TranslationHelper
|
1010
|
+
include ActionView::Helpers::UrlHelper
|
1011
|
+
include ActionView::Helpers::UrlHelper
|
1012
|
+
include ActionView::Helpers::UrlHelper
|
1013
|
+
end
|
1014
|
+
class ActionView::DependencyTracker
|
1015
|
+
def self.find_dependencies(name, template, view_paths = nil); end
|
1016
|
+
def self.register_tracker(extension, tracker); end
|
1017
|
+
def self.remove_tracker(handler); end
|
1018
|
+
end
|
1019
|
+
class ActionView::DependencyTracker::ERBTracker
|
1020
|
+
def add_dependencies(render_dependencies, arguments, pattern); end
|
1021
|
+
def add_dynamic_dependency(dependencies, dependency); end
|
1022
|
+
def add_static_dependency(dependencies, dependency); end
|
1023
|
+
def dependencies; end
|
1024
|
+
def directory; end
|
1025
|
+
def explicit_dependencies; end
|
1026
|
+
def initialize(name, template, view_paths = nil); end
|
1027
|
+
def name; end
|
1028
|
+
def render_dependencies; end
|
1029
|
+
def resolve_directories(wildcard_dependencies); end
|
1030
|
+
def self.call(name, template, view_paths = nil); end
|
1031
|
+
def self.supports_view_paths?; end
|
1032
|
+
def source; end
|
1033
|
+
def template; end
|
1034
|
+
end
|
1035
|
+
class ActionView::Digestor
|
1036
|
+
def self.digest(name:, finder:, dependencies: nil); end
|
1037
|
+
def self.find_template(finder, name, prefixes, partial, keys); end
|
1038
|
+
def self.logger; end
|
1039
|
+
def self.tree(name, finder, partial = nil, seen = nil); end
|
1040
|
+
end
|
1041
|
+
module ActionView::Digestor::PerExecutionDigestCacheExpiry
|
1042
|
+
def self.before(target); end
|
1043
|
+
end
|
1044
|
+
class ActionView::Digestor::Node
|
1045
|
+
def children; end
|
1046
|
+
def dependency_digest(finder, stack); end
|
1047
|
+
def digest(finder, stack = nil); end
|
1048
|
+
def initialize(name, logical_name, template, children = nil); end
|
1049
|
+
def logical_name; end
|
1050
|
+
def name; end
|
1051
|
+
def self.create(name, logical_name, template, partial); end
|
1052
|
+
def template; end
|
1053
|
+
def to_dep_map; end
|
1054
|
+
end
|
1055
|
+
class ActionView::Digestor::Partial < ActionView::Digestor::Node
|
1056
|
+
end
|
1057
|
+
class ActionView::Digestor::Missing < ActionView::Digestor::Node
|
1058
|
+
def digest(finder, _ = nil); end
|
1059
|
+
end
|
1060
|
+
class ActionView::Digestor::Injected < ActionView::Digestor::Node
|
1061
|
+
def digest(finder, _ = nil); end
|
1062
|
+
end
|
1063
|
+
class ActionView::Digestor::NullLogger
|
1064
|
+
def self.debug(_); end
|
1065
|
+
def self.error(_); end
|
1066
|
+
end
|
1067
|
+
module ActionView::RoutingUrlFor
|
1068
|
+
def _generate_paths_by_default; end
|
1069
|
+
def _routes_context; end
|
1070
|
+
def only_path?(host); end
|
1071
|
+
def optimize_routes_generation?; end
|
1072
|
+
def url_for(options = nil); end
|
1073
|
+
def url_options; end
|
1074
|
+
end
|
1075
|
+
class ActionView::ActionViewError < StandardError
|
1076
|
+
end
|
1077
|
+
class ActionView::EncodingError < StandardError
|
1078
|
+
end
|
1079
|
+
class ActionView::WrongEncodingError < ActionView::EncodingError
|
1080
|
+
def initialize(string, encoding); end
|
1081
|
+
def message; end
|
1082
|
+
end
|
1083
|
+
class ActionView::MissingTemplate < ActionView::ActionViewError
|
1084
|
+
def initialize(paths, path, prefixes, partial, details, *arg5); end
|
1085
|
+
def path; end
|
1086
|
+
end
|
1087
|
+
class ActionView::Template::Error < ActionView::ActionViewError
|
1088
|
+
def annoted_source_code; end
|
1089
|
+
def cause; end
|
1090
|
+
def file_name; end
|
1091
|
+
def formatted_code_for(source_code, line_counter, indent, output); end
|
1092
|
+
def initialize(template); end
|
1093
|
+
def line_number; end
|
1094
|
+
def source_extract(indentation = nil, output = nil); end
|
1095
|
+
def source_location; end
|
1096
|
+
def sub_template_message; end
|
1097
|
+
def sub_template_of(template_path); end
|
1098
|
+
end
|
1099
|
+
module ActionView::CollectionCaching
|
1100
|
+
def cache_collection_render(instrumentation_payload); end
|
1101
|
+
def callable_cache_key?; end
|
1102
|
+
def collection_by_cache_keys; end
|
1103
|
+
def expanded_cache_key(key); end
|
1104
|
+
def fetch_or_cache_partial(cached_partials, order_by:); end
|
1105
|
+
extend ActiveSupport::Concern
|
1106
|
+
end
|
1107
|
+
class ActionView::AbstractRenderer
|
1108
|
+
def any_templates?(*args, &block); end
|
1109
|
+
def extract_details(options); end
|
1110
|
+
def find_file(*args, &block); end
|
1111
|
+
def find_template(*args, &block); end
|
1112
|
+
def formats(*args, &block); end
|
1113
|
+
def initialize(lookup_context); end
|
1114
|
+
def instrument(name, **options); end
|
1115
|
+
def prepend_formats(formats); end
|
1116
|
+
def render; end
|
1117
|
+
def template_exists?(*args, &block); end
|
1118
|
+
def with_fallbacks(*args, &block); end
|
1119
|
+
def with_layout_format(*args, &block); end
|
1120
|
+
end
|
1121
|
+
class ActionView::PartialIteration
|
1122
|
+
def first?; end
|
1123
|
+
def index; end
|
1124
|
+
def initialize(size); end
|
1125
|
+
def iterate!; end
|
1126
|
+
def last?; end
|
1127
|
+
def size; end
|
1128
|
+
end
|
1129
|
+
class ActionView::PartialRenderer < ActionView::AbstractRenderer
|
1130
|
+
def collection_cache; end
|
1131
|
+
def collection_cache=(obj); end
|
1132
|
+
def collection_from_object; end
|
1133
|
+
def collection_from_options; end
|
1134
|
+
def collection_with_template; end
|
1135
|
+
def collection_without_template; end
|
1136
|
+
def find_partial; end
|
1137
|
+
def find_template(path, locals); end
|
1138
|
+
def initialize(*arg0); end
|
1139
|
+
def merge_prefix_into_object_path(prefix, object_path); end
|
1140
|
+
def partial_path(object = nil); end
|
1141
|
+
def prefixed_partial_names; end
|
1142
|
+
def raise_invalid_identifier(path); end
|
1143
|
+
def raise_invalid_option_as(as); end
|
1144
|
+
def render(context, options, block); end
|
1145
|
+
def render_collection; end
|
1146
|
+
def render_partial; end
|
1147
|
+
def retrieve_template_keys; end
|
1148
|
+
def retrieve_variable(path, as); end
|
1149
|
+
def self.collection_cache; end
|
1150
|
+
def self.collection_cache=(obj); end
|
1151
|
+
def setup(context, options, block); end
|
1152
|
+
include ActionView::CollectionCaching
|
1153
|
+
end
|