sorbet-rails 0.7.5 → 0.7.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +1 -1
- data/.github/workflows/publish-gem.yml +7 -1
- data/Gemfile +0 -2
- data/README.md +11 -1
- data/lib/sorbet-rails/model_plugins/active_record_querying.rb +25 -1
- data/lib/sorbet-rails/model_utils.rb +14 -7
- data/lib/sorbet-rails/rails_mixins/custom_finder_methods.rb +4 -0
- data/sorbet-rails.gemspec +1 -1
- data/spec/generators/sorbet_test_cases.rb +9 -0
- data/spec/support/v5.2/Gemfile.lock +1 -1
- data/spec/support/v5.2/sorbet_test_cases.rb +9 -0
- data/spec/support/v6.0/Gemfile.lock +1 -1
- data/spec/support/v6.0/sorbet_test_cases.rb +9 -0
- data/spec/support/v6.1/sorbet_test_cases.rb +9 -0
- data/spec/test_data/v5.2/expected_attachment.rbi +12 -6
- data/spec/test_data/v5.2/expected_blob.rbi +12 -6
- data/spec/test_data/v5.2/expected_headmaster.rbi +12 -6
- data/spec/test_data/v5.2/expected_internal_metadata.rbi +12 -6
- data/spec/test_data/v5.2/expected_potion.rbi +12 -6
- data/spec/test_data/v5.2/expected_robe.rbi +12 -6
- data/spec/test_data/v5.2/expected_schema_migration.rbi +12 -6
- data/spec/test_data/v5.2/expected_school.rbi +12 -6
- data/spec/test_data/v5.2/expected_spell/habtm_spell_books.rbi +12 -6
- data/spec/test_data/v5.2/expected_spell.rbi +12 -6
- data/spec/test_data/v5.2/expected_spell_book/habtm_spells.rbi +12 -6
- data/spec/test_data/v5.2/expected_spell_book.rbi +12 -6
- data/spec/test_data/v5.2/expected_squib.rbi +12 -6
- data/spec/test_data/v5.2/expected_subject/habtm_wizards.rbi +12 -6
- data/spec/test_data/v5.2/expected_subject.rbi +12 -6
- data/spec/test_data/v5.2/expected_wand.rbi +12 -6
- data/spec/test_data/v5.2/expected_wizard/habtm_subjects.rbi +12 -6
- data/spec/test_data/v5.2/expected_wizard.rbi +12 -6
- data/spec/test_data/v5.2/expected_wizard_wo_spellbook.rbi +12 -6
- data/spec/test_data/v6.0/expected_attachment.rbi +12 -6
- data/spec/test_data/v6.0/expected_blob.rbi +12 -6
- data/spec/test_data/v6.0/expected_headmaster.rbi +12 -6
- data/spec/test_data/v6.0/expected_internal_metadata.rbi +12 -6
- data/spec/test_data/v6.0/expected_potion.rbi +12 -6
- data/spec/test_data/v6.0/expected_robe.rbi +12 -6
- data/spec/test_data/v6.0/expected_schema_migration.rbi +12 -6
- data/spec/test_data/v6.0/expected_school.rbi +12 -6
- data/spec/test_data/v6.0/expected_spell/habtm_spell_books.rbi +12 -6
- data/spec/test_data/v6.0/expected_spell.rbi +12 -6
- data/spec/test_data/v6.0/expected_spell_book/habtm_spells.rbi +12 -6
- data/spec/test_data/v6.0/expected_spell_book.rbi +12 -6
- data/spec/test_data/v6.0/expected_squib.rbi +12 -6
- data/spec/test_data/v6.0/expected_subject/habtm_wizards.rbi +12 -6
- data/spec/test_data/v6.0/expected_subject.rbi +12 -6
- data/spec/test_data/v6.0/expected_wand.rbi +12 -6
- data/spec/test_data/v6.0/expected_wizard/habtm_subjects.rbi +12 -6
- data/spec/test_data/v6.0/expected_wizard.rbi +12 -6
- data/spec/test_data/v6.0/expected_wizard_wo_spellbook.rbi +12 -6
- data/spec/test_data/v6.1/expected_attachment.rbi +12 -6
- data/spec/test_data/v6.1/expected_blob.rbi +12 -6
- data/spec/test_data/v6.1/expected_headmaster.rbi +12 -6
- data/spec/test_data/v6.1/expected_internal_metadata.rbi +12 -6
- data/spec/test_data/v6.1/expected_potion.rbi +12 -6
- data/spec/test_data/v6.1/expected_record.rbi +12 -6
- data/spec/test_data/v6.1/expected_robe.rbi +12 -6
- data/spec/test_data/v6.1/expected_schema_migration.rbi +12 -6
- data/spec/test_data/v6.1/expected_school.rbi +12 -6
- data/spec/test_data/v6.1/expected_spell/habtm_spell_books.rbi +12 -6
- data/spec/test_data/v6.1/expected_spell.rbi +12 -6
- data/spec/test_data/v6.1/expected_spell_book/habtm_spells.rbi +12 -6
- data/spec/test_data/v6.1/expected_spell_book.rbi +12 -6
- data/spec/test_data/v6.1/expected_squib.rbi +12 -6
- data/spec/test_data/v6.1/expected_subject/habtm_wizards.rbi +12 -6
- data/spec/test_data/v6.1/expected_subject.rbi +12 -6
- data/spec/test_data/v6.1/expected_variant_record.rbi +12 -6
- data/spec/test_data/v6.1/expected_wand.rbi +12 -6
- data/spec/test_data/v6.1/expected_wizard/habtm_subjects.rbi +12 -6
- data/spec/test_data/v6.1/expected_wizard.rbi +12 -6
- data/spec/test_data/v6.1/expected_wizard_wo_spellbook.rbi +12 -6
- metadata +2 -2
@@ -94,9 +94,6 @@ module ActiveStorage::Blob::QueryMethodsReturningRelation
|
|
94
94
|
sig { params(block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
95
95
|
def unscoped(&block); end
|
96
96
|
|
97
|
-
sig { params(args: T.untyped).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
98
|
-
def select(*args); end
|
99
|
-
|
100
97
|
sig { params(args: T.untyped).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
101
98
|
def reselect(*args); end
|
102
99
|
|
@@ -184,6 +181,12 @@ module ActiveStorage::Blob::QueryMethodsReturningRelation
|
|
184
181
|
sig { params(args: T.untyped).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
185
182
|
def only(*args); end
|
186
183
|
|
184
|
+
sig { params(block: T.proc.params(e: ActiveStorage::Blob).returns(T::Boolean)).returns(T::Array[ActiveStorage::Blob]) }
|
185
|
+
def select(&block); end
|
186
|
+
|
187
|
+
sig { params(args: T.any(String, Symbol)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
188
|
+
def select_columns(*args); end
|
189
|
+
|
187
190
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
188
191
|
def extending(*args, &block); end
|
189
192
|
|
@@ -207,9 +210,6 @@ module ActiveStorage::Blob::QueryMethodsReturningAssociationRelation
|
|
207
210
|
sig { params(block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
208
211
|
def unscoped(&block); end
|
209
212
|
|
210
|
-
sig { params(args: T.untyped).returns(ActiveStorage::Blob::ActiveRecord_AssociationRelation) }
|
211
|
-
def select(*args); end
|
212
|
-
|
213
213
|
sig { params(args: T.untyped).returns(ActiveStorage::Blob::ActiveRecord_AssociationRelation) }
|
214
214
|
def reselect(*args); end
|
215
215
|
|
@@ -297,6 +297,12 @@ module ActiveStorage::Blob::QueryMethodsReturningAssociationRelation
|
|
297
297
|
sig { params(args: T.untyped).returns(ActiveStorage::Blob::ActiveRecord_AssociationRelation) }
|
298
298
|
def only(*args); end
|
299
299
|
|
300
|
+
sig { params(block: T.proc.params(e: ActiveStorage::Blob).returns(T::Boolean)).returns(T::Array[ActiveStorage::Blob]) }
|
301
|
+
def select(&block); end
|
302
|
+
|
303
|
+
sig { params(args: T.any(String, Symbol)).returns(ActiveStorage::Blob::ActiveRecord_AssociationRelation) }
|
304
|
+
def select_columns(*args); end
|
305
|
+
|
300
306
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_AssociationRelation) }
|
301
307
|
def extending(*args, &block); end
|
302
308
|
|
@@ -106,9 +106,6 @@ module Headmaster::QueryMethodsReturningRelation
|
|
106
106
|
sig { params(block: T.nilable(T.proc.void)).returns(Headmaster::ActiveRecord_Relation) }
|
107
107
|
def unscoped(&block); end
|
108
108
|
|
109
|
-
sig { params(args: T.untyped).returns(Headmaster::ActiveRecord_Relation) }
|
110
|
-
def select(*args); end
|
111
|
-
|
112
109
|
sig { params(args: T.untyped).returns(Headmaster::ActiveRecord_Relation) }
|
113
110
|
def reselect(*args); end
|
114
111
|
|
@@ -196,6 +193,12 @@ module Headmaster::QueryMethodsReturningRelation
|
|
196
193
|
sig { params(args: T.untyped).returns(Headmaster::ActiveRecord_Relation) }
|
197
194
|
def only(*args); end
|
198
195
|
|
196
|
+
sig { params(block: T.proc.params(e: Headmaster).returns(T::Boolean)).returns(T::Array[Headmaster]) }
|
197
|
+
def select(&block); end
|
198
|
+
|
199
|
+
sig { params(args: T.any(String, Symbol)).returns(Headmaster::ActiveRecord_Relation) }
|
200
|
+
def select_columns(*args); end
|
201
|
+
|
199
202
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Headmaster::ActiveRecord_Relation) }
|
200
203
|
def extending(*args, &block); end
|
201
204
|
|
@@ -219,9 +222,6 @@ module Headmaster::QueryMethodsReturningAssociationRelation
|
|
219
222
|
sig { params(block: T.nilable(T.proc.void)).returns(Headmaster::ActiveRecord_Relation) }
|
220
223
|
def unscoped(&block); end
|
221
224
|
|
222
|
-
sig { params(args: T.untyped).returns(Headmaster::ActiveRecord_AssociationRelation) }
|
223
|
-
def select(*args); end
|
224
|
-
|
225
225
|
sig { params(args: T.untyped).returns(Headmaster::ActiveRecord_AssociationRelation) }
|
226
226
|
def reselect(*args); end
|
227
227
|
|
@@ -309,6 +309,12 @@ module Headmaster::QueryMethodsReturningAssociationRelation
|
|
309
309
|
sig { params(args: T.untyped).returns(Headmaster::ActiveRecord_AssociationRelation) }
|
310
310
|
def only(*args); end
|
311
311
|
|
312
|
+
sig { params(block: T.proc.params(e: Headmaster).returns(T::Boolean)).returns(T::Array[Headmaster]) }
|
313
|
+
def select(&block); end
|
314
|
+
|
315
|
+
sig { params(args: T.any(String, Symbol)).returns(Headmaster::ActiveRecord_AssociationRelation) }
|
316
|
+
def select_columns(*args); end
|
317
|
+
|
312
318
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Headmaster::ActiveRecord_AssociationRelation) }
|
313
319
|
def extending(*args, &block); end
|
314
320
|
|
@@ -76,9 +76,6 @@ module ActiveRecord::InternalMetadata::QueryMethodsReturningRelation
|
|
76
76
|
sig { params(block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
77
77
|
def unscoped(&block); end
|
78
78
|
|
79
|
-
sig { params(args: T.untyped).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
80
|
-
def select(*args); end
|
81
|
-
|
82
79
|
sig { params(args: T.untyped).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
83
80
|
def reselect(*args); end
|
84
81
|
|
@@ -166,6 +163,12 @@ module ActiveRecord::InternalMetadata::QueryMethodsReturningRelation
|
|
166
163
|
sig { params(args: T.untyped).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
167
164
|
def only(*args); end
|
168
165
|
|
166
|
+
sig { params(block: T.proc.params(e: ActiveRecord::InternalMetadata).returns(T::Boolean)).returns(T::Array[ActiveRecord::InternalMetadata]) }
|
167
|
+
def select(&block); end
|
168
|
+
|
169
|
+
sig { params(args: T.any(String, Symbol)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
170
|
+
def select_columns(*args); end
|
171
|
+
|
169
172
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
170
173
|
def extending(*args, &block); end
|
171
174
|
|
@@ -189,9 +192,6 @@ module ActiveRecord::InternalMetadata::QueryMethodsReturningAssociationRelation
|
|
189
192
|
sig { params(block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
190
193
|
def unscoped(&block); end
|
191
194
|
|
192
|
-
sig { params(args: T.untyped).returns(ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation) }
|
193
|
-
def select(*args); end
|
194
|
-
|
195
195
|
sig { params(args: T.untyped).returns(ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation) }
|
196
196
|
def reselect(*args); end
|
197
197
|
|
@@ -279,6 +279,12 @@ module ActiveRecord::InternalMetadata::QueryMethodsReturningAssociationRelation
|
|
279
279
|
sig { params(args: T.untyped).returns(ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation) }
|
280
280
|
def only(*args); end
|
281
281
|
|
282
|
+
sig { params(block: T.proc.params(e: ActiveRecord::InternalMetadata).returns(T::Boolean)).returns(T::Array[ActiveRecord::InternalMetadata]) }
|
283
|
+
def select(&block); end
|
284
|
+
|
285
|
+
sig { params(args: T.any(String, Symbol)).returns(ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation) }
|
286
|
+
def select_columns(*args); end
|
287
|
+
|
282
288
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation) }
|
283
289
|
def extending(*args, &block); end
|
284
290
|
|
@@ -58,9 +58,6 @@ module Potion::QueryMethodsReturningRelation
|
|
58
58
|
sig { params(block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
59
59
|
def unscoped(&block); end
|
60
60
|
|
61
|
-
sig { params(args: T.untyped).returns(Potion::ActiveRecord_Relation) }
|
62
|
-
def select(*args); end
|
63
|
-
|
64
61
|
sig { params(args: T.untyped).returns(Potion::ActiveRecord_Relation) }
|
65
62
|
def reselect(*args); end
|
66
63
|
|
@@ -148,6 +145,12 @@ module Potion::QueryMethodsReturningRelation
|
|
148
145
|
sig { params(args: T.untyped).returns(Potion::ActiveRecord_Relation) }
|
149
146
|
def only(*args); end
|
150
147
|
|
148
|
+
sig { params(block: T.proc.params(e: Potion).returns(T::Boolean)).returns(T::Array[Potion]) }
|
149
|
+
def select(&block); end
|
150
|
+
|
151
|
+
sig { params(args: T.any(String, Symbol)).returns(Potion::ActiveRecord_Relation) }
|
152
|
+
def select_columns(*args); end
|
153
|
+
|
151
154
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
152
155
|
def extending(*args, &block); end
|
153
156
|
|
@@ -171,9 +174,6 @@ module Potion::QueryMethodsReturningAssociationRelation
|
|
171
174
|
sig { params(block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
172
175
|
def unscoped(&block); end
|
173
176
|
|
174
|
-
sig { params(args: T.untyped).returns(Potion::ActiveRecord_AssociationRelation) }
|
175
|
-
def select(*args); end
|
176
|
-
|
177
177
|
sig { params(args: T.untyped).returns(Potion::ActiveRecord_AssociationRelation) }
|
178
178
|
def reselect(*args); end
|
179
179
|
|
@@ -261,6 +261,12 @@ module Potion::QueryMethodsReturningAssociationRelation
|
|
261
261
|
sig { params(args: T.untyped).returns(Potion::ActiveRecord_AssociationRelation) }
|
262
262
|
def only(*args); end
|
263
263
|
|
264
|
+
sig { params(block: T.proc.params(e: Potion).returns(T::Boolean)).returns(T::Array[Potion]) }
|
265
|
+
def select(&block); end
|
266
|
+
|
267
|
+
sig { params(args: T.any(String, Symbol)).returns(Potion::ActiveRecord_AssociationRelation) }
|
268
|
+
def select_columns(*args); end
|
269
|
+
|
264
270
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_AssociationRelation) }
|
265
271
|
def extending(*args, &block); end
|
266
272
|
|
@@ -79,9 +79,6 @@ module Robe::QueryMethodsReturningRelation
|
|
79
79
|
sig { params(block: T.nilable(T.proc.void)).returns(Robe::ActiveRecord_Relation) }
|
80
80
|
def unscoped(&block); end
|
81
81
|
|
82
|
-
sig { params(args: T.untyped).returns(Robe::ActiveRecord_Relation) }
|
83
|
-
def select(*args); end
|
84
|
-
|
85
82
|
sig { params(args: T.untyped).returns(Robe::ActiveRecord_Relation) }
|
86
83
|
def reselect(*args); end
|
87
84
|
|
@@ -169,6 +166,12 @@ module Robe::QueryMethodsReturningRelation
|
|
169
166
|
sig { params(args: T.untyped).returns(Robe::ActiveRecord_Relation) }
|
170
167
|
def only(*args); end
|
171
168
|
|
169
|
+
sig { params(block: T.proc.params(e: Robe).returns(T::Boolean)).returns(T::Array[Robe]) }
|
170
|
+
def select(&block); end
|
171
|
+
|
172
|
+
sig { params(args: T.any(String, Symbol)).returns(Robe::ActiveRecord_Relation) }
|
173
|
+
def select_columns(*args); end
|
174
|
+
|
172
175
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Robe::ActiveRecord_Relation) }
|
173
176
|
def extending(*args, &block); end
|
174
177
|
|
@@ -192,9 +195,6 @@ module Robe::QueryMethodsReturningAssociationRelation
|
|
192
195
|
sig { params(block: T.nilable(T.proc.void)).returns(Robe::ActiveRecord_Relation) }
|
193
196
|
def unscoped(&block); end
|
194
197
|
|
195
|
-
sig { params(args: T.untyped).returns(Robe::ActiveRecord_AssociationRelation) }
|
196
|
-
def select(*args); end
|
197
|
-
|
198
198
|
sig { params(args: T.untyped).returns(Robe::ActiveRecord_AssociationRelation) }
|
199
199
|
def reselect(*args); end
|
200
200
|
|
@@ -282,6 +282,12 @@ module Robe::QueryMethodsReturningAssociationRelation
|
|
282
282
|
sig { params(args: T.untyped).returns(Robe::ActiveRecord_AssociationRelation) }
|
283
283
|
def only(*args); end
|
284
284
|
|
285
|
+
sig { params(block: T.proc.params(e: Robe).returns(T::Boolean)).returns(T::Array[Robe]) }
|
286
|
+
def select(&block); end
|
287
|
+
|
288
|
+
sig { params(args: T.any(String, Symbol)).returns(Robe::ActiveRecord_AssociationRelation) }
|
289
|
+
def select_columns(*args); end
|
290
|
+
|
285
291
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Robe::ActiveRecord_AssociationRelation) }
|
286
292
|
def extending(*args, &block); end
|
287
293
|
|
@@ -49,9 +49,6 @@ module ActiveRecord::SchemaMigration::QueryMethodsReturningRelation
|
|
49
49
|
sig { params(block: T.nilable(T.proc.void)).returns(ActiveRecord::SchemaMigration::ActiveRecord_Relation) }
|
50
50
|
def unscoped(&block); end
|
51
51
|
|
52
|
-
sig { params(args: T.untyped).returns(ActiveRecord::SchemaMigration::ActiveRecord_Relation) }
|
53
|
-
def select(*args); end
|
54
|
-
|
55
52
|
sig { params(args: T.untyped).returns(ActiveRecord::SchemaMigration::ActiveRecord_Relation) }
|
56
53
|
def reselect(*args); end
|
57
54
|
|
@@ -139,6 +136,12 @@ module ActiveRecord::SchemaMigration::QueryMethodsReturningRelation
|
|
139
136
|
sig { params(args: T.untyped).returns(ActiveRecord::SchemaMigration::ActiveRecord_Relation) }
|
140
137
|
def only(*args); end
|
141
138
|
|
139
|
+
sig { params(block: T.proc.params(e: ActiveRecord::SchemaMigration).returns(T::Boolean)).returns(T::Array[ActiveRecord::SchemaMigration]) }
|
140
|
+
def select(&block); end
|
141
|
+
|
142
|
+
sig { params(args: T.any(String, Symbol)).returns(ActiveRecord::SchemaMigration::ActiveRecord_Relation) }
|
143
|
+
def select_columns(*args); end
|
144
|
+
|
142
145
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::SchemaMigration::ActiveRecord_Relation) }
|
143
146
|
def extending(*args, &block); end
|
144
147
|
|
@@ -162,9 +165,6 @@ module ActiveRecord::SchemaMigration::QueryMethodsReturningAssociationRelation
|
|
162
165
|
sig { params(block: T.nilable(T.proc.void)).returns(ActiveRecord::SchemaMigration::ActiveRecord_Relation) }
|
163
166
|
def unscoped(&block); end
|
164
167
|
|
165
|
-
sig { params(args: T.untyped).returns(ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation) }
|
166
|
-
def select(*args); end
|
167
|
-
|
168
168
|
sig { params(args: T.untyped).returns(ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation) }
|
169
169
|
def reselect(*args); end
|
170
170
|
|
@@ -252,6 +252,12 @@ module ActiveRecord::SchemaMigration::QueryMethodsReturningAssociationRelation
|
|
252
252
|
sig { params(args: T.untyped).returns(ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation) }
|
253
253
|
def only(*args); end
|
254
254
|
|
255
|
+
sig { params(block: T.proc.params(e: ActiveRecord::SchemaMigration).returns(T::Boolean)).returns(T::Array[ActiveRecord::SchemaMigration]) }
|
256
|
+
def select(&block); end
|
257
|
+
|
258
|
+
sig { params(args: T.any(String, Symbol)).returns(ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation) }
|
259
|
+
def select_columns(*args); end
|
260
|
+
|
255
261
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation) }
|
256
262
|
def extending(*args, &block); end
|
257
263
|
|
@@ -79,9 +79,6 @@ module School::QueryMethodsReturningRelation
|
|
79
79
|
sig { params(block: T.nilable(T.proc.void)).returns(School::ActiveRecord_Relation) }
|
80
80
|
def unscoped(&block); end
|
81
81
|
|
82
|
-
sig { params(args: T.untyped).returns(School::ActiveRecord_Relation) }
|
83
|
-
def select(*args); end
|
84
|
-
|
85
82
|
sig { params(args: T.untyped).returns(School::ActiveRecord_Relation) }
|
86
83
|
def reselect(*args); end
|
87
84
|
|
@@ -169,6 +166,12 @@ module School::QueryMethodsReturningRelation
|
|
169
166
|
sig { params(args: T.untyped).returns(School::ActiveRecord_Relation) }
|
170
167
|
def only(*args); end
|
171
168
|
|
169
|
+
sig { params(block: T.proc.params(e: School).returns(T::Boolean)).returns(T::Array[School]) }
|
170
|
+
def select(&block); end
|
171
|
+
|
172
|
+
sig { params(args: T.any(String, Symbol)).returns(School::ActiveRecord_Relation) }
|
173
|
+
def select_columns(*args); end
|
174
|
+
|
172
175
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(School::ActiveRecord_Relation) }
|
173
176
|
def extending(*args, &block); end
|
174
177
|
|
@@ -192,9 +195,6 @@ module School::QueryMethodsReturningAssociationRelation
|
|
192
195
|
sig { params(block: T.nilable(T.proc.void)).returns(School::ActiveRecord_Relation) }
|
193
196
|
def unscoped(&block); end
|
194
197
|
|
195
|
-
sig { params(args: T.untyped).returns(School::ActiveRecord_AssociationRelation) }
|
196
|
-
def select(*args); end
|
197
|
-
|
198
198
|
sig { params(args: T.untyped).returns(School::ActiveRecord_AssociationRelation) }
|
199
199
|
def reselect(*args); end
|
200
200
|
|
@@ -282,6 +282,12 @@ module School::QueryMethodsReturningAssociationRelation
|
|
282
282
|
sig { params(args: T.untyped).returns(School::ActiveRecord_AssociationRelation) }
|
283
283
|
def only(*args); end
|
284
284
|
|
285
|
+
sig { params(block: T.proc.params(e: School).returns(T::Boolean)).returns(T::Array[School]) }
|
286
|
+
def select(&block); end
|
287
|
+
|
288
|
+
sig { params(args: T.any(String, Symbol)).returns(School::ActiveRecord_AssociationRelation) }
|
289
|
+
def select_columns(*args); end
|
290
|
+
|
285
291
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(School::ActiveRecord_AssociationRelation) }
|
286
292
|
def extending(*args, &block); end
|
287
293
|
|
@@ -97,9 +97,6 @@ module Spell::HABTM_SpellBooks::QueryMethodsReturningRelation
|
|
97
97
|
sig { params(block: T.nilable(T.proc.void)).returns(Spell::HABTM_SpellBooks::ActiveRecord_Relation) }
|
98
98
|
def unscoped(&block); end
|
99
99
|
|
100
|
-
sig { params(args: T.untyped).returns(Spell::HABTM_SpellBooks::ActiveRecord_Relation) }
|
101
|
-
def select(*args); end
|
102
|
-
|
103
100
|
sig { params(args: T.untyped).returns(Spell::HABTM_SpellBooks::ActiveRecord_Relation) }
|
104
101
|
def reselect(*args); end
|
105
102
|
|
@@ -187,6 +184,12 @@ module Spell::HABTM_SpellBooks::QueryMethodsReturningRelation
|
|
187
184
|
sig { params(args: T.untyped).returns(Spell::HABTM_SpellBooks::ActiveRecord_Relation) }
|
188
185
|
def only(*args); end
|
189
186
|
|
187
|
+
sig { params(block: T.proc.params(e: Spell::HABTM_SpellBooks).returns(T::Boolean)).returns(T::Array[Spell::HABTM_SpellBooks]) }
|
188
|
+
def select(&block); end
|
189
|
+
|
190
|
+
sig { params(args: T.any(String, Symbol)).returns(Spell::HABTM_SpellBooks::ActiveRecord_Relation) }
|
191
|
+
def select_columns(*args); end
|
192
|
+
|
190
193
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Spell::HABTM_SpellBooks::ActiveRecord_Relation) }
|
191
194
|
def extending(*args, &block); end
|
192
195
|
|
@@ -210,9 +213,6 @@ module Spell::HABTM_SpellBooks::QueryMethodsReturningAssociationRelation
|
|
210
213
|
sig { params(block: T.nilable(T.proc.void)).returns(Spell::HABTM_SpellBooks::ActiveRecord_Relation) }
|
211
214
|
def unscoped(&block); end
|
212
215
|
|
213
|
-
sig { params(args: T.untyped).returns(Spell::HABTM_SpellBooks::ActiveRecord_AssociationRelation) }
|
214
|
-
def select(*args); end
|
215
|
-
|
216
216
|
sig { params(args: T.untyped).returns(Spell::HABTM_SpellBooks::ActiveRecord_AssociationRelation) }
|
217
217
|
def reselect(*args); end
|
218
218
|
|
@@ -300,6 +300,12 @@ module Spell::HABTM_SpellBooks::QueryMethodsReturningAssociationRelation
|
|
300
300
|
sig { params(args: T.untyped).returns(Spell::HABTM_SpellBooks::ActiveRecord_AssociationRelation) }
|
301
301
|
def only(*args); end
|
302
302
|
|
303
|
+
sig { params(block: T.proc.params(e: Spell::HABTM_SpellBooks).returns(T::Boolean)).returns(T::Array[Spell::HABTM_SpellBooks]) }
|
304
|
+
def select(&block); end
|
305
|
+
|
306
|
+
sig { params(args: T.any(String, Symbol)).returns(Spell::HABTM_SpellBooks::ActiveRecord_AssociationRelation) }
|
307
|
+
def select_columns(*args); end
|
308
|
+
|
303
309
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Spell::HABTM_SpellBooks::ActiveRecord_AssociationRelation) }
|
304
310
|
def extending(*args, &block); end
|
305
311
|
|
@@ -70,9 +70,6 @@ module Spell::QueryMethodsReturningRelation
|
|
70
70
|
sig { params(block: T.nilable(T.proc.void)).returns(Spell::ActiveRecord_Relation) }
|
71
71
|
def unscoped(&block); end
|
72
72
|
|
73
|
-
sig { params(args: T.untyped).returns(Spell::ActiveRecord_Relation) }
|
74
|
-
def select(*args); end
|
75
|
-
|
76
73
|
sig { params(args: T.untyped).returns(Spell::ActiveRecord_Relation) }
|
77
74
|
def reselect(*args); end
|
78
75
|
|
@@ -160,6 +157,12 @@ module Spell::QueryMethodsReturningRelation
|
|
160
157
|
sig { params(args: T.untyped).returns(Spell::ActiveRecord_Relation) }
|
161
158
|
def only(*args); end
|
162
159
|
|
160
|
+
sig { params(block: T.proc.params(e: Spell).returns(T::Boolean)).returns(T::Array[Spell]) }
|
161
|
+
def select(&block); end
|
162
|
+
|
163
|
+
sig { params(args: T.any(String, Symbol)).returns(Spell::ActiveRecord_Relation) }
|
164
|
+
def select_columns(*args); end
|
165
|
+
|
163
166
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Spell::ActiveRecord_Relation) }
|
164
167
|
def extending(*args, &block); end
|
165
168
|
|
@@ -183,9 +186,6 @@ module Spell::QueryMethodsReturningAssociationRelation
|
|
183
186
|
sig { params(block: T.nilable(T.proc.void)).returns(Spell::ActiveRecord_Relation) }
|
184
187
|
def unscoped(&block); end
|
185
188
|
|
186
|
-
sig { params(args: T.untyped).returns(Spell::ActiveRecord_AssociationRelation) }
|
187
|
-
def select(*args); end
|
188
|
-
|
189
189
|
sig { params(args: T.untyped).returns(Spell::ActiveRecord_AssociationRelation) }
|
190
190
|
def reselect(*args); end
|
191
191
|
|
@@ -273,6 +273,12 @@ module Spell::QueryMethodsReturningAssociationRelation
|
|
273
273
|
sig { params(args: T.untyped).returns(Spell::ActiveRecord_AssociationRelation) }
|
274
274
|
def only(*args); end
|
275
275
|
|
276
|
+
sig { params(block: T.proc.params(e: Spell).returns(T::Boolean)).returns(T::Array[Spell]) }
|
277
|
+
def select(&block); end
|
278
|
+
|
279
|
+
sig { params(args: T.any(String, Symbol)).returns(Spell::ActiveRecord_AssociationRelation) }
|
280
|
+
def select_columns(*args); end
|
281
|
+
|
276
282
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Spell::ActiveRecord_AssociationRelation) }
|
277
283
|
def extending(*args, &block); end
|
278
284
|
|
@@ -97,9 +97,6 @@ module SpellBook::HABTM_Spells::QueryMethodsReturningRelation
|
|
97
97
|
sig { params(block: T.nilable(T.proc.void)).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) }
|
98
98
|
def unscoped(&block); end
|
99
99
|
|
100
|
-
sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) }
|
101
|
-
def select(*args); end
|
102
|
-
|
103
100
|
sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) }
|
104
101
|
def reselect(*args); end
|
105
102
|
|
@@ -187,6 +184,12 @@ module SpellBook::HABTM_Spells::QueryMethodsReturningRelation
|
|
187
184
|
sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) }
|
188
185
|
def only(*args); end
|
189
186
|
|
187
|
+
sig { params(block: T.proc.params(e: SpellBook::HABTM_Spells).returns(T::Boolean)).returns(T::Array[SpellBook::HABTM_Spells]) }
|
188
|
+
def select(&block); end
|
189
|
+
|
190
|
+
sig { params(args: T.any(String, Symbol)).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) }
|
191
|
+
def select_columns(*args); end
|
192
|
+
|
190
193
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) }
|
191
194
|
def extending(*args, &block); end
|
192
195
|
|
@@ -210,9 +213,6 @@ module SpellBook::HABTM_Spells::QueryMethodsReturningAssociationRelation
|
|
210
213
|
sig { params(block: T.nilable(T.proc.void)).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) }
|
211
214
|
def unscoped(&block); end
|
212
215
|
|
213
|
-
sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) }
|
214
|
-
def select(*args); end
|
215
|
-
|
216
216
|
sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) }
|
217
217
|
def reselect(*args); end
|
218
218
|
|
@@ -300,6 +300,12 @@ module SpellBook::HABTM_Spells::QueryMethodsReturningAssociationRelation
|
|
300
300
|
sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) }
|
301
301
|
def only(*args); end
|
302
302
|
|
303
|
+
sig { params(block: T.proc.params(e: SpellBook::HABTM_Spells).returns(T::Boolean)).returns(T::Array[SpellBook::HABTM_Spells]) }
|
304
|
+
def select(&block); end
|
305
|
+
|
306
|
+
sig { params(args: T.any(String, Symbol)).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) }
|
307
|
+
def select_columns(*args); end
|
308
|
+
|
303
309
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) }
|
304
310
|
def extending(*args, &block); end
|
305
311
|
|
@@ -261,9 +261,6 @@ module SpellBook::QueryMethodsReturningRelation
|
|
261
261
|
sig { params(block: T.nilable(T.proc.void)).returns(SpellBook::ActiveRecord_Relation) }
|
262
262
|
def unscoped(&block); end
|
263
263
|
|
264
|
-
sig { params(args: T.untyped).returns(SpellBook::ActiveRecord_Relation) }
|
265
|
-
def select(*args); end
|
266
|
-
|
267
264
|
sig { params(args: T.untyped).returns(SpellBook::ActiveRecord_Relation) }
|
268
265
|
def reselect(*args); end
|
269
266
|
|
@@ -351,6 +348,12 @@ module SpellBook::QueryMethodsReturningRelation
|
|
351
348
|
sig { params(args: T.untyped).returns(SpellBook::ActiveRecord_Relation) }
|
352
349
|
def only(*args); end
|
353
350
|
|
351
|
+
sig { params(block: T.proc.params(e: SpellBook).returns(T::Boolean)).returns(T::Array[SpellBook]) }
|
352
|
+
def select(&block); end
|
353
|
+
|
354
|
+
sig { params(args: T.any(String, Symbol)).returns(SpellBook::ActiveRecord_Relation) }
|
355
|
+
def select_columns(*args); end
|
356
|
+
|
354
357
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(SpellBook::ActiveRecord_Relation) }
|
355
358
|
def extending(*args, &block); end
|
356
359
|
|
@@ -374,9 +377,6 @@ module SpellBook::QueryMethodsReturningAssociationRelation
|
|
374
377
|
sig { params(block: T.nilable(T.proc.void)).returns(SpellBook::ActiveRecord_Relation) }
|
375
378
|
def unscoped(&block); end
|
376
379
|
|
377
|
-
sig { params(args: T.untyped).returns(SpellBook::ActiveRecord_AssociationRelation) }
|
378
|
-
def select(*args); end
|
379
|
-
|
380
380
|
sig { params(args: T.untyped).returns(SpellBook::ActiveRecord_AssociationRelation) }
|
381
381
|
def reselect(*args); end
|
382
382
|
|
@@ -464,6 +464,12 @@ module SpellBook::QueryMethodsReturningAssociationRelation
|
|
464
464
|
sig { params(args: T.untyped).returns(SpellBook::ActiveRecord_AssociationRelation) }
|
465
465
|
def only(*args); end
|
466
466
|
|
467
|
+
sig { params(block: T.proc.params(e: SpellBook).returns(T::Boolean)).returns(T::Array[SpellBook]) }
|
468
|
+
def select(&block); end
|
469
|
+
|
470
|
+
sig { params(args: T.any(String, Symbol)).returns(SpellBook::ActiveRecord_AssociationRelation) }
|
471
|
+
def select_columns(*args); end
|
472
|
+
|
467
473
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(SpellBook::ActiveRecord_AssociationRelation) }
|
468
474
|
def extending(*args, &block); end
|
469
475
|
|
@@ -814,9 +814,6 @@ module Squib::QueryMethodsReturningRelation
|
|
814
814
|
sig { params(block: T.nilable(T.proc.void)).returns(Squib::ActiveRecord_Relation) }
|
815
815
|
def unscoped(&block); end
|
816
816
|
|
817
|
-
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
818
|
-
def select(*args); end
|
819
|
-
|
820
817
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
821
818
|
def reselect(*args); end
|
822
819
|
|
@@ -904,6 +901,12 @@ module Squib::QueryMethodsReturningRelation
|
|
904
901
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
905
902
|
def only(*args); end
|
906
903
|
|
904
|
+
sig { params(block: T.proc.params(e: Squib).returns(T::Boolean)).returns(T::Array[Squib]) }
|
905
|
+
def select(&block); end
|
906
|
+
|
907
|
+
sig { params(args: T.any(String, Symbol)).returns(Squib::ActiveRecord_Relation) }
|
908
|
+
def select_columns(*args); end
|
909
|
+
|
907
910
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Squib::ActiveRecord_Relation) }
|
908
911
|
def extending(*args, &block); end
|
909
912
|
|
@@ -927,9 +930,6 @@ module Squib::QueryMethodsReturningAssociationRelation
|
|
927
930
|
sig { params(block: T.nilable(T.proc.void)).returns(Squib::ActiveRecord_Relation) }
|
928
931
|
def unscoped(&block); end
|
929
932
|
|
930
|
-
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
931
|
-
def select(*args); end
|
932
|
-
|
933
933
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
934
934
|
def reselect(*args); end
|
935
935
|
|
@@ -1017,6 +1017,12 @@ module Squib::QueryMethodsReturningAssociationRelation
|
|
1017
1017
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
1018
1018
|
def only(*args); end
|
1019
1019
|
|
1020
|
+
sig { params(block: T.proc.params(e: Squib).returns(T::Boolean)).returns(T::Array[Squib]) }
|
1021
|
+
def select(&block); end
|
1022
|
+
|
1023
|
+
sig { params(args: T.any(String, Symbol)).returns(Squib::ActiveRecord_AssociationRelation) }
|
1024
|
+
def select_columns(*args); end
|
1025
|
+
|
1020
1026
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Squib::ActiveRecord_AssociationRelation) }
|
1021
1027
|
def extending(*args, &block); end
|
1022
1028
|
|
@@ -97,9 +97,6 @@ module Subject::HABTM_Wizards::QueryMethodsReturningRelation
|
|
97
97
|
sig { params(block: T.nilable(T.proc.void)).returns(Subject::HABTM_Wizards::ActiveRecord_Relation) }
|
98
98
|
def unscoped(&block); end
|
99
99
|
|
100
|
-
sig { params(args: T.untyped).returns(Subject::HABTM_Wizards::ActiveRecord_Relation) }
|
101
|
-
def select(*args); end
|
102
|
-
|
103
100
|
sig { params(args: T.untyped).returns(Subject::HABTM_Wizards::ActiveRecord_Relation) }
|
104
101
|
def reselect(*args); end
|
105
102
|
|
@@ -187,6 +184,12 @@ module Subject::HABTM_Wizards::QueryMethodsReturningRelation
|
|
187
184
|
sig { params(args: T.untyped).returns(Subject::HABTM_Wizards::ActiveRecord_Relation) }
|
188
185
|
def only(*args); end
|
189
186
|
|
187
|
+
sig { params(block: T.proc.params(e: Subject::HABTM_Wizards).returns(T::Boolean)).returns(T::Array[Subject::HABTM_Wizards]) }
|
188
|
+
def select(&block); end
|
189
|
+
|
190
|
+
sig { params(args: T.any(String, Symbol)).returns(Subject::HABTM_Wizards::ActiveRecord_Relation) }
|
191
|
+
def select_columns(*args); end
|
192
|
+
|
190
193
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Subject::HABTM_Wizards::ActiveRecord_Relation) }
|
191
194
|
def extending(*args, &block); end
|
192
195
|
|
@@ -210,9 +213,6 @@ module Subject::HABTM_Wizards::QueryMethodsReturningAssociationRelation
|
|
210
213
|
sig { params(block: T.nilable(T.proc.void)).returns(Subject::HABTM_Wizards::ActiveRecord_Relation) }
|
211
214
|
def unscoped(&block); end
|
212
215
|
|
213
|
-
sig { params(args: T.untyped).returns(Subject::HABTM_Wizards::ActiveRecord_AssociationRelation) }
|
214
|
-
def select(*args); end
|
215
|
-
|
216
216
|
sig { params(args: T.untyped).returns(Subject::HABTM_Wizards::ActiveRecord_AssociationRelation) }
|
217
217
|
def reselect(*args); end
|
218
218
|
|
@@ -300,6 +300,12 @@ module Subject::HABTM_Wizards::QueryMethodsReturningAssociationRelation
|
|
300
300
|
sig { params(args: T.untyped).returns(Subject::HABTM_Wizards::ActiveRecord_AssociationRelation) }
|
301
301
|
def only(*args); end
|
302
302
|
|
303
|
+
sig { params(block: T.proc.params(e: Subject::HABTM_Wizards).returns(T::Boolean)).returns(T::Array[Subject::HABTM_Wizards]) }
|
304
|
+
def select(&block); end
|
305
|
+
|
306
|
+
sig { params(args: T.any(String, Symbol)).returns(Subject::HABTM_Wizards::ActiveRecord_AssociationRelation) }
|
307
|
+
def select_columns(*args); end
|
308
|
+
|
303
309
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Subject::HABTM_Wizards::ActiveRecord_AssociationRelation) }
|
304
310
|
def extending(*args, &block); end
|
305
311
|
|
@@ -70,9 +70,6 @@ module Subject::QueryMethodsReturningRelation
|
|
70
70
|
sig { params(block: T.nilable(T.proc.void)).returns(Subject::ActiveRecord_Relation) }
|
71
71
|
def unscoped(&block); end
|
72
72
|
|
73
|
-
sig { params(args: T.untyped).returns(Subject::ActiveRecord_Relation) }
|
74
|
-
def select(*args); end
|
75
|
-
|
76
73
|
sig { params(args: T.untyped).returns(Subject::ActiveRecord_Relation) }
|
77
74
|
def reselect(*args); end
|
78
75
|
|
@@ -160,6 +157,12 @@ module Subject::QueryMethodsReturningRelation
|
|
160
157
|
sig { params(args: T.untyped).returns(Subject::ActiveRecord_Relation) }
|
161
158
|
def only(*args); end
|
162
159
|
|
160
|
+
sig { params(block: T.proc.params(e: Subject).returns(T::Boolean)).returns(T::Array[Subject]) }
|
161
|
+
def select(&block); end
|
162
|
+
|
163
|
+
sig { params(args: T.any(String, Symbol)).returns(Subject::ActiveRecord_Relation) }
|
164
|
+
def select_columns(*args); end
|
165
|
+
|
163
166
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Subject::ActiveRecord_Relation) }
|
164
167
|
def extending(*args, &block); end
|
165
168
|
|
@@ -183,9 +186,6 @@ module Subject::QueryMethodsReturningAssociationRelation
|
|
183
186
|
sig { params(block: T.nilable(T.proc.void)).returns(Subject::ActiveRecord_Relation) }
|
184
187
|
def unscoped(&block); end
|
185
188
|
|
186
|
-
sig { params(args: T.untyped).returns(Subject::ActiveRecord_AssociationRelation) }
|
187
|
-
def select(*args); end
|
188
|
-
|
189
189
|
sig { params(args: T.untyped).returns(Subject::ActiveRecord_AssociationRelation) }
|
190
190
|
def reselect(*args); end
|
191
191
|
|
@@ -273,6 +273,12 @@ module Subject::QueryMethodsReturningAssociationRelation
|
|
273
273
|
sig { params(args: T.untyped).returns(Subject::ActiveRecord_AssociationRelation) }
|
274
274
|
def only(*args); end
|
275
275
|
|
276
|
+
sig { params(block: T.proc.params(e: Subject).returns(T::Boolean)).returns(T::Array[Subject]) }
|
277
|
+
def select(&block); end
|
278
|
+
|
279
|
+
sig { params(args: T.any(String, Symbol)).returns(Subject::ActiveRecord_AssociationRelation) }
|
280
|
+
def select_columns(*args); end
|
281
|
+
|
276
282
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Subject::ActiveRecord_AssociationRelation) }
|
277
283
|
def extending(*args, &block); end
|
278
284
|
|