active_cached_resource 0.0.1.pre → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -1
- data/Rakefile +22 -14
- data/lib/active_cached_resource/version.rb +3 -3
- data/lib/activeresource/examples/performance.rb +1 -1
- data/lib/activeresource/lib/active_resource/collection.rb +14 -1
- data/lib/activeresource/lib/active_resource/railtie.rb +2 -2
- data/lib/activeresource/lib/active_resource.rb +1 -1
- data/lib/activeresource/test/abstract_unit.rb +2 -1
- data/lib/activeresource/test/cases/active_job_serializer_test.rb +1 -1
- data/lib/activeresource/test/cases/collection_test.rb +24 -0
- data/lib/activeresource/test/cases/log_subscriber_test.rb +2 -1
- data/lib/activeresource/test/fixtures/fixtures.rbi +46 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/{actioncable@8.0.0.rbi → actioncable@8.0.1.rbi} +51 -51
- data/sorbet/rbi/gems/{actionpack@8.0.0.rbi → actionpack@8.0.1.rbi} +548 -346
- data/sorbet/rbi/gems/{actionview@8.0.0.rbi → actionview@8.0.1.rbi} +465 -263
- data/sorbet/rbi/gems/activejob@8.0.1.rbi +90 -0
- data/sorbet/rbi/gems/activemodel-serializers-xml@1.0.3.rbi +4 -4
- data/sorbet/rbi/gems/{activemodel@8.0.0.rbi → activemodel@8.0.1.rbi} +11 -3
- data/sorbet/rbi/gems/{activerecord@8.0.0.rbi → activerecord@8.0.1.rbi} +957 -576
- data/sorbet/rbi/gems/{activesupport@8.0.0.rbi → activesupport@8.0.1.rbi} +287 -112
- data/sorbet/rbi/gems/{json@2.8.2.rbi → json@2.9.0.rbi} +107 -64
- data/sorbet/rbi/gems/{logger@1.6.1.rbi → logger@1.6.3.rbi} +31 -11
- data/sorbet/rbi/gems/mocha@2.7.1.rbi +12 -0
- data/sorbet/rbi/gems/msgpack@1.7.5.rbi +320 -0
- data/sorbet/rbi/gems/{nokogiri@1.16.7.rbi → nokogiri@1.17.2.rbi} +1692 -802
- data/sorbet/rbi/gems/{psych@5.2.0.rbi → psych@5.2.1.rbi} +47 -47
- data/sorbet/rbi/gems/rack@3.1.8.rbi +1 -1
- data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +22 -22
- data/sorbet/rbi/gems/{rails-html-sanitizer@1.6.0.rbi → rails-html-sanitizer@1.6.2.rbi} +100 -100
- data/sorbet/rbi/gems/{railties@8.0.0.rbi → railties@8.0.1.rbi} +186 -126
- data/sorbet/rbi/gems/rake@13.2.1.rbi +0 -63
- data/sorbet/rbi/gems/{rdoc@6.8.1.rbi → rdoc@6.9.1.rbi} +160 -139
- data/sorbet/rbi/gems/{regexp_parser@2.9.2.rbi → regexp_parser@2.9.3.rbi} +35 -35
- data/sorbet/rbi/gems/{reline@0.5.12.rbi → reline@0.6.0.rbi} +473 -435
- data/sorbet/rbi/gems/{rexml@3.3.9.rbi → rexml@3.4.0.rbi} +87 -74
- data/sorbet/rbi/gems/rspec-core@3.13.2.rbi +3 -6
- data/sorbet/rbi/gems/{rubocop-ast@1.36.1.rbi → rubocop-ast@1.37.0.rbi} +514 -104
- data/sorbet/rbi/gems/rubocop-md@1.2.4.rbi +123 -0
- data/sorbet/rbi/gems/rubocop-minitest@0.36.0.rbi +2613 -0
- data/sorbet/rbi/gems/rubocop-packaging@0.5.2.rbi +388 -0
- data/sorbet/rbi/gems/rubocop-rails@2.27.0.rbi +9535 -0
- data/sorbet/rbi/gems/{rubocop@1.65.1.rbi → rubocop@1.69.2.rbi} +4058 -2628
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
- data/sorbet/rbi/gems/securerandom@0.4.1.rbi +78 -0
- data/sorbet/rbi/gems/sqlite3@2.3.1.rbi +1824 -0
- data/sorbet/rbi/gems/{standard@1.40.0.rbi → standard@1.43.0.rbi} +61 -64
- data/sorbet/rbi/gems/unicode-display_width@3.1.2.rbi +130 -0
- data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
- data/sorbet/tapioca/require.rb +2 -1
- metadata +49 -139
- data/sorbet/rbi/gems/activejob@8.0.0.rbi +0 -9
- data/sorbet/rbi/gems/activeresource@6.1.4.rbi +0 -3944
- data/sorbet/rbi/gems/securerandom@0.3.2.rbi +0 -395
- data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +0 -66
- /data/sorbet/rbi/gems/{actionmailbox@8.0.0.rbi → actionmailbox@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{actionmailer@8.0.0.rbi → actionmailer@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{actiontext@8.0.0.rbi → actiontext@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{activestorage@8.0.0.rbi → activestorage@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{date@3.4.0.rbi → date@3.4.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{io-console@0.7.2.rbi → io-console@0.8.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{minitest@5.25.2.rbi → minitest@5.25.4.rbi} +0 -0
- /data/sorbet/rbi/gems/{net-imap@0.5.1.rbi → net-imap@0.5.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{rails@8.0.0.rbi → rails@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{rspec-support@3.13.1.rbi → rspec-support@3.13.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{rubocop-performance@1.21.1.rbi → rubocop-performance@1.23.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{standard-performance@1.4.0.rbi → standard-performance@1.6.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{useragent@0.16.10.rbi → useragent@0.16.11.rbi} +0 -0
@@ -1121,85 +1121,85 @@ end
|
|
1121
1121
|
#
|
1122
1122
|
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#6
|
1123
1123
|
class ActiveRecord::Associations::BelongsToAssociation < ::ActiveRecord::Associations::SingularAssociation
|
1124
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1124
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#59
|
1125
1125
|
def decrement_counters; end
|
1126
1126
|
|
1127
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1127
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#67
|
1128
1128
|
def decrement_counters_before_last_save; end
|
1129
1129
|
|
1130
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1130
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#46
|
1131
1131
|
def default(&block); end
|
1132
1132
|
|
1133
1133
|
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#7
|
1134
1134
|
def handle_dependency; end
|
1135
1135
|
|
1136
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1136
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#63
|
1137
1137
|
def increment_counters; end
|
1138
1138
|
|
1139
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1139
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#41
|
1140
1140
|
def inversed_from(record); end
|
1141
1141
|
|
1142
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1142
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#50
|
1143
1143
|
def reset; end
|
1144
1144
|
|
1145
1145
|
# @return [Boolean]
|
1146
1146
|
#
|
1147
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1147
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#90
|
1148
1148
|
def saved_change_to_target?; end
|
1149
1149
|
|
1150
1150
|
# @return [Boolean]
|
1151
1151
|
#
|
1152
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1152
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#82
|
1153
1153
|
def target_changed?; end
|
1154
1154
|
|
1155
1155
|
# @return [Boolean]
|
1156
1156
|
#
|
1157
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1157
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#86
|
1158
1158
|
def target_previously_changed?; end
|
1159
1159
|
|
1160
1160
|
# @return [Boolean]
|
1161
1161
|
#
|
1162
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1162
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#55
|
1163
1163
|
def updated?; end
|
1164
1164
|
|
1165
1165
|
private
|
1166
1166
|
|
1167
1167
|
# @return [Boolean]
|
1168
1168
|
#
|
1169
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1169
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#124
|
1170
1170
|
def find_target?; end
|
1171
1171
|
|
1172
1172
|
# @return [Boolean]
|
1173
1173
|
#
|
1174
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1174
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#155
|
1175
1175
|
def foreign_key_present?; end
|
1176
1176
|
|
1177
1177
|
# @return [Boolean]
|
1178
1178
|
#
|
1179
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1179
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#159
|
1180
1180
|
def invertible_for?(record); end
|
1181
1181
|
|
1182
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1182
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#151
|
1183
1183
|
def primary_key(klass); end
|
1184
1184
|
|
1185
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1185
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#95
|
1186
1186
|
def replace(record); end
|
1187
1187
|
|
1188
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1188
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#132
|
1189
1189
|
def replace_keys(record, force: T.unsafe(nil)); end
|
1190
1190
|
|
1191
1191
|
# @return [Boolean]
|
1192
1192
|
#
|
1193
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1193
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#128
|
1194
1194
|
def require_counter_update?; end
|
1195
1195
|
|
1196
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1196
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#164
|
1197
1197
|
def stale_state; end
|
1198
1198
|
|
1199
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1199
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#109
|
1200
1200
|
def update_counters(by); end
|
1201
1201
|
|
1202
|
-
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#
|
1202
|
+
# source://activerecord//lib/active_record/associations/belongs_to_association.rb#119
|
1203
1203
|
def update_counters_via_scope(klass, foreign_key, by); end
|
1204
1204
|
end
|
1205
1205
|
|
@@ -6271,7 +6271,7 @@ module ActiveRecord::AttributeMethods
|
|
6271
6271
|
# person[:organization_id] # => ActiveModel::MissingAttributeError: missing attribute 'organization_id' for Person
|
6272
6272
|
# person[:id] # => nil
|
6273
6273
|
#
|
6274
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6274
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#415
|
6275
6275
|
def [](attr_name); end
|
6276
6276
|
|
6277
6277
|
# Updates the attribute identified by +attr_name+ using the specified
|
@@ -6284,12 +6284,12 @@ module ActiveRecord::AttributeMethods
|
|
6284
6284
|
# person[:date_of_birth] = "2004-12-12"
|
6285
6285
|
# person[:date_of_birth] # => Date.new(2004, 12, 12)
|
6286
6286
|
#
|
6287
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6287
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#428
|
6288
6288
|
def []=(attr_name, value); end
|
6289
6289
|
|
6290
6290
|
# @return [Boolean]
|
6291
6291
|
#
|
6292
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6292
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#322
|
6293
6293
|
def _has_attribute?(attr_name); end
|
6294
6294
|
|
6295
6295
|
# Returns the name of all database fields which have been read from this
|
@@ -6321,7 +6321,7 @@ module ActiveRecord::AttributeMethods
|
|
6321
6321
|
# end
|
6322
6322
|
# end
|
6323
6323
|
#
|
6324
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6324
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#460
|
6325
6325
|
def accessed_fields; end
|
6326
6326
|
|
6327
6327
|
# Returns an <tt>#inspect</tt>-like string for the value of the
|
@@ -6340,7 +6340,7 @@ module ActiveRecord::AttributeMethods
|
|
6340
6340
|
# person.attribute_for_inspect(:tag_ids)
|
6341
6341
|
# # => "[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]"
|
6342
6342
|
#
|
6343
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6343
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#365
|
6344
6344
|
def attribute_for_inspect(attr_name); end
|
6345
6345
|
|
6346
6346
|
# Returns an array of names for the attributes available on this object.
|
@@ -6352,7 +6352,7 @@ module ActiveRecord::AttributeMethods
|
|
6352
6352
|
# person.attribute_names
|
6353
6353
|
# # => ["id", "created_at", "updated_at", "name", "age"]
|
6354
6354
|
#
|
6355
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6355
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#334
|
6356
6356
|
def attribute_names; end
|
6357
6357
|
|
6358
6358
|
# Returns +true+ if the specified +attribute+ has been set by the user or by a
|
@@ -6373,7 +6373,7 @@ module ActiveRecord::AttributeMethods
|
|
6373
6373
|
#
|
6374
6374
|
# @return [Boolean]
|
6375
6375
|
#
|
6376
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6376
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#387
|
6377
6377
|
def attribute_present?(attr_name); end
|
6378
6378
|
|
6379
6379
|
# Returns a hash of all the attributes with their names as keys and the values of the attributes as values.
|
@@ -6385,7 +6385,7 @@ module ActiveRecord::AttributeMethods
|
|
6385
6385
|
# person.attributes
|
6386
6386
|
# # => {"id"=>3, "created_at"=>Sun, 21 Oct 2012 04:53:04, "updated_at"=>Sun, 21 Oct 2012 04:53:04, "name"=>"Francesco", "age"=>22}
|
6387
6387
|
#
|
6388
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6388
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#346
|
6389
6389
|
def attributes; end
|
6390
6390
|
|
6391
6391
|
# Returns +true+ if the given attribute is in the attributes hash, otherwise +false+.
|
@@ -6402,7 +6402,7 @@ module ActiveRecord::AttributeMethods
|
|
6402
6402
|
#
|
6403
6403
|
# @return [Boolean]
|
6404
6404
|
#
|
6405
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6405
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#316
|
6406
6406
|
def has_attribute?(attr_name); end
|
6407
6407
|
|
6408
6408
|
# A Person object with a name attribute can ask <tt>person.respond_to?(:name)</tt>,
|
@@ -6424,44 +6424,44 @@ module ActiveRecord::AttributeMethods
|
|
6424
6424
|
#
|
6425
6425
|
# @return [Boolean]
|
6426
6426
|
#
|
6427
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6427
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#291
|
6428
6428
|
def respond_to?(name, include_private = T.unsafe(nil)); end
|
6429
6429
|
|
6430
6430
|
private
|
6431
6431
|
|
6432
6432
|
# @return [Boolean]
|
6433
6433
|
#
|
6434
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6434
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#499
|
6435
6435
|
def attribute_method?(attr_name); end
|
6436
6436
|
|
6437
6437
|
# Filters out the virtual columns and also primary keys, from the attribute names, when the primary
|
6438
6438
|
# key is to be generated (e.g. the id attribute has no value).
|
6439
6439
|
#
|
6440
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6440
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#519
|
6441
6441
|
def attributes_for_create(attribute_names); end
|
6442
6442
|
|
6443
6443
|
# Filters the primary keys, readonly attributes and virtual columns from the attribute names.
|
6444
6444
|
#
|
6445
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6445
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#508
|
6446
6446
|
def attributes_for_update(attribute_names); end
|
6447
6447
|
|
6448
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6448
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#503
|
6449
6449
|
def attributes_with_values(attribute_names); end
|
6450
6450
|
|
6451
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6451
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#527
|
6452
6452
|
def format_for_inspect(name, value); end
|
6453
6453
|
|
6454
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6454
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#475
|
6455
6455
|
def method_missing(name, *_arg1, **_arg2, &_arg3); end
|
6456
6456
|
|
6457
6457
|
# @return [Boolean]
|
6458
6458
|
#
|
6459
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6459
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#543
|
6460
6460
|
def pk_attribute?(name); end
|
6461
6461
|
|
6462
6462
|
# @return [Boolean]
|
6463
6463
|
#
|
6464
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6464
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#465
|
6465
6465
|
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
|
6466
6466
|
|
6467
6467
|
class << self
|
@@ -6611,7 +6611,7 @@ end
|
|
6611
6611
|
module ActiveRecord::AttributeMethods::ClassMethods
|
6612
6612
|
# @return [Boolean]
|
6613
6613
|
#
|
6614
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6614
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#260
|
6615
6615
|
def _has_attribute?(attr_name); end
|
6616
6616
|
|
6617
6617
|
# Allows you to make aliases for attributes.
|
@@ -6647,7 +6647,7 @@ module ActiveRecord::AttributeMethods::ClassMethods
|
|
6647
6647
|
#
|
6648
6648
|
# @return [Boolean]
|
6649
6649
|
#
|
6650
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6650
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#224
|
6651
6651
|
def attribute_method?(attribute); end
|
6652
6652
|
|
6653
6653
|
# @return [Boolean]
|
@@ -6664,7 +6664,7 @@ module ActiveRecord::AttributeMethods::ClassMethods
|
|
6664
6664
|
# Person.attribute_names
|
6665
6665
|
# # => ["id", "created_at", "updated_at", "name", "age"]
|
6666
6666
|
#
|
6667
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6667
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#236
|
6668
6668
|
def attribute_names; end
|
6669
6669
|
|
6670
6670
|
# A method name is 'dangerous' if it is already (re)defined by Active Record, but
|
@@ -6672,7 +6672,7 @@ module ActiveRecord::AttributeMethods::ClassMethods
|
|
6672
6672
|
#
|
6673
6673
|
# @return [Boolean]
|
6674
6674
|
#
|
6675
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6675
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#183
|
6676
6676
|
def dangerous_attribute_method?(name); end
|
6677
6677
|
|
6678
6678
|
# A class method is 'dangerous' if it is already (re)defined by Active Record, but
|
@@ -6680,7 +6680,7 @@ module ActiveRecord::AttributeMethods::ClassMethods
|
|
6680
6680
|
#
|
6681
6681
|
# @return [Boolean]
|
6682
6682
|
#
|
6683
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6683
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#201
|
6684
6684
|
def dangerous_class_method?(method_name); end
|
6685
6685
|
|
6686
6686
|
# Generates all the attribute related methods for columns in the database
|
@@ -6695,7 +6695,7 @@ module ActiveRecord::AttributeMethods::ClassMethods
|
|
6695
6695
|
# source://activerecord//lib/active_record/attribute_methods.rb#80
|
6696
6696
|
def generate_alias_attribute_methods(code_generator, new_name, old_name); end
|
6697
6697
|
|
6698
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6698
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#127
|
6699
6699
|
def generate_alias_attributes; end
|
6700
6700
|
|
6701
6701
|
# Returns true if the given attribute exists, otherwise false.
|
@@ -6711,7 +6711,7 @@ module ActiveRecord::AttributeMethods::ClassMethods
|
|
6711
6711
|
#
|
6712
6712
|
# @return [Boolean]
|
6713
6713
|
#
|
6714
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6714
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#254
|
6715
6715
|
def has_attribute?(attr_name); end
|
6716
6716
|
|
6717
6717
|
# source://activerecord//lib/active_record/attribute_methods.rb#42
|
@@ -6734,20 +6734,20 @@ module ActiveRecord::AttributeMethods::ClassMethods
|
|
6734
6734
|
#
|
6735
6735
|
# @return [Boolean]
|
6736
6736
|
#
|
6737
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6737
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#165
|
6738
6738
|
def instance_method_already_implemented?(method_name); end
|
6739
6739
|
|
6740
6740
|
# @return [Boolean]
|
6741
6741
|
#
|
6742
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6742
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#187
|
6743
6743
|
def method_defined_within?(name, klass, superklass = T.unsafe(nil)); end
|
6744
6744
|
|
6745
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6745
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#143
|
6746
6746
|
def undefine_attribute_methods; end
|
6747
6747
|
|
6748
6748
|
private
|
6749
6749
|
|
6750
|
-
# source://activerecord//lib/active_record/attribute_methods.rb#
|
6750
|
+
# source://activerecord//lib/active_record/attribute_methods.rb#265
|
6751
6751
|
def inherited(child_class); end
|
6752
6752
|
end
|
6753
6753
|
|
@@ -7158,7 +7158,7 @@ module ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods
|
|
7158
7158
|
|
7159
7159
|
private
|
7160
7160
|
|
7161
|
-
# source://activerecord//lib/active_record/attribute_methods/primary_key.rb#
|
7161
|
+
# source://activerecord//lib/active_record/attribute_methods/primary_key.rb#143
|
7162
7162
|
def inherited(base); end
|
7163
7163
|
end
|
7164
7164
|
|
@@ -8331,25 +8331,25 @@ class ActiveRecord::Base
|
|
8331
8331
|
extend ::ActiveRecord::Suppressor::ClassMethods
|
8332
8332
|
extend ::ActiveRecord::Normalization::ClassMethods
|
8333
8333
|
|
8334
|
-
# source://activesupport/8.0.
|
8334
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#69
|
8335
8335
|
def __callbacks; end
|
8336
8336
|
|
8337
|
-
# source://activesupport/8.0.
|
8337
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#923
|
8338
8338
|
def _before_commit_callbacks; end
|
8339
8339
|
|
8340
|
-
# source://activesupport/8.0.
|
8340
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#923
|
8341
8341
|
def _commit_callbacks; end
|
8342
8342
|
|
8343
|
-
# source://activesupport/8.0.
|
8343
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#923
|
8344
8344
|
def _create_callbacks; end
|
8345
8345
|
|
8346
|
-
# source://activesupport/8.0.
|
8346
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#923
|
8347
8347
|
def _destroy_callbacks; end
|
8348
8348
|
|
8349
|
-
# source://activesupport/8.0.
|
8349
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#923
|
8350
8350
|
def _find_callbacks; end
|
8351
8351
|
|
8352
|
-
# source://activesupport/8.0.
|
8352
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#923
|
8353
8353
|
def _initialize_callbacks; end
|
8354
8354
|
|
8355
8355
|
# source://activerecord//lib/active_record/reflection.rb#11
|
@@ -8358,64 +8358,64 @@ class ActiveRecord::Base
|
|
8358
8358
|
# source://activerecord//lib/active_record/reflection.rb#11
|
8359
8359
|
def _reflections?; end
|
8360
8360
|
|
8361
|
-
# source://activesupport/8.0.
|
8361
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#923
|
8362
8362
|
def _rollback_callbacks; end
|
8363
8363
|
|
8364
|
-
# source://activesupport/8.0.
|
8364
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#911
|
8365
8365
|
def _run_before_commit_callbacks(&block); end
|
8366
8366
|
|
8367
|
-
# source://activesupport/8.0.
|
8367
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#911
|
8368
8368
|
def _run_commit_callbacks(&block); end
|
8369
8369
|
|
8370
|
-
# source://activesupport/8.0.
|
8370
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#911
|
8371
8371
|
def _run_create_callbacks(&block); end
|
8372
8372
|
|
8373
|
-
# source://activesupport/8.0.
|
8373
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#911
|
8374
8374
|
def _run_destroy_callbacks(&block); end
|
8375
8375
|
|
8376
|
-
# source://activesupport/8.0.
|
8376
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#911
|
8377
8377
|
def _run_find_callbacks(&block); end
|
8378
8378
|
|
8379
|
-
# source://activesupport/8.0.
|
8379
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#911
|
8380
8380
|
def _run_initialize_callbacks(&block); end
|
8381
8381
|
|
8382
|
-
# source://activesupport/8.0.
|
8382
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#911
|
8383
8383
|
def _run_rollback_callbacks(&block); end
|
8384
8384
|
|
8385
|
-
# source://activesupport/8.0.
|
8385
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#911
|
8386
8386
|
def _run_save_callbacks(&block); end
|
8387
8387
|
|
8388
|
-
# source://activesupport/8.0.
|
8388
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#911
|
8389
8389
|
def _run_touch_callbacks(&block); end
|
8390
8390
|
|
8391
|
-
# source://activesupport/8.0.
|
8391
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#911
|
8392
8392
|
def _run_update_callbacks(&block); end
|
8393
8393
|
|
8394
|
-
# source://activesupport/8.0.
|
8394
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#911
|
8395
8395
|
def _run_validate_callbacks(&block); end
|
8396
8396
|
|
8397
|
-
# source://activesupport/8.0.
|
8397
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#911
|
8398
8398
|
def _run_validation_callbacks(&block); end
|
8399
8399
|
|
8400
|
-
# source://activesupport/8.0.
|
8400
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#923
|
8401
8401
|
def _save_callbacks; end
|
8402
8402
|
|
8403
|
-
# source://activesupport/8.0.
|
8403
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#923
|
8404
8404
|
def _touch_callbacks; end
|
8405
8405
|
|
8406
|
-
# source://activesupport/8.0.
|
8406
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#923
|
8407
8407
|
def _update_callbacks; end
|
8408
8408
|
|
8409
|
-
# source://activesupport/8.0.
|
8409
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#923
|
8410
8410
|
def _validate_callbacks; end
|
8411
8411
|
|
8412
|
-
# source://activesupport/8.0.
|
8412
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#923
|
8413
8413
|
def _validation_callbacks; end
|
8414
8414
|
|
8415
|
-
# source://activemodel/8.0.
|
8415
|
+
# source://activemodel/8.0.1/lib/active_model/validations.rb#50
|
8416
8416
|
def _validators; end
|
8417
8417
|
|
8418
|
-
# source://activemodel/8.0.
|
8418
|
+
# source://activemodel/8.0.1/lib/active_model/validations.rb#50
|
8419
8419
|
def _validators?; end
|
8420
8420
|
|
8421
8421
|
# source://activerecord//lib/active_record/reflection.rb#12
|
@@ -8424,16 +8424,16 @@ class ActiveRecord::Base
|
|
8424
8424
|
# source://activerecord//lib/active_record/reflection.rb#12
|
8425
8425
|
def aggregate_reflections?; end
|
8426
8426
|
|
8427
|
-
# source://activemodel/8.0.
|
8427
|
+
# source://activemodel/8.0.1/lib/active_model/attribute_methods.rb#71
|
8428
8428
|
def attribute_aliases; end
|
8429
8429
|
|
8430
|
-
# source://activemodel/8.0.
|
8430
|
+
# source://activemodel/8.0.1/lib/active_model/attribute_methods.rb#71
|
8431
8431
|
def attribute_aliases?; end
|
8432
8432
|
|
8433
|
-
# source://activemodel/8.0.
|
8433
|
+
# source://activemodel/8.0.1/lib/active_model/attribute_methods.rb#72
|
8434
8434
|
def attribute_method_patterns; end
|
8435
8435
|
|
8436
|
-
# source://activemodel/8.0.
|
8436
|
+
# source://activemodel/8.0.1/lib/active_model/attribute_methods.rb#72
|
8437
8437
|
def attribute_method_patterns?; end
|
8438
8438
|
|
8439
8439
|
# source://activerecord//lib/active_record/reflection.rb#13
|
@@ -8520,10 +8520,10 @@ class ActiveRecord::Base
|
|
8520
8520
|
# source://activerecord//lib/active_record/encryption/encryptable_record.rb#11
|
8521
8521
|
def encrypted_attributes?; end
|
8522
8522
|
|
8523
|
-
# source://activemodel/8.0.
|
8523
|
+
# source://activemodel/8.0.1/lib/active_model/serializers/json.rb#15
|
8524
8524
|
def include_root_in_json; end
|
8525
8525
|
|
8526
|
-
# source://activemodel/8.0.
|
8526
|
+
# source://activemodel/8.0.1/lib/active_model/serializers/json.rb#15
|
8527
8527
|
def include_root_in_json?; end
|
8528
8528
|
|
8529
8529
|
# source://activerecord//lib/active_record/locking/optimistic.rb#56
|
@@ -8538,7 +8538,7 @@ class ActiveRecord::Base
|
|
8538
8538
|
# source://activerecord//lib/active_record/core.rb#22
|
8539
8539
|
def logger?; end
|
8540
8540
|
|
8541
|
-
# source://activemodel/8.0.
|
8541
|
+
# source://activemodel/8.0.1/lib/active_model/naming.rb#255
|
8542
8542
|
def model_name(&_arg0); end
|
8543
8543
|
|
8544
8544
|
# source://activerecord//lib/active_record/nested_attributes.rb#15
|
@@ -8556,7 +8556,7 @@ class ActiveRecord::Base
|
|
8556
8556
|
# source://activerecord//lib/active_record/normalization.rb#8
|
8557
8557
|
def normalized_attributes?; end
|
8558
8558
|
|
8559
|
-
# source://activemodel/8.0.
|
8559
|
+
# source://activemodel/8.0.1/lib/active_model/conversion.rb#32
|
8560
8560
|
def param_delimiter=(_arg0); end
|
8561
8561
|
|
8562
8562
|
# source://activerecord//lib/active_record/attribute_methods/dirty.rb#50
|
@@ -8644,155 +8644,155 @@ class ActiveRecord::Base
|
|
8644
8644
|
def type_for_attribute(*_arg0, **_arg1, &_arg2); end
|
8645
8645
|
|
8646
8646
|
class << self
|
8647
|
-
# source://activesupport/8.0.
|
8647
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#69
|
8648
8648
|
def __callbacks; end
|
8649
8649
|
|
8650
|
-
# source://activesupport/8.0.
|
8651
|
-
def __callbacks=(
|
8650
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#69
|
8651
|
+
def __callbacks=(value); end
|
8652
8652
|
|
8653
|
-
# source://
|
8653
|
+
# source://activerecord//lib/active_record/readonly_attributes.rb#11
|
8654
8654
|
def _attr_readonly; end
|
8655
8655
|
|
8656
|
-
# source://
|
8657
|
-
def _attr_readonly=(
|
8656
|
+
# source://activerecord//lib/active_record/readonly_attributes.rb#11
|
8657
|
+
def _attr_readonly=(value); end
|
8658
8658
|
|
8659
8659
|
# source://activerecord//lib/active_record/readonly_attributes.rb#11
|
8660
8660
|
def _attr_readonly?; end
|
8661
8661
|
|
8662
|
-
# source://activesupport/8.0.
|
8662
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#915
|
8663
8663
|
def _before_commit_callbacks; end
|
8664
8664
|
|
8665
|
-
# source://activesupport/8.0.
|
8665
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#919
|
8666
8666
|
def _before_commit_callbacks=(value); end
|
8667
8667
|
|
8668
|
-
# source://activesupport/8.0.
|
8668
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#915
|
8669
8669
|
def _commit_callbacks; end
|
8670
8670
|
|
8671
|
-
# source://activesupport/8.0.
|
8671
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#919
|
8672
8672
|
def _commit_callbacks=(value); end
|
8673
8673
|
|
8674
|
-
# source://
|
8674
|
+
# source://activerecord//lib/active_record/counter_cache.rb#9
|
8675
8675
|
def _counter_cache_columns; end
|
8676
8676
|
|
8677
|
-
# source://
|
8678
|
-
def _counter_cache_columns=(
|
8677
|
+
# source://activerecord//lib/active_record/counter_cache.rb#9
|
8678
|
+
def _counter_cache_columns=(value); end
|
8679
8679
|
|
8680
8680
|
# source://activerecord//lib/active_record/counter_cache.rb#9
|
8681
8681
|
def _counter_cache_columns?; end
|
8682
8682
|
|
8683
|
-
# source://activesupport/8.0.
|
8683
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#915
|
8684
8684
|
def _create_callbacks; end
|
8685
8685
|
|
8686
|
-
# source://activesupport/8.0.
|
8686
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#919
|
8687
8687
|
def _create_callbacks=(value); end
|
8688
8688
|
|
8689
|
-
# source://
|
8689
|
+
# source://activerecord//lib/active_record/core.rb#24
|
8690
8690
|
def _destroy_association_async_job; end
|
8691
8691
|
|
8692
|
-
# source://
|
8693
|
-
def _destroy_association_async_job=(
|
8692
|
+
# source://activerecord//lib/active_record/core.rb#24
|
8693
|
+
def _destroy_association_async_job=(value); end
|
8694
8694
|
|
8695
8695
|
# source://activerecord//lib/active_record/core.rb#24
|
8696
8696
|
def _destroy_association_async_job?; end
|
8697
8697
|
|
8698
|
-
# source://activesupport/8.0.
|
8698
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#915
|
8699
8699
|
def _destroy_callbacks; end
|
8700
8700
|
|
8701
|
-
# source://activesupport/8.0.
|
8701
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#919
|
8702
8702
|
def _destroy_callbacks=(value); end
|
8703
8703
|
|
8704
|
-
# source://activesupport/8.0.
|
8704
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#915
|
8705
8705
|
def _find_callbacks; end
|
8706
8706
|
|
8707
|
-
# source://activesupport/8.0.
|
8707
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#919
|
8708
8708
|
def _find_callbacks=(value); end
|
8709
8709
|
|
8710
|
-
# source://activesupport/8.0.
|
8710
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#915
|
8711
8711
|
def _initialize_callbacks; end
|
8712
8712
|
|
8713
|
-
# source://activesupport/8.0.
|
8713
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#919
|
8714
8714
|
def _initialize_callbacks=(value); end
|
8715
8715
|
|
8716
|
-
# source://
|
8716
|
+
# source://activerecord//lib/active_record/reflection.rb#11
|
8717
8717
|
def _reflections; end
|
8718
8718
|
|
8719
|
-
# source://
|
8720
|
-
def _reflections=(
|
8719
|
+
# source://activerecord//lib/active_record/reflection.rb#11
|
8720
|
+
def _reflections=(value); end
|
8721
8721
|
|
8722
8722
|
# source://activerecord//lib/active_record/reflection.rb#11
|
8723
8723
|
def _reflections?; end
|
8724
8724
|
|
8725
|
-
# source://activesupport/8.0.
|
8725
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#915
|
8726
8726
|
def _rollback_callbacks; end
|
8727
8727
|
|
8728
|
-
# source://activesupport/8.0.
|
8728
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#919
|
8729
8729
|
def _rollback_callbacks=(value); end
|
8730
8730
|
|
8731
|
-
# source://activesupport/8.0.
|
8731
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#915
|
8732
8732
|
def _save_callbacks; end
|
8733
8733
|
|
8734
|
-
# source://activesupport/8.0.
|
8734
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#919
|
8735
8735
|
def _save_callbacks=(value); end
|
8736
8736
|
|
8737
|
-
# source://activesupport/8.0.
|
8737
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#915
|
8738
8738
|
def _touch_callbacks; end
|
8739
8739
|
|
8740
|
-
# source://activesupport/8.0.
|
8740
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#919
|
8741
8741
|
def _touch_callbacks=(value); end
|
8742
8742
|
|
8743
|
-
# source://activesupport/8.0.
|
8743
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#915
|
8744
8744
|
def _update_callbacks; end
|
8745
8745
|
|
8746
|
-
# source://activesupport/8.0.
|
8746
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#919
|
8747
8747
|
def _update_callbacks=(value); end
|
8748
8748
|
|
8749
|
-
# source://activesupport/8.0.
|
8749
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#915
|
8750
8750
|
def _validate_callbacks; end
|
8751
8751
|
|
8752
|
-
# source://activesupport/8.0.
|
8752
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#919
|
8753
8753
|
def _validate_callbacks=(value); end
|
8754
8754
|
|
8755
|
-
# source://activesupport/8.0.
|
8755
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#915
|
8756
8756
|
def _validation_callbacks; end
|
8757
8757
|
|
8758
|
-
# source://activesupport/8.0.
|
8758
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#919
|
8759
8759
|
def _validation_callbacks=(value); end
|
8760
8760
|
|
8761
|
-
# source://
|
8761
|
+
# source://activemodel/8.0.1/lib/active_model/validations.rb#50
|
8762
8762
|
def _validators; end
|
8763
8763
|
|
8764
|
-
# source://
|
8765
|
-
def _validators=(
|
8764
|
+
# source://activemodel/8.0.1/lib/active_model/validations.rb#50
|
8765
|
+
def _validators=(value); end
|
8766
8766
|
|
8767
|
-
# source://activemodel/8.0.
|
8767
|
+
# source://activemodel/8.0.1/lib/active_model/validations.rb#50
|
8768
8768
|
def _validators?; end
|
8769
8769
|
|
8770
|
-
# source://activemodel/8.0.
|
8770
|
+
# source://activemodel/8.0.1/lib/active_model/callbacks.rb#144
|
8771
8771
|
def after_create(*args, **options, &block); end
|
8772
8772
|
|
8773
|
-
# source://activemodel/8.0.
|
8773
|
+
# source://activemodel/8.0.1/lib/active_model/callbacks.rb#144
|
8774
8774
|
def after_destroy(*args, **options, &block); end
|
8775
8775
|
|
8776
|
-
# source://activemodel/8.0.
|
8776
|
+
# source://activemodel/8.0.1/lib/active_model/callbacks.rb#144
|
8777
8777
|
def after_find(*args, **options, &block); end
|
8778
8778
|
|
8779
|
-
# source://activemodel/8.0.
|
8779
|
+
# source://activemodel/8.0.1/lib/active_model/callbacks.rb#144
|
8780
8780
|
def after_initialize(*args, **options, &block); end
|
8781
8781
|
|
8782
|
-
# source://activemodel/8.0.
|
8782
|
+
# source://activemodel/8.0.1/lib/active_model/callbacks.rb#144
|
8783
8783
|
def after_save(*args, **options, &block); end
|
8784
8784
|
|
8785
|
-
# source://activemodel/8.0.
|
8785
|
+
# source://activemodel/8.0.1/lib/active_model/callbacks.rb#144
|
8786
8786
|
def after_touch(*args, **options, &block); end
|
8787
8787
|
|
8788
|
-
# source://activemodel/8.0.
|
8788
|
+
# source://activemodel/8.0.1/lib/active_model/callbacks.rb#144
|
8789
8789
|
def after_update(*args, **options, &block); end
|
8790
8790
|
|
8791
|
-
# source://
|
8791
|
+
# source://activerecord//lib/active_record/reflection.rb#12
|
8792
8792
|
def aggregate_reflections; end
|
8793
8793
|
|
8794
|
-
# source://
|
8795
|
-
def aggregate_reflections=(
|
8794
|
+
# source://activerecord//lib/active_record/reflection.rb#12
|
8795
|
+
def aggregate_reflections=(value); end
|
8796
8796
|
|
8797
8797
|
# source://activerecord//lib/active_record/reflection.rb#12
|
8798
8798
|
def aggregate_reflections?; end
|
@@ -8800,16 +8800,16 @@ class ActiveRecord::Base
|
|
8800
8800
|
# source://activerecord//lib/active_record/core.rb#121
|
8801
8801
|
def application_record_class?; end
|
8802
8802
|
|
8803
|
-
# source://activemodel/8.0.
|
8803
|
+
# source://activemodel/8.0.1/lib/active_model/callbacks.rb#137
|
8804
8804
|
def around_create(*args, **options, &block); end
|
8805
8805
|
|
8806
|
-
# source://activemodel/8.0.
|
8806
|
+
# source://activemodel/8.0.1/lib/active_model/callbacks.rb#137
|
8807
8807
|
def around_destroy(*args, **options, &block); end
|
8808
8808
|
|
8809
|
-
# source://activemodel/8.0.
|
8809
|
+
# source://activemodel/8.0.1/lib/active_model/callbacks.rb#137
|
8810
8810
|
def around_save(*args, **options, &block); end
|
8811
8811
|
|
8812
|
-
# source://activemodel/8.0.
|
8812
|
+
# source://activemodel/8.0.1/lib/active_model/callbacks.rb#137
|
8813
8813
|
def around_update(*args, **options, &block); end
|
8814
8814
|
|
8815
8815
|
# source://activerecord//lib/active_record/core.rb#141
|
@@ -8818,95 +8818,95 @@ class ActiveRecord::Base
|
|
8818
8818
|
# source://activerecord//lib/active_record/core.rb#145
|
8819
8819
|
def asynchronous_queries_tracker; end
|
8820
8820
|
|
8821
|
-
# source://
|
8821
|
+
# source://activemodel/8.0.1/lib/active_model/attribute_methods.rb#71
|
8822
8822
|
def attribute_aliases; end
|
8823
8823
|
|
8824
|
-
# source://
|
8825
|
-
def attribute_aliases=(
|
8824
|
+
# source://activemodel/8.0.1/lib/active_model/attribute_methods.rb#71
|
8825
|
+
def attribute_aliases=(value); end
|
8826
8826
|
|
8827
|
-
# source://activemodel/8.0.
|
8827
|
+
# source://activemodel/8.0.1/lib/active_model/attribute_methods.rb#71
|
8828
8828
|
def attribute_aliases?; end
|
8829
8829
|
|
8830
|
-
# source://
|
8830
|
+
# source://activemodel/8.0.1/lib/active_model/attribute_methods.rb#72
|
8831
8831
|
def attribute_method_patterns; end
|
8832
8832
|
|
8833
|
-
# source://
|
8834
|
-
def attribute_method_patterns=(
|
8833
|
+
# source://activemodel/8.0.1/lib/active_model/attribute_methods.rb#72
|
8834
|
+
def attribute_method_patterns=(value); end
|
8835
8835
|
|
8836
|
-
# source://activemodel/8.0.
|
8836
|
+
# source://activemodel/8.0.1/lib/active_model/attribute_methods.rb#72
|
8837
8837
|
def attribute_method_patterns?; end
|
8838
8838
|
|
8839
|
-
# source://
|
8839
|
+
# source://activerecord//lib/active_record/core.rb#119
|
8840
8840
|
def attributes_for_inspect; end
|
8841
8841
|
|
8842
|
-
# source://
|
8843
|
-
def attributes_for_inspect=(
|
8842
|
+
# source://activerecord//lib/active_record/core.rb#119
|
8843
|
+
def attributes_for_inspect=(value); end
|
8844
8844
|
|
8845
8845
|
# source://activerecord//lib/active_record/core.rb#119
|
8846
8846
|
def attributes_for_inspect?; end
|
8847
8847
|
|
8848
|
-
# source://
|
8848
|
+
# source://activerecord//lib/active_record/reflection.rb#13
|
8849
8849
|
def automatic_scope_inversing; end
|
8850
8850
|
|
8851
|
-
# source://
|
8852
|
-
def automatic_scope_inversing=(
|
8851
|
+
# source://activerecord//lib/active_record/reflection.rb#13
|
8852
|
+
def automatic_scope_inversing=(value); end
|
8853
8853
|
|
8854
8854
|
# source://activerecord//lib/active_record/reflection.rb#13
|
8855
8855
|
def automatic_scope_inversing?; end
|
8856
8856
|
|
8857
|
-
# source://
|
8857
|
+
# source://activerecord//lib/active_record/reflection.rb#14
|
8858
8858
|
def automatically_invert_plural_associations; end
|
8859
8859
|
|
8860
|
-
# source://
|
8861
|
-
def automatically_invert_plural_associations=(
|
8860
|
+
# source://activerecord//lib/active_record/reflection.rb#14
|
8861
|
+
def automatically_invert_plural_associations=(value); end
|
8862
8862
|
|
8863
8863
|
# source://activerecord//lib/active_record/reflection.rb#14
|
8864
8864
|
def automatically_invert_plural_associations?; end
|
8865
8865
|
|
8866
|
-
# source://activemodel/8.0.
|
8866
|
+
# source://activemodel/8.0.1/lib/active_model/callbacks.rb#130
|
8867
8867
|
def before_create(*args, **options, &block); end
|
8868
8868
|
|
8869
|
-
# source://activemodel/8.0.
|
8869
|
+
# source://activemodel/8.0.1/lib/active_model/callbacks.rb#130
|
8870
8870
|
def before_destroy(*args, **options, &block); end
|
8871
8871
|
|
8872
|
-
# source://activemodel/8.0.
|
8872
|
+
# source://activemodel/8.0.1/lib/active_model/callbacks.rb#130
|
8873
8873
|
def before_save(*args, **options, &block); end
|
8874
8874
|
|
8875
|
-
# source://activemodel/8.0.
|
8875
|
+
# source://activemodel/8.0.1/lib/active_model/callbacks.rb#130
|
8876
8876
|
def before_update(*args, **options, &block); end
|
8877
8877
|
|
8878
|
-
# source://
|
8878
|
+
# source://activerecord//lib/active_record/core.rb#89
|
8879
8879
|
def belongs_to_required_by_default; end
|
8880
8880
|
|
8881
|
-
# source://
|
8882
|
-
def belongs_to_required_by_default=(
|
8881
|
+
# source://activerecord//lib/active_record/core.rb#89
|
8882
|
+
def belongs_to_required_by_default=(value); end
|
8883
8883
|
|
8884
8884
|
# source://activerecord//lib/active_record/core.rb#89
|
8885
8885
|
def belongs_to_required_by_default?; end
|
8886
8886
|
|
8887
|
-
# source://
|
8887
|
+
# source://activerecord//lib/active_record/integration.rb#16
|
8888
8888
|
def cache_timestamp_format; end
|
8889
8889
|
|
8890
|
-
# source://
|
8891
|
-
def cache_timestamp_format=(
|
8890
|
+
# source://activerecord//lib/active_record/integration.rb#16
|
8891
|
+
def cache_timestamp_format=(value); end
|
8892
8892
|
|
8893
8893
|
# source://activerecord//lib/active_record/integration.rb#16
|
8894
8894
|
def cache_timestamp_format?; end
|
8895
8895
|
|
8896
|
-
# source://
|
8896
|
+
# source://activerecord//lib/active_record/integration.rb#24
|
8897
8897
|
def cache_versioning; end
|
8898
8898
|
|
8899
|
-
# source://
|
8900
|
-
def cache_versioning=(
|
8899
|
+
# source://activerecord//lib/active_record/integration.rb#24
|
8900
|
+
def cache_versioning=(value); end
|
8901
8901
|
|
8902
8902
|
# source://activerecord//lib/active_record/integration.rb#24
|
8903
8903
|
def cache_versioning?; end
|
8904
8904
|
|
8905
|
-
# source://
|
8905
|
+
# source://activerecord//lib/active_record/integration.rb#32
|
8906
8906
|
def collection_cache_versioning; end
|
8907
8907
|
|
8908
|
-
# source://
|
8909
|
-
def collection_cache_versioning=(
|
8908
|
+
# source://activerecord//lib/active_record/integration.rb#32
|
8909
|
+
def collection_cache_versioning=(value); end
|
8910
8910
|
|
8911
8911
|
# source://activerecord//lib/active_record/integration.rb#32
|
8912
8912
|
def collection_cache_versioning?; end
|
@@ -8938,11 +8938,11 @@ class ActiveRecord::Base
|
|
8938
8938
|
# source://activerecord//lib/active_record/core.rb#137
|
8939
8939
|
def connection_handler=(handler); end
|
8940
8940
|
|
8941
|
-
# source://
|
8941
|
+
# source://activerecord//lib/active_record/counter_cache.rb#10
|
8942
8942
|
def counter_cached_association_names; end
|
8943
8943
|
|
8944
|
-
# source://
|
8945
|
-
def counter_cached_association_names=(
|
8944
|
+
# source://activerecord//lib/active_record/counter_cache.rb#10
|
8945
|
+
def counter_cached_association_names=(value); end
|
8946
8946
|
|
8947
8947
|
# source://activerecord//lib/active_record/counter_cache.rb#10
|
8948
8948
|
def counter_cached_association_names?; end
|
@@ -8956,136 +8956,136 @@ class ActiveRecord::Base
|
|
8956
8956
|
# source://activerecord//lib/active_record/core.rb#177
|
8957
8957
|
def current_shard; end
|
8958
8958
|
|
8959
|
-
# source://
|
8959
|
+
# source://activerecord//lib/active_record/attribute_methods/serialization.rb#20
|
8960
8960
|
def default_column_serializer; end
|
8961
8961
|
|
8962
|
-
# source://
|
8963
|
-
def default_column_serializer=(
|
8962
|
+
# source://activerecord//lib/active_record/attribute_methods/serialization.rb#20
|
8963
|
+
def default_column_serializer=(value); end
|
8964
8964
|
|
8965
8965
|
# source://activerecord//lib/active_record/attribute_methods/serialization.rb#20
|
8966
8966
|
def default_column_serializer?; end
|
8967
8967
|
|
8968
|
-
# source://
|
8968
|
+
# source://activerecord//lib/active_record/core.rb#98
|
8969
8969
|
def default_connection_handler; end
|
8970
8970
|
|
8971
|
-
# source://
|
8972
|
-
def default_connection_handler=(
|
8971
|
+
# source://activerecord//lib/active_record/core.rb#98
|
8972
|
+
def default_connection_handler=(value); end
|
8973
8973
|
|
8974
8974
|
# source://activerecord//lib/active_record/core.rb#98
|
8975
8975
|
def default_connection_handler?; end
|
8976
8976
|
|
8977
|
-
# source://
|
8977
|
+
# source://activerecord//lib/active_record/core.rb#100
|
8978
8978
|
def default_role; end
|
8979
8979
|
|
8980
|
-
# source://
|
8981
|
-
def default_role=(
|
8980
|
+
# source://activerecord//lib/active_record/core.rb#100
|
8981
|
+
def default_role=(value); end
|
8982
8982
|
|
8983
8983
|
# source://activerecord//lib/active_record/core.rb#100
|
8984
8984
|
def default_role?; end
|
8985
8985
|
|
8986
|
-
# source://
|
8986
|
+
# source://activerecord//lib/active_record/scoping/default.rb#20
|
8987
8987
|
def default_scope_override; end
|
8988
8988
|
|
8989
|
-
# source://
|
8990
|
-
def default_scope_override=(
|
8989
|
+
# source://activerecord//lib/active_record/scoping/default.rb#20
|
8990
|
+
def default_scope_override=(value); end
|
8991
8991
|
|
8992
|
-
# source://
|
8992
|
+
# source://activerecord//lib/active_record/scoping/default.rb#19
|
8993
8993
|
def default_scopes; end
|
8994
8994
|
|
8995
|
-
# source://
|
8996
|
-
def default_scopes=(
|
8995
|
+
# source://activerecord//lib/active_record/scoping/default.rb#19
|
8996
|
+
def default_scopes=(value); end
|
8997
8997
|
|
8998
|
-
# source://
|
8998
|
+
# source://activerecord//lib/active_record/core.rb#102
|
8999
8999
|
def default_shard; end
|
9000
9000
|
|
9001
|
-
# source://
|
9002
|
-
def default_shard=(
|
9001
|
+
# source://activerecord//lib/active_record/core.rb#102
|
9002
|
+
def default_shard=(value); end
|
9003
9003
|
|
9004
9004
|
# source://activerecord//lib/active_record/core.rb#102
|
9005
9005
|
def default_shard?; end
|
9006
9006
|
|
9007
|
-
# source://
|
9007
|
+
# source://activerecord//lib/active_record/enum.rb#167
|
9008
9008
|
def defined_enums; end
|
9009
9009
|
|
9010
|
-
# source://
|
9011
|
-
def defined_enums=(
|
9010
|
+
# source://activerecord//lib/active_record/enum.rb#167
|
9011
|
+
def defined_enums=(value); end
|
9012
9012
|
|
9013
9013
|
# source://activerecord//lib/active_record/enum.rb#167
|
9014
9014
|
def defined_enums?; end
|
9015
9015
|
|
9016
|
-
# source://
|
9016
|
+
# source://activerecord//lib/active_record/core.rb#47
|
9017
9017
|
def destroy_association_async_batch_size; end
|
9018
9018
|
|
9019
|
-
# source://
|
9020
|
-
def destroy_association_async_batch_size=(
|
9019
|
+
# source://activerecord//lib/active_record/core.rb#47
|
9020
|
+
def destroy_association_async_batch_size=(value); end
|
9021
9021
|
|
9022
9022
|
# source://activerecord//lib/active_record/core.rb#27
|
9023
9023
|
def destroy_association_async_job; end
|
9024
9024
|
|
9025
|
-
# source://
|
9026
|
-
def destroy_association_async_job=(
|
9025
|
+
# source://activerecord//lib/active_record/core.rb#24
|
9026
|
+
def destroy_association_async_job=(value); end
|
9027
9027
|
|
9028
|
-
# source://
|
9028
|
+
# source://activerecord//lib/active_record/encryption/encryptable_record.rb#11
|
9029
9029
|
def encrypted_attributes; end
|
9030
9030
|
|
9031
|
-
# source://
|
9032
|
-
def encrypted_attributes=(
|
9031
|
+
# source://activerecord//lib/active_record/encryption/encryptable_record.rb#11
|
9032
|
+
def encrypted_attributes=(value); end
|
9033
9033
|
|
9034
9034
|
# source://activerecord//lib/active_record/encryption/encryptable_record.rb#11
|
9035
9035
|
def encrypted_attributes?; end
|
9036
9036
|
|
9037
|
-
# source://
|
9037
|
+
# source://activerecord//lib/active_record/core.rb#87
|
9038
9038
|
def enumerate_columns_in_select_statements; end
|
9039
9039
|
|
9040
|
-
# source://
|
9041
|
-
def enumerate_columns_in_select_statements=(
|
9040
|
+
# source://activerecord//lib/active_record/core.rb#87
|
9041
|
+
def enumerate_columns_in_select_statements=(value); end
|
9042
9042
|
|
9043
9043
|
# source://activerecord//lib/active_record/core.rb#87
|
9044
9044
|
def enumerate_columns_in_select_statements?; end
|
9045
9045
|
|
9046
|
-
# source://
|
9046
|
+
# source://activerecord//lib/active_record/token_for.rb#11
|
9047
9047
|
def generated_token_verifier; end
|
9048
9048
|
|
9049
|
-
# source://
|
9050
|
-
def generated_token_verifier=(
|
9049
|
+
# source://activerecord//lib/active_record/token_for.rb#11
|
9050
|
+
def generated_token_verifier=(value); end
|
9051
9051
|
|
9052
|
-
# source://
|
9052
|
+
# source://activerecord//lib/active_record/core.rb#94
|
9053
9053
|
def has_many_inversing; end
|
9054
9054
|
|
9055
|
-
# source://
|
9056
|
-
def has_many_inversing=(
|
9055
|
+
# source://activerecord//lib/active_record/core.rb#94
|
9056
|
+
def has_many_inversing=(value); end
|
9057
9057
|
|
9058
9058
|
# source://activerecord//lib/active_record/core.rb#94
|
9059
9059
|
def has_many_inversing?; end
|
9060
9060
|
|
9061
|
-
# source://
|
9061
|
+
# source://activerecord//lib/active_record/model_schema.rb#170
|
9062
9062
|
def immutable_strings_by_default; end
|
9063
9063
|
|
9064
|
-
# source://
|
9065
|
-
def immutable_strings_by_default=(
|
9064
|
+
# source://activerecord//lib/active_record/model_schema.rb#170
|
9065
|
+
def immutable_strings_by_default=(value); end
|
9066
9066
|
|
9067
9067
|
# source://activerecord//lib/active_record/model_schema.rb#170
|
9068
9068
|
def immutable_strings_by_default?; end
|
9069
9069
|
|
9070
|
-
# source://
|
9070
|
+
# source://activerecord//lib/active_record/model_schema.rb#169
|
9071
9071
|
def implicit_order_column; end
|
9072
9072
|
|
9073
|
-
# source://
|
9074
|
-
def implicit_order_column=(
|
9073
|
+
# source://activerecord//lib/active_record/model_schema.rb#169
|
9074
|
+
def implicit_order_column=(value); end
|
9075
9075
|
|
9076
9076
|
# source://activerecord//lib/active_record/model_schema.rb#169
|
9077
9077
|
def implicit_order_column?; end
|
9078
9078
|
|
9079
|
-
# source://
|
9079
|
+
# source://activemodel/8.0.1/lib/active_model/serializers/json.rb#15
|
9080
9080
|
def include_root_in_json; end
|
9081
9081
|
|
9082
|
-
# source://
|
9083
|
-
def include_root_in_json=(
|
9082
|
+
# source://activemodel/8.0.1/lib/active_model/serializers/json.rb#15
|
9083
|
+
def include_root_in_json=(value); end
|
9084
9084
|
|
9085
|
-
# source://activemodel/8.0.
|
9085
|
+
# source://activemodel/8.0.1/lib/active_model/serializers/json.rb#15
|
9086
9086
|
def include_root_in_json?; end
|
9087
9087
|
|
9088
|
-
# source://
|
9088
|
+
# source://activerecord//lib/active_record/model_schema.rb#172
|
9089
9089
|
def inheritance_column; end
|
9090
9090
|
|
9091
9091
|
# source://activerecord//lib/active_record/model_schema.rb#325
|
@@ -9094,11 +9094,11 @@ class ActiveRecord::Base
|
|
9094
9094
|
# source://activerecord//lib/active_record/model_schema.rb#172
|
9095
9095
|
def inheritance_column?; end
|
9096
9096
|
|
9097
|
-
# source://
|
9097
|
+
# source://activerecord//lib/active_record/model_schema.rb#167
|
9098
9098
|
def internal_metadata_table_name; end
|
9099
9099
|
|
9100
|
-
# source://
|
9101
|
-
def internal_metadata_table_name=(
|
9100
|
+
# source://activerecord//lib/active_record/model_schema.rb#167
|
9101
|
+
def internal_metadata_table_name=(value); end
|
9102
9102
|
|
9103
9103
|
# source://activerecord//lib/active_record/model_schema.rb#167
|
9104
9104
|
def internal_metadata_table_name?; end
|
@@ -9109,173 +9109,173 @@ class ActiveRecord::Base
|
|
9109
9109
|
# source://activerecord//lib/active_record/store.rb#101
|
9110
9110
|
def local_stored_attributes=(_arg0); end
|
9111
9111
|
|
9112
|
-
# source://
|
9112
|
+
# source://activerecord//lib/active_record/locking/optimistic.rb#56
|
9113
9113
|
def lock_optimistically; end
|
9114
9114
|
|
9115
|
-
# source://
|
9116
|
-
def lock_optimistically=(
|
9115
|
+
# source://activerecord//lib/active_record/locking/optimistic.rb#56
|
9116
|
+
def lock_optimistically=(value); end
|
9117
9117
|
|
9118
9118
|
# source://activerecord//lib/active_record/locking/optimistic.rb#56
|
9119
9119
|
def lock_optimistically?; end
|
9120
9120
|
|
9121
|
-
# source://
|
9121
|
+
# source://activerecord//lib/active_record/core.rb#22
|
9122
9122
|
def logger; end
|
9123
9123
|
|
9124
|
-
# source://
|
9125
|
-
def logger=(
|
9124
|
+
# source://activerecord//lib/active_record/core.rb#22
|
9125
|
+
def logger=(value); end
|
9126
9126
|
|
9127
9127
|
# source://activerecord//lib/active_record/core.rb#22
|
9128
9128
|
def logger?; end
|
9129
9129
|
|
9130
|
-
# source://
|
9130
|
+
# source://activerecord//lib/active_record/nested_attributes.rb#15
|
9131
9131
|
def nested_attributes_options; end
|
9132
9132
|
|
9133
|
-
# source://
|
9134
|
-
def nested_attributes_options=(
|
9133
|
+
# source://activerecord//lib/active_record/nested_attributes.rb#15
|
9134
|
+
def nested_attributes_options=(value); end
|
9135
9135
|
|
9136
9136
|
# source://activerecord//lib/active_record/nested_attributes.rb#15
|
9137
9137
|
def nested_attributes_options?; end
|
9138
9138
|
|
9139
|
-
# source://
|
9139
|
+
# source://activerecord//lib/active_record/normalization.rb#8
|
9140
9140
|
def normalized_attributes; end
|
9141
9141
|
|
9142
|
-
# source://
|
9143
|
-
def normalized_attributes=(
|
9142
|
+
# source://activerecord//lib/active_record/normalization.rb#8
|
9143
|
+
def normalized_attributes=(value); end
|
9144
9144
|
|
9145
9145
|
# source://activerecord//lib/active_record/normalization.rb#8
|
9146
9146
|
def normalized_attributes?; end
|
9147
9147
|
|
9148
|
-
# source://
|
9148
|
+
# source://activemodel/8.0.1/lib/active_model/conversion.rb#32
|
9149
9149
|
def param_delimiter; end
|
9150
9150
|
|
9151
|
-
# source://
|
9152
|
-
def param_delimiter=(
|
9151
|
+
# source://activemodel/8.0.1/lib/active_model/conversion.rb#32
|
9152
|
+
def param_delimiter=(value); end
|
9153
9153
|
|
9154
|
-
# source://activemodel/8.0.
|
9154
|
+
# source://activemodel/8.0.1/lib/active_model/conversion.rb#32
|
9155
9155
|
def param_delimiter?; end
|
9156
9156
|
|
9157
|
-
# source://
|
9157
|
+
# source://activerecord//lib/active_record/attribute_methods/dirty.rb#50
|
9158
9158
|
def partial_inserts; end
|
9159
9159
|
|
9160
|
-
# source://
|
9161
|
-
def partial_inserts=(
|
9160
|
+
# source://activerecord//lib/active_record/attribute_methods/dirty.rb#50
|
9161
|
+
def partial_inserts=(value); end
|
9162
9162
|
|
9163
9163
|
# source://activerecord//lib/active_record/attribute_methods/dirty.rb#50
|
9164
9164
|
def partial_inserts?; end
|
9165
9165
|
|
9166
|
-
# source://
|
9166
|
+
# source://activerecord//lib/active_record/attribute_methods/dirty.rb#49
|
9167
9167
|
def partial_updates; end
|
9168
9168
|
|
9169
|
-
# source://
|
9170
|
-
def partial_updates=(
|
9169
|
+
# source://activerecord//lib/active_record/attribute_methods/dirty.rb#49
|
9170
|
+
def partial_updates=(value); end
|
9171
9171
|
|
9172
9172
|
# source://activerecord//lib/active_record/attribute_methods/dirty.rb#49
|
9173
9173
|
def partial_updates?; end
|
9174
9174
|
|
9175
|
-
# source://
|
9175
|
+
# source://activerecord//lib/active_record/model_schema.rb#168
|
9176
9176
|
def pluralize_table_names; end
|
9177
9177
|
|
9178
|
-
# source://
|
9179
|
-
def pluralize_table_names=(
|
9178
|
+
# source://activerecord//lib/active_record/model_schema.rb#168
|
9179
|
+
def pluralize_table_names=(value); end
|
9180
9180
|
|
9181
9181
|
# source://activerecord//lib/active_record/model_schema.rb#168
|
9182
9182
|
def pluralize_table_names?; end
|
9183
9183
|
|
9184
|
-
# source://
|
9184
|
+
# source://activerecord//lib/active_record/model_schema.rb#163
|
9185
9185
|
def primary_key_prefix_type; end
|
9186
9186
|
|
9187
|
-
# source://
|
9188
|
-
def primary_key_prefix_type=(
|
9187
|
+
# source://activerecord//lib/active_record/model_schema.rb#163
|
9188
|
+
def primary_key_prefix_type=(value); end
|
9189
9189
|
|
9190
9190
|
# source://activerecord//lib/active_record/model_schema.rb#163
|
9191
9191
|
def primary_key_prefix_type?; end
|
9192
9192
|
|
9193
|
-
# source://
|
9193
|
+
# source://activerecord//lib/active_record/timestamp.rb#47
|
9194
9194
|
def record_timestamps; end
|
9195
9195
|
|
9196
|
-
# source://
|
9197
|
-
def record_timestamps=(
|
9196
|
+
# source://activerecord//lib/active_record/timestamp.rb#47
|
9197
|
+
def record_timestamps=(value); end
|
9198
9198
|
|
9199
9199
|
# source://activerecord//lib/active_record/timestamp.rb#47
|
9200
9200
|
def record_timestamps?; end
|
9201
9201
|
|
9202
|
-
# source://
|
9202
|
+
# source://activerecord//lib/active_record/core.rb#96
|
9203
9203
|
def run_commit_callbacks_on_first_saved_instances_in_transaction; end
|
9204
9204
|
|
9205
|
-
# source://
|
9206
|
-
def run_commit_callbacks_on_first_saved_instances_in_transaction=(
|
9205
|
+
# source://activerecord//lib/active_record/core.rb#96
|
9206
|
+
def run_commit_callbacks_on_first_saved_instances_in_transaction=(value); end
|
9207
9207
|
|
9208
9208
|
# source://activerecord//lib/active_record/core.rb#96
|
9209
9209
|
def run_commit_callbacks_on_first_saved_instances_in_transaction?; end
|
9210
9210
|
|
9211
|
-
# source://
|
9211
|
+
# source://activerecord//lib/active_record/model_schema.rb#166
|
9212
9212
|
def schema_migrations_table_name; end
|
9213
9213
|
|
9214
|
-
# source://
|
9215
|
-
def schema_migrations_table_name=(
|
9214
|
+
# source://activerecord//lib/active_record/model_schema.rb#166
|
9215
|
+
def schema_migrations_table_name=(value); end
|
9216
9216
|
|
9217
9217
|
# source://activerecord//lib/active_record/model_schema.rb#166
|
9218
9218
|
def schema_migrations_table_name?; end
|
9219
9219
|
|
9220
|
-
# source://
|
9220
|
+
# source://activerecord//lib/active_record/core.rb#104
|
9221
9221
|
def shard_selector; end
|
9222
9222
|
|
9223
|
-
# source://
|
9224
|
-
def shard_selector=(
|
9223
|
+
# source://activerecord//lib/active_record/core.rb#104
|
9224
|
+
def shard_selector=(value); end
|
9225
9225
|
|
9226
9226
|
# source://activerecord//lib/active_record/core.rb#104
|
9227
9227
|
def shard_selector?; end
|
9228
9228
|
|
9229
|
-
# source://
|
9229
|
+
# source://activerecord//lib/active_record/signed_id.rb#13
|
9230
9230
|
def signed_id_verifier_secret; end
|
9231
9231
|
|
9232
|
-
# source://
|
9233
|
-
def signed_id_verifier_secret=(
|
9232
|
+
# source://activerecord//lib/active_record/signed_id.rb#13
|
9233
|
+
def signed_id_verifier_secret=(value); end
|
9234
9234
|
|
9235
9235
|
# source://activerecord//lib/active_record/signed_id.rb#13
|
9236
9236
|
def signed_id_verifier_secret?; end
|
9237
9237
|
|
9238
|
-
# source://
|
9238
|
+
# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#61
|
9239
9239
|
def skip_time_zone_conversion_for_attributes; end
|
9240
9240
|
|
9241
|
-
# source://
|
9242
|
-
def skip_time_zone_conversion_for_attributes=(
|
9241
|
+
# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#61
|
9242
|
+
def skip_time_zone_conversion_for_attributes=(value); end
|
9243
9243
|
|
9244
9244
|
# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#61
|
9245
9245
|
def skip_time_zone_conversion_for_attributes?; end
|
9246
9246
|
|
9247
|
-
# source://
|
9247
|
+
# source://activerecord//lib/active_record/inheritance.rb#43
|
9248
9248
|
def store_full_class_name; end
|
9249
9249
|
|
9250
|
-
# source://
|
9251
|
-
def store_full_class_name=(
|
9250
|
+
# source://activerecord//lib/active_record/inheritance.rb#43
|
9251
|
+
def store_full_class_name=(value); end
|
9252
9252
|
|
9253
9253
|
# source://activerecord//lib/active_record/inheritance.rb#43
|
9254
9254
|
def store_full_class_name?; end
|
9255
9255
|
|
9256
|
-
# source://
|
9256
|
+
# source://activerecord//lib/active_record/inheritance.rb#47
|
9257
9257
|
def store_full_sti_class; end
|
9258
9258
|
|
9259
|
-
# source://
|
9260
|
-
def store_full_sti_class=(
|
9259
|
+
# source://activerecord//lib/active_record/inheritance.rb#47
|
9260
|
+
def store_full_sti_class=(value); end
|
9261
9261
|
|
9262
9262
|
# source://activerecord//lib/active_record/inheritance.rb#47
|
9263
9263
|
def store_full_sti_class?; end
|
9264
9264
|
|
9265
|
-
# source://
|
9265
|
+
# source://activerecord//lib/active_record/core.rb#91
|
9266
9266
|
def strict_loading_by_default; end
|
9267
9267
|
|
9268
|
-
# source://
|
9269
|
-
def strict_loading_by_default=(
|
9268
|
+
# source://activerecord//lib/active_record/core.rb#91
|
9269
|
+
def strict_loading_by_default=(value); end
|
9270
9270
|
|
9271
9271
|
# source://activerecord//lib/active_record/core.rb#91
|
9272
9272
|
def strict_loading_by_default?; end
|
9273
9273
|
|
9274
|
-
# source://
|
9274
|
+
# source://activerecord//lib/active_record/core.rb#92
|
9275
9275
|
def strict_loading_mode; end
|
9276
9276
|
|
9277
|
-
# source://
|
9278
|
-
def strict_loading_mode=(
|
9277
|
+
# source://activerecord//lib/active_record/core.rb#92
|
9278
|
+
def strict_loading_mode=(value); end
|
9279
9279
|
|
9280
9280
|
# source://activerecord//lib/active_record/core.rb#92
|
9281
9281
|
def strict_loading_mode?; end
|
@@ -9283,52 +9283,400 @@ class ActiveRecord::Base
|
|
9283
9283
|
# source://activerecord//lib/active_record/core.rb#242
|
9284
9284
|
def strict_loading_violation!(owner:, reflection:); end
|
9285
9285
|
|
9286
|
-
# source://
|
9286
|
+
# source://activerecord//lib/active_record/model_schema.rb#164
|
9287
9287
|
def table_name_prefix; end
|
9288
9288
|
|
9289
|
-
# source://
|
9290
|
-
def table_name_prefix=(
|
9289
|
+
# source://activerecord//lib/active_record/model_schema.rb#164
|
9290
|
+
def table_name_prefix=(value); end
|
9291
9291
|
|
9292
9292
|
# source://activerecord//lib/active_record/model_schema.rb#164
|
9293
9293
|
def table_name_prefix?; end
|
9294
9294
|
|
9295
|
-
# source://
|
9295
|
+
# source://activerecord//lib/active_record/model_schema.rb#165
|
9296
9296
|
def table_name_suffix; end
|
9297
9297
|
|
9298
|
-
# source://
|
9299
|
-
def table_name_suffix=(
|
9298
|
+
# source://activerecord//lib/active_record/model_schema.rb#165
|
9299
|
+
def table_name_suffix=(value); end
|
9300
9300
|
|
9301
9301
|
# source://activerecord//lib/active_record/model_schema.rb#165
|
9302
9302
|
def table_name_suffix?; end
|
9303
9303
|
|
9304
|
-
# source://
|
9304
|
+
# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#60
|
9305
9305
|
def time_zone_aware_attributes; end
|
9306
9306
|
|
9307
|
-
# source://
|
9308
|
-
def time_zone_aware_attributes=(
|
9307
|
+
# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#60
|
9308
|
+
def time_zone_aware_attributes=(value); end
|
9309
9309
|
|
9310
9310
|
# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#60
|
9311
9311
|
def time_zone_aware_attributes?; end
|
9312
9312
|
|
9313
|
-
# source://
|
9313
|
+
# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#62
|
9314
9314
|
def time_zone_aware_types; end
|
9315
9315
|
|
9316
|
-
# source://
|
9317
|
-
def time_zone_aware_types=(
|
9316
|
+
# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#62
|
9317
|
+
def time_zone_aware_types=(value); end
|
9318
9318
|
|
9319
9319
|
# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#62
|
9320
9320
|
def time_zone_aware_types?; end
|
9321
9321
|
|
9322
|
-
# source://
|
9322
|
+
# source://activerecord//lib/active_record/token_for.rb#10
|
9323
9323
|
def token_definitions; end
|
9324
9324
|
|
9325
|
-
# source://
|
9326
|
-
def token_definitions=(
|
9325
|
+
# source://activerecord//lib/active_record/token_for.rb#10
|
9326
|
+
def token_definitions=(value); end
|
9327
9327
|
|
9328
9328
|
private
|
9329
9329
|
|
9330
|
-
# source://activesupport/8.0.
|
9331
|
-
def
|
9330
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9331
|
+
def __class_attr___callbacks; end
|
9332
|
+
|
9333
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9334
|
+
def __class_attr___callbacks=(new_value); end
|
9335
|
+
|
9336
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9337
|
+
def __class_attr__attr_readonly; end
|
9338
|
+
|
9339
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9340
|
+
def __class_attr__attr_readonly=(new_value); end
|
9341
|
+
|
9342
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9343
|
+
def __class_attr__counter_cache_columns; end
|
9344
|
+
|
9345
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9346
|
+
def __class_attr__counter_cache_columns=(new_value); end
|
9347
|
+
|
9348
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9349
|
+
def __class_attr__destroy_association_async_job; end
|
9350
|
+
|
9351
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9352
|
+
def __class_attr__destroy_association_async_job=(new_value); end
|
9353
|
+
|
9354
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9355
|
+
def __class_attr__reflections; end
|
9356
|
+
|
9357
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9358
|
+
def __class_attr__reflections=(new_value); end
|
9359
|
+
|
9360
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9361
|
+
def __class_attr__validators; end
|
9362
|
+
|
9363
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9364
|
+
def __class_attr__validators=(new_value); end
|
9365
|
+
|
9366
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9367
|
+
def __class_attr_aggregate_reflections; end
|
9368
|
+
|
9369
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9370
|
+
def __class_attr_aggregate_reflections=(new_value); end
|
9371
|
+
|
9372
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9373
|
+
def __class_attr_attribute_aliases; end
|
9374
|
+
|
9375
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9376
|
+
def __class_attr_attribute_aliases=(new_value); end
|
9377
|
+
|
9378
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9379
|
+
def __class_attr_attribute_method_patterns; end
|
9380
|
+
|
9381
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9382
|
+
def __class_attr_attribute_method_patterns=(new_value); end
|
9383
|
+
|
9384
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9385
|
+
def __class_attr_attributes_for_inspect; end
|
9386
|
+
|
9387
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9388
|
+
def __class_attr_attributes_for_inspect=(new_value); end
|
9389
|
+
|
9390
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9391
|
+
def __class_attr_automatic_scope_inversing; end
|
9392
|
+
|
9393
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9394
|
+
def __class_attr_automatic_scope_inversing=(new_value); end
|
9395
|
+
|
9396
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9397
|
+
def __class_attr_automatically_invert_plural_associations; end
|
9398
|
+
|
9399
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9400
|
+
def __class_attr_automatically_invert_plural_associations=(new_value); end
|
9401
|
+
|
9402
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9403
|
+
def __class_attr_belongs_to_required_by_default; end
|
9404
|
+
|
9405
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9406
|
+
def __class_attr_belongs_to_required_by_default=(new_value); end
|
9407
|
+
|
9408
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9409
|
+
def __class_attr_cache_timestamp_format; end
|
9410
|
+
|
9411
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9412
|
+
def __class_attr_cache_timestamp_format=(new_value); end
|
9413
|
+
|
9414
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9415
|
+
def __class_attr_cache_versioning; end
|
9416
|
+
|
9417
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9418
|
+
def __class_attr_cache_versioning=(new_value); end
|
9419
|
+
|
9420
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9421
|
+
def __class_attr_collection_cache_versioning; end
|
9422
|
+
|
9423
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9424
|
+
def __class_attr_collection_cache_versioning=(new_value); end
|
9425
|
+
|
9426
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9427
|
+
def __class_attr_counter_cached_association_names; end
|
9428
|
+
|
9429
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9430
|
+
def __class_attr_counter_cached_association_names=(new_value); end
|
9431
|
+
|
9432
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9433
|
+
def __class_attr_default_column_serializer; end
|
9434
|
+
|
9435
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9436
|
+
def __class_attr_default_column_serializer=(new_value); end
|
9437
|
+
|
9438
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9439
|
+
def __class_attr_default_connection_handler; end
|
9440
|
+
|
9441
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9442
|
+
def __class_attr_default_connection_handler=(new_value); end
|
9443
|
+
|
9444
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9445
|
+
def __class_attr_default_role; end
|
9446
|
+
|
9447
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9448
|
+
def __class_attr_default_role=(new_value); end
|
9449
|
+
|
9450
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9451
|
+
def __class_attr_default_scope_override; end
|
9452
|
+
|
9453
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9454
|
+
def __class_attr_default_scope_override=(new_value); end
|
9455
|
+
|
9456
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9457
|
+
def __class_attr_default_scopes; end
|
9458
|
+
|
9459
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9460
|
+
def __class_attr_default_scopes=(new_value); end
|
9461
|
+
|
9462
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9463
|
+
def __class_attr_default_shard; end
|
9464
|
+
|
9465
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9466
|
+
def __class_attr_default_shard=(new_value); end
|
9467
|
+
|
9468
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9469
|
+
def __class_attr_defined_enums; end
|
9470
|
+
|
9471
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9472
|
+
def __class_attr_defined_enums=(new_value); end
|
9473
|
+
|
9474
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9475
|
+
def __class_attr_destroy_association_async_batch_size; end
|
9476
|
+
|
9477
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9478
|
+
def __class_attr_destroy_association_async_batch_size=(new_value); end
|
9479
|
+
|
9480
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9481
|
+
def __class_attr_encrypted_attributes; end
|
9482
|
+
|
9483
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9484
|
+
def __class_attr_encrypted_attributes=(new_value); end
|
9485
|
+
|
9486
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9487
|
+
def __class_attr_enumerate_columns_in_select_statements; end
|
9488
|
+
|
9489
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9490
|
+
def __class_attr_enumerate_columns_in_select_statements=(new_value); end
|
9491
|
+
|
9492
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9493
|
+
def __class_attr_generated_token_verifier; end
|
9494
|
+
|
9495
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9496
|
+
def __class_attr_generated_token_verifier=(new_value); end
|
9497
|
+
|
9498
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9499
|
+
def __class_attr_has_many_inversing; end
|
9500
|
+
|
9501
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9502
|
+
def __class_attr_has_many_inversing=(new_value); end
|
9503
|
+
|
9504
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9505
|
+
def __class_attr_immutable_strings_by_default; end
|
9506
|
+
|
9507
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9508
|
+
def __class_attr_immutable_strings_by_default=(new_value); end
|
9509
|
+
|
9510
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9511
|
+
def __class_attr_implicit_order_column; end
|
9512
|
+
|
9513
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9514
|
+
def __class_attr_implicit_order_column=(new_value); end
|
9515
|
+
|
9516
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9517
|
+
def __class_attr_include_root_in_json; end
|
9518
|
+
|
9519
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9520
|
+
def __class_attr_include_root_in_json=(new_value); end
|
9521
|
+
|
9522
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9523
|
+
def __class_attr_inheritance_column; end
|
9524
|
+
|
9525
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9526
|
+
def __class_attr_inheritance_column=(new_value); end
|
9527
|
+
|
9528
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9529
|
+
def __class_attr_internal_metadata_table_name; end
|
9530
|
+
|
9531
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9532
|
+
def __class_attr_internal_metadata_table_name=(new_value); end
|
9533
|
+
|
9534
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9535
|
+
def __class_attr_lock_optimistically; end
|
9536
|
+
|
9537
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9538
|
+
def __class_attr_lock_optimistically=(new_value); end
|
9539
|
+
|
9540
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9541
|
+
def __class_attr_logger; end
|
9542
|
+
|
9543
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9544
|
+
def __class_attr_logger=(new_value); end
|
9545
|
+
|
9546
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9547
|
+
def __class_attr_nested_attributes_options; end
|
9548
|
+
|
9549
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9550
|
+
def __class_attr_nested_attributes_options=(new_value); end
|
9551
|
+
|
9552
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9553
|
+
def __class_attr_normalized_attributes; end
|
9554
|
+
|
9555
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9556
|
+
def __class_attr_normalized_attributes=(new_value); end
|
9557
|
+
|
9558
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9559
|
+
def __class_attr_param_delimiter; end
|
9560
|
+
|
9561
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9562
|
+
def __class_attr_param_delimiter=(new_value); end
|
9563
|
+
|
9564
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9565
|
+
def __class_attr_partial_inserts; end
|
9566
|
+
|
9567
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9568
|
+
def __class_attr_partial_inserts=(new_value); end
|
9569
|
+
|
9570
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9571
|
+
def __class_attr_partial_updates; end
|
9572
|
+
|
9573
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9574
|
+
def __class_attr_partial_updates=(new_value); end
|
9575
|
+
|
9576
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9577
|
+
def __class_attr_pluralize_table_names; end
|
9578
|
+
|
9579
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9580
|
+
def __class_attr_pluralize_table_names=(new_value); end
|
9581
|
+
|
9582
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9583
|
+
def __class_attr_primary_key_prefix_type; end
|
9584
|
+
|
9585
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9586
|
+
def __class_attr_primary_key_prefix_type=(new_value); end
|
9587
|
+
|
9588
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9589
|
+
def __class_attr_record_timestamps; end
|
9590
|
+
|
9591
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9592
|
+
def __class_attr_record_timestamps=(new_value); end
|
9593
|
+
|
9594
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9595
|
+
def __class_attr_run_commit_callbacks_on_first_saved_instances_in_transaction; end
|
9596
|
+
|
9597
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9598
|
+
def __class_attr_run_commit_callbacks_on_first_saved_instances_in_transaction=(new_value); end
|
9599
|
+
|
9600
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9601
|
+
def __class_attr_schema_migrations_table_name; end
|
9602
|
+
|
9603
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9604
|
+
def __class_attr_schema_migrations_table_name=(new_value); end
|
9605
|
+
|
9606
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9607
|
+
def __class_attr_shard_selector; end
|
9608
|
+
|
9609
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9610
|
+
def __class_attr_shard_selector=(new_value); end
|
9611
|
+
|
9612
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9613
|
+
def __class_attr_signed_id_verifier_secret; end
|
9614
|
+
|
9615
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9616
|
+
def __class_attr_signed_id_verifier_secret=(new_value); end
|
9617
|
+
|
9618
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9619
|
+
def __class_attr_skip_time_zone_conversion_for_attributes; end
|
9620
|
+
|
9621
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9622
|
+
def __class_attr_skip_time_zone_conversion_for_attributes=(new_value); end
|
9623
|
+
|
9624
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9625
|
+
def __class_attr_store_full_class_name; end
|
9626
|
+
|
9627
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9628
|
+
def __class_attr_store_full_class_name=(new_value); end
|
9629
|
+
|
9630
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9631
|
+
def __class_attr_store_full_sti_class; end
|
9632
|
+
|
9633
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9634
|
+
def __class_attr_store_full_sti_class=(new_value); end
|
9635
|
+
|
9636
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9637
|
+
def __class_attr_strict_loading_by_default; end
|
9638
|
+
|
9639
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9640
|
+
def __class_attr_strict_loading_by_default=(new_value); end
|
9641
|
+
|
9642
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9643
|
+
def __class_attr_strict_loading_mode; end
|
9644
|
+
|
9645
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9646
|
+
def __class_attr_strict_loading_mode=(new_value); end
|
9647
|
+
|
9648
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9649
|
+
def __class_attr_table_name_prefix; end
|
9650
|
+
|
9651
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9652
|
+
def __class_attr_table_name_prefix=(new_value); end
|
9653
|
+
|
9654
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9655
|
+
def __class_attr_table_name_suffix; end
|
9656
|
+
|
9657
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9658
|
+
def __class_attr_table_name_suffix=(new_value); end
|
9659
|
+
|
9660
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9661
|
+
def __class_attr_time_zone_aware_attributes; end
|
9662
|
+
|
9663
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9664
|
+
def __class_attr_time_zone_aware_attributes=(new_value); end
|
9665
|
+
|
9666
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9667
|
+
def __class_attr_time_zone_aware_types; end
|
9668
|
+
|
9669
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9670
|
+
def __class_attr_time_zone_aware_types=(new_value); end
|
9671
|
+
|
9672
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
9673
|
+
def __class_attr_token_definitions; end
|
9674
|
+
|
9675
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
9676
|
+
def __class_attr_token_definitions=(new_value); end
|
9677
|
+
|
9678
|
+
# source://activerecord//lib/active_record/model_schema.rb#172
|
9679
|
+
def _inheritance_column=(value); end
|
9332
9680
|
end
|
9333
9681
|
end
|
9334
9682
|
|
@@ -10558,19 +10906,19 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
|
|
10558
10906
|
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#125
|
10559
10907
|
def initialize(config_or_deprecated_connection, deprecated_logger = T.unsafe(nil), deprecated_connection_options = T.unsafe(nil), deprecated_config = T.unsafe(nil)); end
|
10560
10908
|
|
10561
|
-
# source://activesupport/8.0.
|
10909
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#69
|
10562
10910
|
def __callbacks; end
|
10563
10911
|
|
10564
|
-
# source://activesupport/8.0.
|
10912
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#923
|
10565
10913
|
def _checkin_callbacks; end
|
10566
10914
|
|
10567
|
-
# source://activesupport/8.0.
|
10915
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#923
|
10568
10916
|
def _checkout_callbacks; end
|
10569
10917
|
|
10570
|
-
# source://activesupport/8.0.
|
10918
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#911
|
10571
10919
|
def _run_checkin_callbacks(&block); end
|
10572
10920
|
|
10573
|
-
# source://activesupport/8.0.
|
10921
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#911
|
10574
10922
|
def _run_checkout_callbacks(&block); end
|
10575
10923
|
|
10576
10924
|
# Checks whether the connection to the database is still active. This includes
|
@@ -11393,22 +11741,22 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
|
|
11393
11741
|
def with_raw_connection(allow_retry: T.unsafe(nil), materialize_transactions: T.unsafe(nil)); end
|
11394
11742
|
|
11395
11743
|
class << self
|
11396
|
-
# source://activesupport/8.0.
|
11744
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#69
|
11397
11745
|
def __callbacks; end
|
11398
11746
|
|
11399
|
-
# source://activesupport/8.0.
|
11400
|
-
def __callbacks=(
|
11747
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#69
|
11748
|
+
def __callbacks=(value); end
|
11401
11749
|
|
11402
|
-
# source://activesupport/8.0.
|
11750
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#915
|
11403
11751
|
def _checkin_callbacks; end
|
11404
11752
|
|
11405
|
-
# source://activesupport/8.0.
|
11753
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#919
|
11406
11754
|
def _checkin_callbacks=(value); end
|
11407
11755
|
|
11408
|
-
# source://activesupport/8.0.
|
11756
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#915
|
11409
11757
|
def _checkout_callbacks; end
|
11410
11758
|
|
11411
|
-
# source://activesupport/8.0.
|
11759
|
+
# source://activesupport/8.0.1/lib/active_support/callbacks.rb#919
|
11412
11760
|
def _checkout_callbacks=(value); end
|
11413
11761
|
|
11414
11762
|
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#86
|
@@ -11448,6 +11796,12 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
|
|
11448
11796
|
|
11449
11797
|
private
|
11450
11798
|
|
11799
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
11800
|
+
def __class_attr___callbacks; end
|
11801
|
+
|
11802
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
11803
|
+
def __class_attr___callbacks=(new_value); end
|
11804
|
+
|
11451
11805
|
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#936
|
11452
11806
|
def extract_limit(sql_type); end
|
11453
11807
|
|
@@ -11535,62 +11889,62 @@ class ActiveRecord::ConnectionAdapters::AddColumnDefinition < ::Struct
|
|
11535
11889
|
end
|
11536
11890
|
end
|
11537
11891
|
|
11538
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
11892
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#624
|
11539
11893
|
class ActiveRecord::ConnectionAdapters::AlterTable
|
11540
11894
|
# @return [AlterTable] a new instance of AlterTable
|
11541
11895
|
#
|
11542
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
11896
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#630
|
11543
11897
|
def initialize(td); end
|
11544
11898
|
|
11545
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
11899
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#650
|
11546
11900
|
def add_check_constraint(expression, options); end
|
11547
11901
|
|
11548
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
11902
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#662
|
11549
11903
|
def add_column(name, type, **options); end
|
11550
11904
|
|
11551
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
11905
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#642
|
11552
11906
|
def add_foreign_key(to_table, options); end
|
11553
11907
|
|
11554
11908
|
# Returns the value of attribute adds.
|
11555
11909
|
#
|
11556
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
11910
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#625
|
11557
11911
|
def adds; end
|
11558
11912
|
|
11559
11913
|
# Returns the value of attribute check_constraint_adds.
|
11560
11914
|
#
|
11561
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
11915
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#627
|
11562
11916
|
def check_constraint_adds; end
|
11563
11917
|
|
11564
11918
|
# Returns the value of attribute check_constraint_drops.
|
11565
11919
|
#
|
11566
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
11920
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#627
|
11567
11921
|
def check_constraint_drops; end
|
11568
11922
|
|
11569
11923
|
# Returns the value of attribute constraint_drops.
|
11570
11924
|
#
|
11571
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
11925
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#628
|
11572
11926
|
def constraint_drops; end
|
11573
11927
|
|
11574
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
11928
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#654
|
11575
11929
|
def drop_check_constraint(constraint_name); end
|
11576
11930
|
|
11577
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
11931
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#658
|
11578
11932
|
def drop_constraint(constraint_name); end
|
11579
11933
|
|
11580
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
11934
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#646
|
11581
11935
|
def drop_foreign_key(name); end
|
11582
11936
|
|
11583
11937
|
# Returns the value of attribute foreign_key_adds.
|
11584
11938
|
#
|
11585
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
11939
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#626
|
11586
11940
|
def foreign_key_adds; end
|
11587
11941
|
|
11588
11942
|
# Returns the value of attribute foreign_key_drops.
|
11589
11943
|
#
|
11590
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
11944
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#626
|
11591
11945
|
def foreign_key_drops; end
|
11592
11946
|
|
11593
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
11947
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#640
|
11594
11948
|
def name; end
|
11595
11949
|
end
|
11596
11950
|
|
@@ -11739,16 +12093,16 @@ class ActiveRecord::ConnectionAdapters::ChangeColumnDefinition < ::Struct
|
|
11739
12093
|
end
|
11740
12094
|
end
|
11741
12095
|
|
11742
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
12096
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#175
|
11743
12097
|
class ActiveRecord::ConnectionAdapters::CheckConstraintDefinition < ::Struct
|
11744
12098
|
# @return [Boolean]
|
11745
12099
|
#
|
11746
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
12100
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#189
|
11747
12101
|
def defined_for?(name:, expression: T.unsafe(nil), validate: T.unsafe(nil), **options); end
|
11748
12102
|
|
11749
12103
|
# @return [Boolean]
|
11750
12104
|
#
|
11751
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
12105
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#185
|
11752
12106
|
def export_name_on_schema_dump?; end
|
11753
12107
|
|
11754
12108
|
# Returns the value of attribute expression
|
@@ -11762,7 +12116,7 @@ class ActiveRecord::ConnectionAdapters::CheckConstraintDefinition < ::Struct
|
|
11762
12116
|
# @return [Object] the newly set value
|
11763
12117
|
def expression=(_); end
|
11764
12118
|
|
11765
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
12119
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#176
|
11766
12120
|
def name; end
|
11767
12121
|
|
11768
12122
|
# Returns the value of attribute options
|
@@ -11789,12 +12143,12 @@ class ActiveRecord::ConnectionAdapters::CheckConstraintDefinition < ::Struct
|
|
11789
12143
|
|
11790
12144
|
# @return [Boolean]
|
11791
12145
|
#
|
11792
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
12146
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#180
|
11793
12147
|
def validate?; end
|
11794
12148
|
|
11795
12149
|
# @return [Boolean]
|
11796
12150
|
#
|
11797
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
12151
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#180
|
11798
12152
|
def validated?; end
|
11799
12153
|
|
11800
12154
|
class << self
|
@@ -12056,7 +12410,7 @@ end
|
|
12056
12410
|
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79
|
12057
12411
|
ActiveRecord::ConnectionAdapters::ColumnDefinition::OPTION_NAMES = T.let(T.unsafe(nil), Array)
|
12058
12412
|
|
12059
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
12413
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#303
|
12060
12414
|
module ActiveRecord::ConnectionAdapters::ColumnMethods
|
12061
12415
|
extend ::ActiveSupport::Concern
|
12062
12416
|
|
@@ -12065,7 +12419,7 @@ module ActiveRecord::ConnectionAdapters::ColumnMethods
|
|
12065
12419
|
# Appends a primary key definition to the table definition.
|
12066
12420
|
# Can be called multiple times, but this is probably not a good idea.
|
12067
12421
|
#
|
12068
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
12422
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#308
|
12069
12423
|
def primary_key(name, type = T.unsafe(nil), **options); end
|
12070
12424
|
end
|
12071
12425
|
|
@@ -12073,7 +12427,7 @@ end
|
|
12073
12427
|
module ActiveRecord::ConnectionAdapters::ColumnMethods::ClassMethods
|
12074
12428
|
private
|
12075
12429
|
|
12076
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
12430
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332
|
12077
12431
|
def define_column_methods(*column_types); end
|
12078
12432
|
end
|
12079
12433
|
|
@@ -12375,7 +12729,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12375
12729
|
#
|
12376
12730
|
# @return [Boolean]
|
12377
12731
|
#
|
12378
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12732
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#376
|
12379
12733
|
def active_connection; end
|
12380
12734
|
|
12381
12735
|
# Returns true if there is an open connection being used for the current thread.
|
@@ -12386,24 +12740,24 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12386
12740
|
#
|
12387
12741
|
# @return [Boolean]
|
12388
12742
|
#
|
12389
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12743
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#376
|
12390
12744
|
def active_connection?; end
|
12391
12745
|
|
12392
12746
|
# Returns the value of attribute async_executor.
|
12393
12747
|
#
|
12394
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12748
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#222
|
12395
12749
|
def async_executor; end
|
12396
12750
|
|
12397
12751
|
# Returns the value of attribute automatic_reconnect.
|
12398
12752
|
#
|
12399
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12753
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#221
|
12400
12754
|
def automatic_reconnect; end
|
12401
12755
|
|
12402
12756
|
# Sets the attribute automatic_reconnect
|
12403
12757
|
#
|
12404
12758
|
# @param value the value to set the attribute automatic_reconnect to.
|
12405
12759
|
#
|
12406
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12760
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#221
|
12407
12761
|
def automatic_reconnect=(_arg0); end
|
12408
12762
|
|
12409
12763
|
# Check-in a database connection back into the pool, indicating that you
|
@@ -12412,7 +12766,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12412
12766
|
# +conn+: an AbstractAdapter object, which was obtained by earlier by
|
12413
12767
|
# calling #checkout on this pool.
|
12414
12768
|
#
|
12415
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12769
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#570
|
12416
12770
|
def checkin(conn); end
|
12417
12771
|
|
12418
12772
|
# Check-out a database connection from the pool, indicating that you want
|
@@ -12430,7 +12784,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12430
12784
|
# Raises:
|
12431
12785
|
# - ActiveRecord::ConnectionTimeoutError no connection can be obtained from the pool.
|
12432
12786
|
#
|
12433
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12787
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#547
|
12434
12788
|
def checkout(checkout_timeout = T.unsafe(nil)); end
|
12435
12789
|
|
12436
12790
|
# source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#132
|
@@ -12438,14 +12792,14 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12438
12792
|
|
12439
12793
|
# Returns the value of attribute checkout_timeout.
|
12440
12794
|
#
|
12441
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12795
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#221
|
12442
12796
|
def checkout_timeout; end
|
12443
12797
|
|
12444
12798
|
# Sets the attribute checkout_timeout
|
12445
12799
|
#
|
12446
12800
|
# @param value the value to set the attribute checkout_timeout to.
|
12447
12801
|
#
|
12448
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12802
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#221
|
12449
12803
|
def checkout_timeout=(_arg0); end
|
12450
12804
|
|
12451
12805
|
# Clears the cache which maps classes and re-connects connections that
|
@@ -12456,7 +12810,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12456
12810
|
# connections in the pool within a timeout interval (default duration is
|
12457
12811
|
# <tt>spec.db_config.checkout_timeout * 2</tt> seconds).
|
12458
12812
|
#
|
12459
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12813
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#505
|
12460
12814
|
def clear_reloadable_connections(raise_on_acquisition_timeout = T.unsafe(nil)); end
|
12461
12815
|
|
12462
12816
|
# Clears the cache which maps classes and re-connects connections that
|
@@ -12468,17 +12822,17 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12468
12822
|
# clears the cache and reloads connections without any regard for other
|
12469
12823
|
# connection owning threads.
|
12470
12824
|
#
|
12471
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12825
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#529
|
12472
12826
|
def clear_reloadable_connections!; end
|
12473
12827
|
|
12474
12828
|
# Returns true if a connection has already been opened.
|
12475
12829
|
#
|
12476
12830
|
# @return [Boolean]
|
12477
12831
|
#
|
12478
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12832
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#427
|
12479
12833
|
def connected?; end
|
12480
12834
|
|
12481
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12835
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#367
|
12482
12836
|
def connection_class; end
|
12483
12837
|
|
12484
12838
|
# Returns an array containing the connections currently in the pool.
|
@@ -12493,12 +12847,12 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12493
12847
|
# thread-safety guarantees of the underlying method. Many of the methods
|
12494
12848
|
# on connection adapter classes are inherently multi-thread unsafe.
|
12495
12849
|
#
|
12496
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12850
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#442
|
12497
12851
|
def connections; end
|
12498
12852
|
|
12499
12853
|
# Returns the value of attribute db_config.
|
12500
12854
|
#
|
12501
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12855
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#222
|
12502
12856
|
def db_config; end
|
12503
12857
|
|
12504
12858
|
# Discards all connections in the pool (even if they're currently
|
@@ -12507,12 +12861,12 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12507
12861
|
#
|
12508
12862
|
# See AbstractAdapter#discard!
|
12509
12863
|
#
|
12510
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12864
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#484
|
12511
12865
|
def discard!; end
|
12512
12866
|
|
12513
12867
|
# @return [Boolean]
|
12514
12868
|
#
|
12515
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12869
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#494
|
12516
12870
|
def discarded?; end
|
12517
12871
|
|
12518
12872
|
# Disconnects all connections in the pool, and clears the pool.
|
@@ -12522,7 +12876,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12522
12876
|
# connections in the pool within a timeout interval (default duration is
|
12523
12877
|
# <tt>spec.db_config.checkout_timeout * 2</tt> seconds).
|
12524
12878
|
#
|
12525
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12879
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#452
|
12526
12880
|
def disconnect(raise_on_acquisition_timeout = T.unsafe(nil)); end
|
12527
12881
|
|
12528
12882
|
# Disconnects all connections in the pool, and clears the pool.
|
@@ -12532,26 +12886,26 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12532
12886
|
# <tt>spec.db_config.checkout_timeout * 2</tt> seconds), then the pool is forcefully
|
12533
12887
|
# disconnected without any regard for other connection owning threads.
|
12534
12888
|
#
|
12535
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12889
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#475
|
12536
12890
|
def disconnect!; end
|
12537
12891
|
|
12538
12892
|
# Disconnect all connections that have been idle for at least
|
12539
12893
|
# +minimum_idle+ seconds. Connections currently checked out, or that were
|
12540
12894
|
# checked in less than +minimum_idle+ seconds ago, are unaffected.
|
12541
12895
|
#
|
12542
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12896
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#643
|
12543
12897
|
def flush(minimum_idle = T.unsafe(nil)); end
|
12544
12898
|
|
12545
12899
|
# Disconnect all currently idle connections. Connections currently checked
|
12546
12900
|
# out are unaffected.
|
12547
12901
|
#
|
12548
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12902
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#665
|
12549
12903
|
def flush!; end
|
12550
12904
|
|
12551
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12905
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#278
|
12552
12906
|
def inspect; end
|
12553
12907
|
|
12554
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12908
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#306
|
12555
12909
|
def internal_metadata; end
|
12556
12910
|
|
12557
12911
|
# Retrieve the connection associated with the current thread, or call
|
@@ -12560,41 +12914,44 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12560
12914
|
# #lease_connection can be called any number of times; the connection is
|
12561
12915
|
# held in a cache keyed by a thread.
|
12562
12916
|
#
|
12563
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12917
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#315
|
12564
12918
|
def lease_connection; end
|
12565
12919
|
|
12566
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12920
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#294
|
12567
12921
|
def migration_context; end
|
12568
12922
|
|
12569
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12923
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#298
|
12570
12924
|
def migrations_paths; end
|
12571
12925
|
|
12572
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12926
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#696
|
12927
|
+
def new_connection; end
|
12928
|
+
|
12929
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#670
|
12573
12930
|
def num_waiting_in_queue; end
|
12574
12931
|
|
12575
12932
|
# @return [Boolean]
|
12576
12933
|
#
|
12577
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12934
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#321
|
12578
12935
|
def permanent_lease?; end
|
12579
12936
|
|
12580
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12937
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#325
|
12581
12938
|
def pin_connection!(lock_thread); end
|
12582
12939
|
|
12583
12940
|
# Returns the value of attribute pool_config.
|
12584
12941
|
#
|
12585
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12942
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#222
|
12586
12943
|
def pool_config; end
|
12587
12944
|
|
12588
12945
|
# Recover lost connections for the pool. A lost connection can occur if
|
12589
12946
|
# a programmer forgets to checkin a connection at the end of a thread
|
12590
12947
|
# or a thread dies unexpectedly.
|
12591
12948
|
#
|
12592
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12949
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#620
|
12593
12950
|
def reap; end
|
12594
12951
|
|
12595
12952
|
# Returns the value of attribute reaper.
|
12596
12953
|
#
|
12597
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12954
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#222
|
12598
12955
|
def reaper; end
|
12599
12956
|
|
12600
12957
|
# Signal that the thread is finished with the current connection.
|
@@ -12605,56 +12962,56 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12605
12962
|
# #lease_connection or #with_connection methods, connections obtained through
|
12606
12963
|
# #checkout will not be automatically released.
|
12607
12964
|
#
|
12608
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12965
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#388
|
12609
12966
|
def release_connection(existing_lease = T.unsafe(nil)); end
|
12610
12967
|
|
12611
12968
|
# Remove a connection from the connection pool. The connection will
|
12612
12969
|
# remain open and active but will no longer be managed by this pool.
|
12613
12970
|
#
|
12614
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12971
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#588
|
12615
12972
|
def remove(conn); end
|
12616
12973
|
|
12617
12974
|
# Returns the value of attribute role.
|
12618
12975
|
#
|
12619
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12976
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#222
|
12620
12977
|
def role; end
|
12621
12978
|
|
12622
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12979
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#691
|
12623
12980
|
def schedule_query(future_result); end
|
12624
12981
|
|
12625
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12982
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#285
|
12626
12983
|
def schema_cache; end
|
12627
12984
|
|
12628
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12985
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#302
|
12629
12986
|
def schema_migration; end
|
12630
12987
|
|
12631
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12988
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#224
|
12632
12989
|
def schema_reflection(*_arg0, **_arg1, &_arg2); end
|
12633
12990
|
|
12634
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12991
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#289
|
12635
12992
|
def schema_reflection=(schema_reflection); end
|
12636
12993
|
|
12637
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12994
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#224
|
12638
12995
|
def server_version(*_arg0, **_arg1, &_arg2); end
|
12639
12996
|
|
12640
12997
|
# Returns the value of attribute shard.
|
12641
12998
|
#
|
12642
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
12999
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#222
|
12643
13000
|
def shard; end
|
12644
13001
|
|
12645
13002
|
# Returns the value of attribute size.
|
12646
13003
|
#
|
12647
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13004
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#222
|
12648
13005
|
def size; end
|
12649
13006
|
|
12650
13007
|
# Returns the connection pool's usage statistic.
|
12651
13008
|
#
|
12652
13009
|
# ActiveRecord::Base.connection_pool.stat # => { size: 15, connections: 1, busy: 1, dead: 0, idle: 0, waiting: 0, checkout_timeout: 5 }
|
12653
13010
|
#
|
12654
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13011
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#677
|
12655
13012
|
def stat; end
|
12656
13013
|
|
12657
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13014
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#340
|
12658
13015
|
def unpin_connection!; end
|
12659
13016
|
|
12660
13017
|
# Yields a connection from the connection pool to the block. If no connection
|
@@ -12667,7 +13024,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12667
13024
|
# connection will be properly returned to the pool by the code that checked
|
12668
13025
|
# it out.
|
12669
13026
|
#
|
12670
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13027
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#405
|
12671
13028
|
def with_connection(prevent_permanent_checkout: T.unsafe(nil)); end
|
12672
13029
|
|
12673
13030
|
private
|
@@ -12684,51 +13041,48 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12684
13041
|
# Implementation detail: the connection returned by +acquire_connection+
|
12685
13042
|
# will already be "+connection.lease+ -ed" to the current thread.
|
12686
13043
|
#
|
12687
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13044
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#857
|
12688
13045
|
def acquire_connection(checkout_timeout); end
|
12689
13046
|
|
12690
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13047
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#921
|
12691
13048
|
def adopt_connection(conn); end
|
12692
13049
|
|
12693
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13050
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#748
|
12694
13051
|
def attempt_to_checkout_all_existing_connections(raise_on_acquisition_timeout = T.unsafe(nil)); end
|
12695
13052
|
|
12696
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13053
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#709
|
12697
13054
|
def build_async_executor; end
|
12698
13055
|
|
12699
13056
|
# --
|
12700
13057
|
# this is unfortunately not concurrent
|
12701
13058
|
#
|
12702
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13059
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#727
|
12703
13060
|
def bulk_make_new_connections(num_new_conns_needed); end
|
12704
13061
|
|
12705
13062
|
# --
|
12706
13063
|
# Must be called in a synchronize block.
|
12707
13064
|
#
|
12708
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13065
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#797
|
12709
13066
|
def checkout_for_exclusive_access(checkout_timeout); end
|
12710
13067
|
|
12711
13068
|
# @raise [ConnectionNotEstablished]
|
12712
13069
|
#
|
12713
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13070
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#932
|
12714
13071
|
def checkout_new_connection; end
|
12715
13072
|
|
12716
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13073
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#705
|
12717
13074
|
def connection_lease; end
|
12718
13075
|
|
12719
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#873
|
12720
|
-
def new_connection; end
|
12721
|
-
|
12722
13076
|
# --
|
12723
13077
|
# if owner_thread param is omitted, this must be called in synchronize block
|
12724
13078
|
#
|
12725
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13079
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#882
|
12726
13080
|
def release(conn, owner_thread = T.unsafe(nil)); end
|
12727
13081
|
|
12728
13082
|
# --
|
12729
13083
|
# if owner_thread param is omitted, this must be called in synchronize block
|
12730
13084
|
#
|
12731
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13085
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#882
|
12732
13086
|
def remove_connection_from_thread_cache(conn, owner_thread = T.unsafe(nil)); end
|
12733
13087
|
|
12734
13088
|
# If the pool is not at a <tt>@size</tt> limit, establish new connection. Connecting
|
@@ -12737,7 +13091,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12737
13091
|
# Implementation constraint: a newly established connection returned by this
|
12738
13092
|
# method must be in the +.leased+ state.
|
12739
13093
|
#
|
12740
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13094
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#894
|
12741
13095
|
def try_to_checkout_new_connection; end
|
12742
13096
|
|
12743
13097
|
# Take control of all existing connections so a "group" action such as
|
@@ -12745,14 +13099,14 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
|
|
12745
13099
|
# wrap it in +synchronize+ because some pool's actions are allowed
|
12746
13100
|
# to be performed outside of the main +synchronize+ block.
|
12747
13101
|
#
|
12748
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13102
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#741
|
12749
13103
|
def with_exclusively_acquired_all_connections(raise_on_acquisition_timeout = T.unsafe(nil)); end
|
12750
13104
|
|
12751
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13105
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#817
|
12752
13106
|
def with_new_connections_blocked; end
|
12753
13107
|
|
12754
13108
|
class << self
|
12755
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13109
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#212
|
12756
13110
|
def install_executor_hooks(executor = T.unsafe(nil)); end
|
12757
13111
|
end
|
12758
13112
|
end
|
@@ -12805,66 +13159,66 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool::ConnectionLeasingQueue <
|
|
12805
13159
|
def internal_poll(timeout); end
|
12806
13160
|
end
|
12807
13161
|
|
12808
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13162
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#192
|
12809
13163
|
module ActiveRecord::ConnectionAdapters::ConnectionPool::ExecutorHooks
|
12810
13164
|
class << self
|
12811
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13165
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#198
|
12812
13166
|
def complete(_); end
|
12813
13167
|
|
12814
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13168
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#194
|
12815
13169
|
def run; end
|
12816
13170
|
end
|
12817
13171
|
end
|
12818
13172
|
|
12819
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13173
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#147
|
12820
13174
|
class ActiveRecord::ConnectionAdapters::ConnectionPool::Lease
|
12821
13175
|
# @return [Lease] a new instance of Lease
|
12822
13176
|
#
|
12823
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13177
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#150
|
12824
13178
|
def initialize; end
|
12825
13179
|
|
12826
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13180
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#162
|
12827
13181
|
def clear(connection); end
|
12828
13182
|
|
12829
13183
|
# Returns the value of attribute connection.
|
12830
13184
|
#
|
12831
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13185
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#148
|
12832
13186
|
def connection; end
|
12833
13187
|
|
12834
13188
|
# Sets the attribute connection
|
12835
13189
|
#
|
12836
13190
|
# @param value the value to set the attribute connection to.
|
12837
13191
|
#
|
12838
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13192
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#148
|
12839
13193
|
def connection=(_arg0); end
|
12840
13194
|
|
12841
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13195
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#155
|
12842
13196
|
def release; end
|
12843
13197
|
|
12844
13198
|
# Returns the value of attribute sticky.
|
12845
13199
|
#
|
12846
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13200
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#148
|
12847
13201
|
def sticky; end
|
12848
13202
|
|
12849
13203
|
# Sets the attribute sticky
|
12850
13204
|
#
|
12851
13205
|
# @param value the value to set the attribute sticky to.
|
12852
13206
|
#
|
12853
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13207
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#148
|
12854
13208
|
def sticky=(_arg0); end
|
12855
13209
|
end
|
12856
13210
|
|
12857
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13211
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#173
|
12858
13212
|
class ActiveRecord::ConnectionAdapters::ConnectionPool::LeaseRegistry
|
12859
13213
|
# @return [LeaseRegistry] a new instance of LeaseRegistry
|
12860
13214
|
#
|
12861
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13215
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#174
|
12862
13216
|
def initialize; end
|
12863
13217
|
|
12864
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13218
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#179
|
12865
13219
|
def [](context); end
|
12866
13220
|
|
12867
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13221
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#185
|
12868
13222
|
def clear; end
|
12869
13223
|
end
|
12870
13224
|
|
@@ -13010,23 +13364,23 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool::Reaper
|
|
13010
13364
|
end
|
13011
13365
|
end
|
13012
13366
|
|
13013
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13367
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#125
|
13014
13368
|
class ActiveRecord::ConnectionAdapters::ConnectionPool::WeakThreadKeyMap
|
13015
13369
|
# FIXME: On 3.3 we could use ObjectSpace::WeakKeyMap
|
13016
13370
|
# but it currently cause GC crashes: https://github.com/byroot/rails/pull/3
|
13017
13371
|
#
|
13018
13372
|
# @return [WeakThreadKeyMap] a new instance of WeakThreadKeyMap
|
13019
13373
|
#
|
13020
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13374
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#128
|
13021
13375
|
def initialize; end
|
13022
13376
|
|
13023
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13377
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#136
|
13024
13378
|
def [](key); end
|
13025
13379
|
|
13026
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13380
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#140
|
13027
13381
|
def []=(key, value); end
|
13028
13382
|
|
13029
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#
|
13383
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#132
|
13030
13384
|
def clear; end
|
13031
13385
|
end
|
13032
13386
|
|
@@ -13750,7 +14104,7 @@ class ActiveRecord::ConnectionAdapters::ForeignKeyDefinition < ::Struct
|
|
13750
14104
|
|
13751
14105
|
private
|
13752
14106
|
|
13753
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14107
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#170
|
13754
14108
|
def default_primary_key; end
|
13755
14109
|
|
13756
14110
|
class << self
|
@@ -14445,79 +14799,79 @@ class ActiveRecord::ConnectionAdapters::RealTransaction < ::ActiveRecord::Connec
|
|
14445
14799
|
def rollback; end
|
14446
14800
|
end
|
14447
14801
|
|
14448
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14802
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#198
|
14449
14803
|
class ActiveRecord::ConnectionAdapters::ReferenceDefinition
|
14450
14804
|
# @return [ReferenceDefinition] a new instance of ReferenceDefinition
|
14451
14805
|
#
|
14452
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14806
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#199
|
14453
14807
|
def initialize(name, polymorphic: T.unsafe(nil), index: T.unsafe(nil), foreign_key: T.unsafe(nil), type: T.unsafe(nil), **options); end
|
14454
14808
|
|
14455
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14809
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#219
|
14456
14810
|
def add(table_name, connection); end
|
14457
14811
|
|
14458
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14812
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#233
|
14459
14813
|
def add_to(table); end
|
14460
14814
|
|
14461
14815
|
private
|
14462
14816
|
|
14463
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14817
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#250
|
14464
14818
|
def as_options(value); end
|
14465
14819
|
|
14466
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14820
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#288
|
14467
14821
|
def column_name; end
|
14468
14822
|
|
14469
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14823
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#292
|
14470
14824
|
def column_names; end
|
14471
14825
|
|
14472
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14826
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#280
|
14473
14827
|
def columns; end
|
14474
14828
|
|
14475
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14829
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#254
|
14476
14830
|
def conditional_options; end
|
14477
14831
|
|
14478
14832
|
# Returns the value of attribute foreign_key.
|
14479
14833
|
#
|
14480
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14834
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#248
|
14481
14835
|
def foreign_key; end
|
14482
14836
|
|
14483
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14837
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#276
|
14484
14838
|
def foreign_key_options; end
|
14485
14839
|
|
14486
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14840
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#296
|
14487
14841
|
def foreign_table_name; end
|
14488
14842
|
|
14489
14843
|
# Returns the value of attribute index.
|
14490
14844
|
#
|
14491
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14845
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#248
|
14492
14846
|
def index; end
|
14493
14847
|
|
14494
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14848
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#266
|
14495
14849
|
def index_options(table_name); end
|
14496
14850
|
|
14497
14851
|
# Returns the value of attribute name.
|
14498
14852
|
#
|
14499
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14853
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#248
|
14500
14854
|
def name; end
|
14501
14855
|
|
14502
14856
|
# Returns the value of attribute options.
|
14503
14857
|
#
|
14504
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14858
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#248
|
14505
14859
|
def options; end
|
14506
14860
|
|
14507
14861
|
# Returns the value of attribute polymorphic.
|
14508
14862
|
#
|
14509
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14863
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#248
|
14510
14864
|
def polymorphic; end
|
14511
14865
|
|
14512
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14866
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#262
|
14513
14867
|
def polymorphic_index_name(table_name); end
|
14514
14868
|
|
14515
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14869
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#258
|
14516
14870
|
def polymorphic_options; end
|
14517
14871
|
|
14518
14872
|
# Returns the value of attribute type.
|
14519
14873
|
#
|
14520
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
14874
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#248
|
14521
14875
|
def type; end
|
14522
14876
|
end
|
14523
14877
|
|
@@ -16550,14 +16904,14 @@ end
|
|
16550
16904
|
# t.remove_timestamps
|
16551
16905
|
# end
|
16552
16906
|
#
|
16553
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
16907
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#715
|
16554
16908
|
class ActiveRecord::ConnectionAdapters::Table
|
16555
16909
|
include ::ActiveRecord::ConnectionAdapters::ColumnMethods
|
16556
16910
|
extend ::ActiveRecord::ConnectionAdapters::ColumnMethods::ClassMethods
|
16557
16911
|
|
16558
16912
|
# @return [Table] a new instance of Table
|
16559
16913
|
#
|
16560
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
16914
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#720
|
16561
16915
|
def initialize(table_name, base); end
|
16562
16916
|
|
16563
16917
|
# Adds a reference.
|
@@ -16567,19 +16921,19 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16567
16921
|
#
|
16568
16922
|
# See {connection.add_reference}[rdoc-ref:SchemaStatements#add_reference] for details of the options you can use.
|
16569
16923
|
#
|
16570
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
16924
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#871
|
16571
16925
|
def belongs_to(*args, **options); end
|
16572
16926
|
|
16573
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
16927
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16574
16928
|
def bigint(*names, **options); end
|
16575
16929
|
|
16576
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
16930
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16577
16931
|
def binary(*names, **options); end
|
16578
16932
|
|
16579
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
16933
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16580
16934
|
def blob(*names, **options); end
|
16581
16935
|
|
16582
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
16936
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16583
16937
|
def boolean(*names, **options); end
|
16584
16938
|
|
16585
16939
|
# Changes the column's definition according to the new options.
|
@@ -16589,7 +16943,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16589
16943
|
#
|
16590
16944
|
# See TableDefinition#column for details of the options you can use.
|
16591
16945
|
#
|
16592
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
16946
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#797
|
16593
16947
|
def change(column_name, type, **options); end
|
16594
16948
|
|
16595
16949
|
# Sets a new default value for a column.
|
@@ -16600,7 +16954,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16600
16954
|
#
|
16601
16955
|
# See {connection.change_column_default}[rdoc-ref:SchemaStatements#change_column_default]
|
16602
16956
|
#
|
16603
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
16957
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#809
|
16604
16958
|
def change_default(column_name, default_or_changes); end
|
16605
16959
|
|
16606
16960
|
# Sets or removes a NOT NULL constraint on a column.
|
@@ -16610,7 +16964,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16610
16964
|
#
|
16611
16965
|
# See {connection.change_column_null}[rdoc-ref:SchemaStatements#change_column_null]
|
16612
16966
|
#
|
16613
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
16967
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#819
|
16614
16968
|
def change_null(column_name, null, default = T.unsafe(nil)); end
|
16615
16969
|
|
16616
16970
|
# Adds a check constraint.
|
@@ -16619,7 +16973,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16619
16973
|
#
|
16620
16974
|
# See {connection.add_check_constraint}[rdoc-ref:SchemaStatements#add_check_constraint]
|
16621
16975
|
#
|
16622
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
16976
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#929
|
16623
16977
|
def check_constraint(*args, **options); end
|
16624
16978
|
|
16625
16979
|
# Checks if a check_constraint exists on a table.
|
@@ -16632,7 +16986,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16632
16986
|
#
|
16633
16987
|
# @return [Boolean]
|
16634
16988
|
#
|
16635
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
16989
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#949
|
16636
16990
|
def check_constraint_exists?(*args, **options); end
|
16637
16991
|
|
16638
16992
|
# Adds a new column to the named table.
|
@@ -16641,7 +16995,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16641
16995
|
#
|
16642
16996
|
# See TableDefinition#column for details of the options you can use.
|
16643
16997
|
#
|
16644
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
16998
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#730
|
16645
16999
|
def column(column_name, type, index: T.unsafe(nil), **options); end
|
16646
17000
|
|
16647
17001
|
# Checks to see if a column exists.
|
@@ -16652,19 +17006,19 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16652
17006
|
#
|
16653
17007
|
# @return [Boolean]
|
16654
17008
|
#
|
16655
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17009
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#744
|
16656
17010
|
def column_exists?(column_name, type = T.unsafe(nil), **options); end
|
16657
17011
|
|
16658
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17012
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16659
17013
|
def date(*names, **options); end
|
16660
17014
|
|
16661
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17015
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16662
17016
|
def datetime(*names, **options); end
|
16663
17017
|
|
16664
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17018
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16665
17019
|
def decimal(*names, **options); end
|
16666
17020
|
|
16667
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17021
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16668
17022
|
def float(*names, **options); end
|
16669
17023
|
|
16670
17024
|
# Adds a foreign key to the table using a supplied table name.
|
@@ -16674,7 +17028,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16674
17028
|
#
|
16675
17029
|
# See {connection.add_foreign_key}[rdoc-ref:SchemaStatements#add_foreign_key]
|
16676
17030
|
#
|
16677
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17031
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#899
|
16678
17032
|
def foreign_key(*args, **options); end
|
16679
17033
|
|
16680
17034
|
# Checks to see if a foreign key exists.
|
@@ -16685,7 +17039,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16685
17039
|
#
|
16686
17040
|
# @return [Boolean]
|
16687
17041
|
#
|
16688
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17042
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#920
|
16689
17043
|
def foreign_key_exists?(*args, **options); end
|
16690
17044
|
|
16691
17045
|
# Adds a new index to the table. +column_name+ can be a single Symbol, or
|
@@ -16697,7 +17051,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16697
17051
|
#
|
16698
17052
|
# See {connection.add_index}[rdoc-ref:SchemaStatements#add_index] for details of the options you can use.
|
16699
17053
|
#
|
16700
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17054
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#756
|
16701
17055
|
def index(column_name, **options); end
|
16702
17056
|
|
16703
17057
|
# Checks to see if an index exists.
|
@@ -16710,21 +17064,21 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16710
17064
|
#
|
16711
17065
|
# @return [Boolean]
|
16712
17066
|
#
|
16713
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17067
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#768
|
16714
17068
|
def index_exists?(column_name, **options); end
|
16715
17069
|
|
16716
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17070
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16717
17071
|
def integer(*names, **options); end
|
16718
17072
|
|
16719
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17073
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16720
17074
|
def json(*names, **options); end
|
16721
17075
|
|
16722
17076
|
# Returns the value of attribute name.
|
16723
17077
|
#
|
16724
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17078
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#718
|
16725
17079
|
def name; end
|
16726
17080
|
|
16727
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17081
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16728
17082
|
def numeric(*names, **options); end
|
16729
17083
|
|
16730
17084
|
# Adds a reference.
|
@@ -16734,7 +17088,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16734
17088
|
#
|
16735
17089
|
# See {connection.add_reference}[rdoc-ref:SchemaStatements#add_reference] for details of the options you can use.
|
16736
17090
|
#
|
16737
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17091
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#871
|
16738
17092
|
def references(*args, **options); end
|
16739
17093
|
|
16740
17094
|
# Removes the column(s) from the table definition.
|
@@ -16744,7 +17098,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16744
17098
|
#
|
16745
17099
|
# See {connection.remove_columns}[rdoc-ref:SchemaStatements#remove_columns]
|
16746
17100
|
#
|
16747
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17101
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#829
|
16748
17102
|
def remove(*column_names, **options); end
|
16749
17103
|
|
16750
17104
|
# Removes a reference. Optionally removes a +type+ column.
|
@@ -16754,7 +17108,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16754
17108
|
#
|
16755
17109
|
# See {connection.remove_reference}[rdoc-ref:SchemaStatements#remove_reference]
|
16756
17110
|
#
|
16757
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17111
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#885
|
16758
17112
|
def remove_belongs_to(*args, **options); end
|
16759
17113
|
|
16760
17114
|
# Removes the given check constraint from the table.
|
@@ -16763,7 +17117,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16763
17117
|
#
|
16764
17118
|
# See {connection.remove_check_constraint}[rdoc-ref:SchemaStatements#remove_check_constraint]
|
16765
17119
|
#
|
16766
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17120
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#938
|
16767
17121
|
def remove_check_constraint(*args, **options); end
|
16768
17122
|
|
16769
17123
|
# Removes the given foreign key from the table.
|
@@ -16773,7 +17127,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16773
17127
|
#
|
16774
17128
|
# See {connection.remove_foreign_key}[rdoc-ref:SchemaStatements#remove_foreign_key]
|
16775
17129
|
#
|
16776
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17130
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#910
|
16777
17131
|
def remove_foreign_key(*args, **options); end
|
16778
17132
|
|
16779
17133
|
# Removes the given index from the table.
|
@@ -16785,7 +17139,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16785
17139
|
#
|
16786
17140
|
# See {connection.remove_index}[rdoc-ref:SchemaStatements#remove_index]
|
16787
17141
|
#
|
16788
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17142
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#842
|
16789
17143
|
def remove_index(column_name = T.unsafe(nil), **options); end
|
16790
17144
|
|
16791
17145
|
# Removes a reference. Optionally removes a +type+ column.
|
@@ -16795,7 +17149,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16795
17149
|
#
|
16796
17150
|
# See {connection.remove_reference}[rdoc-ref:SchemaStatements#remove_reference]
|
16797
17151
|
#
|
16798
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17152
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#885
|
16799
17153
|
def remove_references(*args, **options); end
|
16800
17154
|
|
16801
17155
|
# Removes the timestamp columns (+created_at+ and +updated_at+) from the table.
|
@@ -16804,7 +17158,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16804
17158
|
#
|
16805
17159
|
# See {connection.remove_timestamps}[rdoc-ref:SchemaStatements#remove_timestamps]
|
16806
17160
|
#
|
16807
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17161
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#852
|
16808
17162
|
def remove_timestamps(**options); end
|
16809
17163
|
|
16810
17164
|
# Renames a column.
|
@@ -16813,7 +17167,7 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16813
17167
|
#
|
16814
17168
|
# See {connection.rename_column}[rdoc-ref:SchemaStatements#rename_column]
|
16815
17169
|
#
|
16816
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17170
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#861
|
16817
17171
|
def rename(column_name, new_column_name); end
|
16818
17172
|
|
16819
17173
|
# Renames the given index on the table.
|
@@ -16822,19 +17176,19 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16822
17176
|
#
|
16823
17177
|
# See {connection.rename_index}[rdoc-ref:SchemaStatements#rename_index]
|
16824
17178
|
#
|
16825
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17179
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#777
|
16826
17180
|
def rename_index(index_name, new_index_name); end
|
16827
17181
|
|
16828
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17182
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16829
17183
|
def string(*names, **options); end
|
16830
17184
|
|
16831
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17185
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16832
17186
|
def text(*names, **options); end
|
16833
17187
|
|
16834
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17188
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16835
17189
|
def time(*names, **options); end
|
16836
17190
|
|
16837
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17191
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16838
17192
|
def timestamp(*names, **options); end
|
16839
17193
|
|
16840
17194
|
# Adds timestamps (+created_at+ and +updated_at+) columns to the table.
|
@@ -16843,15 +17197,15 @@ class ActiveRecord::ConnectionAdapters::Table
|
|
16843
17197
|
#
|
16844
17198
|
# See {connection.add_timestamps}[rdoc-ref:SchemaStatements#add_timestamps]
|
16845
17199
|
#
|
16846
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17200
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#786
|
16847
17201
|
def timestamps(**options); end
|
16848
17202
|
|
16849
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17203
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16850
17204
|
def virtual(*names, **options); end
|
16851
17205
|
|
16852
17206
|
private
|
16853
17207
|
|
16854
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17208
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#954
|
16855
17209
|
def raise_on_if_exist_options(options); end
|
16856
17210
|
end
|
16857
17211
|
|
@@ -16875,24 +17229,24 @@ end
|
|
16875
17229
|
# end
|
16876
17230
|
# end
|
16877
17231
|
#
|
16878
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17232
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#366
|
16879
17233
|
class ActiveRecord::ConnectionAdapters::TableDefinition
|
16880
17234
|
include ::ActiveRecord::ConnectionAdapters::ColumnMethods
|
16881
17235
|
extend ::ActiveRecord::ConnectionAdapters::ColumnMethods::ClassMethods
|
16882
17236
|
|
16883
17237
|
# @return [TableDefinition] a new instance of TableDefinition
|
16884
17238
|
#
|
16885
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17239
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#371
|
16886
17240
|
def initialize(conn, name, temporary: T.unsafe(nil), if_not_exists: T.unsafe(nil), options: T.unsafe(nil), as: T.unsafe(nil), comment: T.unsafe(nil), **_arg7); end
|
16887
17241
|
|
16888
17242
|
# Returns a ColumnDefinition for the column with name +name+.
|
16889
17243
|
#
|
16890
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17244
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#421
|
16891
17245
|
def [](name); end
|
16892
17246
|
|
16893
17247
|
# Returns the value of attribute as.
|
16894
17248
|
#
|
16895
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17249
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#369
|
16896
17250
|
def as; end
|
16897
17251
|
|
16898
17252
|
# Adds a reference.
|
@@ -16903,27 +17257,27 @@ class ActiveRecord::ConnectionAdapters::TableDefinition
|
|
16903
17257
|
#
|
16904
17258
|
# See {connection.add_reference}[rdoc-ref:SchemaStatements#add_reference] for details of the options you can use.
|
16905
17259
|
#
|
16906
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17260
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#551
|
16907
17261
|
def belongs_to(*args, **options); end
|
16908
17262
|
|
16909
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17263
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16910
17264
|
def bigint(*names, **options); end
|
16911
17265
|
|
16912
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17266
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16913
17267
|
def binary(*names, **options); end
|
16914
17268
|
|
16915
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17269
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16916
17270
|
def blob(*names, **options); end
|
16917
17271
|
|
16918
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17272
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
16919
17273
|
def boolean(*names, **options); end
|
16920
17274
|
|
16921
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17275
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#525
|
16922
17276
|
def check_constraint(expression, **options); end
|
16923
17277
|
|
16924
17278
|
# Returns the value of attribute check_constraints.
|
16925
17279
|
#
|
16926
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17280
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#369
|
16927
17281
|
def check_constraints; end
|
16928
17282
|
|
16929
17283
|
# Instantiates a new column for the table.
|
@@ -16994,42 +17348,42 @@ class ActiveRecord::ConnectionAdapters::TableDefinition
|
|
16994
17348
|
# t.references :taggable, polymorphic: { default: 'Photo' }, index: false
|
16995
17349
|
# end
|
16996
17350
|
#
|
16997
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17351
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#492
|
16998
17352
|
def column(name, type, index: T.unsafe(nil), **options); end
|
16999
17353
|
|
17000
17354
|
# Returns an array of ColumnDefinition objects for the columns of the table.
|
17001
17355
|
#
|
17002
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17356
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#418
|
17003
17357
|
def columns; end
|
17004
17358
|
|
17005
17359
|
# Returns the value of attribute comment.
|
17006
17360
|
#
|
17007
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17361
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#369
|
17008
17362
|
def comment; end
|
17009
17363
|
|
17010
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17364
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
17011
17365
|
def date(*names, **options); end
|
17012
17366
|
|
17013
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17367
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
17014
17368
|
def datetime(*names, **options); end
|
17015
17369
|
|
17016
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17370
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
17017
17371
|
def decimal(*names, **options); end
|
17018
17372
|
|
17019
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17373
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
17020
17374
|
def float(*names, **options); end
|
17021
17375
|
|
17022
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17376
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#521
|
17023
17377
|
def foreign_key(to_table, **options); end
|
17024
17378
|
|
17025
17379
|
# Returns the value of attribute foreign_keys.
|
17026
17380
|
#
|
17027
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17381
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#369
|
17028
17382
|
def foreign_keys; end
|
17029
17383
|
|
17030
17384
|
# Returns the value of attribute if_not_exists.
|
17031
17385
|
#
|
17032
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17386
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#369
|
17033
17387
|
def if_not_exists; end
|
17034
17388
|
|
17035
17389
|
# Adds index options to the indexes hash, keyed by column name
|
@@ -17037,43 +17391,43 @@ class ActiveRecord::ConnectionAdapters::TableDefinition
|
|
17037
17391
|
#
|
17038
17392
|
# index(:account_id, name: 'index_projects_on_account_id')
|
17039
17393
|
#
|
17040
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17394
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#517
|
17041
17395
|
def index(column_name, **options); end
|
17042
17396
|
|
17043
17397
|
# Returns the value of attribute indexes.
|
17044
17398
|
#
|
17045
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17399
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#369
|
17046
17400
|
def indexes; end
|
17047
17401
|
|
17048
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17402
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
17049
17403
|
def integer(*names, **options); end
|
17050
17404
|
|
17051
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17405
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
17052
17406
|
def json(*names, **options); end
|
17053
17407
|
|
17054
17408
|
# Returns the value of attribute name.
|
17055
17409
|
#
|
17056
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17410
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#369
|
17057
17411
|
def name; end
|
17058
17412
|
|
17059
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17413
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#583
|
17060
17414
|
def new_check_constraint_definition(expression, options); end
|
17061
17415
|
|
17062
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17416
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#558
|
17063
17417
|
def new_column_definition(name, type, **options); end
|
17064
17418
|
|
17065
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17419
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#575
|
17066
17420
|
def new_foreign_key_definition(to_table, options); end
|
17067
17421
|
|
17068
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17422
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
17069
17423
|
def numeric(*names, **options); end
|
17070
17424
|
|
17071
17425
|
# Returns the value of attribute options.
|
17072
17426
|
#
|
17073
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17427
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#369
|
17074
17428
|
def options; end
|
17075
17429
|
|
17076
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17430
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#412
|
17077
17431
|
def primary_keys(name = T.unsafe(nil)); end
|
17078
17432
|
|
17079
17433
|
# Adds a reference.
|
@@ -17084,33 +17438,33 @@ class ActiveRecord::ConnectionAdapters::TableDefinition
|
|
17084
17438
|
#
|
17085
17439
|
# See {connection.add_reference}[rdoc-ref:SchemaStatements#add_reference] for details of the options you can use.
|
17086
17440
|
#
|
17087
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17441
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#551
|
17088
17442
|
def references(*args, **options); end
|
17089
17443
|
|
17090
17444
|
# remove the column +name+ from the table.
|
17091
17445
|
# remove_column(:account_id)
|
17092
17446
|
#
|
17093
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17447
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#509
|
17094
17448
|
def remove_column(name); end
|
17095
17449
|
|
17096
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17450
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#395
|
17097
17451
|
def set_primary_key(table_name, id, primary_key, **options); end
|
17098
17452
|
|
17099
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17453
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
17100
17454
|
def string(*names, **options); end
|
17101
17455
|
|
17102
17456
|
# Returns the value of attribute temporary.
|
17103
17457
|
#
|
17104
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17458
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#369
|
17105
17459
|
def temporary; end
|
17106
17460
|
|
17107
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17461
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
17108
17462
|
def text(*names, **options); end
|
17109
17463
|
|
17110
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17464
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
17111
17465
|
def time(*names, **options); end
|
17112
17466
|
|
17113
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17467
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
17114
17468
|
def timestamp(*names, **options); end
|
17115
17469
|
|
17116
17470
|
# Appends <tt>:datetime</tt> columns <tt>:created_at</tt> and
|
@@ -17118,32 +17472,32 @@ class ActiveRecord::ConnectionAdapters::TableDefinition
|
|
17118
17472
|
#
|
17119
17473
|
# t.timestamps null: false
|
17120
17474
|
#
|
17121
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17475
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#533
|
17122
17476
|
def timestamps(**options); end
|
17123
17477
|
|
17124
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17478
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335
|
17125
17479
|
def virtual(*names, **options); end
|
17126
17480
|
|
17127
17481
|
private
|
17128
17482
|
|
17129
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17483
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#601
|
17130
17484
|
def aliased_types(name, fallback); end
|
17131
17485
|
|
17132
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17486
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#593
|
17133
17487
|
def create_column_definition(name, type, options); end
|
17134
17488
|
|
17135
17489
|
# @return [Boolean]
|
17136
17490
|
#
|
17137
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17491
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#605
|
17138
17492
|
def integer_like_primary_key?(type, options); end
|
17139
17493
|
|
17140
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17494
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#609
|
17141
17495
|
def integer_like_primary_key_type(type, options); end
|
17142
17496
|
|
17143
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17497
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#613
|
17144
17498
|
def raise_on_duplicate_column(name); end
|
17145
17499
|
|
17146
|
-
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#
|
17500
|
+
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#589
|
17147
17501
|
def valid_column_definition_options; end
|
17148
17502
|
end
|
17149
17503
|
|
@@ -18652,7 +19006,7 @@ class ActiveRecord::DatabaseConfigurations::ConnectionUrlResolver
|
|
18652
19006
|
|
18653
19007
|
# Returns name of the database.
|
18654
19008
|
#
|
18655
|
-
# source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#
|
19009
|
+
# source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#91
|
18656
19010
|
def database_from_path; end
|
18657
19011
|
|
18658
19012
|
# Converts the query parameters of the URI into a hash.
|
@@ -19678,10 +20032,10 @@ module ActiveRecord::Encryption
|
|
19678
20032
|
# source://activerecord//lib/active_record/encryption/configurable.rb#10
|
19679
20033
|
def config; end
|
19680
20034
|
|
19681
|
-
# source://activesupport/8.0.
|
20035
|
+
# source://activesupport/8.0.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#74
|
19682
20036
|
def custom_contexts; end
|
19683
20037
|
|
19684
|
-
# source://activesupport/8.0.
|
20038
|
+
# source://activesupport/8.0.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#116
|
19685
20039
|
def custom_contexts=(obj); end
|
19686
20040
|
|
19687
20041
|
# source://activerecord//lib/active_record/encryption/contexts.rb#17
|
@@ -19700,10 +20054,10 @@ module ActiveRecord::Encryption
|
|
19700
20054
|
# source://activerecord//lib/active_record/encryption/configurable.rb#10
|
19701
20055
|
def config; end
|
19702
20056
|
|
19703
|
-
# source://activesupport/8.0.
|
20057
|
+
# source://activesupport/8.0.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
|
19704
20058
|
def custom_contexts; end
|
19705
20059
|
|
19706
|
-
# source://activesupport/8.0.
|
20060
|
+
# source://activesupport/8.0.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
|
19707
20061
|
def custom_contexts=(obj); end
|
19708
20062
|
|
19709
20063
|
# source://activerecord//lib/active_record/encryption/contexts.rb#17
|
@@ -21149,7 +21503,7 @@ class ActiveRecord::Encryption::Properties
|
|
21149
21503
|
# source://activerecord//lib/active_record/encryption/properties.rb#20
|
21150
21504
|
def key?(*_arg0, **_arg1, &_arg2); end
|
21151
21505
|
|
21152
|
-
# source://activesupport/8.0.
|
21506
|
+
# source://activesupport/8.0.1/lib/active_support/delegation.rb#185
|
21153
21507
|
def method_missing(method, *_arg1, **_arg2, &_arg3); end
|
21154
21508
|
|
21155
21509
|
# source://activerecord//lib/active_record/encryption/properties.rb#68
|
@@ -21165,7 +21519,7 @@ class ActiveRecord::Encryption::Properties
|
|
21165
21519
|
# source://activerecord//lib/active_record/encryption/properties.rb#73
|
21166
21520
|
def data; end
|
21167
21521
|
|
21168
|
-
# source://activesupport/8.0.
|
21522
|
+
# source://activesupport/8.0.1/lib/active_support/delegation.rb#177
|
21169
21523
|
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
|
21170
21524
|
end
|
21171
21525
|
|
@@ -24533,20 +24887,28 @@ class ActiveRecord::LogSubscriber < ::ActiveSupport::LogSubscriber
|
|
24533
24887
|
def type_casted_binds(casted_binds); end
|
24534
24888
|
|
24535
24889
|
class << self
|
24536
|
-
# source://
|
24890
|
+
# source://activerecord//lib/active_record/log_subscriber.rb#7
|
24537
24891
|
def backtrace_cleaner; end
|
24538
24892
|
|
24539
|
-
# source://
|
24540
|
-
def backtrace_cleaner=(
|
24893
|
+
# source://activerecord//lib/active_record/log_subscriber.rb#7
|
24894
|
+
def backtrace_cleaner=(value); end
|
24541
24895
|
|
24542
24896
|
# source://activerecord//lib/active_record/log_subscriber.rb#7
|
24543
24897
|
def backtrace_cleaner?; end
|
24544
24898
|
|
24545
|
-
|
24546
|
-
|
24899
|
+
private
|
24900
|
+
|
24901
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
24902
|
+
def __class_attr_backtrace_cleaner; end
|
24547
24903
|
|
24548
|
-
# source://activesupport/8.0.
|
24549
|
-
def
|
24904
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
24905
|
+
def __class_attr_backtrace_cleaner=(new_value); end
|
24906
|
+
|
24907
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
24908
|
+
def __class_attr_log_levels; end
|
24909
|
+
|
24910
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
24911
|
+
def __class_attr_log_levels=(new_value); end
|
24550
24912
|
end
|
24551
24913
|
end
|
24552
24914
|
|
@@ -27701,27 +28063,35 @@ class ActiveRecord::NoDatabaseError < ::ActiveRecord::StatementInvalid
|
|
27701
28063
|
# source://activerecord//lib/active_record/errors.rb#335
|
27702
28064
|
def initialize(message = T.unsafe(nil), connection_pool: T.unsafe(nil)); end
|
27703
28065
|
|
27704
|
-
# source://activesupport/8.0.
|
28066
|
+
# source://activesupport/8.0.1/lib/active_support/actionable_error.rb#17
|
27705
28067
|
def _actions; end
|
27706
28068
|
|
27707
|
-
# source://activesupport/8.0.
|
28069
|
+
# source://activesupport/8.0.1/lib/active_support/actionable_error.rb#17
|
27708
28070
|
def _actions=(_arg0); end
|
27709
28071
|
|
27710
|
-
# source://activesupport/8.0.
|
28072
|
+
# source://activesupport/8.0.1/lib/active_support/actionable_error.rb#17
|
27711
28073
|
def _actions?; end
|
27712
28074
|
|
27713
28075
|
class << self
|
27714
|
-
# source://activesupport/8.0.
|
28076
|
+
# source://activesupport/8.0.1/lib/active_support/actionable_error.rb#17
|
27715
28077
|
def _actions; end
|
27716
28078
|
|
27717
|
-
# source://activesupport/8.0.
|
27718
|
-
def _actions=(
|
28079
|
+
# source://activesupport/8.0.1/lib/active_support/actionable_error.rb#17
|
28080
|
+
def _actions=(value); end
|
27719
28081
|
|
27720
|
-
# source://activesupport/8.0.
|
28082
|
+
# source://activesupport/8.0.1/lib/active_support/actionable_error.rb#17
|
27721
28083
|
def _actions?; end
|
27722
28084
|
|
27723
28085
|
# source://activerecord//lib/active_record/errors.rb#340
|
27724
28086
|
def db_error(db_name); end
|
28087
|
+
|
28088
|
+
private
|
28089
|
+
|
28090
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
28091
|
+
def __class_attr__actions; end
|
28092
|
+
|
28093
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
28094
|
+
def __class_attr__actions=(new_value); end
|
27725
28095
|
end
|
27726
28096
|
end
|
27727
28097
|
|
@@ -28002,13 +28372,13 @@ class ActiveRecord::PendingMigrationError < ::ActiveRecord::MigrationError
|
|
28002
28372
|
# source://activerecord//lib/active_record/migration.rb#159
|
28003
28373
|
def initialize(message = T.unsafe(nil), pending_migrations: T.unsafe(nil)); end
|
28004
28374
|
|
28005
|
-
# source://activesupport/8.0.
|
28375
|
+
# source://activesupport/8.0.1/lib/active_support/actionable_error.rb#17
|
28006
28376
|
def _actions; end
|
28007
28377
|
|
28008
|
-
# source://activesupport/8.0.
|
28378
|
+
# source://activesupport/8.0.1/lib/active_support/actionable_error.rb#17
|
28009
28379
|
def _actions=(_arg0); end
|
28010
28380
|
|
28011
|
-
# source://activesupport/8.0.
|
28381
|
+
# source://activesupport/8.0.1/lib/active_support/actionable_error.rb#17
|
28012
28382
|
def _actions?; end
|
28013
28383
|
|
28014
28384
|
private
|
@@ -28020,14 +28390,22 @@ class ActiveRecord::PendingMigrationError < ::ActiveRecord::MigrationError
|
|
28020
28390
|
def detailed_migration_message(pending_migrations); end
|
28021
28391
|
|
28022
28392
|
class << self
|
28023
|
-
# source://activesupport/8.0.
|
28393
|
+
# source://activesupport/8.0.1/lib/active_support/actionable_error.rb#17
|
28024
28394
|
def _actions; end
|
28025
28395
|
|
28026
|
-
# source://activesupport/8.0.
|
28027
|
-
def _actions=(
|
28396
|
+
# source://activesupport/8.0.1/lib/active_support/actionable_error.rb#17
|
28397
|
+
def _actions=(value); end
|
28028
28398
|
|
28029
|
-
# source://activesupport/8.0.
|
28399
|
+
# source://activesupport/8.0.1/lib/active_support/actionable_error.rb#17
|
28030
28400
|
def _actions?; end
|
28401
|
+
|
28402
|
+
private
|
28403
|
+
|
28404
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#15
|
28405
|
+
def __class_attr__actions; end
|
28406
|
+
|
28407
|
+
# source://activesupport/8.0.1/lib/active_support/class_attribute.rb#17
|
28408
|
+
def __class_attr__actions=(new_value); end
|
28031
28409
|
end
|
28032
28410
|
end
|
28033
28411
|
|
@@ -29187,10 +29565,10 @@ module ActiveRecord::QueryLogs
|
|
29187
29565
|
# source://activerecord//lib/active_record/query_logs.rb#115
|
29188
29566
|
def cache_query_log_tags=(_arg0); end
|
29189
29567
|
|
29190
|
-
# source://activesupport/8.0.
|
29568
|
+
# source://activesupport/8.0.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
|
29191
29569
|
def cached_comment; end
|
29192
29570
|
|
29193
|
-
# source://activesupport/8.0.
|
29571
|
+
# source://activesupport/8.0.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
|
29194
29572
|
def cached_comment=(obj); end
|
29195
29573
|
|
29196
29574
|
# source://activerecord//lib/active_record/query_logs.rb#139
|
@@ -34655,9 +35033,12 @@ class ActiveRecord::SchemaDumper
|
|
34655
35033
|
|
34656
35034
|
private
|
34657
35035
|
|
34658
|
-
# source://activerecord//lib/active_record/schema_dumper.rb#
|
35036
|
+
# source://activerecord//lib/active_record/schema_dumper.rb#283
|
34659
35037
|
def check_constraints_in_create(table, stream); end
|
34660
35038
|
|
35039
|
+
# source://activerecord//lib/active_record/schema_dumper.rb#309
|
35040
|
+
def check_parts(check); end
|
35041
|
+
|
34661
35042
|
# source://activerecord//lib/active_record/schema_dumper.rb#92
|
34662
35043
|
def define_params; end
|
34663
35044
|
|
@@ -34666,16 +35047,16 @@ class ActiveRecord::SchemaDumper
|
|
34666
35047
|
# source://activerecord//lib/active_record/schema_dumper.rb#119
|
34667
35048
|
def extensions(stream); end
|
34668
35049
|
|
34669
|
-
# source://activerecord//lib/active_record/schema_dumper.rb#
|
35050
|
+
# source://activerecord//lib/active_record/schema_dumper.rb#316
|
34670
35051
|
def foreign_keys(table, stream); end
|
34671
35052
|
|
34672
|
-
# source://activerecord//lib/active_record/schema_dumper.rb#
|
35053
|
+
# source://activerecord//lib/active_record/schema_dumper.rb#348
|
34673
35054
|
def format_colspec(colspec); end
|
34674
35055
|
|
34675
|
-
# source://activerecord//lib/active_record/schema_dumper.rb#
|
35056
|
+
# source://activerecord//lib/active_record/schema_dumper.rb#358
|
34676
35057
|
def format_index_parts(options); end
|
34677
35058
|
|
34678
|
-
# source://activerecord//lib/active_record/schema_dumper.rb#
|
35059
|
+
# source://activerecord//lib/active_record/schema_dumper.rb#354
|
34679
35060
|
def format_options(options); end
|
34680
35061
|
|
34681
35062
|
# turns 20170404131909 into "2017_04_04_131909"
|
@@ -34688,21 +35069,21 @@ class ActiveRecord::SchemaDumper
|
|
34688
35069
|
|
34689
35070
|
# @return [Boolean]
|
34690
35071
|
#
|
34691
|
-
# source://activerecord//lib/active_record/schema_dumper.rb#
|
35072
|
+
# source://activerecord//lib/active_record/schema_dumper.rb#376
|
34692
35073
|
def ignored?(table_name); end
|
34693
35074
|
|
34694
|
-
# source://activerecord//lib/active_record/schema_dumper.rb#
|
35075
|
+
# source://activerecord//lib/active_record/schema_dumper.rb#265
|
34695
35076
|
def index_parts(index); end
|
34696
35077
|
|
34697
35078
|
# Keep it for indexing materialized views
|
34698
35079
|
#
|
34699
|
-
# source://activerecord//lib/active_record/schema_dumper.rb#
|
35080
|
+
# source://activerecord//lib/active_record/schema_dumper.rb#232
|
34700
35081
|
def indexes(table, stream); end
|
34701
35082
|
|
34702
|
-
# source://activerecord//lib/active_record/schema_dumper.rb#
|
35083
|
+
# source://activerecord//lib/active_record/schema_dumper.rb#244
|
34703
35084
|
def indexes_in_create(table, stream); end
|
34704
35085
|
|
34705
|
-
# source://activerecord//lib/active_record/schema_dumper.rb#
|
35086
|
+
# source://activerecord//lib/active_record/schema_dumper.rb#366
|
34706
35087
|
def remove_prefix_and_suffix(table); end
|
34707
35088
|
|
34708
35089
|
# schemas are only supported by PostgreSQL
|