konstruo 1.0.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 +7 -0
- data/.rspec +3 -0
- data/.rubocop.yml +22 -0
- data/.tool-versions +1 -0
- data/CHANGELOG.md +21 -0
- data/LICENSE.txt +21 -0
- data/README.md +35 -0
- data/Rakefile +10 -0
- data/lib/konstruo/mapper.rb +120 -0
- data/lib/konstruo/version.rb +6 -0
- data/lib/konstruo.rb +18 -0
- data/sorbet/config +4 -0
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/actionmailer.rbi +10 -0
- data/sorbet/rbi/annotations/actionpack.rbi +430 -0
- data/sorbet/rbi/annotations/actionview.rbi +75 -0
- data/sorbet/rbi/annotations/activejob.rbi +44 -0
- data/sorbet/rbi/annotations/activemodel.rbi +89 -0
- data/sorbet/rbi/annotations/activerecord.rbi +92 -0
- data/sorbet/rbi/annotations/activesupport.rbi +454 -0
- data/sorbet/rbi/annotations/globalid.rbi +30 -0
- data/sorbet/rbi/annotations/minitest.rbi +119 -0
- data/sorbet/rbi/annotations/railties.rbi +61 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/dsl/.gitattributes +1 -0
- data/sorbet/rbi/dsl/active_support/callbacks.rbi +23 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/actioncable@7.2.1.rbi +3096 -0
- data/sorbet/rbi/gems/actionmailbox@7.2.1.rbi +1832 -0
- data/sorbet/rbi/gems/actionmailer@7.2.1.rbi +2664 -0
- data/sorbet/rbi/gems/actionpack@7.2.1.rbi +20536 -0
- data/sorbet/rbi/gems/actiontext@7.2.1.rbi +1697 -0
- data/sorbet/rbi/gems/actionview@7.2.1.rbi +15752 -0
- data/sorbet/rbi/gems/activejob@7.2.1.rbi +2828 -0
- data/sorbet/rbi/gems/activemodel@7.2.1.rbi +6762 -0
- data/sorbet/rbi/gems/activerecord@7.2.1.rbi +41433 -0
- data/sorbet/rbi/gems/activestorage@7.2.1.rbi +3247 -0
- data/sorbet/rbi/gems/activesupport@7.2.1.rbi +21142 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +585 -0
- data/sorbet/rbi/gems/base64@0.2.0.rbi +509 -0
- data/sorbet/rbi/gems/bigdecimal@3.1.8.rbi +78 -0
- data/sorbet/rbi/gems/builder@3.3.0.rbi +9 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.3.4.rbi +11645 -0
- data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +9 -0
- data/sorbet/rbi/gems/crass@1.0.6.rbi +623 -0
- data/sorbet/rbi/gems/dashbrains-rubocop-config@1.0.4.rbi +9 -0
- data/sorbet/rbi/gems/date@3.3.4.rbi +75 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +1131 -0
- data/sorbet/rbi/gems/drb@2.2.1.rbi +1347 -0
- data/sorbet/rbi/gems/erubi@1.13.0.rbi +150 -0
- data/sorbet/rbi/gems/globalid@1.2.1.rbi +749 -0
- data/sorbet/rbi/gems/i18n@1.14.5.rbi +2359 -0
- data/sorbet/rbi/gems/io-console@0.7.2.rbi +9 -0
- data/sorbet/rbi/gems/json@2.7.2.rbi +1562 -0
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14238 -0
- data/sorbet/rbi/gems/logger@1.6.1.rbi +920 -0
- data/sorbet/rbi/gems/loofah@2.22.0.rbi +1081 -0
- data/sorbet/rbi/gems/mail@2.8.1.rbi +8658 -0
- data/sorbet/rbi/gems/marcel@1.0.4.rbi +239 -0
- data/sorbet/rbi/gems/mini_mime@1.1.5.rbi +173 -0
- data/sorbet/rbi/gems/minitest@5.25.1.rbi +1546 -0
- data/sorbet/rbi/gems/net-imap@0.4.16.rbi +10845 -0
- data/sorbet/rbi/gems/net-pop@0.1.2.rbi +927 -0
- data/sorbet/rbi/gems/net-protocol@0.2.2.rbi +292 -0
- data/sorbet/rbi/gems/net-smtp@0.5.0.rbi +1228 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
- data/sorbet/rbi/gems/nio4r@2.7.3.rbi +293 -0
- data/sorbet/rbi/gems/nokogiri@1.16.7.rbi +7311 -0
- data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
- data/sorbet/rbi/gems/parser@3.3.5.0.rbi +5519 -0
- data/sorbet/rbi/gems/prism@1.0.0.rbi +35493 -0
- data/sorbet/rbi/gems/psych@5.1.2.rbi +1769 -0
- data/sorbet/rbi/gems/racc@1.8.1.rbi +162 -0
- data/sorbet/rbi/gems/rack-session@2.0.0.rbi +727 -0
- data/sorbet/rbi/gems/rack-test@2.1.0.rbi +747 -0
- data/sorbet/rbi/gems/rack@3.1.7.rbi +4902 -0
- data/sorbet/rbi/gems/rackup@2.1.0.rbi +390 -0
- data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +758 -0
- data/sorbet/rbi/gems/rails-html-sanitizer@1.6.0.rbi +785 -0
- data/sorbet/rbi/gems/rails@7.2.1.rbi +9 -0
- data/sorbet/rbi/gems/railties@7.2.1.rbi +3824 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
- data/sorbet/rbi/gems/rake@13.2.1.rbi +3046 -0
- data/sorbet/rbi/gems/rbi@0.2.0.rbi +4105 -0
- data/sorbet/rbi/gems/rdoc@6.7.0.rbi +12721 -0
- data/sorbet/rbi/gems/regexp_parser@2.9.2.rbi +3772 -0
- data/sorbet/rbi/gems/reline@0.5.10.rbi +9 -0
- data/sorbet/rbi/gems/rspec-core@3.13.1.rbi +11012 -0
- data/sorbet/rbi/gems/rspec-expectations@3.13.3.rbi +8183 -0
- data/sorbet/rbi/gems/rspec-mocks@3.13.1.rbi +5341 -0
- data/sorbet/rbi/gems/rspec-support@3.13.1.rbi +1630 -0
- data/sorbet/rbi/gems/rspec@3.13.0.rbi +83 -0
- data/sorbet/rbi/gems/rubocop-ast@1.32.3.rbi +7446 -0
- data/sorbet/rbi/gems/rubocop-capybara@2.21.0.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-factory_bot@2.26.1.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-graphql@1.5.4.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-minitest@0.36.0.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-performance@1.21.1.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-rails@2.26.1.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +329 -0
- data/sorbet/rbi/gems/rubocop-rspec@3.0.5.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-rspec_rails@2.30.0.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.8.5.rbi +9 -0
- data/sorbet/rbi/gems/rubocop@1.66.1.rbi +58268 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
- data/sorbet/rbi/gems/securerandom@0.3.1.rbi +396 -0
- data/sorbet/rbi/gems/spoom@1.4.2.rbi +4932 -0
- data/sorbet/rbi/gems/stringio@3.1.1.rbi +9 -0
- data/sorbet/rbi/gems/tapioca@0.16.2.rbi +3581 -0
- data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
- data/sorbet/rbi/gems/timeout@0.4.1.rbi +149 -0
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5918 -0
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +66 -0
- data/sorbet/rbi/gems/useragent@0.16.10.rbi +9 -0
- data/sorbet/rbi/gems/webrick@1.8.1.rbi +2607 -0
- data/sorbet/rbi/gems/websocket-driver@0.7.6.rbi +993 -0
- data/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi +121 -0
- data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
- data/sorbet/rbi/gems/yard@0.9.37.rbi +18570 -0
- data/sorbet/rbi/gems/zeitwerk@2.6.18.rbi +1051 -0
- data/sorbet/rbi/todo.rbi +6 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +9 -0
- data/tasks/bundle_update.rake +14 -0
- data/tasks/sorbet.rake +26 -0
- metadata +216 -0
@@ -0,0 +1,3247 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `activestorage` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem activestorage`.
|
6
|
+
|
7
|
+
|
8
|
+
class ActiveRecord::Base
|
9
|
+
include ::ActiveModel::ForbiddenAttributesProtection
|
10
|
+
include ::ActiveModel::AttributeAssignment
|
11
|
+
include ::ActiveModel::Access
|
12
|
+
include ::ActiveModel::Serialization
|
13
|
+
|
14
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
|
15
|
+
def __callbacks; end
|
16
|
+
|
17
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
|
18
|
+
def __callbacks?; end
|
19
|
+
|
20
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#924
|
21
|
+
def _before_commit_callbacks; end
|
22
|
+
|
23
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#924
|
24
|
+
def _commit_callbacks; end
|
25
|
+
|
26
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#924
|
27
|
+
def _create_callbacks; end
|
28
|
+
|
29
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#924
|
30
|
+
def _destroy_callbacks; end
|
31
|
+
|
32
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#924
|
33
|
+
def _find_callbacks; end
|
34
|
+
|
35
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#924
|
36
|
+
def _initialize_callbacks; end
|
37
|
+
|
38
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#11
|
39
|
+
def _reflections; end
|
40
|
+
|
41
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#11
|
42
|
+
def _reflections?; end
|
43
|
+
|
44
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#924
|
45
|
+
def _rollback_callbacks; end
|
46
|
+
|
47
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#912
|
48
|
+
def _run_before_commit_callbacks(&block); end
|
49
|
+
|
50
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#912
|
51
|
+
def _run_commit_callbacks(&block); end
|
52
|
+
|
53
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#912
|
54
|
+
def _run_create_callbacks(&block); end
|
55
|
+
|
56
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#912
|
57
|
+
def _run_destroy_callbacks(&block); end
|
58
|
+
|
59
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#912
|
60
|
+
def _run_find_callbacks(&block); end
|
61
|
+
|
62
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#912
|
63
|
+
def _run_initialize_callbacks(&block); end
|
64
|
+
|
65
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#912
|
66
|
+
def _run_rollback_callbacks(&block); end
|
67
|
+
|
68
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#912
|
69
|
+
def _run_save_callbacks(&block); end
|
70
|
+
|
71
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#912
|
72
|
+
def _run_touch_callbacks(&block); end
|
73
|
+
|
74
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#912
|
75
|
+
def _run_update_callbacks(&block); end
|
76
|
+
|
77
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#912
|
78
|
+
def _run_validate_callbacks(&block); end
|
79
|
+
|
80
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#912
|
81
|
+
def _run_validation_callbacks(&block); end
|
82
|
+
|
83
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#924
|
84
|
+
def _save_callbacks; end
|
85
|
+
|
86
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#924
|
87
|
+
def _touch_callbacks; end
|
88
|
+
|
89
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#924
|
90
|
+
def _update_callbacks; end
|
91
|
+
|
92
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#924
|
93
|
+
def _validate_callbacks; end
|
94
|
+
|
95
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#924
|
96
|
+
def _validation_callbacks; end
|
97
|
+
|
98
|
+
# source://activemodel/7.2.1/lib/active_model/validations.rb#71
|
99
|
+
def _validators; end
|
100
|
+
|
101
|
+
# source://activemodel/7.2.1/lib/active_model/validations.rb#71
|
102
|
+
def _validators?; end
|
103
|
+
|
104
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#12
|
105
|
+
def aggregate_reflections; end
|
106
|
+
|
107
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#12
|
108
|
+
def aggregate_reflections?; end
|
109
|
+
|
110
|
+
# source://activestorage//lib/active_storage/reflection.rb#53
|
111
|
+
def attachment_reflections; end
|
112
|
+
|
113
|
+
# source://activestorage//lib/active_storage/reflection.rb#53
|
114
|
+
def attachment_reflections?; end
|
115
|
+
|
116
|
+
# source://activemodel/7.2.1/lib/active_model/attribute_methods.rb#71
|
117
|
+
def attribute_aliases; end
|
118
|
+
|
119
|
+
# source://activemodel/7.2.1/lib/active_model/attribute_methods.rb#71
|
120
|
+
def attribute_aliases?; end
|
121
|
+
|
122
|
+
# source://activemodel/7.2.1/lib/active_model/attribute_methods.rb#72
|
123
|
+
def attribute_method_patterns; end
|
124
|
+
|
125
|
+
# source://activemodel/7.2.1/lib/active_model/attribute_methods.rb#72
|
126
|
+
def attribute_method_patterns?; end
|
127
|
+
|
128
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#13
|
129
|
+
def automatic_scope_inversing; end
|
130
|
+
|
131
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#13
|
132
|
+
def automatic_scope_inversing?; end
|
133
|
+
|
134
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#14
|
135
|
+
def automatically_invert_plural_associations; end
|
136
|
+
|
137
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#14
|
138
|
+
def automatically_invert_plural_associations?; end
|
139
|
+
|
140
|
+
# source://activerecord/7.2.1/lib/active_record/integration.rb#16
|
141
|
+
def cache_timestamp_format; end
|
142
|
+
|
143
|
+
# source://activerecord/7.2.1/lib/active_record/integration.rb#16
|
144
|
+
def cache_timestamp_format?; end
|
145
|
+
|
146
|
+
# source://activerecord/7.2.1/lib/active_record/integration.rb#24
|
147
|
+
def cache_versioning; end
|
148
|
+
|
149
|
+
# source://activerecord/7.2.1/lib/active_record/integration.rb#24
|
150
|
+
def cache_versioning?; end
|
151
|
+
|
152
|
+
# source://activerecord/7.2.1/lib/active_record/integration.rb#32
|
153
|
+
def collection_cache_versioning; end
|
154
|
+
|
155
|
+
# source://activerecord/7.2.1/lib/active_record/integration.rb#32
|
156
|
+
def collection_cache_versioning?; end
|
157
|
+
|
158
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#183
|
159
|
+
def column_for_attribute(name, &_arg1); end
|
160
|
+
|
161
|
+
# source://activerecord/7.2.1/lib/active_record/counter_cache.rb#10
|
162
|
+
def counter_cached_association_names; end
|
163
|
+
|
164
|
+
# source://activerecord/7.2.1/lib/active_record/counter_cache.rb#10
|
165
|
+
def counter_cached_association_names?; end
|
166
|
+
|
167
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#97
|
168
|
+
def default_connection_handler; end
|
169
|
+
|
170
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#97
|
171
|
+
def default_connection_handler?; end
|
172
|
+
|
173
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#99
|
174
|
+
def default_role; end
|
175
|
+
|
176
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#99
|
177
|
+
def default_role?; end
|
178
|
+
|
179
|
+
# source://activerecord/7.2.1/lib/active_record/scoping/default.rb#20
|
180
|
+
def default_scope_override; end
|
181
|
+
|
182
|
+
# source://activerecord/7.2.1/lib/active_record/scoping/default.rb#19
|
183
|
+
def default_scopes; end
|
184
|
+
|
185
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#101
|
186
|
+
def default_shard; end
|
187
|
+
|
188
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#101
|
189
|
+
def default_shard?; end
|
190
|
+
|
191
|
+
# source://activerecord/7.2.1/lib/active_record/enum.rb#167
|
192
|
+
def defined_enums; end
|
193
|
+
|
194
|
+
# source://activerecord/7.2.1/lib/active_record/enum.rb#167
|
195
|
+
def defined_enums?; end
|
196
|
+
|
197
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#47
|
198
|
+
def destroy_association_async_batch_size; end
|
199
|
+
|
200
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#37
|
201
|
+
def destroy_association_async_job(&_arg0); end
|
202
|
+
|
203
|
+
# source://activerecord/7.2.1/lib/active_record/encryption/encryptable_record.rb#11
|
204
|
+
def encrypted_attributes; end
|
205
|
+
|
206
|
+
# source://activerecord/7.2.1/lib/active_record/encryption/encryptable_record.rb#11
|
207
|
+
def encrypted_attributes=(_arg0); end
|
208
|
+
|
209
|
+
# source://activerecord/7.2.1/lib/active_record/encryption/encryptable_record.rb#11
|
210
|
+
def encrypted_attributes?; end
|
211
|
+
|
212
|
+
# source://activemodel/7.2.1/lib/active_model/serializers/json.rb#15
|
213
|
+
def include_root_in_json; end
|
214
|
+
|
215
|
+
# source://activemodel/7.2.1/lib/active_model/serializers/json.rb#15
|
216
|
+
def include_root_in_json?; end
|
217
|
+
|
218
|
+
# source://activerecord/7.2.1/lib/active_record/locking/optimistic.rb#56
|
219
|
+
def lock_optimistically; end
|
220
|
+
|
221
|
+
# source://activerecord/7.2.1/lib/active_record/locking/optimistic.rb#56
|
222
|
+
def lock_optimistically?; end
|
223
|
+
|
224
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#22
|
225
|
+
def logger; end
|
226
|
+
|
227
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#22
|
228
|
+
def logger?; end
|
229
|
+
|
230
|
+
# source://activemodel/7.2.1/lib/active_model/naming.rb#255
|
231
|
+
def model_name(&_arg0); end
|
232
|
+
|
233
|
+
# source://activerecord/7.2.1/lib/active_record/nested_attributes.rb#15
|
234
|
+
def nested_attributes_options; end
|
235
|
+
|
236
|
+
# source://activerecord/7.2.1/lib/active_record/nested_attributes.rb#15
|
237
|
+
def nested_attributes_options?; end
|
238
|
+
|
239
|
+
# source://activerecord/7.2.1/lib/active_record/normalization.rb#8
|
240
|
+
def normalized_attributes; end
|
241
|
+
|
242
|
+
# source://activerecord/7.2.1/lib/active_record/normalization.rb#8
|
243
|
+
def normalized_attributes=(_arg0); end
|
244
|
+
|
245
|
+
# source://activerecord/7.2.1/lib/active_record/normalization.rb#8
|
246
|
+
def normalized_attributes?; end
|
247
|
+
|
248
|
+
# source://activemodel/7.2.1/lib/active_model/conversion.rb#32
|
249
|
+
def param_delimiter=(_arg0); end
|
250
|
+
|
251
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/dirty.rb#50
|
252
|
+
def partial_inserts; end
|
253
|
+
|
254
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/dirty.rb#50
|
255
|
+
def partial_inserts?; end
|
256
|
+
|
257
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/dirty.rb#49
|
258
|
+
def partial_updates; end
|
259
|
+
|
260
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/dirty.rb#49
|
261
|
+
def partial_updates?; end
|
262
|
+
|
263
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#168
|
264
|
+
def pluralize_table_names; end
|
265
|
+
|
266
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#168
|
267
|
+
def pluralize_table_names?; end
|
268
|
+
|
269
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#163
|
270
|
+
def primary_key_prefix_type; end
|
271
|
+
|
272
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#163
|
273
|
+
def primary_key_prefix_type?; end
|
274
|
+
|
275
|
+
# source://activerecord/7.2.1/lib/active_record/timestamp.rb#47
|
276
|
+
def record_timestamps; end
|
277
|
+
|
278
|
+
# source://activerecord/7.2.1/lib/active_record/timestamp.rb#47
|
279
|
+
def record_timestamps=(_arg0); end
|
280
|
+
|
281
|
+
# source://activerecord/7.2.1/lib/active_record/timestamp.rb#47
|
282
|
+
def record_timestamps?; end
|
283
|
+
|
284
|
+
# source://activerecord/7.2.1/lib/active_record/signed_id.rb#13
|
285
|
+
def signed_id_verifier_secret; end
|
286
|
+
|
287
|
+
# source://activerecord/7.2.1/lib/active_record/signed_id.rb#13
|
288
|
+
def signed_id_verifier_secret?; end
|
289
|
+
|
290
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb#67
|
291
|
+
def skip_time_zone_conversion_for_attributes; end
|
292
|
+
|
293
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb#67
|
294
|
+
def skip_time_zone_conversion_for_attributes?; end
|
295
|
+
|
296
|
+
# source://activerecord/7.2.1/lib/active_record/inheritance.rb#43
|
297
|
+
def store_full_class_name; end
|
298
|
+
|
299
|
+
# source://activerecord/7.2.1/lib/active_record/inheritance.rb#43
|
300
|
+
def store_full_class_name?; end
|
301
|
+
|
302
|
+
# source://activerecord/7.2.1/lib/active_record/inheritance.rb#47
|
303
|
+
def store_full_sti_class; end
|
304
|
+
|
305
|
+
# source://activerecord/7.2.1/lib/active_record/inheritance.rb#47
|
306
|
+
def store_full_sti_class?; end
|
307
|
+
|
308
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#164
|
309
|
+
def table_name_prefix; end
|
310
|
+
|
311
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#164
|
312
|
+
def table_name_prefix?; end
|
313
|
+
|
314
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#165
|
315
|
+
def table_name_suffix; end
|
316
|
+
|
317
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#165
|
318
|
+
def table_name_suffix?; end
|
319
|
+
|
320
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb#66
|
321
|
+
def time_zone_aware_attributes; end
|
322
|
+
|
323
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb#66
|
324
|
+
def time_zone_aware_attributes?; end
|
325
|
+
|
326
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb#68
|
327
|
+
def time_zone_aware_types; end
|
328
|
+
|
329
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb#68
|
330
|
+
def time_zone_aware_types?; end
|
331
|
+
|
332
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#183
|
333
|
+
def type_for_attribute(*_arg0, **_arg1, &_arg2); end
|
334
|
+
|
335
|
+
# source://activemodel/7.2.1/lib/active_model/validations.rb#67
|
336
|
+
def validation_context; end
|
337
|
+
|
338
|
+
private
|
339
|
+
|
340
|
+
# source://activemodel/7.2.1/lib/active_model/validations.rb#67
|
341
|
+
def validation_context=(_arg0); end
|
342
|
+
|
343
|
+
class << self
|
344
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
|
345
|
+
def __callbacks; end
|
346
|
+
|
347
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
|
348
|
+
def __callbacks=(value); end
|
349
|
+
|
350
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
|
351
|
+
def __callbacks?; end
|
352
|
+
|
353
|
+
# source://activerecord/7.2.1/lib/active_record/readonly_attributes.rb#11
|
354
|
+
def _attr_readonly; end
|
355
|
+
|
356
|
+
# source://activerecord/7.2.1/lib/active_record/readonly_attributes.rb#11
|
357
|
+
def _attr_readonly=(value); end
|
358
|
+
|
359
|
+
# source://activerecord/7.2.1/lib/active_record/readonly_attributes.rb#11
|
360
|
+
def _attr_readonly?; end
|
361
|
+
|
362
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#916
|
363
|
+
def _before_commit_callbacks; end
|
364
|
+
|
365
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#920
|
366
|
+
def _before_commit_callbacks=(value); end
|
367
|
+
|
368
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#916
|
369
|
+
def _commit_callbacks; end
|
370
|
+
|
371
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#920
|
372
|
+
def _commit_callbacks=(value); end
|
373
|
+
|
374
|
+
# source://activerecord/7.2.1/lib/active_record/counter_cache.rb#9
|
375
|
+
def _counter_cache_columns; end
|
376
|
+
|
377
|
+
# source://activerecord/7.2.1/lib/active_record/counter_cache.rb#9
|
378
|
+
def _counter_cache_columns=(value); end
|
379
|
+
|
380
|
+
# source://activerecord/7.2.1/lib/active_record/counter_cache.rb#9
|
381
|
+
def _counter_cache_columns?; end
|
382
|
+
|
383
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#916
|
384
|
+
def _create_callbacks; end
|
385
|
+
|
386
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#920
|
387
|
+
def _create_callbacks=(value); end
|
388
|
+
|
389
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#24
|
390
|
+
def _destroy_association_async_job; end
|
391
|
+
|
392
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#24
|
393
|
+
def _destroy_association_async_job=(value); end
|
394
|
+
|
395
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#24
|
396
|
+
def _destroy_association_async_job?; end
|
397
|
+
|
398
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#916
|
399
|
+
def _destroy_callbacks; end
|
400
|
+
|
401
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#920
|
402
|
+
def _destroy_callbacks=(value); end
|
403
|
+
|
404
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#916
|
405
|
+
def _find_callbacks; end
|
406
|
+
|
407
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#920
|
408
|
+
def _find_callbacks=(value); end
|
409
|
+
|
410
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#916
|
411
|
+
def _initialize_callbacks; end
|
412
|
+
|
413
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#920
|
414
|
+
def _initialize_callbacks=(value); end
|
415
|
+
|
416
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#11
|
417
|
+
def _reflections; end
|
418
|
+
|
419
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#11
|
420
|
+
def _reflections=(value); end
|
421
|
+
|
422
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#11
|
423
|
+
def _reflections?; end
|
424
|
+
|
425
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#916
|
426
|
+
def _rollback_callbacks; end
|
427
|
+
|
428
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#920
|
429
|
+
def _rollback_callbacks=(value); end
|
430
|
+
|
431
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#916
|
432
|
+
def _save_callbacks; end
|
433
|
+
|
434
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#920
|
435
|
+
def _save_callbacks=(value); end
|
436
|
+
|
437
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#916
|
438
|
+
def _touch_callbacks; end
|
439
|
+
|
440
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#920
|
441
|
+
def _touch_callbacks=(value); end
|
442
|
+
|
443
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#916
|
444
|
+
def _update_callbacks; end
|
445
|
+
|
446
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#920
|
447
|
+
def _update_callbacks=(value); end
|
448
|
+
|
449
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#916
|
450
|
+
def _validate_callbacks; end
|
451
|
+
|
452
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#920
|
453
|
+
def _validate_callbacks=(value); end
|
454
|
+
|
455
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#916
|
456
|
+
def _validation_callbacks; end
|
457
|
+
|
458
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#920
|
459
|
+
def _validation_callbacks=(value); end
|
460
|
+
|
461
|
+
# source://activemodel/7.2.1/lib/active_model/validations.rb#71
|
462
|
+
def _validators; end
|
463
|
+
|
464
|
+
# source://activemodel/7.2.1/lib/active_model/validations.rb#71
|
465
|
+
def _validators=(value); end
|
466
|
+
|
467
|
+
# source://activemodel/7.2.1/lib/active_model/validations.rb#71
|
468
|
+
def _validators?; end
|
469
|
+
|
470
|
+
# source://activemodel/7.2.1/lib/active_model/callbacks.rb#144
|
471
|
+
def after_create(*args, **options, &block); end
|
472
|
+
|
473
|
+
# source://activemodel/7.2.1/lib/active_model/callbacks.rb#144
|
474
|
+
def after_destroy(*args, **options, &block); end
|
475
|
+
|
476
|
+
# source://activemodel/7.2.1/lib/active_model/callbacks.rb#144
|
477
|
+
def after_find(*args, **options, &block); end
|
478
|
+
|
479
|
+
# source://activemodel/7.2.1/lib/active_model/callbacks.rb#144
|
480
|
+
def after_initialize(*args, **options, &block); end
|
481
|
+
|
482
|
+
# source://activemodel/7.2.1/lib/active_model/callbacks.rb#144
|
483
|
+
def after_save(*args, **options, &block); end
|
484
|
+
|
485
|
+
# source://activemodel/7.2.1/lib/active_model/callbacks.rb#144
|
486
|
+
def after_touch(*args, **options, &block); end
|
487
|
+
|
488
|
+
# source://activemodel/7.2.1/lib/active_model/callbacks.rb#144
|
489
|
+
def after_update(*args, **options, &block); end
|
490
|
+
|
491
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#12
|
492
|
+
def aggregate_reflections; end
|
493
|
+
|
494
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#12
|
495
|
+
def aggregate_reflections=(value); end
|
496
|
+
|
497
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#12
|
498
|
+
def aggregate_reflections?; end
|
499
|
+
|
500
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#108
|
501
|
+
def application_record_class?; end
|
502
|
+
|
503
|
+
# source://activemodel/7.2.1/lib/active_model/callbacks.rb#137
|
504
|
+
def around_create(*args, **options, &block); end
|
505
|
+
|
506
|
+
# source://activemodel/7.2.1/lib/active_model/callbacks.rb#137
|
507
|
+
def around_destroy(*args, **options, &block); end
|
508
|
+
|
509
|
+
# source://activemodel/7.2.1/lib/active_model/callbacks.rb#137
|
510
|
+
def around_save(*args, **options, &block); end
|
511
|
+
|
512
|
+
# source://activemodel/7.2.1/lib/active_model/callbacks.rb#137
|
513
|
+
def around_update(*args, **options, &block); end
|
514
|
+
|
515
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#128
|
516
|
+
def asynchronous_queries_session; end
|
517
|
+
|
518
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#132
|
519
|
+
def asynchronous_queries_tracker; end
|
520
|
+
|
521
|
+
# source://activestorage//lib/active_storage/reflection.rb#53
|
522
|
+
def attachment_reflections; end
|
523
|
+
|
524
|
+
# source://activestorage//lib/active_storage/reflection.rb#53
|
525
|
+
def attachment_reflections=(value); end
|
526
|
+
|
527
|
+
# source://activestorage//lib/active_storage/reflection.rb#53
|
528
|
+
def attachment_reflections?; end
|
529
|
+
|
530
|
+
# source://activemodel/7.2.1/lib/active_model/attribute_methods.rb#71
|
531
|
+
def attribute_aliases; end
|
532
|
+
|
533
|
+
# source://activemodel/7.2.1/lib/active_model/attribute_methods.rb#71
|
534
|
+
def attribute_aliases=(value); end
|
535
|
+
|
536
|
+
# source://activemodel/7.2.1/lib/active_model/attribute_methods.rb#71
|
537
|
+
def attribute_aliases?; end
|
538
|
+
|
539
|
+
# source://activemodel/7.2.1/lib/active_model/attribute_methods.rb#72
|
540
|
+
def attribute_method_patterns; end
|
541
|
+
|
542
|
+
# source://activemodel/7.2.1/lib/active_model/attribute_methods.rb#72
|
543
|
+
def attribute_method_patterns=(value); end
|
544
|
+
|
545
|
+
# source://activemodel/7.2.1/lib/active_model/attribute_methods.rb#72
|
546
|
+
def attribute_method_patterns?; end
|
547
|
+
|
548
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#106
|
549
|
+
def attributes_for_inspect; end
|
550
|
+
|
551
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#106
|
552
|
+
def attributes_for_inspect=(value); end
|
553
|
+
|
554
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#106
|
555
|
+
def attributes_for_inspect?; end
|
556
|
+
|
557
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#13
|
558
|
+
def automatic_scope_inversing; end
|
559
|
+
|
560
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#13
|
561
|
+
def automatic_scope_inversing=(value); end
|
562
|
+
|
563
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#13
|
564
|
+
def automatic_scope_inversing?; end
|
565
|
+
|
566
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#14
|
567
|
+
def automatically_invert_plural_associations; end
|
568
|
+
|
569
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#14
|
570
|
+
def automatically_invert_plural_associations=(value); end
|
571
|
+
|
572
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#14
|
573
|
+
def automatically_invert_plural_associations?; end
|
574
|
+
|
575
|
+
# source://activemodel/7.2.1/lib/active_model/callbacks.rb#130
|
576
|
+
def before_create(*args, **options, &block); end
|
577
|
+
|
578
|
+
# source://activemodel/7.2.1/lib/active_model/callbacks.rb#130
|
579
|
+
def before_destroy(*args, **options, &block); end
|
580
|
+
|
581
|
+
# source://activemodel/7.2.1/lib/active_model/callbacks.rb#130
|
582
|
+
def before_save(*args, **options, &block); end
|
583
|
+
|
584
|
+
# source://activemodel/7.2.1/lib/active_model/callbacks.rb#130
|
585
|
+
def before_update(*args, **options, &block); end
|
586
|
+
|
587
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#89
|
588
|
+
def belongs_to_required_by_default; end
|
589
|
+
|
590
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#89
|
591
|
+
def belongs_to_required_by_default=(value); end
|
592
|
+
|
593
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#89
|
594
|
+
def belongs_to_required_by_default?; end
|
595
|
+
|
596
|
+
# source://activerecord/7.2.1/lib/active_record/integration.rb#16
|
597
|
+
def cache_timestamp_format; end
|
598
|
+
|
599
|
+
# source://activerecord/7.2.1/lib/active_record/integration.rb#16
|
600
|
+
def cache_timestamp_format=(value); end
|
601
|
+
|
602
|
+
# source://activerecord/7.2.1/lib/active_record/integration.rb#16
|
603
|
+
def cache_timestamp_format?; end
|
604
|
+
|
605
|
+
# source://activerecord/7.2.1/lib/active_record/integration.rb#24
|
606
|
+
def cache_versioning; end
|
607
|
+
|
608
|
+
# source://activerecord/7.2.1/lib/active_record/integration.rb#24
|
609
|
+
def cache_versioning=(value); end
|
610
|
+
|
611
|
+
# source://activerecord/7.2.1/lib/active_record/integration.rb#24
|
612
|
+
def cache_versioning?; end
|
613
|
+
|
614
|
+
# source://activerecord/7.2.1/lib/active_record/integration.rb#32
|
615
|
+
def collection_cache_versioning; end
|
616
|
+
|
617
|
+
# source://activerecord/7.2.1/lib/active_record/integration.rb#32
|
618
|
+
def collection_cache_versioning=(value); end
|
619
|
+
|
620
|
+
# source://activerecord/7.2.1/lib/active_record/integration.rb#32
|
621
|
+
def collection_cache_versioning?; end
|
622
|
+
|
623
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#77
|
624
|
+
def configurations; end
|
625
|
+
|
626
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#71
|
627
|
+
def configurations=(config); end
|
628
|
+
|
629
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#192
|
630
|
+
def connected_to_stack; end
|
631
|
+
|
632
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#206
|
633
|
+
def connection_class; end
|
634
|
+
|
635
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#202
|
636
|
+
def connection_class=(b); end
|
637
|
+
|
638
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#210
|
639
|
+
def connection_class?; end
|
640
|
+
|
641
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#214
|
642
|
+
def connection_class_for_self; end
|
643
|
+
|
644
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#120
|
645
|
+
def connection_handler; end
|
646
|
+
|
647
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#124
|
648
|
+
def connection_handler=(handler); end
|
649
|
+
|
650
|
+
# source://activerecord/7.2.1/lib/active_record/counter_cache.rb#10
|
651
|
+
def counter_cached_association_names; end
|
652
|
+
|
653
|
+
# source://activerecord/7.2.1/lib/active_record/counter_cache.rb#10
|
654
|
+
def counter_cached_association_names=(value); end
|
655
|
+
|
656
|
+
# source://activerecord/7.2.1/lib/active_record/counter_cache.rb#10
|
657
|
+
def counter_cached_association_names?; end
|
658
|
+
|
659
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#183
|
660
|
+
def current_preventing_writes; end
|
661
|
+
|
662
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#146
|
663
|
+
def current_role; end
|
664
|
+
|
665
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#164
|
666
|
+
def current_shard; end
|
667
|
+
|
668
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/serialization.rb#20
|
669
|
+
def default_column_serializer; end
|
670
|
+
|
671
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/serialization.rb#20
|
672
|
+
def default_column_serializer=(value); end
|
673
|
+
|
674
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/serialization.rb#20
|
675
|
+
def default_column_serializer?; end
|
676
|
+
|
677
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#97
|
678
|
+
def default_connection_handler; end
|
679
|
+
|
680
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#97
|
681
|
+
def default_connection_handler=(value); end
|
682
|
+
|
683
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#97
|
684
|
+
def default_connection_handler?; end
|
685
|
+
|
686
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#99
|
687
|
+
def default_role; end
|
688
|
+
|
689
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#99
|
690
|
+
def default_role=(value); end
|
691
|
+
|
692
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#99
|
693
|
+
def default_role?; end
|
694
|
+
|
695
|
+
# source://activerecord/7.2.1/lib/active_record/scoping/default.rb#20
|
696
|
+
def default_scope_override; end
|
697
|
+
|
698
|
+
# source://activerecord/7.2.1/lib/active_record/scoping/default.rb#20
|
699
|
+
def default_scope_override=(value); end
|
700
|
+
|
701
|
+
# source://activerecord/7.2.1/lib/active_record/scoping/default.rb#19
|
702
|
+
def default_scopes; end
|
703
|
+
|
704
|
+
# source://activerecord/7.2.1/lib/active_record/scoping/default.rb#19
|
705
|
+
def default_scopes=(value); end
|
706
|
+
|
707
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#101
|
708
|
+
def default_shard; end
|
709
|
+
|
710
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#101
|
711
|
+
def default_shard=(value); end
|
712
|
+
|
713
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#101
|
714
|
+
def default_shard?; end
|
715
|
+
|
716
|
+
# source://activerecord/7.2.1/lib/active_record/enum.rb#167
|
717
|
+
def defined_enums; end
|
718
|
+
|
719
|
+
# source://activerecord/7.2.1/lib/active_record/enum.rb#167
|
720
|
+
def defined_enums=(value); end
|
721
|
+
|
722
|
+
# source://activerecord/7.2.1/lib/active_record/enum.rb#167
|
723
|
+
def defined_enums?; end
|
724
|
+
|
725
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#47
|
726
|
+
def destroy_association_async_batch_size; end
|
727
|
+
|
728
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#47
|
729
|
+
def destroy_association_async_batch_size=(value); end
|
730
|
+
|
731
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#27
|
732
|
+
def destroy_association_async_job; end
|
733
|
+
|
734
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#24
|
735
|
+
def destroy_association_async_job=(value); end
|
736
|
+
|
737
|
+
# source://activerecord/7.2.1/lib/active_record/encryption/encryptable_record.rb#11
|
738
|
+
def encrypted_attributes; end
|
739
|
+
|
740
|
+
# source://activerecord/7.2.1/lib/active_record/encryption/encryptable_record.rb#11
|
741
|
+
def encrypted_attributes=(value); end
|
742
|
+
|
743
|
+
# source://activerecord/7.2.1/lib/active_record/encryption/encryptable_record.rb#11
|
744
|
+
def encrypted_attributes?; end
|
745
|
+
|
746
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#87
|
747
|
+
def enumerate_columns_in_select_statements; end
|
748
|
+
|
749
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#87
|
750
|
+
def enumerate_columns_in_select_statements=(value); end
|
751
|
+
|
752
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#87
|
753
|
+
def enumerate_columns_in_select_statements?; end
|
754
|
+
|
755
|
+
# source://activerecord/7.2.1/lib/active_record/token_for.rb#11
|
756
|
+
def generated_token_verifier; end
|
757
|
+
|
758
|
+
# source://activerecord/7.2.1/lib/active_record/token_for.rb#11
|
759
|
+
def generated_token_verifier=(value); end
|
760
|
+
|
761
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#93
|
762
|
+
def has_many_inversing; end
|
763
|
+
|
764
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#93
|
765
|
+
def has_many_inversing=(value); end
|
766
|
+
|
767
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#93
|
768
|
+
def has_many_inversing?; end
|
769
|
+
|
770
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#170
|
771
|
+
def immutable_strings_by_default; end
|
772
|
+
|
773
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#170
|
774
|
+
def immutable_strings_by_default=(value); end
|
775
|
+
|
776
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#170
|
777
|
+
def immutable_strings_by_default?; end
|
778
|
+
|
779
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#169
|
780
|
+
def implicit_order_column; end
|
781
|
+
|
782
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#169
|
783
|
+
def implicit_order_column=(value); end
|
784
|
+
|
785
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#169
|
786
|
+
def implicit_order_column?; end
|
787
|
+
|
788
|
+
# source://activemodel/7.2.1/lib/active_model/serializers/json.rb#15
|
789
|
+
def include_root_in_json; end
|
790
|
+
|
791
|
+
# source://activemodel/7.2.1/lib/active_model/serializers/json.rb#15
|
792
|
+
def include_root_in_json=(value); end
|
793
|
+
|
794
|
+
# source://activemodel/7.2.1/lib/active_model/serializers/json.rb#15
|
795
|
+
def include_root_in_json?; end
|
796
|
+
|
797
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#172
|
798
|
+
def inheritance_column; end
|
799
|
+
|
800
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#326
|
801
|
+
def inheritance_column=(value); end
|
802
|
+
|
803
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#172
|
804
|
+
def inheritance_column?; end
|
805
|
+
|
806
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#167
|
807
|
+
def internal_metadata_table_name; end
|
808
|
+
|
809
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#167
|
810
|
+
def internal_metadata_table_name=(value); end
|
811
|
+
|
812
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#167
|
813
|
+
def internal_metadata_table_name?; end
|
814
|
+
|
815
|
+
# source://activerecord/7.2.1/lib/active_record/store.rb#101
|
816
|
+
def local_stored_attributes; end
|
817
|
+
|
818
|
+
# source://activerecord/7.2.1/lib/active_record/store.rb#101
|
819
|
+
def local_stored_attributes=(_arg0); end
|
820
|
+
|
821
|
+
# source://activerecord/7.2.1/lib/active_record/locking/optimistic.rb#56
|
822
|
+
def lock_optimistically; end
|
823
|
+
|
824
|
+
# source://activerecord/7.2.1/lib/active_record/locking/optimistic.rb#56
|
825
|
+
def lock_optimistically=(value); end
|
826
|
+
|
827
|
+
# source://activerecord/7.2.1/lib/active_record/locking/optimistic.rb#56
|
828
|
+
def lock_optimistically?; end
|
829
|
+
|
830
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#22
|
831
|
+
def logger; end
|
832
|
+
|
833
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#22
|
834
|
+
def logger=(value); end
|
835
|
+
|
836
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#22
|
837
|
+
def logger?; end
|
838
|
+
|
839
|
+
# source://activerecord/7.2.1/lib/active_record/nested_attributes.rb#15
|
840
|
+
def nested_attributes_options; end
|
841
|
+
|
842
|
+
# source://activerecord/7.2.1/lib/active_record/nested_attributes.rb#15
|
843
|
+
def nested_attributes_options=(value); end
|
844
|
+
|
845
|
+
# source://activerecord/7.2.1/lib/active_record/nested_attributes.rb#15
|
846
|
+
def nested_attributes_options?; end
|
847
|
+
|
848
|
+
# source://activerecord/7.2.1/lib/active_record/normalization.rb#8
|
849
|
+
def normalized_attributes; end
|
850
|
+
|
851
|
+
# source://activerecord/7.2.1/lib/active_record/normalization.rb#8
|
852
|
+
def normalized_attributes=(value); end
|
853
|
+
|
854
|
+
# source://activerecord/7.2.1/lib/active_record/normalization.rb#8
|
855
|
+
def normalized_attributes?; end
|
856
|
+
|
857
|
+
# source://activemodel/7.2.1/lib/active_model/conversion.rb#32
|
858
|
+
def param_delimiter; end
|
859
|
+
|
860
|
+
# source://activemodel/7.2.1/lib/active_model/conversion.rb#32
|
861
|
+
def param_delimiter=(value); end
|
862
|
+
|
863
|
+
# source://activemodel/7.2.1/lib/active_model/conversion.rb#32
|
864
|
+
def param_delimiter?; end
|
865
|
+
|
866
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/dirty.rb#50
|
867
|
+
def partial_inserts; end
|
868
|
+
|
869
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/dirty.rb#50
|
870
|
+
def partial_inserts=(value); end
|
871
|
+
|
872
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/dirty.rb#50
|
873
|
+
def partial_inserts?; end
|
874
|
+
|
875
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/dirty.rb#49
|
876
|
+
def partial_updates; end
|
877
|
+
|
878
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/dirty.rb#49
|
879
|
+
def partial_updates=(value); end
|
880
|
+
|
881
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/dirty.rb#49
|
882
|
+
def partial_updates?; end
|
883
|
+
|
884
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#168
|
885
|
+
def pluralize_table_names; end
|
886
|
+
|
887
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#168
|
888
|
+
def pluralize_table_names=(value); end
|
889
|
+
|
890
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#168
|
891
|
+
def pluralize_table_names?; end
|
892
|
+
|
893
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#163
|
894
|
+
def primary_key_prefix_type; end
|
895
|
+
|
896
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#163
|
897
|
+
def primary_key_prefix_type=(value); end
|
898
|
+
|
899
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#163
|
900
|
+
def primary_key_prefix_type?; end
|
901
|
+
|
902
|
+
# source://activerecord/7.2.1/lib/active_record/timestamp.rb#47
|
903
|
+
def record_timestamps; end
|
904
|
+
|
905
|
+
# source://activerecord/7.2.1/lib/active_record/timestamp.rb#47
|
906
|
+
def record_timestamps=(value); end
|
907
|
+
|
908
|
+
# source://activerecord/7.2.1/lib/active_record/timestamp.rb#47
|
909
|
+
def record_timestamps?; end
|
910
|
+
|
911
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#95
|
912
|
+
def run_commit_callbacks_on_first_saved_instances_in_transaction; end
|
913
|
+
|
914
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#95
|
915
|
+
def run_commit_callbacks_on_first_saved_instances_in_transaction=(value); end
|
916
|
+
|
917
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#95
|
918
|
+
def run_commit_callbacks_on_first_saved_instances_in_transaction?; end
|
919
|
+
|
920
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#166
|
921
|
+
def schema_migrations_table_name; end
|
922
|
+
|
923
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#166
|
924
|
+
def schema_migrations_table_name=(value); end
|
925
|
+
|
926
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#166
|
927
|
+
def schema_migrations_table_name?; end
|
928
|
+
|
929
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#103
|
930
|
+
def shard_selector; end
|
931
|
+
|
932
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#103
|
933
|
+
def shard_selector=(value); end
|
934
|
+
|
935
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#103
|
936
|
+
def shard_selector?; end
|
937
|
+
|
938
|
+
# source://activerecord/7.2.1/lib/active_record/signed_id.rb#13
|
939
|
+
def signed_id_verifier_secret; end
|
940
|
+
|
941
|
+
# source://activerecord/7.2.1/lib/active_record/signed_id.rb#13
|
942
|
+
def signed_id_verifier_secret=(value); end
|
943
|
+
|
944
|
+
# source://activerecord/7.2.1/lib/active_record/signed_id.rb#13
|
945
|
+
def signed_id_verifier_secret?; end
|
946
|
+
|
947
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb#67
|
948
|
+
def skip_time_zone_conversion_for_attributes; end
|
949
|
+
|
950
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb#67
|
951
|
+
def skip_time_zone_conversion_for_attributes=(value); end
|
952
|
+
|
953
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb#67
|
954
|
+
def skip_time_zone_conversion_for_attributes?; end
|
955
|
+
|
956
|
+
# source://activerecord/7.2.1/lib/active_record/inheritance.rb#43
|
957
|
+
def store_full_class_name; end
|
958
|
+
|
959
|
+
# source://activerecord/7.2.1/lib/active_record/inheritance.rb#43
|
960
|
+
def store_full_class_name=(value); end
|
961
|
+
|
962
|
+
# source://activerecord/7.2.1/lib/active_record/inheritance.rb#43
|
963
|
+
def store_full_class_name?; end
|
964
|
+
|
965
|
+
# source://activerecord/7.2.1/lib/active_record/inheritance.rb#47
|
966
|
+
def store_full_sti_class; end
|
967
|
+
|
968
|
+
# source://activerecord/7.2.1/lib/active_record/inheritance.rb#47
|
969
|
+
def store_full_sti_class=(value); end
|
970
|
+
|
971
|
+
# source://activerecord/7.2.1/lib/active_record/inheritance.rb#47
|
972
|
+
def store_full_sti_class?; end
|
973
|
+
|
974
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#91
|
975
|
+
def strict_loading_by_default; end
|
976
|
+
|
977
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#91
|
978
|
+
def strict_loading_by_default=(value); end
|
979
|
+
|
980
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#91
|
981
|
+
def strict_loading_by_default?; end
|
982
|
+
|
983
|
+
# source://activerecord/7.2.1/lib/active_record/core.rb#229
|
984
|
+
def strict_loading_violation!(owner:, reflection:); end
|
985
|
+
|
986
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#164
|
987
|
+
def table_name_prefix; end
|
988
|
+
|
989
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#164
|
990
|
+
def table_name_prefix=(value); end
|
991
|
+
|
992
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#164
|
993
|
+
def table_name_prefix?; end
|
994
|
+
|
995
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#165
|
996
|
+
def table_name_suffix; end
|
997
|
+
|
998
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#165
|
999
|
+
def table_name_suffix=(value); end
|
1000
|
+
|
1001
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#165
|
1002
|
+
def table_name_suffix?; end
|
1003
|
+
|
1004
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb#66
|
1005
|
+
def time_zone_aware_attributes; end
|
1006
|
+
|
1007
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb#66
|
1008
|
+
def time_zone_aware_attributes=(value); end
|
1009
|
+
|
1010
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb#66
|
1011
|
+
def time_zone_aware_attributes?; end
|
1012
|
+
|
1013
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb#68
|
1014
|
+
def time_zone_aware_types; end
|
1015
|
+
|
1016
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb#68
|
1017
|
+
def time_zone_aware_types=(value); end
|
1018
|
+
|
1019
|
+
# source://activerecord/7.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb#68
|
1020
|
+
def time_zone_aware_types?; end
|
1021
|
+
|
1022
|
+
# source://activerecord/7.2.1/lib/active_record/token_for.rb#10
|
1023
|
+
def token_definitions; end
|
1024
|
+
|
1025
|
+
# source://activerecord/7.2.1/lib/active_record/token_for.rb#10
|
1026
|
+
def token_definitions=(value); end
|
1027
|
+
|
1028
|
+
private
|
1029
|
+
|
1030
|
+
# source://activerecord/7.2.1/lib/active_record/model_schema.rb#172
|
1031
|
+
def _inheritance_column=(value); end
|
1032
|
+
end
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
# :markup: markdown
|
1036
|
+
# :include: ../README.md
|
1037
|
+
#
|
1038
|
+
# source://activestorage//lib/active_storage/gem_version.rb#3
|
1039
|
+
module ActiveStorage
|
1040
|
+
extend ::ActiveSupport::Autoload
|
1041
|
+
|
1042
|
+
# source://activestorage//lib/active_storage.rb#55
|
1043
|
+
def analyzers; end
|
1044
|
+
|
1045
|
+
# source://activestorage//lib/active_storage.rb#55
|
1046
|
+
def analyzers=(val); end
|
1047
|
+
|
1048
|
+
# source://activestorage//lib/active_storage.rb#61
|
1049
|
+
def binary_content_type; end
|
1050
|
+
|
1051
|
+
# source://activestorage//lib/active_storage.rb#61
|
1052
|
+
def binary_content_type=(val); end
|
1053
|
+
|
1054
|
+
# source://activestorage//lib/active_storage.rb#63
|
1055
|
+
def content_types_allowed_inline; end
|
1056
|
+
|
1057
|
+
# source://activestorage//lib/active_storage.rb#63
|
1058
|
+
def content_types_allowed_inline=(val); end
|
1059
|
+
|
1060
|
+
# source://activestorage//lib/active_storage.rb#62
|
1061
|
+
def content_types_to_serve_as_binary; end
|
1062
|
+
|
1063
|
+
# source://activestorage//lib/active_storage.rb#62
|
1064
|
+
def content_types_to_serve_as_binary=(val); end
|
1065
|
+
|
1066
|
+
# source://activestorage//lib/active_storage.rb#361
|
1067
|
+
def draw_routes; end
|
1068
|
+
|
1069
|
+
# source://activestorage//lib/active_storage.rb#361
|
1070
|
+
def draw_routes=(val); end
|
1071
|
+
|
1072
|
+
# source://activestorage//lib/active_storage.rb#48
|
1073
|
+
def logger; end
|
1074
|
+
|
1075
|
+
# source://activestorage//lib/active_storage.rb#48
|
1076
|
+
def logger=(val); end
|
1077
|
+
|
1078
|
+
# source://activestorage//lib/active_storage.rb#57
|
1079
|
+
def paths; end
|
1080
|
+
|
1081
|
+
# source://activestorage//lib/active_storage.rb#57
|
1082
|
+
def paths=(val); end
|
1083
|
+
|
1084
|
+
# source://activestorage//lib/active_storage.rb#54
|
1085
|
+
def previewers; end
|
1086
|
+
|
1087
|
+
# source://activestorage//lib/active_storage.rb#54
|
1088
|
+
def previewers=(val); end
|
1089
|
+
|
1090
|
+
# source://activestorage//lib/active_storage.rb#52
|
1091
|
+
def queues; end
|
1092
|
+
|
1093
|
+
# source://activestorage//lib/active_storage.rb#52
|
1094
|
+
def queues=(val); end
|
1095
|
+
|
1096
|
+
# source://activestorage//lib/active_storage.rb#362
|
1097
|
+
def resolve_model_to_route; end
|
1098
|
+
|
1099
|
+
# source://activestorage//lib/active_storage.rb#362
|
1100
|
+
def resolve_model_to_route=(val); end
|
1101
|
+
|
1102
|
+
# source://activestorage//lib/active_storage.rb#360
|
1103
|
+
def routes_prefix; end
|
1104
|
+
|
1105
|
+
# source://activestorage//lib/active_storage.rb#360
|
1106
|
+
def routes_prefix=(val); end
|
1107
|
+
|
1108
|
+
# source://activestorage//lib/active_storage.rb#356
|
1109
|
+
def service_urls_expire_in; end
|
1110
|
+
|
1111
|
+
# source://activestorage//lib/active_storage.rb#356
|
1112
|
+
def service_urls_expire_in=(val); end
|
1113
|
+
|
1114
|
+
# source://activestorage//lib/active_storage.rb#65
|
1115
|
+
def supported_image_processing_methods; end
|
1116
|
+
|
1117
|
+
# source://activestorage//lib/active_storage.rb#65
|
1118
|
+
def supported_image_processing_methods=(val); end
|
1119
|
+
|
1120
|
+
# source://activestorage//lib/active_storage.rb#357
|
1121
|
+
def touch_attachment_records; end
|
1122
|
+
|
1123
|
+
# source://activestorage//lib/active_storage.rb#357
|
1124
|
+
def touch_attachment_records=(val); end
|
1125
|
+
|
1126
|
+
# source://activestorage//lib/active_storage.rb#364
|
1127
|
+
def track_variants; end
|
1128
|
+
|
1129
|
+
# source://activestorage//lib/active_storage.rb#364
|
1130
|
+
def track_variants=(val); end
|
1131
|
+
|
1132
|
+
# source://activestorage//lib/active_storage.rb#354
|
1133
|
+
def unsupported_image_processing_arguments; end
|
1134
|
+
|
1135
|
+
# source://activestorage//lib/active_storage.rb#354
|
1136
|
+
def unsupported_image_processing_arguments=(val); end
|
1137
|
+
|
1138
|
+
# source://activestorage//lib/active_storage.rb#358
|
1139
|
+
def urls_expire_in; end
|
1140
|
+
|
1141
|
+
# source://activestorage//lib/active_storage.rb#358
|
1142
|
+
def urls_expire_in=(val); end
|
1143
|
+
|
1144
|
+
# source://activestorage//lib/active_storage.rb#59
|
1145
|
+
def variable_content_types; end
|
1146
|
+
|
1147
|
+
# source://activestorage//lib/active_storage.rb#59
|
1148
|
+
def variable_content_types=(val); end
|
1149
|
+
|
1150
|
+
# source://activestorage//lib/active_storage.rb#50
|
1151
|
+
def variant_processor; end
|
1152
|
+
|
1153
|
+
# source://activestorage//lib/active_storage.rb#50
|
1154
|
+
def variant_processor=(val); end
|
1155
|
+
|
1156
|
+
# source://activestorage//lib/active_storage.rb#49
|
1157
|
+
def verifier; end
|
1158
|
+
|
1159
|
+
# source://activestorage//lib/active_storage.rb#49
|
1160
|
+
def verifier=(val); end
|
1161
|
+
|
1162
|
+
# source://activestorage//lib/active_storage.rb#366
|
1163
|
+
def video_preview_arguments; end
|
1164
|
+
|
1165
|
+
# source://activestorage//lib/active_storage.rb#366
|
1166
|
+
def video_preview_arguments=(val); end
|
1167
|
+
|
1168
|
+
# source://activestorage//lib/active_storage.rb#60
|
1169
|
+
def web_image_content_types; end
|
1170
|
+
|
1171
|
+
# source://activestorage//lib/active_storage.rb#60
|
1172
|
+
def web_image_content_types=(val); end
|
1173
|
+
|
1174
|
+
class << self
|
1175
|
+
# source://activestorage//lib/active_storage.rb#55
|
1176
|
+
def analyzers; end
|
1177
|
+
|
1178
|
+
# source://activestorage//lib/active_storage.rb#55
|
1179
|
+
def analyzers=(val); end
|
1180
|
+
|
1181
|
+
# source://activestorage//lib/active_storage.rb#61
|
1182
|
+
def binary_content_type; end
|
1183
|
+
|
1184
|
+
# source://activestorage//lib/active_storage.rb#61
|
1185
|
+
def binary_content_type=(val); end
|
1186
|
+
|
1187
|
+
# source://activestorage//lib/active_storage.rb#63
|
1188
|
+
def content_types_allowed_inline; end
|
1189
|
+
|
1190
|
+
# source://activestorage//lib/active_storage.rb#63
|
1191
|
+
def content_types_allowed_inline=(val); end
|
1192
|
+
|
1193
|
+
# source://activestorage//lib/active_storage.rb#62
|
1194
|
+
def content_types_to_serve_as_binary; end
|
1195
|
+
|
1196
|
+
# source://activestorage//lib/active_storage.rb#62
|
1197
|
+
def content_types_to_serve_as_binary=(val); end
|
1198
|
+
|
1199
|
+
# source://activestorage//lib/active_storage/deprecator.rb#4
|
1200
|
+
def deprecator; end
|
1201
|
+
|
1202
|
+
# source://activestorage//lib/active_storage.rb#361
|
1203
|
+
def draw_routes; end
|
1204
|
+
|
1205
|
+
# source://activestorage//lib/active_storage.rb#361
|
1206
|
+
def draw_routes=(val); end
|
1207
|
+
|
1208
|
+
# Returns the currently loaded version of Active Storage as a +Gem::Version+.
|
1209
|
+
#
|
1210
|
+
# source://activestorage//lib/active_storage/gem_version.rb#5
|
1211
|
+
def gem_version; end
|
1212
|
+
|
1213
|
+
# source://activestorage//lib/active_storage.rb#48
|
1214
|
+
def logger; end
|
1215
|
+
|
1216
|
+
# source://activestorage//lib/active_storage.rb#48
|
1217
|
+
def logger=(val); end
|
1218
|
+
|
1219
|
+
# source://activestorage//lib/active_storage.rb#57
|
1220
|
+
def paths; end
|
1221
|
+
|
1222
|
+
# source://activestorage//lib/active_storage.rb#57
|
1223
|
+
def paths=(val); end
|
1224
|
+
|
1225
|
+
# source://activestorage//lib/active_storage.rb#54
|
1226
|
+
def previewers; end
|
1227
|
+
|
1228
|
+
# source://activestorage//lib/active_storage.rb#54
|
1229
|
+
def previewers=(val); end
|
1230
|
+
|
1231
|
+
# source://activestorage//lib/active_storage.rb#52
|
1232
|
+
def queues; end
|
1233
|
+
|
1234
|
+
# source://activestorage//lib/active_storage.rb#52
|
1235
|
+
def queues=(val); end
|
1236
|
+
|
1237
|
+
# source://railties/7.2.1/lib/rails/engine.rb#412
|
1238
|
+
def railtie_helpers_paths; end
|
1239
|
+
|
1240
|
+
# source://railties/7.2.1/lib/rails/engine.rb#395
|
1241
|
+
def railtie_namespace; end
|
1242
|
+
|
1243
|
+
# source://railties/7.2.1/lib/rails/engine.rb#416
|
1244
|
+
def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end
|
1245
|
+
|
1246
|
+
# source://activestorage//lib/active_storage.rb#362
|
1247
|
+
def resolve_model_to_route; end
|
1248
|
+
|
1249
|
+
# source://activestorage//lib/active_storage.rb#362
|
1250
|
+
def resolve_model_to_route=(val); end
|
1251
|
+
|
1252
|
+
# source://activestorage//lib/active_storage.rb#360
|
1253
|
+
def routes_prefix; end
|
1254
|
+
|
1255
|
+
# source://activestorage//lib/active_storage.rb#360
|
1256
|
+
def routes_prefix=(val); end
|
1257
|
+
|
1258
|
+
# source://activestorage//lib/active_storage.rb#356
|
1259
|
+
def service_urls_expire_in; end
|
1260
|
+
|
1261
|
+
# source://activestorage//lib/active_storage.rb#356
|
1262
|
+
def service_urls_expire_in=(val); end
|
1263
|
+
|
1264
|
+
# source://activestorage//lib/active_storage.rb#65
|
1265
|
+
def supported_image_processing_methods; end
|
1266
|
+
|
1267
|
+
# source://activestorage//lib/active_storage.rb#65
|
1268
|
+
def supported_image_processing_methods=(val); end
|
1269
|
+
|
1270
|
+
# source://railties/7.2.1/lib/rails/engine.rb#401
|
1271
|
+
def table_name_prefix; end
|
1272
|
+
|
1273
|
+
# source://activestorage//lib/active_storage.rb#357
|
1274
|
+
def touch_attachment_records; end
|
1275
|
+
|
1276
|
+
# source://activestorage//lib/active_storage.rb#357
|
1277
|
+
def touch_attachment_records=(val); end
|
1278
|
+
|
1279
|
+
# source://activestorage//lib/active_storage.rb#364
|
1280
|
+
def track_variants; end
|
1281
|
+
|
1282
|
+
# source://activestorage//lib/active_storage.rb#364
|
1283
|
+
def track_variants=(val); end
|
1284
|
+
|
1285
|
+
# source://activestorage//lib/active_storage.rb#354
|
1286
|
+
def unsupported_image_processing_arguments; end
|
1287
|
+
|
1288
|
+
# source://activestorage//lib/active_storage.rb#354
|
1289
|
+
def unsupported_image_processing_arguments=(val); end
|
1290
|
+
|
1291
|
+
# source://activestorage//lib/active_storage.rb#358
|
1292
|
+
def urls_expire_in; end
|
1293
|
+
|
1294
|
+
# source://activestorage//lib/active_storage.rb#358
|
1295
|
+
def urls_expire_in=(val); end
|
1296
|
+
|
1297
|
+
# source://railties/7.2.1/lib/rails/engine.rb#408
|
1298
|
+
def use_relative_model_naming?; end
|
1299
|
+
|
1300
|
+
# source://activestorage//lib/active_storage.rb#59
|
1301
|
+
def variable_content_types; end
|
1302
|
+
|
1303
|
+
# source://activestorage//lib/active_storage.rb#59
|
1304
|
+
def variable_content_types=(val); end
|
1305
|
+
|
1306
|
+
# source://activestorage//lib/active_storage.rb#50
|
1307
|
+
def variant_processor; end
|
1308
|
+
|
1309
|
+
# source://activestorage//lib/active_storage.rb#50
|
1310
|
+
def variant_processor=(val); end
|
1311
|
+
|
1312
|
+
# source://activestorage//lib/active_storage.rb#49
|
1313
|
+
def verifier; end
|
1314
|
+
|
1315
|
+
# source://activestorage//lib/active_storage.rb#49
|
1316
|
+
def verifier=(val); end
|
1317
|
+
|
1318
|
+
# Returns the currently loaded version of Active Storage as a +Gem::Version+.
|
1319
|
+
#
|
1320
|
+
# source://activestorage//lib/active_storage/version.rb#7
|
1321
|
+
def version; end
|
1322
|
+
|
1323
|
+
# source://activestorage//lib/active_storage.rb#366
|
1324
|
+
def video_preview_arguments; end
|
1325
|
+
|
1326
|
+
# source://activestorage//lib/active_storage.rb#366
|
1327
|
+
def video_preview_arguments=(val); end
|
1328
|
+
|
1329
|
+
# source://activestorage//lib/active_storage.rb#60
|
1330
|
+
def web_image_content_types; end
|
1331
|
+
|
1332
|
+
# source://activestorage//lib/active_storage.rb#60
|
1333
|
+
def web_image_content_types=(val); end
|
1334
|
+
end
|
1335
|
+
end
|
1336
|
+
|
1337
|
+
class ActiveStorage::AnalyzeJob < ::ActiveStorage::BaseJob
|
1338
|
+
def perform(blob); end
|
1339
|
+
|
1340
|
+
class << self
|
1341
|
+
# source://activejob/7.2.1/lib/active_job/queue_name.rb#55
|
1342
|
+
def queue_name; end
|
1343
|
+
|
1344
|
+
# source://activesupport/7.2.1/lib/active_support/rescuable.rb#15
|
1345
|
+
def rescue_handlers; end
|
1346
|
+
end
|
1347
|
+
end
|
1348
|
+
|
1349
|
+
# = Active Storage \Analyzer
|
1350
|
+
#
|
1351
|
+
# This is an abstract base class for analyzers, which extract metadata from blobs. See
|
1352
|
+
# ActiveStorage::Analyzer::VideoAnalyzer for an example of a concrete subclass.
|
1353
|
+
#
|
1354
|
+
# source://activestorage//lib/active_storage/analyzer.rb#8
|
1355
|
+
class ActiveStorage::Analyzer
|
1356
|
+
# @return [Analyzer] a new instance of Analyzer
|
1357
|
+
#
|
1358
|
+
# source://activestorage//lib/active_storage/analyzer.rb#23
|
1359
|
+
def initialize(blob); end
|
1360
|
+
|
1361
|
+
# Returns the value of attribute blob.
|
1362
|
+
#
|
1363
|
+
# source://activestorage//lib/active_storage/analyzer.rb#9
|
1364
|
+
def blob; end
|
1365
|
+
|
1366
|
+
# Override this method in a concrete subclass. Have it return a Hash of metadata.
|
1367
|
+
#
|
1368
|
+
# @raise [NotImplementedError]
|
1369
|
+
#
|
1370
|
+
# source://activestorage//lib/active_storage/analyzer.rb#28
|
1371
|
+
def metadata; end
|
1372
|
+
|
1373
|
+
private
|
1374
|
+
|
1375
|
+
# Downloads the blob to a tempfile on disk. Yields the tempfile.
|
1376
|
+
#
|
1377
|
+
# source://activestorage//lib/active_storage/analyzer.rb#34
|
1378
|
+
def download_blob_to_tempfile(&block); end
|
1379
|
+
|
1380
|
+
# source://activestorage//lib/active_storage/analyzer.rb#46
|
1381
|
+
def instrument(analyzer, &block); end
|
1382
|
+
|
1383
|
+
# source://activestorage//lib/active_storage/analyzer.rb#38
|
1384
|
+
def logger; end
|
1385
|
+
|
1386
|
+
# source://activestorage//lib/active_storage/analyzer.rb#42
|
1387
|
+
def tmpdir; end
|
1388
|
+
|
1389
|
+
class << self
|
1390
|
+
# Implement this method in a concrete subclass. Have it return true when given a blob from which
|
1391
|
+
# the analyzer can extract metadata.
|
1392
|
+
#
|
1393
|
+
# @return [Boolean]
|
1394
|
+
#
|
1395
|
+
# source://activestorage//lib/active_storage/analyzer.rb#13
|
1396
|
+
def accept?(blob); end
|
1397
|
+
|
1398
|
+
# Implement this method in concrete subclasses. It will determine if blob analysis
|
1399
|
+
# should be done in a job or performed inline. By default, analysis is enqueued in a job.
|
1400
|
+
#
|
1401
|
+
# @return [Boolean]
|
1402
|
+
#
|
1403
|
+
# source://activestorage//lib/active_storage/analyzer.rb#19
|
1404
|
+
def analyze_later?; end
|
1405
|
+
end
|
1406
|
+
end
|
1407
|
+
|
1408
|
+
# source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#14
|
1409
|
+
class ActiveStorage::Analyzer::AudioAnalyzer < ::ActiveStorage::Analyzer
|
1410
|
+
# source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#19
|
1411
|
+
def metadata; end
|
1412
|
+
|
1413
|
+
private
|
1414
|
+
|
1415
|
+
# source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#44
|
1416
|
+
def audio_stream; end
|
1417
|
+
|
1418
|
+
# source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#29
|
1419
|
+
def bit_rate; end
|
1420
|
+
|
1421
|
+
# source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#24
|
1422
|
+
def duration; end
|
1423
|
+
|
1424
|
+
# source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#73
|
1425
|
+
def ffprobe_path; end
|
1426
|
+
|
1427
|
+
# source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#52
|
1428
|
+
def probe; end
|
1429
|
+
|
1430
|
+
# source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#56
|
1431
|
+
def probe_from(file); end
|
1432
|
+
|
1433
|
+
# source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#34
|
1434
|
+
def sample_rate; end
|
1435
|
+
|
1436
|
+
# source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#48
|
1437
|
+
def streams; end
|
1438
|
+
|
1439
|
+
# source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#39
|
1440
|
+
def tags; end
|
1441
|
+
|
1442
|
+
class << self
|
1443
|
+
# source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#15
|
1444
|
+
def accept?(blob); end
|
1445
|
+
end
|
1446
|
+
end
|
1447
|
+
|
1448
|
+
# source://activestorage//lib/active_storage/analyzer/image_analyzer.rb#14
|
1449
|
+
class ActiveStorage::Analyzer::ImageAnalyzer < ::ActiveStorage::Analyzer
|
1450
|
+
# source://activestorage//lib/active_storage/analyzer/image_analyzer.rb#19
|
1451
|
+
def metadata; end
|
1452
|
+
|
1453
|
+
class << self
|
1454
|
+
# source://activestorage//lib/active_storage/analyzer/image_analyzer.rb#15
|
1455
|
+
def accept?(blob); end
|
1456
|
+
end
|
1457
|
+
end
|
1458
|
+
|
1459
|
+
# source://activestorage//lib/active_storage/analyzer/image_analyzer/image_magick.rb#6
|
1460
|
+
class ActiveStorage::Analyzer::ImageAnalyzer::ImageMagick < ::ActiveStorage::Analyzer::ImageAnalyzer
|
1461
|
+
private
|
1462
|
+
|
1463
|
+
# source://activestorage//lib/active_storage/analyzer/image_analyzer/image_magick.rb#12
|
1464
|
+
def read_image; end
|
1465
|
+
|
1466
|
+
# source://activestorage//lib/active_storage/analyzer/image_analyzer/image_magick.rb#37
|
1467
|
+
def rotated_image?(image); end
|
1468
|
+
|
1469
|
+
class << self
|
1470
|
+
# source://activestorage//lib/active_storage/analyzer/image_analyzer/image_magick.rb#7
|
1471
|
+
def accept?(blob); end
|
1472
|
+
end
|
1473
|
+
end
|
1474
|
+
|
1475
|
+
# source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#6
|
1476
|
+
class ActiveStorage::Analyzer::ImageAnalyzer::Vips < ::ActiveStorage::Analyzer::ImageAnalyzer
|
1477
|
+
private
|
1478
|
+
|
1479
|
+
# source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#12
|
1480
|
+
def read_image; end
|
1481
|
+
|
1482
|
+
# source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#41
|
1483
|
+
def rotated_image?(image); end
|
1484
|
+
|
1485
|
+
class << self
|
1486
|
+
# source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#7
|
1487
|
+
def accept?(blob); end
|
1488
|
+
end
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
# source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#40
|
1492
|
+
ActiveStorage::Analyzer::ImageAnalyzer::Vips::ROTATIONS = T.let(T.unsafe(nil), Regexp)
|
1493
|
+
|
1494
|
+
# source://activestorage//lib/active_storage/analyzer/null_analyzer.rb#4
|
1495
|
+
class ActiveStorage::Analyzer::NullAnalyzer < ::ActiveStorage::Analyzer
|
1496
|
+
# source://activestorage//lib/active_storage/analyzer/null_analyzer.rb#13
|
1497
|
+
def metadata; end
|
1498
|
+
|
1499
|
+
class << self
|
1500
|
+
# source://activestorage//lib/active_storage/analyzer/null_analyzer.rb#5
|
1501
|
+
def accept?(blob); end
|
1502
|
+
|
1503
|
+
# source://activestorage//lib/active_storage/analyzer/null_analyzer.rb#9
|
1504
|
+
def analyze_later?; end
|
1505
|
+
end
|
1506
|
+
end
|
1507
|
+
|
1508
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#24
|
1509
|
+
class ActiveStorage::Analyzer::VideoAnalyzer < ::ActiveStorage::Analyzer
|
1510
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#29
|
1511
|
+
def metadata; end
|
1512
|
+
|
1513
|
+
private
|
1514
|
+
|
1515
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#55
|
1516
|
+
def angle; end
|
1517
|
+
|
1518
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#82
|
1519
|
+
def audio?; end
|
1520
|
+
|
1521
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#120
|
1522
|
+
def audio_stream; end
|
1523
|
+
|
1524
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#90
|
1525
|
+
def computed_height; end
|
1526
|
+
|
1527
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#128
|
1528
|
+
def container; end
|
1529
|
+
|
1530
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#67
|
1531
|
+
def display_aspect_ratio; end
|
1532
|
+
|
1533
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#104
|
1534
|
+
def display_height_scale; end
|
1535
|
+
|
1536
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#63
|
1537
|
+
def display_matrix; end
|
1538
|
+
|
1539
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#50
|
1540
|
+
def duration; end
|
1541
|
+
|
1542
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#100
|
1543
|
+
def encoded_height; end
|
1544
|
+
|
1545
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#96
|
1546
|
+
def encoded_width; end
|
1547
|
+
|
1548
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#153
|
1549
|
+
def ffprobe_path; end
|
1550
|
+
|
1551
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#42
|
1552
|
+
def height; end
|
1553
|
+
|
1554
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#132
|
1555
|
+
def probe; end
|
1556
|
+
|
1557
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#136
|
1558
|
+
def probe_from(file); end
|
1559
|
+
|
1560
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#78
|
1561
|
+
def rotated?; end
|
1562
|
+
|
1563
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#112
|
1564
|
+
def side_data; end
|
1565
|
+
|
1566
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#124
|
1567
|
+
def streams; end
|
1568
|
+
|
1569
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#108
|
1570
|
+
def tags; end
|
1571
|
+
|
1572
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#86
|
1573
|
+
def video?; end
|
1574
|
+
|
1575
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#116
|
1576
|
+
def video_stream; end
|
1577
|
+
|
1578
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#34
|
1579
|
+
def width; end
|
1580
|
+
|
1581
|
+
class << self
|
1582
|
+
# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#25
|
1583
|
+
def accept?(blob); end
|
1584
|
+
end
|
1585
|
+
end
|
1586
|
+
|
1587
|
+
# = Active Storage \Attached
|
1588
|
+
#
|
1589
|
+
# Abstract base class for the concrete ActiveStorage::Attached::One and ActiveStorage::Attached::Many
|
1590
|
+
# classes that both provide proxy access to the blob association for a record.
|
1591
|
+
#
|
1592
|
+
# source://activestorage//lib/active_storage/attached.rb#10
|
1593
|
+
class ActiveStorage::Attached
|
1594
|
+
# @return [Attached] a new instance of Attached
|
1595
|
+
#
|
1596
|
+
# source://activestorage//lib/active_storage/attached.rb#13
|
1597
|
+
def initialize(name, record); end
|
1598
|
+
|
1599
|
+
# Returns the value of attribute name.
|
1600
|
+
#
|
1601
|
+
# source://activestorage//lib/active_storage/attached.rb#11
|
1602
|
+
def name; end
|
1603
|
+
|
1604
|
+
# Returns the value of attribute record.
|
1605
|
+
#
|
1606
|
+
# source://activestorage//lib/active_storage/attached.rb#11
|
1607
|
+
def record; end
|
1608
|
+
|
1609
|
+
private
|
1610
|
+
|
1611
|
+
# source://activestorage//lib/active_storage/attached.rb#18
|
1612
|
+
def change; end
|
1613
|
+
end
|
1614
|
+
|
1615
|
+
# source://activestorage//lib/active_storage/attached/changes.rb#4
|
1616
|
+
module ActiveStorage::Attached::Changes
|
1617
|
+
extend ::ActiveSupport::Autoload
|
1618
|
+
end
|
1619
|
+
|
1620
|
+
# source://activestorage//lib/active_storage/attached/changes/create_many.rb#4
|
1621
|
+
class ActiveStorage::Attached::Changes::CreateMany
|
1622
|
+
# source://activestorage//lib/active_storage/attached/changes/create_many.rb#7
|
1623
|
+
def initialize(name, record, attachables, pending_uploads: T.unsafe(nil)); end
|
1624
|
+
|
1625
|
+
# source://activestorage//lib/active_storage/attached/changes/create_many.rb#5
|
1626
|
+
def attachables; end
|
1627
|
+
|
1628
|
+
# source://activestorage//lib/active_storage/attached/changes/create_many.rb#14
|
1629
|
+
def attachments; end
|
1630
|
+
|
1631
|
+
# source://activestorage//lib/active_storage/attached/changes/create_many.rb#18
|
1632
|
+
def blobs; end
|
1633
|
+
|
1634
|
+
# source://activestorage//lib/active_storage/attached/changes/create_many.rb#5
|
1635
|
+
def name; end
|
1636
|
+
|
1637
|
+
# source://activestorage//lib/active_storage/attached/changes/create_many.rb#5
|
1638
|
+
def pending_uploads; end
|
1639
|
+
|
1640
|
+
# source://activestorage//lib/active_storage/attached/changes/create_many.rb#5
|
1641
|
+
def record; end
|
1642
|
+
|
1643
|
+
# source://activestorage//lib/active_storage/attached/changes/create_many.rb#26
|
1644
|
+
def save; end
|
1645
|
+
|
1646
|
+
# source://activestorage//lib/active_storage/attached/changes/create_many.rb#22
|
1647
|
+
def upload; end
|
1648
|
+
|
1649
|
+
private
|
1650
|
+
|
1651
|
+
# source://activestorage//lib/active_storage/attached/changes/create_many.rb#44
|
1652
|
+
def assign_associated_attachments; end
|
1653
|
+
|
1654
|
+
# source://activestorage//lib/active_storage/attached/changes/create_many.rb#36
|
1655
|
+
def build_subchange_from(attachable); end
|
1656
|
+
|
1657
|
+
# source://activestorage//lib/active_storage/attached/changes/create_many.rb#52
|
1658
|
+
def persisted_or_new_attachments; end
|
1659
|
+
|
1660
|
+
# source://activestorage//lib/active_storage/attached/changes/create_many.rb#48
|
1661
|
+
def reset_associated_blobs; end
|
1662
|
+
|
1663
|
+
# source://activestorage//lib/active_storage/attached/changes/create_many.rb#32
|
1664
|
+
def subchanges; end
|
1665
|
+
|
1666
|
+
# source://activestorage//lib/active_storage/attached/changes/create_many.rb#40
|
1667
|
+
def subchanges_without_blobs; end
|
1668
|
+
end
|
1669
|
+
|
1670
|
+
# source://activestorage//lib/active_storage/attached/changes/create_one.rb#7
|
1671
|
+
class ActiveStorage::Attached::Changes::CreateOne
|
1672
|
+
# source://activestorage//lib/active_storage/attached/changes/create_one.rb#10
|
1673
|
+
def initialize(name, record, attachable); end
|
1674
|
+
|
1675
|
+
# source://activestorage//lib/active_storage/attached/changes/create_one.rb#8
|
1676
|
+
def attachable; end
|
1677
|
+
|
1678
|
+
# source://activestorage//lib/active_storage/attached/changes/create_one.rb#15
|
1679
|
+
def attachment; end
|
1680
|
+
|
1681
|
+
# source://activestorage//lib/active_storage/attached/changes/create_one.rb#19
|
1682
|
+
def blob; end
|
1683
|
+
|
1684
|
+
# source://activestorage//lib/active_storage/attached/changes/create_one.rb#8
|
1685
|
+
def name; end
|
1686
|
+
|
1687
|
+
# source://activestorage//lib/active_storage/attached/changes/create_one.rb#8
|
1688
|
+
def record; end
|
1689
|
+
|
1690
|
+
# source://activestorage//lib/active_storage/attached/changes/create_one.rb#48
|
1691
|
+
def save; end
|
1692
|
+
|
1693
|
+
# source://activestorage//lib/active_storage/attached/changes/create_one.rb#23
|
1694
|
+
def upload; end
|
1695
|
+
|
1696
|
+
private
|
1697
|
+
|
1698
|
+
# source://activestorage//lib/active_storage/attached/changes/create_one.rb#120
|
1699
|
+
def attachment_service_name; end
|
1700
|
+
|
1701
|
+
# source://activestorage//lib/active_storage/attached/changes/create_one.rb#64
|
1702
|
+
def build_attachment; end
|
1703
|
+
|
1704
|
+
# source://activestorage//lib/active_storage/attached/changes/create_one.rb#58
|
1705
|
+
def find_attachment; end
|
1706
|
+
|
1707
|
+
# source://activestorage//lib/active_storage/attached/changes/create_one.rb#54
|
1708
|
+
def find_or_build_attachment; end
|
1709
|
+
|
1710
|
+
# source://activestorage//lib/active_storage/attached/changes/create_one.rb#68
|
1711
|
+
def find_or_build_blob; end
|
1712
|
+
end
|
1713
|
+
|
1714
|
+
# source://activestorage//lib/active_storage/attached/changes/create_one_of_many.rb#4
|
1715
|
+
class ActiveStorage::Attached::Changes::CreateOneOfMany < ::ActiveStorage::Attached::Changes::CreateOne
|
1716
|
+
private
|
1717
|
+
|
1718
|
+
# source://activestorage//lib/active_storage/attached/changes/create_one_of_many.rb#6
|
1719
|
+
def find_attachment; end
|
1720
|
+
end
|
1721
|
+
|
1722
|
+
# source://activestorage//lib/active_storage/attached/changes/delete_many.rb#4
|
1723
|
+
class ActiveStorage::Attached::Changes::DeleteMany
|
1724
|
+
# source://activestorage//lib/active_storage/attached/changes/delete_many.rb#7
|
1725
|
+
def initialize(name, record); end
|
1726
|
+
|
1727
|
+
# source://activestorage//lib/active_storage/attached/changes/delete_many.rb#11
|
1728
|
+
def attachables; end
|
1729
|
+
|
1730
|
+
# source://activestorage//lib/active_storage/attached/changes/delete_many.rb#15
|
1731
|
+
def attachments; end
|
1732
|
+
|
1733
|
+
# source://activestorage//lib/active_storage/attached/changes/delete_many.rb#19
|
1734
|
+
def blobs; end
|
1735
|
+
|
1736
|
+
# source://activestorage//lib/active_storage/attached/changes/delete_many.rb#5
|
1737
|
+
def name; end
|
1738
|
+
|
1739
|
+
# source://activestorage//lib/active_storage/attached/changes/delete_many.rb#5
|
1740
|
+
def record; end
|
1741
|
+
|
1742
|
+
# source://activestorage//lib/active_storage/attached/changes/delete_many.rb#23
|
1743
|
+
def save; end
|
1744
|
+
end
|
1745
|
+
|
1746
|
+
# source://activestorage//lib/active_storage/attached/changes/delete_one.rb#4
|
1747
|
+
class ActiveStorage::Attached::Changes::DeleteOne
|
1748
|
+
# source://activestorage//lib/active_storage/attached/changes/delete_one.rb#7
|
1749
|
+
def initialize(name, record); end
|
1750
|
+
|
1751
|
+
# source://activestorage//lib/active_storage/attached/changes/delete_one.rb#11
|
1752
|
+
def attachment; end
|
1753
|
+
|
1754
|
+
# source://activestorage//lib/active_storage/attached/changes/delete_one.rb#5
|
1755
|
+
def name; end
|
1756
|
+
|
1757
|
+
# source://activestorage//lib/active_storage/attached/changes/delete_one.rb#5
|
1758
|
+
def record; end
|
1759
|
+
|
1760
|
+
# source://activestorage//lib/active_storage/attached/changes/delete_one.rb#15
|
1761
|
+
def save; end
|
1762
|
+
end
|
1763
|
+
|
1764
|
+
# source://activestorage//lib/active_storage/attached/changes/detach_many.rb#4
|
1765
|
+
class ActiveStorage::Attached::Changes::DetachMany
|
1766
|
+
# source://activestorage//lib/active_storage/attached/changes/detach_many.rb#7
|
1767
|
+
def initialize(name, record, attachments); end
|
1768
|
+
|
1769
|
+
# source://activestorage//lib/active_storage/attached/changes/detach_many.rb#5
|
1770
|
+
def attachments; end
|
1771
|
+
|
1772
|
+
# source://activestorage//lib/active_storage/attached/changes/detach_many.rb#11
|
1773
|
+
def detach; end
|
1774
|
+
|
1775
|
+
# source://activestorage//lib/active_storage/attached/changes/detach_many.rb#5
|
1776
|
+
def name; end
|
1777
|
+
|
1778
|
+
# source://activestorage//lib/active_storage/attached/changes/detach_many.rb#5
|
1779
|
+
def record; end
|
1780
|
+
end
|
1781
|
+
|
1782
|
+
# source://activestorage//lib/active_storage/attached/changes/detach_one.rb#4
|
1783
|
+
class ActiveStorage::Attached::Changes::DetachOne
|
1784
|
+
# source://activestorage//lib/active_storage/attached/changes/detach_one.rb#7
|
1785
|
+
def initialize(name, record, attachment); end
|
1786
|
+
|
1787
|
+
# source://activestorage//lib/active_storage/attached/changes/detach_one.rb#5
|
1788
|
+
def attachment; end
|
1789
|
+
|
1790
|
+
# source://activestorage//lib/active_storage/attached/changes/detach_one.rb#11
|
1791
|
+
def detach; end
|
1792
|
+
|
1793
|
+
# source://activestorage//lib/active_storage/attached/changes/detach_one.rb#5
|
1794
|
+
def name; end
|
1795
|
+
|
1796
|
+
# source://activestorage//lib/active_storage/attached/changes/detach_one.rb#5
|
1797
|
+
def record; end
|
1798
|
+
|
1799
|
+
private
|
1800
|
+
|
1801
|
+
# source://activestorage//lib/active_storage/attached/changes/detach_one.rb#19
|
1802
|
+
def reset; end
|
1803
|
+
end
|
1804
|
+
|
1805
|
+
# source://activestorage//lib/active_storage/attached/changes/purge_many.rb#4
|
1806
|
+
class ActiveStorage::Attached::Changes::PurgeMany
|
1807
|
+
# source://activestorage//lib/active_storage/attached/changes/purge_many.rb#7
|
1808
|
+
def initialize(name, record, attachments); end
|
1809
|
+
|
1810
|
+
# source://activestorage//lib/active_storage/attached/changes/purge_many.rb#5
|
1811
|
+
def attachments; end
|
1812
|
+
|
1813
|
+
# source://activestorage//lib/active_storage/attached/changes/purge_many.rb#5
|
1814
|
+
def name; end
|
1815
|
+
|
1816
|
+
# source://activestorage//lib/active_storage/attached/changes/purge_many.rb#11
|
1817
|
+
def purge; end
|
1818
|
+
|
1819
|
+
# source://activestorage//lib/active_storage/attached/changes/purge_many.rb#16
|
1820
|
+
def purge_later; end
|
1821
|
+
|
1822
|
+
# source://activestorage//lib/active_storage/attached/changes/purge_many.rb#5
|
1823
|
+
def record; end
|
1824
|
+
|
1825
|
+
private
|
1826
|
+
|
1827
|
+
# source://activestorage//lib/active_storage/attached/changes/purge_many.rb#22
|
1828
|
+
def reset; end
|
1829
|
+
end
|
1830
|
+
|
1831
|
+
# source://activestorage//lib/active_storage/attached/changes/purge_one.rb#4
|
1832
|
+
class ActiveStorage::Attached::Changes::PurgeOne
|
1833
|
+
# source://activestorage//lib/active_storage/attached/changes/purge_one.rb#7
|
1834
|
+
def initialize(name, record, attachment); end
|
1835
|
+
|
1836
|
+
# source://activestorage//lib/active_storage/attached/changes/purge_one.rb#5
|
1837
|
+
def attachment; end
|
1838
|
+
|
1839
|
+
# source://activestorage//lib/active_storage/attached/changes/purge_one.rb#5
|
1840
|
+
def name; end
|
1841
|
+
|
1842
|
+
# source://activestorage//lib/active_storage/attached/changes/purge_one.rb#11
|
1843
|
+
def purge; end
|
1844
|
+
|
1845
|
+
# source://activestorage//lib/active_storage/attached/changes/purge_one.rb#16
|
1846
|
+
def purge_later; end
|
1847
|
+
|
1848
|
+
# source://activestorage//lib/active_storage/attached/changes/purge_one.rb#5
|
1849
|
+
def record; end
|
1850
|
+
|
1851
|
+
private
|
1852
|
+
|
1853
|
+
# source://activestorage//lib/active_storage/attached/changes/purge_one.rb#22
|
1854
|
+
def reset; end
|
1855
|
+
end
|
1856
|
+
|
1857
|
+
# source://activestorage//lib/active_storage/attached/many.rb#7
|
1858
|
+
class ActiveStorage::Attached::Many < ::ActiveStorage::Attached
|
1859
|
+
# source://activestorage//lib/active_storage/attached/many.rb#51
|
1860
|
+
def attach(*attachables); end
|
1861
|
+
|
1862
|
+
# source://activestorage//lib/active_storage/attached/many.rb#66
|
1863
|
+
def attached?; end
|
1864
|
+
|
1865
|
+
# source://activestorage//lib/active_storage/attached/many.rb#32
|
1866
|
+
def attachments; end
|
1867
|
+
|
1868
|
+
# source://activestorage//lib/active_storage/attached/many.rb#37
|
1869
|
+
def blobs; end
|
1870
|
+
|
1871
|
+
# source://activestorage//lib/active_storage/attached/many.rb#25
|
1872
|
+
def detach(*_arg0, **_arg1, &_arg2); end
|
1873
|
+
|
1874
|
+
# source://activesupport/7.2.1/lib/active_support/delegation.rb#187
|
1875
|
+
def method_missing(method, *_arg1, **_arg2, &_arg3); end
|
1876
|
+
|
1877
|
+
# source://activestorage//lib/active_storage/attached/many.rb#13
|
1878
|
+
def purge(*_arg0, **_arg1, &_arg2); end
|
1879
|
+
|
1880
|
+
# source://activestorage//lib/active_storage/attached/many.rb#19
|
1881
|
+
def purge_later(*_arg0, **_arg1, &_arg2); end
|
1882
|
+
|
1883
|
+
private
|
1884
|
+
|
1885
|
+
# source://activestorage//lib/active_storage/attached/many.rb#75
|
1886
|
+
def detach_many; end
|
1887
|
+
|
1888
|
+
# source://activestorage//lib/active_storage/attached/many.rb#71
|
1889
|
+
def purge_many; end
|
1890
|
+
|
1891
|
+
# source://activesupport/7.2.1/lib/active_support/delegation.rb#179
|
1892
|
+
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
|
1893
|
+
end
|
1894
|
+
|
1895
|
+
# source://activestorage//lib/active_storage/attached/model.rb#9
|
1896
|
+
module ActiveStorage::Attached::Model
|
1897
|
+
extend ::ActiveSupport::Concern
|
1898
|
+
|
1899
|
+
mixes_in_class_methods ::ActiveStorage::Attached::Model::ClassMethods
|
1900
|
+
|
1901
|
+
# source://activestorage//lib/active_storage/attached/model.rb#258
|
1902
|
+
def attachment_changes; end
|
1903
|
+
|
1904
|
+
# source://activestorage//lib/active_storage/attached/model.rb#262
|
1905
|
+
def changed_for_autosave?; end
|
1906
|
+
|
1907
|
+
# source://activestorage//lib/active_storage/attached/model.rb#272
|
1908
|
+
def reload(*_arg0); end
|
1909
|
+
|
1910
|
+
private
|
1911
|
+
|
1912
|
+
# source://activestorage//lib/active_storage/attached/model.rb#266
|
1913
|
+
def initialize_dup(*_arg0); end
|
1914
|
+
end
|
1915
|
+
|
1916
|
+
# source://activestorage//lib/active_storage/attached/model.rb#0
|
1917
|
+
module ActiveStorage::Attached::Model::ClassMethods
|
1918
|
+
# source://activestorage//lib/active_storage/attached/model.rb#206
|
1919
|
+
def has_many_attached(name, dependent: T.unsafe(nil), service: T.unsafe(nil), strict_loading: T.unsafe(nil)); end
|
1920
|
+
|
1921
|
+
# source://activestorage//lib/active_storage/attached/model.rb#106
|
1922
|
+
def has_one_attached(name, dependent: T.unsafe(nil), service: T.unsafe(nil), strict_loading: T.unsafe(nil)); end
|
1923
|
+
end
|
1924
|
+
|
1925
|
+
# source://activestorage//lib/active_storage/attached/one.rb#7
|
1926
|
+
class ActiveStorage::Attached::One < ::ActiveStorage::Attached
|
1927
|
+
# source://activestorage//lib/active_storage/attached/one.rb#58
|
1928
|
+
def attach(attachable); end
|
1929
|
+
|
1930
|
+
# source://activestorage//lib/active_storage/attached/one.rb#73
|
1931
|
+
def attached?; end
|
1932
|
+
|
1933
|
+
# source://activestorage//lib/active_storage/attached/one.rb#33
|
1934
|
+
def attachment; end
|
1935
|
+
|
1936
|
+
# source://activestorage//lib/active_storage/attached/one.rb#44
|
1937
|
+
def blank?; end
|
1938
|
+
|
1939
|
+
# source://activestorage//lib/active_storage/attached/one.rb#25
|
1940
|
+
def detach(*_arg0, **_arg1, &_arg2); end
|
1941
|
+
|
1942
|
+
# source://activesupport/7.2.1/lib/active_support/delegation.rb#166
|
1943
|
+
def method_missing(method, *_arg1, **_arg2, &_arg3); end
|
1944
|
+
|
1945
|
+
# source://activestorage//lib/active_storage/attached/one.rb#13
|
1946
|
+
def purge(*_arg0, **_arg1, &_arg2); end
|
1947
|
+
|
1948
|
+
# source://activestorage//lib/active_storage/attached/one.rb#19
|
1949
|
+
def purge_later(*_arg0, **_arg1, &_arg2); end
|
1950
|
+
|
1951
|
+
private
|
1952
|
+
|
1953
|
+
# source://activestorage//lib/active_storage/attached/one.rb#82
|
1954
|
+
def detach_one; end
|
1955
|
+
|
1956
|
+
# source://activestorage//lib/active_storage/attached/one.rb#78
|
1957
|
+
def purge_one; end
|
1958
|
+
|
1959
|
+
# source://activesupport/7.2.1/lib/active_support/delegation.rb#158
|
1960
|
+
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
|
1961
|
+
end
|
1962
|
+
|
1963
|
+
class ActiveStorage::Attachment < ::ActiveStorage::Record
|
1964
|
+
include ::ActiveStorage::Attachment::GeneratedAttributeMethods
|
1965
|
+
include ::ActiveStorage::Attachment::GeneratedAssociationMethods
|
1966
|
+
|
1967
|
+
# source://activerecord/7.2.1/lib/active_record/autosave_association.rb#162
|
1968
|
+
def autosave_associated_records_for_blob(*args); end
|
1969
|
+
|
1970
|
+
# source://activerecord/7.2.1/lib/active_record/autosave_association.rb#162
|
1971
|
+
def autosave_associated_records_for_record(*args); end
|
1972
|
+
|
1973
|
+
# source://activesupport/7.2.1/lib/active_support/delegation.rb#187
|
1974
|
+
def method_missing(method, *_arg1, **_arg2, &_arg3); end
|
1975
|
+
|
1976
|
+
def preview(transformations); end
|
1977
|
+
def purge; end
|
1978
|
+
def purge_later; end
|
1979
|
+
def representation(transformations); end
|
1980
|
+
def signed_id(*_arg0, **_arg1, &_arg2); end
|
1981
|
+
|
1982
|
+
# source://activerecord/7.2.1/lib/active_record/autosave_association.rb#162
|
1983
|
+
def validate_associated_records_for_blob(*args); end
|
1984
|
+
|
1985
|
+
def variant(transformations); end
|
1986
|
+
|
1987
|
+
private
|
1988
|
+
|
1989
|
+
def analyze_blob_later; end
|
1990
|
+
def dependent; end
|
1991
|
+
def mirror_blob_later; end
|
1992
|
+
def named_variants; end
|
1993
|
+
def purge_dependent_blob_later; end
|
1994
|
+
|
1995
|
+
# source://activesupport/7.2.1/lib/active_support/delegation.rb#179
|
1996
|
+
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
|
1997
|
+
|
1998
|
+
def transform_variants_later; end
|
1999
|
+
def transformations_by_name(transformations); end
|
2000
|
+
|
2001
|
+
class << self
|
2002
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
|
2003
|
+
def __callbacks; end
|
2004
|
+
|
2005
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#11
|
2006
|
+
def _reflections; end
|
2007
|
+
|
2008
|
+
# source://activemodel/7.2.1/lib/active_model/validations.rb#71
|
2009
|
+
def _validators; end
|
2010
|
+
|
2011
|
+
# source://activerecord/7.2.1/lib/active_record/enum.rb#167
|
2012
|
+
def defined_enums; end
|
2013
|
+
|
2014
|
+
# source://activerecord/7.2.1/lib/active_record/scoping/named.rb#174
|
2015
|
+
def with_all_variant_records(*args, **_arg1); end
|
2016
|
+
end
|
2017
|
+
end
|
2018
|
+
|
2019
|
+
module ActiveStorage::Attachment::GeneratedAssociationMethods
|
2020
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/association.rb#103
|
2021
|
+
def blob; end
|
2022
|
+
|
2023
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/association.rb#111
|
2024
|
+
def blob=(value); end
|
2025
|
+
|
2026
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/belongs_to.rb#146
|
2027
|
+
def blob_changed?; end
|
2028
|
+
|
2029
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/belongs_to.rb#150
|
2030
|
+
def blob_previously_changed?; end
|
2031
|
+
|
2032
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#32
|
2033
|
+
def build_blob(*args, &block); end
|
2034
|
+
|
2035
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#36
|
2036
|
+
def create_blob(*args, &block); end
|
2037
|
+
|
2038
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#40
|
2039
|
+
def create_blob!(*args, &block); end
|
2040
|
+
|
2041
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/association.rb#103
|
2042
|
+
def record; end
|
2043
|
+
|
2044
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/association.rb#111
|
2045
|
+
def record=(value); end
|
2046
|
+
|
2047
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/belongs_to.rb#146
|
2048
|
+
def record_changed?; end
|
2049
|
+
|
2050
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/belongs_to.rb#150
|
2051
|
+
def record_previously_changed?; end
|
2052
|
+
|
2053
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#19
|
2054
|
+
def reload_blob; end
|
2055
|
+
|
2056
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#19
|
2057
|
+
def reload_record; end
|
2058
|
+
|
2059
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#23
|
2060
|
+
def reset_blob; end
|
2061
|
+
|
2062
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#23
|
2063
|
+
def reset_record; end
|
2064
|
+
end
|
2065
|
+
|
2066
|
+
module ActiveStorage::Attachment::GeneratedAttributeMethods; end
|
2067
|
+
|
2068
|
+
class ActiveStorage::BaseController < ::ActionController::Base
|
2069
|
+
include ::ActiveStorage::SetCurrent
|
2070
|
+
|
2071
|
+
private
|
2072
|
+
|
2073
|
+
# source://actionview/7.2.1/lib/action_view/layouts.rb#328
|
2074
|
+
def _layout(lookup_context, formats); end
|
2075
|
+
|
2076
|
+
class << self
|
2077
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
|
2078
|
+
def __callbacks; end
|
2079
|
+
|
2080
|
+
# source://actionpack/7.2.1/lib/action_controller/metal/etag_with_template_digest.rb#31
|
2081
|
+
def etag_with_template_digest; end
|
2082
|
+
|
2083
|
+
# source://actionpack/7.2.1/lib/action_controller/metal.rb#288
|
2084
|
+
def middleware_stack; end
|
2085
|
+
end
|
2086
|
+
end
|
2087
|
+
|
2088
|
+
class ActiveStorage::BaseJob < ::ActiveJob::Base; end
|
2089
|
+
module ActiveStorage::Blobs; end
|
2090
|
+
|
2091
|
+
class ActiveStorage::Blobs::ProxyController < ::ActiveStorage::BaseController
|
2092
|
+
include ::ActiveStorage::SetBlob
|
2093
|
+
include ::ActionController::Live
|
2094
|
+
include ::ActiveStorage::Streaming
|
2095
|
+
include ::ActiveStorage::DisableSession
|
2096
|
+
extend ::ActionController::Live::ClassMethods
|
2097
|
+
|
2098
|
+
def show; end
|
2099
|
+
|
2100
|
+
private
|
2101
|
+
|
2102
|
+
# source://actionview/7.2.1/lib/action_view/layouts.rb#328
|
2103
|
+
def _layout(lookup_context, formats); end
|
2104
|
+
|
2105
|
+
class << self
|
2106
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
|
2107
|
+
def __callbacks; end
|
2108
|
+
|
2109
|
+
# source://actionpack/7.2.1/lib/action_controller/metal.rb#288
|
2110
|
+
def middleware_stack; end
|
2111
|
+
end
|
2112
|
+
end
|
2113
|
+
|
2114
|
+
class ActiveStorage::Blobs::RedirectController < ::ActiveStorage::BaseController
|
2115
|
+
include ::ActiveStorage::SetBlob
|
2116
|
+
|
2117
|
+
def show; end
|
2118
|
+
|
2119
|
+
private
|
2120
|
+
|
2121
|
+
# source://actionview/7.2.1/lib/action_view/layouts.rb#328
|
2122
|
+
def _layout(lookup_context, formats); end
|
2123
|
+
|
2124
|
+
class << self
|
2125
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
|
2126
|
+
def __callbacks; end
|
2127
|
+
|
2128
|
+
# source://actionpack/7.2.1/lib/action_controller/metal.rb#288
|
2129
|
+
def middleware_stack; end
|
2130
|
+
end
|
2131
|
+
end
|
2132
|
+
|
2133
|
+
class ActiveStorage::Current < ::ActiveSupport::CurrentAttributes
|
2134
|
+
class << self
|
2135
|
+
# source://activesupport/7.2.1/lib/active_support/current_attributes.rb#193
|
2136
|
+
def defaults; end
|
2137
|
+
|
2138
|
+
# source://activesupport/7.2.1/lib/active_support/current_attributes.rb#135
|
2139
|
+
def url_options; end
|
2140
|
+
|
2141
|
+
# source://activesupport/7.2.1/lib/active_support/current_attributes.rb#136
|
2142
|
+
def url_options=(value); end
|
2143
|
+
end
|
2144
|
+
end
|
2145
|
+
|
2146
|
+
class ActiveStorage::DirectUploadsController < ::ActiveStorage::BaseController
|
2147
|
+
def create; end
|
2148
|
+
|
2149
|
+
private
|
2150
|
+
|
2151
|
+
# source://actionview/7.2.1/lib/action_view/layouts.rb#328
|
2152
|
+
def _layout(lookup_context, formats); end
|
2153
|
+
|
2154
|
+
def blob_args; end
|
2155
|
+
def direct_upload_json(blob); end
|
2156
|
+
|
2157
|
+
class << self
|
2158
|
+
# source://actionpack/7.2.1/lib/action_controller/metal.rb#288
|
2159
|
+
def middleware_stack; end
|
2160
|
+
end
|
2161
|
+
end
|
2162
|
+
|
2163
|
+
module ActiveStorage::DisableSession
|
2164
|
+
extend ::ActiveSupport::Concern
|
2165
|
+
end
|
2166
|
+
|
2167
|
+
class ActiveStorage::DiskController < ::ActiveStorage::BaseController
|
2168
|
+
include ::ActiveStorage::FileServer
|
2169
|
+
|
2170
|
+
def show; end
|
2171
|
+
def update; end
|
2172
|
+
|
2173
|
+
private
|
2174
|
+
|
2175
|
+
# source://actionview/7.2.1/lib/action_view/layouts.rb#328
|
2176
|
+
def _layout(lookup_context, formats); end
|
2177
|
+
|
2178
|
+
def acceptable_content?(token); end
|
2179
|
+
def decode_verified_key; end
|
2180
|
+
def decode_verified_token; end
|
2181
|
+
def named_disk_service(name); end
|
2182
|
+
|
2183
|
+
class << self
|
2184
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
|
2185
|
+
def __callbacks; end
|
2186
|
+
|
2187
|
+
# source://actionpack/7.2.1/lib/action_controller/metal.rb#288
|
2188
|
+
def middleware_stack; end
|
2189
|
+
end
|
2190
|
+
end
|
2191
|
+
|
2192
|
+
# source://activestorage//lib/active_storage/downloader.rb#4
|
2193
|
+
class ActiveStorage::Downloader
|
2194
|
+
# @return [Downloader] a new instance of Downloader
|
2195
|
+
#
|
2196
|
+
# source://activestorage//lib/active_storage/downloader.rb#7
|
2197
|
+
def initialize(service); end
|
2198
|
+
|
2199
|
+
# source://activestorage//lib/active_storage/downloader.rb#11
|
2200
|
+
def open(key, checksum: T.unsafe(nil), verify: T.unsafe(nil), name: T.unsafe(nil), tmpdir: T.unsafe(nil)); end
|
2201
|
+
|
2202
|
+
# Returns the value of attribute service.
|
2203
|
+
#
|
2204
|
+
# source://activestorage//lib/active_storage/downloader.rb#5
|
2205
|
+
def service; end
|
2206
|
+
|
2207
|
+
private
|
2208
|
+
|
2209
|
+
# source://activestorage//lib/active_storage/downloader.rb#30
|
2210
|
+
def download(key, file); end
|
2211
|
+
|
2212
|
+
# source://activestorage//lib/active_storage/downloader.rb#20
|
2213
|
+
def open_tempfile(name, tmpdir = T.unsafe(nil)); end
|
2214
|
+
|
2215
|
+
# source://activestorage//lib/active_storage/downloader.rb#37
|
2216
|
+
def verify_integrity_of(file, checksum:); end
|
2217
|
+
end
|
2218
|
+
|
2219
|
+
# source://activestorage//lib/active_storage/engine.rb#25
|
2220
|
+
class ActiveStorage::Engine < ::Rails::Engine
|
2221
|
+
class << self
|
2222
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
|
2223
|
+
def __callbacks; end
|
2224
|
+
end
|
2225
|
+
end
|
2226
|
+
|
2227
|
+
# Generic base class for all Active Storage exceptions.
|
2228
|
+
#
|
2229
|
+
# source://activestorage//lib/active_storage/errors.rb#5
|
2230
|
+
class ActiveStorage::Error < ::StandardError; end
|
2231
|
+
|
2232
|
+
# Raised when ActiveStorage::Blob#download is called on a blob where the
|
2233
|
+
# backing file is no longer present in its service.
|
2234
|
+
#
|
2235
|
+
# source://activestorage//lib/active_storage/errors.rb#25
|
2236
|
+
class ActiveStorage::FileNotFoundError < ::ActiveStorage::Error; end
|
2237
|
+
|
2238
|
+
module ActiveStorage::FileServer
|
2239
|
+
private
|
2240
|
+
|
2241
|
+
def serve_file(path, content_type:, disposition:); end
|
2242
|
+
end
|
2243
|
+
|
2244
|
+
class ActiveStorage::Filename
|
2245
|
+
include ::Comparable
|
2246
|
+
|
2247
|
+
def initialize(filename); end
|
2248
|
+
|
2249
|
+
def <=>(other); end
|
2250
|
+
def as_json(*_arg0); end
|
2251
|
+
def base; end
|
2252
|
+
def extension; end
|
2253
|
+
def extension_with_delimiter; end
|
2254
|
+
def extension_without_delimiter; end
|
2255
|
+
def sanitized; end
|
2256
|
+
def to_s; end
|
2257
|
+
|
2258
|
+
class << self
|
2259
|
+
def wrap(filename); end
|
2260
|
+
end
|
2261
|
+
end
|
2262
|
+
|
2263
|
+
# = Active Storage \FixtureSet
|
2264
|
+
#
|
2265
|
+
# Fixtures are a way of organizing data that you want to test against; in
|
2266
|
+
# short, sample data.
|
2267
|
+
#
|
2268
|
+
# To learn more about fixtures, read the ActiveRecord::FixtureSet documentation.
|
2269
|
+
#
|
2270
|
+
# === YAML
|
2271
|
+
#
|
2272
|
+
# Like other Active Record-backed models, ActiveStorage::Attachment and
|
2273
|
+
# ActiveStorage::Blob records inherit from ActiveRecord::Base instances and
|
2274
|
+
# therefore can be populated by fixtures.
|
2275
|
+
#
|
2276
|
+
# Consider a hypothetical <tt>Article</tt> model class, its related
|
2277
|
+
# fixture data, as well as fixture data for related ActiveStorage::Attachment
|
2278
|
+
# and ActiveStorage::Blob records:
|
2279
|
+
#
|
2280
|
+
# # app/models/article.rb
|
2281
|
+
# class Article < ApplicationRecord
|
2282
|
+
# has_one_attached :thumbnail
|
2283
|
+
# end
|
2284
|
+
#
|
2285
|
+
# <code></code>
|
2286
|
+
#
|
2287
|
+
# # fixtures/active_storage/blobs.yml
|
2288
|
+
# first_thumbnail_blob: <%= ActiveStorage::FixtureSet.blob filename: "first.png" %>
|
2289
|
+
#
|
2290
|
+
# <code></code>
|
2291
|
+
#
|
2292
|
+
# # fixtures/active_storage/attachments.yml
|
2293
|
+
# first_thumbnail_attachment:
|
2294
|
+
# name: thumbnail
|
2295
|
+
# record: first (Article)
|
2296
|
+
# blob: first_thumbnail_blob
|
2297
|
+
#
|
2298
|
+
# When processed, Active Record will insert database records for each fixture
|
2299
|
+
# entry and will ensure the Active Storage relationship is intact.
|
2300
|
+
#
|
2301
|
+
# source://activestorage//lib/active_storage/fixture_set.rb#44
|
2302
|
+
class ActiveStorage::FixtureSet
|
2303
|
+
include ::ActiveSupport::Testing::FileFixtures
|
2304
|
+
include ::ActiveRecord::SecureToken
|
2305
|
+
extend ::ActiveRecord::SecureToken::ClassMethods
|
2306
|
+
|
2307
|
+
# source://activesupport/7.2.1/lib/active_support/testing/file_fixtures.rb#20
|
2308
|
+
def file_fixture_path; end
|
2309
|
+
|
2310
|
+
# source://activesupport/7.2.1/lib/active_support/testing/file_fixtures.rb#20
|
2311
|
+
def file_fixture_path?; end
|
2312
|
+
|
2313
|
+
# source://activestorage//lib/active_storage/fixture_set.rb#70
|
2314
|
+
def prepare(instance, **attributes); end
|
2315
|
+
|
2316
|
+
class << self
|
2317
|
+
# Generate a YAML-encoded representation of an ActiveStorage::Blob
|
2318
|
+
# instance's attributes, resolve the file relative to the directory mentioned
|
2319
|
+
# by ActiveSupport::Testing::FileFixtures.file_fixture, and upload
|
2320
|
+
# the file to the Service
|
2321
|
+
#
|
2322
|
+
# === Examples
|
2323
|
+
#
|
2324
|
+
# # tests/fixtures/active_storage/blobs.yml
|
2325
|
+
# second_thumbnail_blob: <%= ActiveStorage::FixtureSet.blob(
|
2326
|
+
# filename: "second.svg",
|
2327
|
+
# ) %>
|
2328
|
+
#
|
2329
|
+
# third_thumbnail_blob: <%= ActiveStorage::FixtureSet.blob(
|
2330
|
+
# filename: "third.svg",
|
2331
|
+
# content_type: "image/svg+xml",
|
2332
|
+
# service_name: "public"
|
2333
|
+
# ) %>
|
2334
|
+
#
|
2335
|
+
# source://activestorage//lib/active_storage/fixture_set.rb#66
|
2336
|
+
def blob(filename:, **attributes); end
|
2337
|
+
|
2338
|
+
# source://activesupport/7.2.1/lib/active_support/testing/file_fixtures.rb#20
|
2339
|
+
def file_fixture_path; end
|
2340
|
+
|
2341
|
+
# source://activesupport/7.2.1/lib/active_support/testing/file_fixtures.rb#20
|
2342
|
+
def file_fixture_path=(value); end
|
2343
|
+
|
2344
|
+
# source://activesupport/7.2.1/lib/active_support/testing/file_fixtures.rb#20
|
2345
|
+
def file_fixture_path?; end
|
2346
|
+
end
|
2347
|
+
end
|
2348
|
+
|
2349
|
+
# Raised when uploaded or downloaded data does not match a precomputed checksum.
|
2350
|
+
# Indicates that a network error or a software bug caused data corruption.
|
2351
|
+
#
|
2352
|
+
# source://activestorage//lib/active_storage/errors.rb#21
|
2353
|
+
class ActiveStorage::IntegrityError < ::ActiveStorage::Error; end
|
2354
|
+
|
2355
|
+
# Raised when ActiveStorage::Blob#variant is called on a blob that isn't variable.
|
2356
|
+
# Use ActiveStorage::Blob#variable? to determine whether a blob is variable.
|
2357
|
+
#
|
2358
|
+
# source://activestorage//lib/active_storage/errors.rb#9
|
2359
|
+
class ActiveStorage::InvariableError < ::ActiveStorage::Error; end
|
2360
|
+
|
2361
|
+
# source://activestorage//lib/active_storage/log_subscriber.rb#6
|
2362
|
+
class ActiveStorage::LogSubscriber < ::ActiveSupport::LogSubscriber
|
2363
|
+
# source://activestorage//lib/active_storage/log_subscriber.rb#53
|
2364
|
+
def logger; end
|
2365
|
+
|
2366
|
+
# source://activestorage//lib/active_storage/log_subscriber.rb#21
|
2367
|
+
def preview(event); end
|
2368
|
+
|
2369
|
+
# source://activestorage//lib/active_storage/log_subscriber.rb#26
|
2370
|
+
def service_delete(event); end
|
2371
|
+
|
2372
|
+
# source://activestorage//lib/active_storage/log_subscriber.rb#31
|
2373
|
+
def service_delete_prefixed(event); end
|
2374
|
+
|
2375
|
+
# source://activestorage//lib/active_storage/log_subscriber.rb#14
|
2376
|
+
def service_download(event); end
|
2377
|
+
|
2378
|
+
# source://activestorage//lib/active_storage/log_subscriber.rb#36
|
2379
|
+
def service_exist(event); end
|
2380
|
+
|
2381
|
+
# source://activestorage//lib/active_storage/log_subscriber.rb#46
|
2382
|
+
def service_mirror(event); end
|
2383
|
+
|
2384
|
+
# source://activestorage//lib/active_storage/log_subscriber.rb#14
|
2385
|
+
def service_streaming_download(event); end
|
2386
|
+
|
2387
|
+
# source://activestorage//lib/active_storage/log_subscriber.rb#7
|
2388
|
+
def service_upload(event); end
|
2389
|
+
|
2390
|
+
# source://activestorage//lib/active_storage/log_subscriber.rb#41
|
2391
|
+
def service_url(event); end
|
2392
|
+
|
2393
|
+
private
|
2394
|
+
|
2395
|
+
# source://activestorage//lib/active_storage/log_subscriber.rb#62
|
2396
|
+
def debug(event, colored_message); end
|
2397
|
+
|
2398
|
+
# source://activestorage//lib/active_storage/log_subscriber.rb#58
|
2399
|
+
def info(event, colored_message); end
|
2400
|
+
|
2401
|
+
# source://activestorage//lib/active_storage/log_subscriber.rb#70
|
2402
|
+
def key_in(event); end
|
2403
|
+
|
2404
|
+
# source://activestorage//lib/active_storage/log_subscriber.rb#66
|
2405
|
+
def log_prefix_for_service(event); end
|
2406
|
+
|
2407
|
+
class << self
|
2408
|
+
# source://activesupport/7.2.1/lib/active_support/log_subscriber.rb#84
|
2409
|
+
def log_levels; end
|
2410
|
+
end
|
2411
|
+
end
|
2412
|
+
|
2413
|
+
class ActiveStorage::MirrorJob < ::ActiveStorage::BaseJob
|
2414
|
+
def perform(key, checksum:); end
|
2415
|
+
|
2416
|
+
class << self
|
2417
|
+
# source://activejob/7.2.1/lib/active_job/queue_name.rb#55
|
2418
|
+
def queue_name; end
|
2419
|
+
|
2420
|
+
# source://activesupport/7.2.1/lib/active_support/rescuable.rb#15
|
2421
|
+
def rescue_handlers; end
|
2422
|
+
end
|
2423
|
+
end
|
2424
|
+
|
2425
|
+
class ActiveStorage::NamedVariant
|
2426
|
+
def initialize(transformations); end
|
2427
|
+
|
2428
|
+
def preprocessed; end
|
2429
|
+
def preprocessed?(record); end
|
2430
|
+
def transformations; end
|
2431
|
+
end
|
2432
|
+
|
2433
|
+
# Raised when a Previewer is unable to generate a preview image.
|
2434
|
+
#
|
2435
|
+
# source://activestorage//lib/active_storage/errors.rb#28
|
2436
|
+
class ActiveStorage::PreviewError < ::ActiveStorage::Error; end
|
2437
|
+
|
2438
|
+
class ActiveStorage::PreviewImageJob < ::ActiveStorage::BaseJob
|
2439
|
+
def perform(blob, variations); end
|
2440
|
+
|
2441
|
+
class << self
|
2442
|
+
# source://activejob/7.2.1/lib/active_job/queue_name.rb#55
|
2443
|
+
def queue_name; end
|
2444
|
+
|
2445
|
+
# source://activesupport/7.2.1/lib/active_support/rescuable.rb#15
|
2446
|
+
def rescue_handlers; end
|
2447
|
+
end
|
2448
|
+
end
|
2449
|
+
|
2450
|
+
# = Active Storage \Previewer
|
2451
|
+
#
|
2452
|
+
# This is an abstract base class for previewers, which generate images from blobs. See
|
2453
|
+
# ActiveStorage::Previewer::MuPDFPreviewer and ActiveStorage::Previewer::VideoPreviewer for
|
2454
|
+
# examples of concrete subclasses.
|
2455
|
+
#
|
2456
|
+
# source://activestorage//lib/active_storage/previewer.rb#9
|
2457
|
+
class ActiveStorage::Previewer
|
2458
|
+
# @return [Previewer] a new instance of Previewer
|
2459
|
+
#
|
2460
|
+
# source://activestorage//lib/active_storage/previewer.rb#18
|
2461
|
+
def initialize(blob); end
|
2462
|
+
|
2463
|
+
# Returns the value of attribute blob.
|
2464
|
+
#
|
2465
|
+
# source://activestorage//lib/active_storage/previewer.rb#10
|
2466
|
+
def blob; end
|
2467
|
+
|
2468
|
+
# Override this method in a concrete subclass. Have it yield an attachable preview image (i.e.
|
2469
|
+
# anything accepted by ActiveStorage::Attached::One#attach). Pass the additional options to
|
2470
|
+
# the underlying blob that is created.
|
2471
|
+
#
|
2472
|
+
# @raise [NotImplementedError]
|
2473
|
+
#
|
2474
|
+
# source://activestorage//lib/active_storage/previewer.rb#25
|
2475
|
+
def preview(**options); end
|
2476
|
+
|
2477
|
+
private
|
2478
|
+
|
2479
|
+
# source://activestorage//lib/active_storage/previewer.rb#78
|
2480
|
+
def capture(*argv, to:); end
|
2481
|
+
|
2482
|
+
# Downloads the blob to a tempfile on disk. Yields the tempfile.
|
2483
|
+
#
|
2484
|
+
# source://activestorage//lib/active_storage/previewer.rb#31
|
2485
|
+
def download_blob_to_tempfile(&block); end
|
2486
|
+
|
2487
|
+
# Executes a system command, capturing its binary output in a tempfile. Yields the tempfile.
|
2488
|
+
#
|
2489
|
+
# Use this method to shell out to a system library (e.g. muPDF or FFmpeg) for preview image
|
2490
|
+
# generation. The resulting tempfile can be used as the +:io+ value in an attachable Hash:
|
2491
|
+
#
|
2492
|
+
# def preview
|
2493
|
+
# download_blob_to_tempfile do |input|
|
2494
|
+
# draw "my-drawing-command", input.path, "--format", "png", "-" do |output|
|
2495
|
+
# yield io: output, filename: "#{blob.filename.base}.png", content_type: "image/png"
|
2496
|
+
# end
|
2497
|
+
# end
|
2498
|
+
# end
|
2499
|
+
#
|
2500
|
+
# The output tempfile is opened in the directory returned by #tmpdir.
|
2501
|
+
#
|
2502
|
+
# source://activestorage//lib/active_storage/previewer.rb#49
|
2503
|
+
def draw(*argv); end
|
2504
|
+
|
2505
|
+
# source://activestorage//lib/active_storage/previewer.rb#69
|
2506
|
+
def instrument(operation, payload = T.unsafe(nil), &block); end
|
2507
|
+
|
2508
|
+
# source://activestorage//lib/active_storage/previewer.rb#93
|
2509
|
+
def logger; end
|
2510
|
+
|
2511
|
+
# source://activestorage//lib/active_storage/previewer.rb#59
|
2512
|
+
def open_tempfile; end
|
2513
|
+
|
2514
|
+
# source://activestorage//lib/active_storage/previewer.rb#73
|
2515
|
+
def service_name; end
|
2516
|
+
|
2517
|
+
# source://activestorage//lib/active_storage/previewer.rb#97
|
2518
|
+
def tmpdir; end
|
2519
|
+
|
2520
|
+
class << self
|
2521
|
+
# Implement this method in a concrete subclass. Have it return true when given a blob from which
|
2522
|
+
# the previewer can generate an image.
|
2523
|
+
#
|
2524
|
+
# @return [Boolean]
|
2525
|
+
#
|
2526
|
+
# source://activestorage//lib/active_storage/previewer.rb#14
|
2527
|
+
def accept?(blob); end
|
2528
|
+
end
|
2529
|
+
end
|
2530
|
+
|
2531
|
+
# source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#4
|
2532
|
+
class ActiveStorage::Previewer::MuPDFPreviewer < ::ActiveStorage::Previewer
|
2533
|
+
# source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#27
|
2534
|
+
def preview(**options); end
|
2535
|
+
|
2536
|
+
private
|
2537
|
+
|
2538
|
+
# source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#36
|
2539
|
+
def draw_first_page_from(file, &block); end
|
2540
|
+
|
2541
|
+
class << self
|
2542
|
+
# source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#6
|
2543
|
+
def accept?(blob); end
|
2544
|
+
|
2545
|
+
# source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#18
|
2546
|
+
def mutool_exists?; end
|
2547
|
+
|
2548
|
+
# source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#14
|
2549
|
+
def mutool_path; end
|
2550
|
+
|
2551
|
+
# source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#10
|
2552
|
+
def pdf?(content_type); end
|
2553
|
+
end
|
2554
|
+
end
|
2555
|
+
|
2556
|
+
# source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#4
|
2557
|
+
class ActiveStorage::Previewer::PopplerPDFPreviewer < ::ActiveStorage::Previewer
|
2558
|
+
# source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#25
|
2559
|
+
def preview(**options); end
|
2560
|
+
|
2561
|
+
private
|
2562
|
+
|
2563
|
+
# source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#34
|
2564
|
+
def draw_first_page_from(file, &block); end
|
2565
|
+
|
2566
|
+
class << self
|
2567
|
+
# source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#6
|
2568
|
+
def accept?(blob); end
|
2569
|
+
|
2570
|
+
# source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#10
|
2571
|
+
def pdf?(content_type); end
|
2572
|
+
|
2573
|
+
# source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#18
|
2574
|
+
def pdftoppm_exists?; end
|
2575
|
+
|
2576
|
+
# source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#14
|
2577
|
+
def pdftoppm_path; end
|
2578
|
+
end
|
2579
|
+
end
|
2580
|
+
|
2581
|
+
# source://activestorage//lib/active_storage/previewer/video_previewer.rb#6
|
2582
|
+
class ActiveStorage::Previewer::VideoPreviewer < ::ActiveStorage::Previewer
|
2583
|
+
# source://activestorage//lib/active_storage/previewer/video_previewer.rb#23
|
2584
|
+
def preview(**options); end
|
2585
|
+
|
2586
|
+
private
|
2587
|
+
|
2588
|
+
# source://activestorage//lib/active_storage/previewer/video_previewer.rb#32
|
2589
|
+
def draw_relevant_frame_from(file, &block); end
|
2590
|
+
|
2591
|
+
class << self
|
2592
|
+
# source://activestorage//lib/active_storage/previewer/video_previewer.rb#8
|
2593
|
+
def accept?(blob); end
|
2594
|
+
|
2595
|
+
# source://activestorage//lib/active_storage/previewer/video_previewer.rb#12
|
2596
|
+
def ffmpeg_exists?; end
|
2597
|
+
|
2598
|
+
# source://activestorage//lib/active_storage/previewer/video_previewer.rb#18
|
2599
|
+
def ffmpeg_path; end
|
2600
|
+
end
|
2601
|
+
end
|
2602
|
+
|
2603
|
+
class ActiveStorage::PurgeJob < ::ActiveStorage::BaseJob
|
2604
|
+
def perform(blob); end
|
2605
|
+
|
2606
|
+
class << self
|
2607
|
+
# source://activejob/7.2.1/lib/active_job/queue_name.rb#55
|
2608
|
+
def queue_name; end
|
2609
|
+
|
2610
|
+
# source://activesupport/7.2.1/lib/active_support/rescuable.rb#15
|
2611
|
+
def rescue_handlers; end
|
2612
|
+
end
|
2613
|
+
end
|
2614
|
+
|
2615
|
+
class ActiveStorage::Record < ::ActiveRecord::Base
|
2616
|
+
include ::ActiveStorage::Record::GeneratedAttributeMethods
|
2617
|
+
include ::ActiveStorage::Record::GeneratedAssociationMethods
|
2618
|
+
|
2619
|
+
class << self
|
2620
|
+
# source://activemodel/7.2.1/lib/active_model/validations.rb#71
|
2621
|
+
def _validators; end
|
2622
|
+
|
2623
|
+
# source://activerecord/7.2.1/lib/active_record/enum.rb#167
|
2624
|
+
def defined_enums; end
|
2625
|
+
end
|
2626
|
+
end
|
2627
|
+
|
2628
|
+
module ActiveStorage::Record::GeneratedAssociationMethods; end
|
2629
|
+
module ActiveStorage::Record::GeneratedAttributeMethods; end
|
2630
|
+
|
2631
|
+
# source://activestorage//lib/active_storage/reflection.rb#4
|
2632
|
+
module ActiveStorage::Reflection; end
|
2633
|
+
|
2634
|
+
# source://activestorage//lib/active_storage/reflection.rb#49
|
2635
|
+
module ActiveStorage::Reflection::ActiveRecordExtensions
|
2636
|
+
extend ::ActiveSupport::Concern
|
2637
|
+
include GeneratedInstanceMethods
|
2638
|
+
|
2639
|
+
mixes_in_class_methods GeneratedClassMethods
|
2640
|
+
mixes_in_class_methods ::ActiveStorage::Reflection::ActiveRecordExtensions::ClassMethods
|
2641
|
+
|
2642
|
+
module GeneratedClassMethods
|
2643
|
+
def attachment_reflections; end
|
2644
|
+
def attachment_reflections=(value); end
|
2645
|
+
def attachment_reflections?; end
|
2646
|
+
end
|
2647
|
+
|
2648
|
+
module GeneratedInstanceMethods
|
2649
|
+
def attachment_reflections; end
|
2650
|
+
def attachment_reflections?; end
|
2651
|
+
end
|
2652
|
+
end
|
2653
|
+
|
2654
|
+
# source://activestorage//lib/active_storage/reflection.rb#56
|
2655
|
+
module ActiveStorage::Reflection::ActiveRecordExtensions::ClassMethods
|
2656
|
+
# Returns an array of reflection objects for all the attachments in the
|
2657
|
+
# class.
|
2658
|
+
#
|
2659
|
+
# source://activestorage//lib/active_storage/reflection.rb#59
|
2660
|
+
def reflect_on_all_attachments; end
|
2661
|
+
|
2662
|
+
# Returns the reflection object for the named +attachment+.
|
2663
|
+
#
|
2664
|
+
# User.reflect_on_attachment(:avatar)
|
2665
|
+
# # => the avatar reflection
|
2666
|
+
#
|
2667
|
+
# source://activestorage//lib/active_storage/reflection.rb#68
|
2668
|
+
def reflect_on_attachment(attachment); end
|
2669
|
+
end
|
2670
|
+
|
2671
|
+
# source://activestorage//lib/active_storage/reflection.rb#5
|
2672
|
+
class ActiveStorage::Reflection::HasAttachedReflection < ::ActiveRecord::Reflection::MacroReflection
|
2673
|
+
# source://activestorage//lib/active_storage/reflection.rb#10
|
2674
|
+
def named_variants; end
|
2675
|
+
|
2676
|
+
# source://activestorage//lib/active_storage/reflection.rb#6
|
2677
|
+
def variant(name, transformations); end
|
2678
|
+
end
|
2679
|
+
|
2680
|
+
# Holds all the metadata about a has_many_attached attachment as it was
|
2681
|
+
# specified in the Active Record class.
|
2682
|
+
#
|
2683
|
+
# source://activestorage//lib/active_storage/reflection.rb#25
|
2684
|
+
class ActiveStorage::Reflection::HasManyAttachedReflection < ::ActiveStorage::Reflection::HasAttachedReflection
|
2685
|
+
# source://activestorage//lib/active_storage/reflection.rb#26
|
2686
|
+
def macro; end
|
2687
|
+
end
|
2688
|
+
|
2689
|
+
# Holds all the metadata about a has_one_attached attachment as it was
|
2690
|
+
# specified in the Active Record class.
|
2691
|
+
#
|
2692
|
+
# source://activestorage//lib/active_storage/reflection.rb#17
|
2693
|
+
class ActiveStorage::Reflection::HasOneAttachedReflection < ::ActiveStorage::Reflection::HasAttachedReflection
|
2694
|
+
# source://activestorage//lib/active_storage/reflection.rb#18
|
2695
|
+
def macro; end
|
2696
|
+
end
|
2697
|
+
|
2698
|
+
# source://activestorage//lib/active_storage/reflection.rb#31
|
2699
|
+
module ActiveStorage::Reflection::ReflectionExtension
|
2700
|
+
# source://activestorage//lib/active_storage/reflection.rb#32
|
2701
|
+
def add_attachment_reflection(model, name, reflection); end
|
2702
|
+
|
2703
|
+
private
|
2704
|
+
|
2705
|
+
# source://activestorage//lib/active_storage/reflection.rb#37
|
2706
|
+
def reflection_class_for(macro); end
|
2707
|
+
end
|
2708
|
+
|
2709
|
+
module ActiveStorage::Representations; end
|
2710
|
+
|
2711
|
+
class ActiveStorage::Representations::BaseController < ::ActiveStorage::BaseController
|
2712
|
+
include ::ActiveStorage::SetBlob
|
2713
|
+
|
2714
|
+
private
|
2715
|
+
|
2716
|
+
# source://actionview/7.2.1/lib/action_view/layouts.rb#328
|
2717
|
+
def _layout(lookup_context, formats); end
|
2718
|
+
|
2719
|
+
def blob_scope; end
|
2720
|
+
def set_representation; end
|
2721
|
+
|
2722
|
+
class << self
|
2723
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
|
2724
|
+
def __callbacks; end
|
2725
|
+
|
2726
|
+
# source://actionpack/7.2.1/lib/action_controller/metal.rb#288
|
2727
|
+
def middleware_stack; end
|
2728
|
+
end
|
2729
|
+
end
|
2730
|
+
|
2731
|
+
class ActiveStorage::Representations::ProxyController < ::ActiveStorage::Representations::BaseController
|
2732
|
+
include ::ActionController::Live
|
2733
|
+
include ::ActiveStorage::Streaming
|
2734
|
+
include ::ActiveStorage::DisableSession
|
2735
|
+
extend ::ActionController::Live::ClassMethods
|
2736
|
+
|
2737
|
+
def show; end
|
2738
|
+
|
2739
|
+
private
|
2740
|
+
|
2741
|
+
# source://actionview/7.2.1/lib/action_view/layouts.rb#328
|
2742
|
+
def _layout(lookup_context, formats); end
|
2743
|
+
|
2744
|
+
class << self
|
2745
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
|
2746
|
+
def __callbacks; end
|
2747
|
+
|
2748
|
+
# source://actionpack/7.2.1/lib/action_controller/metal.rb#288
|
2749
|
+
def middleware_stack; end
|
2750
|
+
end
|
2751
|
+
end
|
2752
|
+
|
2753
|
+
class ActiveStorage::Representations::RedirectController < ::ActiveStorage::Representations::BaseController
|
2754
|
+
def show; end
|
2755
|
+
|
2756
|
+
private
|
2757
|
+
|
2758
|
+
# source://actionview/7.2.1/lib/action_view/layouts.rb#328
|
2759
|
+
def _layout(lookup_context, formats); end
|
2760
|
+
|
2761
|
+
class << self
|
2762
|
+
# source://actionpack/7.2.1/lib/action_controller/metal.rb#288
|
2763
|
+
def middleware_stack; end
|
2764
|
+
end
|
2765
|
+
end
|
2766
|
+
|
2767
|
+
# = Active Storage \Service
|
2768
|
+
#
|
2769
|
+
# Abstract class serving as an interface for concrete services.
|
2770
|
+
#
|
2771
|
+
# The available services are:
|
2772
|
+
#
|
2773
|
+
# * +Disk+, to manage attachments saved directly on the hard drive.
|
2774
|
+
# * +GCS+, to manage attachments through Google Cloud Storage.
|
2775
|
+
# * +S3+, to manage attachments through Amazon S3.
|
2776
|
+
# * +AzureStorage+, to manage attachments through Microsoft Azure Storage.
|
2777
|
+
# * +Mirror+, to be able to use several services to manage attachments.
|
2778
|
+
#
|
2779
|
+
# Inside a \Rails application, you can set-up your services through the
|
2780
|
+
# generated <tt>config/storage.yml</tt> file and reference one
|
2781
|
+
# of the aforementioned constant under the +service+ key. For example:
|
2782
|
+
#
|
2783
|
+
# local:
|
2784
|
+
# service: Disk
|
2785
|
+
# root: <%= Rails.root.join("storage") %>
|
2786
|
+
#
|
2787
|
+
# You can checkout the service's constructor to know which keys are required.
|
2788
|
+
#
|
2789
|
+
# Then, in your application's configuration, you can specify the service to
|
2790
|
+
# use like this:
|
2791
|
+
#
|
2792
|
+
# config.active_storage.service = :local
|
2793
|
+
#
|
2794
|
+
# If you are using Active Storage outside of a Ruby on \Rails application, you
|
2795
|
+
# can configure the service to use like this:
|
2796
|
+
#
|
2797
|
+
# ActiveStorage::Blob.service = ActiveStorage::Service.configure(
|
2798
|
+
# :local,
|
2799
|
+
# { local: {service: "Disk", root: Pathname("/tmp/foo/storage") } }
|
2800
|
+
# )
|
2801
|
+
#
|
2802
|
+
# source://activestorage//lib/active_storage/service.rb#43
|
2803
|
+
class ActiveStorage::Service
|
2804
|
+
extend ::ActiveSupport::Autoload
|
2805
|
+
|
2806
|
+
# Concatenate multiple files into a single "composed" file.
|
2807
|
+
#
|
2808
|
+
# @raise [NotImplementedError]
|
2809
|
+
#
|
2810
|
+
# source://activestorage//lib/active_storage/service.rb#96
|
2811
|
+
def compose(source_keys, destination_key, filename: T.unsafe(nil), content_type: T.unsafe(nil), disposition: T.unsafe(nil), custom_metadata: T.unsafe(nil)); end
|
2812
|
+
|
2813
|
+
# Delete the file at the +key+.
|
2814
|
+
#
|
2815
|
+
# @raise [NotImplementedError]
|
2816
|
+
#
|
2817
|
+
# source://activestorage//lib/active_storage/service.rb#101
|
2818
|
+
def delete(key); end
|
2819
|
+
|
2820
|
+
# Delete files at keys starting with the +prefix+.
|
2821
|
+
#
|
2822
|
+
# @raise [NotImplementedError]
|
2823
|
+
#
|
2824
|
+
# source://activestorage//lib/active_storage/service.rb#106
|
2825
|
+
def delete_prefixed(prefix); end
|
2826
|
+
|
2827
|
+
# Return the content of the file at the +key+.
|
2828
|
+
#
|
2829
|
+
# @raise [NotImplementedError]
|
2830
|
+
#
|
2831
|
+
# source://activestorage//lib/active_storage/service.rb#82
|
2832
|
+
def download(key); end
|
2833
|
+
|
2834
|
+
# Return the partial content in the byte +range+ of the file at the +key+.
|
2835
|
+
#
|
2836
|
+
# @raise [NotImplementedError]
|
2837
|
+
#
|
2838
|
+
# source://activestorage//lib/active_storage/service.rb#87
|
2839
|
+
def download_chunk(key, range); end
|
2840
|
+
|
2841
|
+
# Return +true+ if a file exists at the +key+.
|
2842
|
+
#
|
2843
|
+
# @raise [NotImplementedError]
|
2844
|
+
# @return [Boolean]
|
2845
|
+
#
|
2846
|
+
# source://activestorage//lib/active_storage/service.rb#111
|
2847
|
+
def exist?(key); end
|
2848
|
+
|
2849
|
+
# Returns a Hash of headers for +url_for_direct_upload+ requests.
|
2850
|
+
#
|
2851
|
+
# source://activestorage//lib/active_storage/service.rb#143
|
2852
|
+
def headers_for_direct_upload(key, filename:, content_type:, content_length:, checksum:, custom_metadata: T.unsafe(nil)); end
|
2853
|
+
|
2854
|
+
# Returns the value of attribute name.
|
2855
|
+
#
|
2856
|
+
# source://activestorage//lib/active_storage/service.rb#46
|
2857
|
+
def name; end
|
2858
|
+
|
2859
|
+
# Sets the attribute name
|
2860
|
+
#
|
2861
|
+
# @param value the value to set the attribute name to.
|
2862
|
+
#
|
2863
|
+
# source://activestorage//lib/active_storage/service.rb#46
|
2864
|
+
def name=(_arg0); end
|
2865
|
+
|
2866
|
+
# source://activestorage//lib/active_storage/service.rb#91
|
2867
|
+
def open(*args, **options, &block); end
|
2868
|
+
|
2869
|
+
# @return [Boolean]
|
2870
|
+
#
|
2871
|
+
# source://activestorage//lib/active_storage/service.rb#147
|
2872
|
+
def public?; end
|
2873
|
+
|
2874
|
+
# Update metadata for the file identified by +key+ in the service.
|
2875
|
+
# Override in subclasses only if the service needs to store specific
|
2876
|
+
# metadata that has to be updated upon identification.
|
2877
|
+
#
|
2878
|
+
# source://activestorage//lib/active_storage/service.rb#78
|
2879
|
+
def update_metadata(key, **metadata); end
|
2880
|
+
|
2881
|
+
# Upload the +io+ to the +key+ specified. If a +checksum+ is provided, the service will
|
2882
|
+
# ensure a match when the upload has completed or raise an ActiveStorage::IntegrityError.
|
2883
|
+
#
|
2884
|
+
# @raise [NotImplementedError]
|
2885
|
+
#
|
2886
|
+
# source://activestorage//lib/active_storage/service.rb#71
|
2887
|
+
def upload(key, io, checksum: T.unsafe(nil), **options); end
|
2888
|
+
|
2889
|
+
# Returns the URL for the file at the +key+. This returns a permanent URL for public files, and returns a
|
2890
|
+
# short-lived URL for private files. For private files you can provide the +disposition+ (+:inline+ or +:attachment+),
|
2891
|
+
# +filename+, and +content_type+ that you wish the file to be served with on request. Additionally, you can also provide
|
2892
|
+
# the amount of seconds the URL will be valid for, specified in +expires_in+.
|
2893
|
+
#
|
2894
|
+
# source://activestorage//lib/active_storage/service.rb#119
|
2895
|
+
def url(key, **options); end
|
2896
|
+
|
2897
|
+
# Returns a signed, temporary URL that a direct upload file can be PUT to on the +key+.
|
2898
|
+
# The URL will be valid for the amount of seconds specified in +expires_in+.
|
2899
|
+
# You must also provide the +content_type+, +content_length+, and +checksum+ of the file
|
2900
|
+
# that will be uploaded. All these attributes will be validated by the service upon upload.
|
2901
|
+
#
|
2902
|
+
# @raise [NotImplementedError]
|
2903
|
+
#
|
2904
|
+
# source://activestorage//lib/active_storage/service.rb#138
|
2905
|
+
def url_for_direct_upload(key, expires_in:, content_type:, content_length:, checksum:, custom_metadata: T.unsafe(nil)); end
|
2906
|
+
|
2907
|
+
private
|
2908
|
+
|
2909
|
+
# source://activestorage//lib/active_storage/service.rb#175
|
2910
|
+
def content_disposition_with(filename:, type: T.unsafe(nil)); end
|
2911
|
+
|
2912
|
+
# @raise [NotImplementedError]
|
2913
|
+
#
|
2914
|
+
# source://activestorage//lib/active_storage/service.rb#160
|
2915
|
+
def custom_metadata_headers(metadata); end
|
2916
|
+
|
2917
|
+
# source://activestorage//lib/active_storage/service.rb#164
|
2918
|
+
def instrument(operation, payload = T.unsafe(nil), &block); end
|
2919
|
+
|
2920
|
+
# @raise [NotImplementedError]
|
2921
|
+
#
|
2922
|
+
# source://activestorage//lib/active_storage/service.rb#152
|
2923
|
+
def private_url(key, expires_in:, filename:, disposition:, content_type:, **_arg5); end
|
2924
|
+
|
2925
|
+
# @raise [NotImplementedError]
|
2926
|
+
#
|
2927
|
+
# source://activestorage//lib/active_storage/service.rb#156
|
2928
|
+
def public_url(key, **_arg1); end
|
2929
|
+
|
2930
|
+
# source://activestorage//lib/active_storage/service.rb#170
|
2931
|
+
def service_name; end
|
2932
|
+
|
2933
|
+
class << self
|
2934
|
+
# Override in subclasses that stitch together multiple services and hence
|
2935
|
+
# need to build additional services using the configurator.
|
2936
|
+
#
|
2937
|
+
# Passes the configurator and all of the service's config as keyword args.
|
2938
|
+
#
|
2939
|
+
# See MirrorService for an example.
|
2940
|
+
#
|
2941
|
+
# source://activestorage//lib/active_storage/service.rb#62
|
2942
|
+
def build(configurator:, name:, service: T.unsafe(nil), **service_config); end
|
2943
|
+
|
2944
|
+
# Configure an Active Storage service by name from a set of configurations,
|
2945
|
+
# typically loaded from a YAML file. The Active Storage engine uses this
|
2946
|
+
# to set the global Active Storage service when the app boots.
|
2947
|
+
#
|
2948
|
+
# source://activestorage//lib/active_storage/service.rb#52
|
2949
|
+
def configure(service_name, configurations); end
|
2950
|
+
end
|
2951
|
+
end
|
2952
|
+
|
2953
|
+
# source://activestorage//lib/active_storage/service/configurator.rb#4
|
2954
|
+
class ActiveStorage::Service::Configurator
|
2955
|
+
# source://activestorage//lib/active_storage/service/configurator.rb#11
|
2956
|
+
def initialize(configurations); end
|
2957
|
+
|
2958
|
+
# source://activestorage//lib/active_storage/service/configurator.rb#15
|
2959
|
+
def build(service_name); end
|
2960
|
+
|
2961
|
+
# source://activestorage//lib/active_storage/service/configurator.rb#5
|
2962
|
+
def configurations; end
|
2963
|
+
|
2964
|
+
private
|
2965
|
+
|
2966
|
+
# source://activestorage//lib/active_storage/service/configurator.rb#23
|
2967
|
+
def config_for(name); end
|
2968
|
+
|
2969
|
+
# source://activestorage//lib/active_storage/service/configurator.rb#29
|
2970
|
+
def resolve(class_name); end
|
2971
|
+
|
2972
|
+
class << self
|
2973
|
+
# source://activestorage//lib/active_storage/service/configurator.rb#7
|
2974
|
+
def build(service_name, configurations); end
|
2975
|
+
end
|
2976
|
+
end
|
2977
|
+
|
2978
|
+
# source://activestorage//lib/active_storage/service/registry.rb#4
|
2979
|
+
class ActiveStorage::Service::Registry
|
2980
|
+
# source://activestorage//lib/active_storage/service/registry.rb#5
|
2981
|
+
def initialize(configurations); end
|
2982
|
+
|
2983
|
+
# source://activestorage//lib/active_storage/service/registry.rb#10
|
2984
|
+
def fetch(name); end
|
2985
|
+
|
2986
|
+
private
|
2987
|
+
|
2988
|
+
# source://activestorage//lib/active_storage/service/registry.rb#26
|
2989
|
+
def configurations; end
|
2990
|
+
|
2991
|
+
# source://activestorage//lib/active_storage/service/registry.rb#28
|
2992
|
+
def configurator; end
|
2993
|
+
|
2994
|
+
# source://activestorage//lib/active_storage/service/registry.rb#26
|
2995
|
+
def services; end
|
2996
|
+
end
|
2997
|
+
|
2998
|
+
module ActiveStorage::SetBlob
|
2999
|
+
extend ::ActiveSupport::Concern
|
3000
|
+
|
3001
|
+
private
|
3002
|
+
|
3003
|
+
def blob_scope; end
|
3004
|
+
def set_blob; end
|
3005
|
+
end
|
3006
|
+
|
3007
|
+
module ActiveStorage::SetCurrent
|
3008
|
+
extend ::ActiveSupport::Concern
|
3009
|
+
end
|
3010
|
+
|
3011
|
+
module ActiveStorage::Streaming
|
3012
|
+
extend ::ActiveSupport::Concern
|
3013
|
+
include ::ActionController::Rendering
|
3014
|
+
include ::ActionController::DataStreaming
|
3015
|
+
include ::ActionController::Live
|
3016
|
+
|
3017
|
+
mixes_in_class_methods ::ActionController::Rendering::ClassMethods
|
3018
|
+
mixes_in_class_methods ::ActionController::Live::ClassMethods
|
3019
|
+
|
3020
|
+
private
|
3021
|
+
|
3022
|
+
def send_blob_byte_range_data(blob, range_header, disposition: T.unsafe(nil)); end
|
3023
|
+
def send_blob_stream(blob, disposition: T.unsafe(nil)); end
|
3024
|
+
end
|
3025
|
+
|
3026
|
+
ActiveStorage::Streaming::DEFAULT_BLOB_STREAMING_DISPOSITION = T.let(T.unsafe(nil), String)
|
3027
|
+
|
3028
|
+
class ActiveStorage::TransformJob < ::ActiveStorage::BaseJob
|
3029
|
+
def perform(blob, transformations); end
|
3030
|
+
|
3031
|
+
class << self
|
3032
|
+
# source://activejob/7.2.1/lib/active_job/queue_name.rb#55
|
3033
|
+
def queue_name; end
|
3034
|
+
|
3035
|
+
# source://activesupport/7.2.1/lib/active_support/rescuable.rb#15
|
3036
|
+
def rescue_handlers; end
|
3037
|
+
end
|
3038
|
+
end
|
3039
|
+
|
3040
|
+
# source://activestorage//lib/active_storage.rb#368
|
3041
|
+
module ActiveStorage::Transformers
|
3042
|
+
extend ::ActiveSupport::Autoload
|
3043
|
+
end
|
3044
|
+
|
3045
|
+
# = Active Storage \Transformers \Transformer
|
3046
|
+
#
|
3047
|
+
# A Transformer applies a set of transformations to an image.
|
3048
|
+
#
|
3049
|
+
# The following concrete subclasses are included in Active Storage:
|
3050
|
+
#
|
3051
|
+
# * ActiveStorage::Transformers::ImageProcessingTransformer:
|
3052
|
+
# backed by ImageProcessing, a common interface for MiniMagick and ruby-vips
|
3053
|
+
#
|
3054
|
+
# source://activestorage//lib/active_storage/transformers/transformer.rb#13
|
3055
|
+
class ActiveStorage::Transformers::Transformer
|
3056
|
+
# @return [Transformer] a new instance of Transformer
|
3057
|
+
#
|
3058
|
+
# source://activestorage//lib/active_storage/transformers/transformer.rb#16
|
3059
|
+
def initialize(transformations); end
|
3060
|
+
|
3061
|
+
# Applies the transformations to the source image in +file+, producing a target image in the
|
3062
|
+
# specified +format+. Yields an open Tempfile containing the target image. Closes and unlinks
|
3063
|
+
# the output tempfile after yielding to the given block. Returns the result of the block.
|
3064
|
+
#
|
3065
|
+
# source://activestorage//lib/active_storage/transformers/transformer.rb#23
|
3066
|
+
def transform(file, format:); end
|
3067
|
+
|
3068
|
+
# Returns the value of attribute transformations.
|
3069
|
+
#
|
3070
|
+
# source://activestorage//lib/active_storage/transformers/transformer.rb#14
|
3071
|
+
def transformations; end
|
3072
|
+
|
3073
|
+
private
|
3074
|
+
|
3075
|
+
# Returns an open Tempfile containing a transformed image in the given +format+.
|
3076
|
+
# All subclasses implement this method.
|
3077
|
+
#
|
3078
|
+
# @raise [NotImplementedError]
|
3079
|
+
#
|
3080
|
+
# source://activestorage//lib/active_storage/transformers/transformer.rb#36
|
3081
|
+
def process(file, format:); end
|
3082
|
+
end
|
3083
|
+
|
3084
|
+
# Raised when ActiveStorage::Blob#preview is called on a blob that isn't previewable.
|
3085
|
+
# Use ActiveStorage::Blob#previewable? to determine whether a blob is previewable.
|
3086
|
+
#
|
3087
|
+
# source://activestorage//lib/active_storage/errors.rb#13
|
3088
|
+
class ActiveStorage::UnpreviewableError < ::ActiveStorage::Error; end
|
3089
|
+
|
3090
|
+
# Raised when ActiveStorage::Blob#representation is called on a blob that isn't representable.
|
3091
|
+
# Use ActiveStorage::Blob#representable? to determine whether a blob is representable.
|
3092
|
+
#
|
3093
|
+
# source://activestorage//lib/active_storage/errors.rb#17
|
3094
|
+
class ActiveStorage::UnrepresentableError < ::ActiveStorage::Error; end
|
3095
|
+
|
3096
|
+
# source://activestorage//lib/active_storage/gem_version.rb#9
|
3097
|
+
module ActiveStorage::VERSION; end
|
3098
|
+
|
3099
|
+
# source://activestorage//lib/active_storage/gem_version.rb#10
|
3100
|
+
ActiveStorage::VERSION::MAJOR = T.let(T.unsafe(nil), Integer)
|
3101
|
+
|
3102
|
+
# source://activestorage//lib/active_storage/gem_version.rb#11
|
3103
|
+
ActiveStorage::VERSION::MINOR = T.let(T.unsafe(nil), Integer)
|
3104
|
+
|
3105
|
+
# source://activestorage//lib/active_storage/gem_version.rb#13
|
3106
|
+
ActiveStorage::VERSION::PRE = T.let(T.unsafe(nil), T.untyped)
|
3107
|
+
|
3108
|
+
# source://activestorage//lib/active_storage/gem_version.rb#15
|
3109
|
+
ActiveStorage::VERSION::STRING = T.let(T.unsafe(nil), String)
|
3110
|
+
|
3111
|
+
# source://activestorage//lib/active_storage/gem_version.rb#12
|
3112
|
+
ActiveStorage::VERSION::TINY = T.let(T.unsafe(nil), Integer)
|
3113
|
+
|
3114
|
+
class ActiveStorage::VariantRecord < ::ActiveStorage::Record
|
3115
|
+
include ::ActiveStorage::VariantRecord::GeneratedAttributeMethods
|
3116
|
+
include ::ActiveStorage::VariantRecord::GeneratedAssociationMethods
|
3117
|
+
|
3118
|
+
# source://activerecord/7.2.1/lib/active_record/autosave_association.rb#162
|
3119
|
+
def autosave_associated_records_for_blob(*args); end
|
3120
|
+
|
3121
|
+
# source://activerecord/7.2.1/lib/active_record/autosave_association.rb#162
|
3122
|
+
def autosave_associated_records_for_image_attachment(*args); end
|
3123
|
+
|
3124
|
+
# source://activerecord/7.2.1/lib/active_record/autosave_association.rb#162
|
3125
|
+
def autosave_associated_records_for_image_blob(*args); end
|
3126
|
+
|
3127
|
+
class << self
|
3128
|
+
# source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
|
3129
|
+
def __callbacks; end
|
3130
|
+
|
3131
|
+
# source://activerecord/7.2.1/lib/active_record/reflection.rb#11
|
3132
|
+
def _reflections; end
|
3133
|
+
|
3134
|
+
# source://activemodel/7.2.1/lib/active_model/validations.rb#71
|
3135
|
+
def _validators; end
|
3136
|
+
|
3137
|
+
# source://activestorage//lib/active_storage/reflection.rb#53
|
3138
|
+
def attachment_reflections; end
|
3139
|
+
|
3140
|
+
# source://activerecord/7.2.1/lib/active_record/enum.rb#167
|
3141
|
+
def defined_enums; end
|
3142
|
+
|
3143
|
+
# source://activerecord/7.2.1/lib/active_record/scoping/named.rb#174
|
3144
|
+
def with_attached_image(*args, **_arg1); end
|
3145
|
+
end
|
3146
|
+
end
|
3147
|
+
|
3148
|
+
module ActiveStorage::VariantRecord::GeneratedAssociationMethods
|
3149
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/association.rb#103
|
3150
|
+
def blob; end
|
3151
|
+
|
3152
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/association.rb#111
|
3153
|
+
def blob=(value); end
|
3154
|
+
|
3155
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/belongs_to.rb#146
|
3156
|
+
def blob_changed?; end
|
3157
|
+
|
3158
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/belongs_to.rb#150
|
3159
|
+
def blob_previously_changed?; end
|
3160
|
+
|
3161
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#32
|
3162
|
+
def build_blob(*args, &block); end
|
3163
|
+
|
3164
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#32
|
3165
|
+
def build_image_attachment(*args, &block); end
|
3166
|
+
|
3167
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#32
|
3168
|
+
def build_image_blob(*args, &block); end
|
3169
|
+
|
3170
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#36
|
3171
|
+
def create_blob(*args, &block); end
|
3172
|
+
|
3173
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#40
|
3174
|
+
def create_blob!(*args, &block); end
|
3175
|
+
|
3176
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#36
|
3177
|
+
def create_image_attachment(*args, &block); end
|
3178
|
+
|
3179
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#40
|
3180
|
+
def create_image_attachment!(*args, &block); end
|
3181
|
+
|
3182
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#36
|
3183
|
+
def create_image_blob(*args, &block); end
|
3184
|
+
|
3185
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#40
|
3186
|
+
def create_image_blob!(*args, &block); end
|
3187
|
+
|
3188
|
+
# source://activestorage//lib/active_storage/attached/model.rb#111
|
3189
|
+
def image; end
|
3190
|
+
|
3191
|
+
# source://activestorage//lib/active_storage/attached/model.rb#116
|
3192
|
+
def image=(attachable); end
|
3193
|
+
|
3194
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/association.rb#103
|
3195
|
+
def image_attachment; end
|
3196
|
+
|
3197
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/association.rb#111
|
3198
|
+
def image_attachment=(value); end
|
3199
|
+
|
3200
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/association.rb#103
|
3201
|
+
def image_blob; end
|
3202
|
+
|
3203
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/association.rb#111
|
3204
|
+
def image_blob=(value); end
|
3205
|
+
|
3206
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#19
|
3207
|
+
def reload_blob; end
|
3208
|
+
|
3209
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#19
|
3210
|
+
def reload_image_attachment; end
|
3211
|
+
|
3212
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#19
|
3213
|
+
def reload_image_blob; end
|
3214
|
+
|
3215
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#23
|
3216
|
+
def reset_blob; end
|
3217
|
+
|
3218
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#23
|
3219
|
+
def reset_image_attachment; end
|
3220
|
+
|
3221
|
+
# source://activerecord/7.2.1/lib/active_record/associations/builder/singular_association.rb#23
|
3222
|
+
def reset_image_blob; end
|
3223
|
+
end
|
3224
|
+
|
3225
|
+
module ActiveStorage::VariantRecord::GeneratedAttributeMethods; end
|
3226
|
+
|
3227
|
+
class ActiveStorage::Variation
|
3228
|
+
def initialize(transformations); end
|
3229
|
+
|
3230
|
+
def content_type; end
|
3231
|
+
def default_to(defaults); end
|
3232
|
+
def digest; end
|
3233
|
+
def format; end
|
3234
|
+
def key; end
|
3235
|
+
def transform(file, &block); end
|
3236
|
+
def transformations; end
|
3237
|
+
|
3238
|
+
private
|
3239
|
+
|
3240
|
+
def transformer; end
|
3241
|
+
|
3242
|
+
class << self
|
3243
|
+
def decode(key); end
|
3244
|
+
def encode(transformations); end
|
3245
|
+
def wrap(variator); end
|
3246
|
+
end
|
3247
|
+
end
|