lazy_migrate 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/Appraisals +9 -0
- data/Gemfile.lock +133 -4
- data/Guardfile +39 -0
- data/README.md +56 -6
- data/Rakefile +1 -3
- data/bin/exe/lazy_migrate +14 -1
- data/gemfiles/.bundle/config +2 -0
- data/gemfiles/rails_5_1_5.gemfile +8 -0
- data/gemfiles/rails_5_1_5.gemfile.lock +170 -0
- data/gemfiles/rails_5_2_4_3.gemfile +8 -0
- data/gemfiles/rails_5_2_4_3.gemfile.lock +178 -0
- data/github/demo.gif +0 -0
- data/lazy_migrate.gemspec +9 -3
- data/lib/lazy_migrate.rb +6 -2
- data/lib/lazy_migrate/client.rb +123 -0
- data/lib/lazy_migrate/migration.rb +14 -0
- data/lib/lazy_migrate/migrator_adapter.rb +144 -0
- data/lib/lazy_migrate/migrator_adapter_factory.rb +24 -0
- data/lib/lazy_migrate/new_migrator_adapter.rb +85 -0
- data/lib/lazy_migrate/old_migrator_adapter.rb +97 -0
- data/lib/lazy_migrate/version.rb +2 -1
- data/lib/tasks/lazy_migrate.rake +10 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/actioncable.rbi +393 -0
- data/sorbet/rbi/gems/actionmailer.rbi +425 -0
- data/sorbet/rbi/gems/actionpack.rbi +3230 -0
- data/sorbet/rbi/gems/actionview.rbi +1153 -0
- data/sorbet/rbi/gems/activejob.rbi +282 -0
- data/sorbet/rbi/gems/activemodel.rbi +742 -0
- data/sorbet/rbi/gems/activerecord.rbi +4004 -0
- data/sorbet/rbi/gems/activestorage.rbi +174 -0
- data/sorbet/rbi/gems/activesupport.rbi +2300 -0
- data/sorbet/rbi/gems/appraisal.rbi +151 -0
- data/sorbet/rbi/gems/arel.rbi +1253 -0
- data/sorbet/rbi/gems/byebug.rbi +1041 -0
- data/sorbet/rbi/gems/coderay.rbi +92 -0
- data/sorbet/rbi/gems/concurrent-ruby.rbi +1586 -0
- data/sorbet/rbi/gems/crass.rbi +93 -0
- data/sorbet/rbi/gems/erubi.rbi +27 -0
- data/sorbet/rbi/gems/globalid.rbi +99 -0
- data/sorbet/rbi/gems/i18n.rbi +192 -0
- data/sorbet/rbi/gems/loofah.rbi +131 -0
- data/sorbet/rbi/gems/mail.rbi +1092 -0
- data/sorbet/rbi/gems/marcel.rbi +13 -0
- data/sorbet/rbi/gems/method_source.rbi +64 -0
- data/sorbet/rbi/gems/mini_mime.rbi +52 -0
- data/sorbet/rbi/gems/minitest.rbi +282 -0
- data/sorbet/rbi/gems/nio4r.rbi +68 -0
- data/sorbet/rbi/gems/nokogiri.rbi +1011 -0
- data/sorbet/rbi/gems/pastel.rbi +119 -0
- data/sorbet/rbi/gems/pry-byebug.rbi +155 -0
- data/sorbet/rbi/gems/pry.rbi +1949 -0
- data/sorbet/rbi/gems/rack-test.rbi +162 -0
- data/sorbet/rbi/gems/rack.rbi +525 -0
- data/sorbet/rbi/gems/rails-dom-testing.rbi +68 -0
- data/sorbet/rbi/gems/rails-html-sanitizer.rbi +92 -0
- data/sorbet/rbi/gems/railties.rbi +724 -0
- data/sorbet/rbi/gems/rake.rbi +666 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1939 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1123 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1090 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/sprockets-rails.rbi +106 -0
- data/sorbet/rbi/gems/sprockets.rbi +755 -0
- data/sorbet/rbi/gems/sqlite3.rbi +354 -0
- data/sorbet/rbi/gems/thor.rbi +580 -0
- data/sorbet/rbi/gems/thread_safe.rbi +82 -0
- data/sorbet/rbi/gems/tty-color.rbi +44 -0
- data/sorbet/rbi/gems/tty-cursor.rbi +72 -0
- data/sorbet/rbi/gems/tty-prompt.rbi +531 -0
- data/sorbet/rbi/gems/tty-reader.rbi +176 -0
- data/sorbet/rbi/gems/tty-screen.rbi +66 -0
- data/sorbet/rbi/gems/tzinfo.rbi +406 -0
- data/sorbet/rbi/gems/websocket-driver.rbi +103 -0
- data/sorbet/rbi/gems/websocket-extensions.rbi +29 -0
- data/sorbet/rbi/gems/wisper.rbi +130 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +7584 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +13328 -0
- data/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
- data/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +954 -0
- data/sorbet/rbi/sorbet-typed/lib/actionview/all/actionview.rbi +321 -0
- data/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +597 -0
- data/sorbet/rbi/sorbet-typed/lib/activerecord/<6/activerecord.rbi +13 -0
- data/sorbet/rbi/sorbet-typed/lib/activerecord/>=5.2/activerecord.rbi +16 -0
- data/sorbet/rbi/sorbet-typed/lib/activerecord/>=5/activerecord.rbi +53 -0
- data/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1454 -0
- data/sorbet/rbi/sorbet-typed/lib/activerecord/all/model_schema.rbi +79 -0
- data/sorbet/rbi/sorbet-typed/lib/activerecord/all/sanitization.rbi +36 -0
- data/sorbet/rbi/sorbet-typed/lib/activerecord/~>5.2.0/activerecord.rbi +447 -0
- data/sorbet/rbi/sorbet-typed/lib/activestorage/<=6.1/activestorage.rbi +82 -0
- data/sorbet/rbi/sorbet-typed/lib/activestorage/all/activestorage.rbi +177 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1431 -0
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
- data/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +25 -0
- data/sorbet/rbi/todo.rbi +18 -0
- data/sorbet/rbi/user-defined/activerecord.rbi +56 -0
- metadata +181 -7
- data/lib/lazy_migrate/migrator.rb +0 -186
@@ -0,0 +1,4004 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: true
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/activerecord/all/activerecord.rbi
|
9
|
+
#
|
10
|
+
# activerecord-5.2.4.3
|
11
|
+
|
12
|
+
module ActiveRecord
|
13
|
+
def self.eager_load!; end
|
14
|
+
def self.gem_version; end
|
15
|
+
def self.version; end
|
16
|
+
extend ActiveSupport::Autoload
|
17
|
+
end
|
18
|
+
module ActiveRecord::VERSION
|
19
|
+
end
|
20
|
+
module ActiveRecord::AttributeMethods
|
21
|
+
def [](attr_name); end
|
22
|
+
def []=(attr_name, value); end
|
23
|
+
def accessed_fields; end
|
24
|
+
def attribute_for_inspect(attr_name); end
|
25
|
+
def attribute_method?(attr_name); end
|
26
|
+
def attribute_names; end
|
27
|
+
def attribute_present?(attribute); end
|
28
|
+
def attributes; end
|
29
|
+
def attributes_for_create(attribute_names); end
|
30
|
+
def attributes_for_update(attribute_names); end
|
31
|
+
def attributes_with_values(attribute_names); end
|
32
|
+
def attributes_with_values_for_create(attribute_names); end
|
33
|
+
def attributes_with_values_for_update(attribute_names); end
|
34
|
+
def has_attribute?(attr_name); end
|
35
|
+
def pk_attribute?(name); end
|
36
|
+
def readonly_attribute?(name); end
|
37
|
+
def respond_to?(name, include_private = nil); end
|
38
|
+
extend ActiveSupport::Autoload
|
39
|
+
extend ActiveSupport::Concern
|
40
|
+
include ActiveModel::AttributeMethods
|
41
|
+
end
|
42
|
+
module ActiveRecord::AttributeMethods::AttrNames
|
43
|
+
def self.set_name_cache(name, value); end
|
44
|
+
end
|
45
|
+
class ActiveRecord::AttributeMethods::GeneratedAttributeMethods < Module
|
46
|
+
def lock; end
|
47
|
+
def locked?; end
|
48
|
+
def synchronize(&block); end
|
49
|
+
def try_lock; end
|
50
|
+
def unlock; end
|
51
|
+
include Mutex_m
|
52
|
+
end
|
53
|
+
module ActiveRecord::AttributeMethods::ClassMethods
|
54
|
+
def attribute_method?(attribute); end
|
55
|
+
def attribute_names; end
|
56
|
+
def class_method_defined_within?(name, klass, superklass = nil); end
|
57
|
+
def column_for_attribute(name); end
|
58
|
+
def dangerous_attribute_method?(name); end
|
59
|
+
def dangerous_class_method?(method_name); end
|
60
|
+
def define_attribute_methods; end
|
61
|
+
def enforce_raw_sql_whitelist(args, whitelist: nil); end
|
62
|
+
def has_attribute?(attr_name); end
|
63
|
+
def inherited(child_class); end
|
64
|
+
def initialize_generated_modules; end
|
65
|
+
def instance_method_already_implemented?(method_name); end
|
66
|
+
def method_defined_within?(name, klass, superklass = nil); end
|
67
|
+
def undefine_attribute_methods; end
|
68
|
+
end
|
69
|
+
module ActiveRecord::ConnectionAdapters
|
70
|
+
extend ActiveSupport::Autoload
|
71
|
+
extend ActiveSupport::Autoload
|
72
|
+
end
|
73
|
+
module ActiveRecord::ConnectionAdapters::DetermineIfPreparableVisitor
|
74
|
+
def accept(*arg0); end
|
75
|
+
def preparable; end
|
76
|
+
def preparable=(arg0); end
|
77
|
+
def visit_Arel_Nodes_In(o, collector); end
|
78
|
+
def visit_Arel_Nodes_SqlLiteral(*arg0); end
|
79
|
+
end
|
80
|
+
class ActiveRecord::ConnectionAdapters::SchemaCache
|
81
|
+
def add(table_name); end
|
82
|
+
def clear!; end
|
83
|
+
def clear_data_source_cache!(name); end
|
84
|
+
def columns(table_name); end
|
85
|
+
def columns_hash(table_name); end
|
86
|
+
def connection; end
|
87
|
+
def connection=(arg0); end
|
88
|
+
def data_source_exists?(name); end
|
89
|
+
def data_sources(name); end
|
90
|
+
def encode_with(coder); end
|
91
|
+
def init_with(coder); end
|
92
|
+
def initialize(conn); end
|
93
|
+
def initialize_dup(other); end
|
94
|
+
def marshal_dump; end
|
95
|
+
def marshal_load(array); end
|
96
|
+
def prepare_data_sources; end
|
97
|
+
def primary_keys(table_name); end
|
98
|
+
def size; end
|
99
|
+
def version; end
|
100
|
+
end
|
101
|
+
class ActiveRecord::ConnectionAdapters::SqlTypeMetadata
|
102
|
+
def ==(other); end
|
103
|
+
def attributes_for_hash; end
|
104
|
+
def eql?(other); end
|
105
|
+
def hash; end
|
106
|
+
def initialize(sql_type: nil, type: nil, limit: nil, precision: nil, scale: nil); end
|
107
|
+
def limit; end
|
108
|
+
def precision; end
|
109
|
+
def scale; end
|
110
|
+
def sql_type; end
|
111
|
+
def type; end
|
112
|
+
end
|
113
|
+
class ActiveRecord::SchemaDumper
|
114
|
+
def define_params; end
|
115
|
+
def dump(stream); end
|
116
|
+
def extensions(stream); end
|
117
|
+
def foreign_keys(table, stream); end
|
118
|
+
def format_colspec(colspec); end
|
119
|
+
def format_index_parts(options); end
|
120
|
+
def format_options(options); end
|
121
|
+
def formatted_version; end
|
122
|
+
def header(stream); end
|
123
|
+
def ignore_tables; end
|
124
|
+
def ignore_tables=(obj); end
|
125
|
+
def ignored?(table_name); end
|
126
|
+
def index_parts(index); end
|
127
|
+
def indexes(table, stream); end
|
128
|
+
def indexes_in_create(table, stream); end
|
129
|
+
def initialize(connection, options = nil); end
|
130
|
+
def remove_prefix_and_suffix(table); end
|
131
|
+
def self.dump(connection = nil, stream = nil, config = nil); end
|
132
|
+
def self.generate_options(config); end
|
133
|
+
def self.ignore_tables; end
|
134
|
+
def self.ignore_tables=(obj); end
|
135
|
+
def self.new(*arg0); end
|
136
|
+
def table(table, stream); end
|
137
|
+
def tables(stream); end
|
138
|
+
def trailer(stream); end
|
139
|
+
end
|
140
|
+
class ActiveRecord::ConnectionAdapters::SchemaDumper < ActiveRecord::SchemaDumper
|
141
|
+
def column_spec(column); end
|
142
|
+
def column_spec_for_primary_key(column); end
|
143
|
+
def default_primary_key?(column); end
|
144
|
+
def explicit_primary_key_default?(column); end
|
145
|
+
def prepare_column_options(column); end
|
146
|
+
def schema_collation(column); end
|
147
|
+
def schema_default(column); end
|
148
|
+
def schema_expression(column); end
|
149
|
+
def schema_limit(column); end
|
150
|
+
def schema_precision(column); end
|
151
|
+
def schema_scale(column); end
|
152
|
+
def schema_type(column); end
|
153
|
+
def schema_type_with_virtual(column); end
|
154
|
+
def self.create(connection, options); end
|
155
|
+
end
|
156
|
+
class ActiveRecord::ConnectionAdapters::AbstractAdapter
|
157
|
+
def __callbacks; end
|
158
|
+
def __callbacks?; end
|
159
|
+
def _checkin_callbacks; end
|
160
|
+
def _checkout_callbacks; end
|
161
|
+
def _run_checkin_callbacks(&block); end
|
162
|
+
def _run_checkout_callbacks(&block); end
|
163
|
+
def active?; end
|
164
|
+
def adapter_name; end
|
165
|
+
def arel_visitor; end
|
166
|
+
def can_perform_case_insensitive_comparison_for?(column); end
|
167
|
+
def case_insensitive_comparison(table, attribute, column, value); end
|
168
|
+
def case_sensitive_comparison(table, attribute, column, value); end
|
169
|
+
def clear_cache!; end
|
170
|
+
def close; end
|
171
|
+
def collector; end
|
172
|
+
def column_for(table_name, column_name); end
|
173
|
+
def column_name_for_operation(operation, node); end
|
174
|
+
def column_name_from_arel_node(node); end
|
175
|
+
def default_index_type?(index); end
|
176
|
+
def delete(*arg0); end
|
177
|
+
def disable_extension(name); end
|
178
|
+
def disable_referential_integrity; end
|
179
|
+
def discard!; end
|
180
|
+
def disconnect!; end
|
181
|
+
def enable_extension(name); end
|
182
|
+
def expire; end
|
183
|
+
def extensions; end
|
184
|
+
def extract_limit(sql_type); end
|
185
|
+
def extract_precision(sql_type); end
|
186
|
+
def extract_scale(sql_type); end
|
187
|
+
def get_advisory_lock(lock_id); end
|
188
|
+
def in_use?; end
|
189
|
+
def index_algorithms; end
|
190
|
+
def initialize(connection, logger = nil, config = nil); end
|
191
|
+
def initialize_type_map(m = nil); end
|
192
|
+
def insert(*arg0); end
|
193
|
+
def lease; end
|
194
|
+
def lock; end
|
195
|
+
def log(sql, name = nil, binds = nil, type_casted_binds = nil, statement_name = nil); end
|
196
|
+
def logger; end
|
197
|
+
def migration_context; end
|
198
|
+
def migrations_paths; end
|
199
|
+
def owner; end
|
200
|
+
def pool; end
|
201
|
+
def pool=(arg0); end
|
202
|
+
def prefetch_primary_key?(table_name = nil); end
|
203
|
+
def prepared_statements; end
|
204
|
+
def raw_connection; end
|
205
|
+
def reconnect!; end
|
206
|
+
def register_class_with_limit(mapping, key, klass); end
|
207
|
+
def register_class_with_precision(mapping, key, klass); end
|
208
|
+
def release_advisory_lock(lock_id); end
|
209
|
+
def reload_type_map; end
|
210
|
+
def requires_reloading?; end
|
211
|
+
def reset!; end
|
212
|
+
def rollback_db_transaction(*arg0); end
|
213
|
+
def rollback_to_savepoint(*arg0); end
|
214
|
+
def schema_cache; end
|
215
|
+
def schema_cache=(cache); end
|
216
|
+
def seconds_idle; end
|
217
|
+
def self.__callbacks; end
|
218
|
+
def self.__callbacks=(val); end
|
219
|
+
def self.__callbacks?; end
|
220
|
+
def self._checkin_callbacks; end
|
221
|
+
def self._checkin_callbacks=(value); end
|
222
|
+
def self._checkout_callbacks; end
|
223
|
+
def self._checkout_callbacks=(value); end
|
224
|
+
def self.type_cast_config_to_boolean(config); end
|
225
|
+
def self.type_cast_config_to_integer(config); end
|
226
|
+
def steal!; end
|
227
|
+
def supports_advisory_locks?; end
|
228
|
+
def supports_bulk_alter?; end
|
229
|
+
def supports_comments?; end
|
230
|
+
def supports_comments_in_create?; end
|
231
|
+
def supports_datetime_with_precision?; end
|
232
|
+
def supports_ddl_transactions?; end
|
233
|
+
def supports_explain?; end
|
234
|
+
def supports_expression_index?; end
|
235
|
+
def supports_extensions?; end
|
236
|
+
def supports_foreign_keys?; end
|
237
|
+
def supports_foreign_keys_in_create?; end
|
238
|
+
def supports_foreign_tables?; end
|
239
|
+
def supports_index_sort_order?; end
|
240
|
+
def supports_indexes_in_create?; end
|
241
|
+
def supports_json?; end
|
242
|
+
def supports_multi_insert?; end
|
243
|
+
def supports_partial_index?; end
|
244
|
+
def supports_savepoints?; end
|
245
|
+
def supports_transaction_isolation?; end
|
246
|
+
def supports_validate_constraints?; end
|
247
|
+
def supports_views?; end
|
248
|
+
def supports_virtual_columns?; end
|
249
|
+
def translate_exception(exception, message); end
|
250
|
+
def translate_exception_class(e, sql); end
|
251
|
+
def type_map; end
|
252
|
+
def unprepared_statement; end
|
253
|
+
def update(*arg0); end
|
254
|
+
def valid_type?(type); end
|
255
|
+
def verify!; end
|
256
|
+
def visitor; end
|
257
|
+
def visitor=(arg0); end
|
258
|
+
def without_prepared_statement?(binds); end
|
259
|
+
extend ActiveSupport::Callbacks::ClassMethods
|
260
|
+
extend ActiveSupport::DescendantsTracker
|
261
|
+
include ActiveRecord::ConnectionAdapters::DatabaseLimits
|
262
|
+
include ActiveRecord::ConnectionAdapters::QueryCache
|
263
|
+
include ActiveRecord::ConnectionAdapters::Quoting
|
264
|
+
include ActiveRecord::ConnectionAdapters::Savepoints
|
265
|
+
include ActiveSupport::Callbacks
|
266
|
+
end
|
267
|
+
class ActiveRecord::ConnectionAdapters::AbstractAdapter::SchemaCreation
|
268
|
+
def accept(o); end
|
269
|
+
def action_sql(action, dependency); end
|
270
|
+
def add_column_options!(sql, options); end
|
271
|
+
def add_table_options!(create_sql, options); end
|
272
|
+
def column_options(o); end
|
273
|
+
def foreign_key_in_create(from_table, to_table, options); end
|
274
|
+
def foreign_key_options(*args, &block); end
|
275
|
+
def initialize(conn); end
|
276
|
+
def options_include_default?(*args, &block); end
|
277
|
+
def quote_column_name(*args, &block); end
|
278
|
+
def quote_default_expression(*args, &block); end
|
279
|
+
def quote_table_name(*args, &block); end
|
280
|
+
def supports_foreign_keys_in_create?(*args, &block); end
|
281
|
+
def supports_indexes_in_create?(*args, &block); end
|
282
|
+
def table_options(o); end
|
283
|
+
def to_sql(sql); end
|
284
|
+
def type_to_sql(*args, &block); end
|
285
|
+
def visit_AddColumnDefinition(o); end
|
286
|
+
def visit_AddForeignKey(o); end
|
287
|
+
def visit_AlterTable(o); end
|
288
|
+
def visit_ColumnDefinition(o); end
|
289
|
+
def visit_DropForeignKey(name); end
|
290
|
+
def visit_ForeignKeyDefinition(o); end
|
291
|
+
def visit_PrimaryKeyDefinition(o); end
|
292
|
+
def visit_TableDefinition(o); end
|
293
|
+
end
|
294
|
+
module ActiveRecord::ConnectionAdapters::Quoting
|
295
|
+
def _quote(value); end
|
296
|
+
def _type_cast(value); end
|
297
|
+
def id_value_for_database(value); end
|
298
|
+
def lookup_cast_type(sql_type); end
|
299
|
+
def lookup_cast_type_from_column(column); end
|
300
|
+
def quote(value); end
|
301
|
+
def quote_column_name(column_name); end
|
302
|
+
def quote_default_expression(value, column); end
|
303
|
+
def quote_string(s); end
|
304
|
+
def quote_table_name(table_name); end
|
305
|
+
def quote_table_name_for_assignment(table, attr); end
|
306
|
+
def quoted_binary(value); end
|
307
|
+
def quoted_date(value); end
|
308
|
+
def quoted_false; end
|
309
|
+
def quoted_time(value); end
|
310
|
+
def quoted_true; end
|
311
|
+
def type_cast(value, column = nil); end
|
312
|
+
def type_cast_from_column(column, value); end
|
313
|
+
def type_casted_binds(binds); end
|
314
|
+
def types_which_need_no_typecasting; end
|
315
|
+
def unquoted_false; end
|
316
|
+
def unquoted_true; end
|
317
|
+
end
|
318
|
+
module ActiveRecord::ConnectionAdapters::DatabaseStatements
|
319
|
+
def add_transaction_record(record); end
|
320
|
+
def arel_from_relation(relation); end
|
321
|
+
def begin_db_transaction; end
|
322
|
+
def begin_isolated_db_transaction(isolation); end
|
323
|
+
def begin_transaction(*args, &block); end
|
324
|
+
def build_fixture_sql(fixtures, table_name); end
|
325
|
+
def cacheable_query(klass, arel); end
|
326
|
+
def combine_multi_statements(total_sql); end
|
327
|
+
def commit_db_transaction; end
|
328
|
+
def commit_transaction(*args, &block); end
|
329
|
+
def create(arel, name = nil, pk = nil, id_value = nil, sequence_name = nil, binds = nil); end
|
330
|
+
def current_transaction(*args, &block); end
|
331
|
+
def default_insert_value(column); end
|
332
|
+
def default_sequence_name(table, column); end
|
333
|
+
def delete(arel, name = nil, binds = nil); end
|
334
|
+
def empty_insert_statement_value; end
|
335
|
+
def exec_delete(sql, name = nil, binds = nil); end
|
336
|
+
def exec_insert(sql, name = nil, binds = nil, pk = nil, sequence_name = nil); end
|
337
|
+
def exec_query(sql, name = nil, binds = nil, prepare: nil); end
|
338
|
+
def exec_rollback_db_transaction; end
|
339
|
+
def exec_update(sql, name = nil, binds = nil); end
|
340
|
+
def execute(sql, name = nil); end
|
341
|
+
def initialize; end
|
342
|
+
def insert(arel, name = nil, pk = nil, id_value = nil, sequence_name = nil, binds = nil); end
|
343
|
+
def insert_fixture(fixture, table_name); end
|
344
|
+
def insert_fixtures(fixtures, table_name); end
|
345
|
+
def insert_fixtures_set(fixture_set, tables_to_delete = nil); end
|
346
|
+
def join_to_delete(update, select, key); end
|
347
|
+
def join_to_update(update, select, key); end
|
348
|
+
def last_inserted_id(result); end
|
349
|
+
def open_transactions(*args, &block); end
|
350
|
+
def query(sql, name = nil); end
|
351
|
+
def query_value(sql, name = nil); end
|
352
|
+
def query_values(sql, name = nil); end
|
353
|
+
def reset_sequence!(table, column, sequence = nil); end
|
354
|
+
def reset_transaction; end
|
355
|
+
def rollback_db_transaction; end
|
356
|
+
def rollback_to_savepoint(name = nil); end
|
357
|
+
def rollback_transaction(*args, &block); end
|
358
|
+
def sanitize_limit(limit); end
|
359
|
+
def select(sql, name = nil, binds = nil); end
|
360
|
+
def select_all(arel, name = nil, binds = nil, preparable: nil); end
|
361
|
+
def select_one(arel, name = nil, binds = nil); end
|
362
|
+
def select_prepared(sql, name = nil, binds = nil); end
|
363
|
+
def select_rows(arel, name = nil, binds = nil); end
|
364
|
+
def select_value(arel, name = nil, binds = nil); end
|
365
|
+
def select_values(arel, name = nil, binds = nil); end
|
366
|
+
def single_value_from_rows(rows); end
|
367
|
+
def sql_for_insert(sql, pk, id_value, sequence_name, binds); end
|
368
|
+
def subquery_for(key, select); end
|
369
|
+
def supports_statement_cache?(*args, &block); end
|
370
|
+
def supports_statement_cache_with_deprecation?(*args, &block); end
|
371
|
+
def supports_statement_cache_without_deprecation?; end
|
372
|
+
def to_sql(arel_or_sql_string, binds = nil); end
|
373
|
+
def to_sql_and_binds(arel_or_sql_string, binds = nil); end
|
374
|
+
def transaction(requires_new: nil, isolation: nil, joinable: nil); end
|
375
|
+
def transaction_isolation_levels; end
|
376
|
+
def transaction_manager; end
|
377
|
+
def transaction_open?; end
|
378
|
+
def transaction_state; end
|
379
|
+
def truncate(table_name, name = nil); end
|
380
|
+
def update(arel, name = nil, binds = nil); end
|
381
|
+
def with_yaml_fallback(value); end
|
382
|
+
def within_new_transaction(*args, &block); end
|
383
|
+
end
|
384
|
+
class ActiveRecord::ConnectionAdapters::DatabaseStatements::PartialQueryCollector
|
385
|
+
def <<(str); end
|
386
|
+
def add_bind(obj); end
|
387
|
+
def initialize; end
|
388
|
+
def value; end
|
389
|
+
end
|
390
|
+
class ActiveRecord::ActiveRecordError < StandardError
|
391
|
+
end
|
392
|
+
class ActiveRecord::SubclassNotFound < ActiveRecord::ActiveRecordError
|
393
|
+
end
|
394
|
+
class ActiveRecord::AssociationTypeMismatch < ActiveRecord::ActiveRecordError
|
395
|
+
end
|
396
|
+
class ActiveRecord::SerializationTypeMismatch < ActiveRecord::ActiveRecordError
|
397
|
+
end
|
398
|
+
class ActiveRecord::AdapterNotSpecified < ActiveRecord::ActiveRecordError
|
399
|
+
end
|
400
|
+
class ActiveRecord::AdapterNotFound < ActiveRecord::ActiveRecordError
|
401
|
+
end
|
402
|
+
class ActiveRecord::ConnectionNotEstablished < ActiveRecord::ActiveRecordError
|
403
|
+
end
|
404
|
+
class ActiveRecord::RecordNotFound < ActiveRecord::ActiveRecordError
|
405
|
+
def id; end
|
406
|
+
def initialize(message = nil, model = nil, primary_key = nil, id = nil); end
|
407
|
+
def model; end
|
408
|
+
def primary_key; end
|
409
|
+
end
|
410
|
+
class ActiveRecord::RecordNotSaved < ActiveRecord::ActiveRecordError
|
411
|
+
def initialize(message = nil, record = nil); end
|
412
|
+
def record; end
|
413
|
+
end
|
414
|
+
class ActiveRecord::RecordNotDestroyed < ActiveRecord::ActiveRecordError
|
415
|
+
def initialize(message = nil, record = nil); end
|
416
|
+
def record; end
|
417
|
+
end
|
418
|
+
class ActiveRecord::StatementInvalid < ActiveRecord::ActiveRecordError
|
419
|
+
def initialize(message = nil); end
|
420
|
+
end
|
421
|
+
class ActiveRecord::WrappedDatabaseException < ActiveRecord::StatementInvalid
|
422
|
+
end
|
423
|
+
class ActiveRecord::RecordNotUnique < ActiveRecord::WrappedDatabaseException
|
424
|
+
end
|
425
|
+
class ActiveRecord::InvalidForeignKey < ActiveRecord::WrappedDatabaseException
|
426
|
+
end
|
427
|
+
class ActiveRecord::MismatchedForeignKey < ActiveRecord::StatementInvalid
|
428
|
+
def initialize(adapter = nil, message: nil, sql: nil, binds: nil, table: nil, foreign_key: nil, target_table: nil, primary_key: nil, primary_key_column: nil); end
|
429
|
+
end
|
430
|
+
class ActiveRecord::NotNullViolation < ActiveRecord::StatementInvalid
|
431
|
+
end
|
432
|
+
class ActiveRecord::ValueTooLong < ActiveRecord::StatementInvalid
|
433
|
+
end
|
434
|
+
class ActiveRecord::RangeError < ActiveRecord::StatementInvalid
|
435
|
+
end
|
436
|
+
class ActiveRecord::PreparedStatementInvalid < ActiveRecord::ActiveRecordError
|
437
|
+
end
|
438
|
+
class ActiveRecord::NoDatabaseError < ActiveRecord::StatementInvalid
|
439
|
+
end
|
440
|
+
class ActiveRecord::PreparedStatementCacheExpired < ActiveRecord::StatementInvalid
|
441
|
+
end
|
442
|
+
class ActiveRecord::StaleObjectError < ActiveRecord::ActiveRecordError
|
443
|
+
def attempted_action; end
|
444
|
+
def initialize(record = nil, attempted_action = nil); end
|
445
|
+
def record; end
|
446
|
+
end
|
447
|
+
class ActiveRecord::ConfigurationError < ActiveRecord::ActiveRecordError
|
448
|
+
end
|
449
|
+
class ActiveRecord::ReadOnlyRecord < ActiveRecord::ActiveRecordError
|
450
|
+
end
|
451
|
+
class ActiveRecord::Rollback < ActiveRecord::ActiveRecordError
|
452
|
+
end
|
453
|
+
class ActiveRecord::DangerousAttributeError < ActiveRecord::ActiveRecordError
|
454
|
+
end
|
455
|
+
class ActiveRecord::AttributeAssignmentError < ActiveRecord::ActiveRecordError
|
456
|
+
def attribute; end
|
457
|
+
def exception; end
|
458
|
+
def initialize(message = nil, exception = nil, attribute = nil); end
|
459
|
+
end
|
460
|
+
class ActiveRecord::MultiparameterAssignmentErrors < ActiveRecord::ActiveRecordError
|
461
|
+
def errors; end
|
462
|
+
def initialize(errors = nil); end
|
463
|
+
end
|
464
|
+
class ActiveRecord::UnknownPrimaryKey < ActiveRecord::ActiveRecordError
|
465
|
+
def initialize(model = nil, description = nil); end
|
466
|
+
def model; end
|
467
|
+
end
|
468
|
+
class ActiveRecord::ImmutableRelation < ActiveRecord::ActiveRecordError
|
469
|
+
end
|
470
|
+
class ActiveRecord::TransactionIsolationError < ActiveRecord::ActiveRecordError
|
471
|
+
end
|
472
|
+
class ActiveRecord::TransactionRollbackError < ActiveRecord::StatementInvalid
|
473
|
+
end
|
474
|
+
class ActiveRecord::SerializationFailure < ActiveRecord::TransactionRollbackError
|
475
|
+
end
|
476
|
+
class ActiveRecord::Deadlocked < ActiveRecord::TransactionRollbackError
|
477
|
+
end
|
478
|
+
class ActiveRecord::IrreversibleOrderError < ActiveRecord::ActiveRecordError
|
479
|
+
end
|
480
|
+
class ActiveRecord::LockWaitTimeout < ActiveRecord::StatementInvalid
|
481
|
+
end
|
482
|
+
class ActiveRecord::StatementTimeout < ActiveRecord::StatementInvalid
|
483
|
+
end
|
484
|
+
class ActiveRecord::QueryCanceled < ActiveRecord::StatementInvalid
|
485
|
+
end
|
486
|
+
class ActiveRecord::UnknownAttributeReference < ActiveRecord::ActiveRecordError
|
487
|
+
end
|
488
|
+
class ActiveRecord::MigrationError < ActiveRecord::ActiveRecordError
|
489
|
+
def initialize(message = nil); end
|
490
|
+
end
|
491
|
+
class ActiveRecord::IrreversibleMigration < ActiveRecord::MigrationError
|
492
|
+
end
|
493
|
+
class ActiveRecord::DuplicateMigrationVersionError < ActiveRecord::MigrationError
|
494
|
+
def initialize(version = nil); end
|
495
|
+
end
|
496
|
+
class ActiveRecord::DuplicateMigrationNameError < ActiveRecord::MigrationError
|
497
|
+
def initialize(name = nil); end
|
498
|
+
end
|
499
|
+
class ActiveRecord::UnknownMigrationVersionError < ActiveRecord::MigrationError
|
500
|
+
def initialize(version = nil); end
|
501
|
+
end
|
502
|
+
class ActiveRecord::IllegalMigrationNameError < ActiveRecord::MigrationError
|
503
|
+
def initialize(name = nil); end
|
504
|
+
end
|
505
|
+
class ActiveRecord::PendingMigrationError < ActiveRecord::MigrationError
|
506
|
+
def initialize(message = nil); end
|
507
|
+
end
|
508
|
+
class ActiveRecord::ConcurrentMigrationError < ActiveRecord::MigrationError
|
509
|
+
def initialize(message = nil); end
|
510
|
+
end
|
511
|
+
class ActiveRecord::NoEnvironmentInSchemaError < ActiveRecord::MigrationError
|
512
|
+
def initialize; end
|
513
|
+
end
|
514
|
+
class ActiveRecord::ProtectedEnvironmentError < ActiveRecord::ActiveRecordError
|
515
|
+
def initialize(env = nil); end
|
516
|
+
end
|
517
|
+
class ActiveRecord::EnvironmentMismatchError < ActiveRecord::ActiveRecordError
|
518
|
+
def initialize(current: nil, stored: nil); end
|
519
|
+
end
|
520
|
+
class ActiveRecord::Migration
|
521
|
+
def announce(message); end
|
522
|
+
def connection; end
|
523
|
+
def copy(destination, sources, options = nil); end
|
524
|
+
def disable_ddl_transaction; end
|
525
|
+
def down; end
|
526
|
+
def exec_migration(conn, direction); end
|
527
|
+
def execute_block; end
|
528
|
+
def initialize(name = nil, version = nil); end
|
529
|
+
def method_missing(method, *arguments, &block); end
|
530
|
+
def migrate(direction); end
|
531
|
+
def name; end
|
532
|
+
def name=(arg0); end
|
533
|
+
def next_migration_number(number); end
|
534
|
+
def proper_table_name(name, options = nil); end
|
535
|
+
def reversible; end
|
536
|
+
def revert(*migration_classes); end
|
537
|
+
def reverting?; end
|
538
|
+
def run(*migration_classes); end
|
539
|
+
def say(message, subitem = nil); end
|
540
|
+
def say_with_time(message); end
|
541
|
+
def self.[](version); end
|
542
|
+
def self.check_pending!(connection = nil); end
|
543
|
+
def self.current_version; end
|
544
|
+
def self.delegate; end
|
545
|
+
def self.delegate=(arg0); end
|
546
|
+
def self.disable_ddl_transaction!; end
|
547
|
+
def self.disable_ddl_transaction; end
|
548
|
+
def self.disable_ddl_transaction=(arg0); end
|
549
|
+
def self.inherited(subclass); end
|
550
|
+
def self.load_schema_if_pending!; end
|
551
|
+
def self.maintain_test_schema!; end
|
552
|
+
def self.method_missing(name, *args, &block); end
|
553
|
+
def self.migrate(direction); end
|
554
|
+
def self.nearest_delegate; end
|
555
|
+
def self.verbose; end
|
556
|
+
def self.verbose=(obj); end
|
557
|
+
def suppress_messages; end
|
558
|
+
def table_name_options(config = nil); end
|
559
|
+
def up; end
|
560
|
+
def up_only; end
|
561
|
+
def verbose; end
|
562
|
+
def verbose=(obj); end
|
563
|
+
def version; end
|
564
|
+
def version=(arg0); end
|
565
|
+
def write(text = nil); end
|
566
|
+
end
|
567
|
+
class ActiveRecord::Migration::Current < ActiveRecord::Migration
|
568
|
+
end
|
569
|
+
class ActiveRecord::Migration::CheckPending
|
570
|
+
def call(env); end
|
571
|
+
def connection; end
|
572
|
+
def initialize(app); end
|
573
|
+
end
|
574
|
+
class ActiveRecord::Migration::ReversibleBlockHelper < Struct
|
575
|
+
def down; end
|
576
|
+
def reverting; end
|
577
|
+
def reverting=(_); end
|
578
|
+
def self.[](*arg0); end
|
579
|
+
def self.inspect; end
|
580
|
+
def self.members; end
|
581
|
+
def self.new(*arg0); end
|
582
|
+
def up; end
|
583
|
+
end
|
584
|
+
class ActiveRecord::MigrationProxy < Struct
|
585
|
+
def announce(*args, &block); end
|
586
|
+
def basename; end
|
587
|
+
def disable_ddl_transaction(*args, &block); end
|
588
|
+
def filename; end
|
589
|
+
def filename=(_); end
|
590
|
+
def initialize(name, version, filename, scope); end
|
591
|
+
def load_migration; end
|
592
|
+
def migrate(*args, &block); end
|
593
|
+
def migration; end
|
594
|
+
def mtime; end
|
595
|
+
def name; end
|
596
|
+
def name=(_); end
|
597
|
+
def scope; end
|
598
|
+
def scope=(_); end
|
599
|
+
def self.[](*arg0); end
|
600
|
+
def self.inspect; end
|
601
|
+
def self.members; end
|
602
|
+
def self.new(*arg0); end
|
603
|
+
def version; end
|
604
|
+
def version=(_); end
|
605
|
+
def write(*args, &block); end
|
606
|
+
end
|
607
|
+
class ActiveRecord::NullMigration < ActiveRecord::MigrationProxy
|
608
|
+
def initialize; end
|
609
|
+
def mtime; end
|
610
|
+
end
|
611
|
+
class ActiveRecord::MigrationContext
|
612
|
+
def any_migrations?; end
|
613
|
+
def current_environment; end
|
614
|
+
def current_version; end
|
615
|
+
def down(target_version = nil); end
|
616
|
+
def forward(steps = nil); end
|
617
|
+
def get_all_versions; end
|
618
|
+
def initialize(migrations_paths); end
|
619
|
+
def last_migration; end
|
620
|
+
def last_stored_environment; end
|
621
|
+
def migrate(target_version = nil, &block); end
|
622
|
+
def migration_files; end
|
623
|
+
def migrations; end
|
624
|
+
def migrations_paths; end
|
625
|
+
def migrations_status; end
|
626
|
+
def move(direction, steps); end
|
627
|
+
def needs_migration?; end
|
628
|
+
def open; end
|
629
|
+
def parse_migration_filename(filename); end
|
630
|
+
def protected_environment?; end
|
631
|
+
def rollback(steps = nil); end
|
632
|
+
def run(direction, target_version); end
|
633
|
+
def up(target_version = nil); end
|
634
|
+
end
|
635
|
+
class ActiveRecord::Migrator
|
636
|
+
def current; end
|
637
|
+
def current_migration; end
|
638
|
+
def current_version; end
|
639
|
+
def ddl_transaction(migration); end
|
640
|
+
def down?; end
|
641
|
+
def execute_migration_in_transaction(migration, direction); end
|
642
|
+
def finish; end
|
643
|
+
def generate_migrator_advisory_lock_id; end
|
644
|
+
def initialize(direction, migrations, target_version = nil); end
|
645
|
+
def invalid_target?; end
|
646
|
+
def load_migrated; end
|
647
|
+
def migrate; end
|
648
|
+
def migrate_without_lock; end
|
649
|
+
def migrated; end
|
650
|
+
def migrations; end
|
651
|
+
def pending_migrations; end
|
652
|
+
def ran?(migration); end
|
653
|
+
def record_environment; end
|
654
|
+
def record_version_state_after_migrating(version); end
|
655
|
+
def run; end
|
656
|
+
def run_without_lock; end
|
657
|
+
def runnable; end
|
658
|
+
def self.current_version; end
|
659
|
+
def self.migrations_path=(path); end
|
660
|
+
def self.migrations_paths; end
|
661
|
+
def self.migrations_paths=(arg0); end
|
662
|
+
def start; end
|
663
|
+
def target; end
|
664
|
+
def up?; end
|
665
|
+
def use_advisory_lock?; end
|
666
|
+
def use_transaction?(migration); end
|
667
|
+
def validate(migrations); end
|
668
|
+
def with_advisory_lock; end
|
669
|
+
end
|
670
|
+
module ActiveRecord::Migration::JoinTable
|
671
|
+
def find_join_table_name(table_1, table_2, options = nil); end
|
672
|
+
def join_table_name(table_1, table_2); end
|
673
|
+
end
|
674
|
+
module ActiveRecord::ConnectionAdapters::SchemaStatements
|
675
|
+
def add_belongs_to(table_name, ref_name, **options); end
|
676
|
+
def add_column(table_name, column_name, type, options = nil); end
|
677
|
+
def add_column_for_alter(table_name, column_name, type, options = nil); end
|
678
|
+
def add_foreign_key(from_table, to_table, options = nil); end
|
679
|
+
def add_index(table_name, column_name, options = nil); end
|
680
|
+
def add_index_options(table_name, column_name, comment: nil, **options); end
|
681
|
+
def add_index_sort_order(quoted_columns, **options); end
|
682
|
+
def add_options_for_index_columns(quoted_columns, **options); end
|
683
|
+
def add_reference(table_name, ref_name, **options); end
|
684
|
+
def add_timestamps(table_name, options = nil); end
|
685
|
+
def assume_migrated_upto_version(version, migrations_paths); end
|
686
|
+
def can_remove_index_by_name?(options); end
|
687
|
+
def change_column(table_name, column_name, type, options = nil); end
|
688
|
+
def change_column_comment(table_name, column_name, comment); end
|
689
|
+
def change_column_default(table_name, column_name, default_or_changes); end
|
690
|
+
def change_column_null(table_name, column_name, null, default = nil); end
|
691
|
+
def change_table(table_name, options = nil); end
|
692
|
+
def change_table_comment(table_name, comment); end
|
693
|
+
def column_exists?(table_name, column_name, type = nil, options = nil); end
|
694
|
+
def column_options_keys; end
|
695
|
+
def columns(table_name); end
|
696
|
+
def columns_for_distinct(columns, orders); end
|
697
|
+
def create_alter_table(name); end
|
698
|
+
def create_join_table(table_1, table_2, column_options: nil, **options); end
|
699
|
+
def create_schema_dumper(options); end
|
700
|
+
def create_table(table_name, comment: nil, **options); end
|
701
|
+
def create_table_definition(*args); end
|
702
|
+
def data_source_exists?(name); end
|
703
|
+
def data_source_sql(name = nil, type: nil); end
|
704
|
+
def data_sources; end
|
705
|
+
def drop_join_table(table_1, table_2, options = nil); end
|
706
|
+
def drop_table(table_name, options = nil); end
|
707
|
+
def dump_schema_information; end
|
708
|
+
def extract_foreign_key_action(specifier); end
|
709
|
+
def extract_new_default_value(default_or_changes); end
|
710
|
+
def fetch_type_metadata(sql_type); end
|
711
|
+
def foreign_key_column_for(table_name); end
|
712
|
+
def foreign_key_exists?(from_table, options_or_to_table = nil); end
|
713
|
+
def foreign_key_for!(from_table, options_or_to_table = nil); end
|
714
|
+
def foreign_key_for(from_table, options_or_to_table = nil); end
|
715
|
+
def foreign_key_name(table_name, options); end
|
716
|
+
def foreign_key_options(from_table, to_table, options); end
|
717
|
+
def foreign_keys(table_name); end
|
718
|
+
def index_column_names(column_names); end
|
719
|
+
def index_exists?(table_name, column_name, options = nil); end
|
720
|
+
def index_name(table_name, options); end
|
721
|
+
def index_name_exists?(table_name, index_name); end
|
722
|
+
def index_name_for_remove(table_name, options = nil); end
|
723
|
+
def index_name_options(column_names); end
|
724
|
+
def indexes(table_name); end
|
725
|
+
def insert_versions_sql(versions); end
|
726
|
+
def internal_string_options_for_primary_key; end
|
727
|
+
def native_database_types; end
|
728
|
+
def options_for_index_columns(options); end
|
729
|
+
def options_include_default?(options); end
|
730
|
+
def primary_key(table_name); end
|
731
|
+
def quoted_columns_for_index(column_names, **options); end
|
732
|
+
def quoted_scope(name = nil, type: nil); end
|
733
|
+
def remove_belongs_to(table_name, ref_name, foreign_key: nil, polymorphic: nil, **options); end
|
734
|
+
def remove_column(table_name, column_name, type = nil, options = nil); end
|
735
|
+
def remove_column_for_alter(table_name, column_name, type = nil, options = nil); end
|
736
|
+
def remove_columns(table_name, *column_names); end
|
737
|
+
def remove_columns_for_alter(table_name, *column_names); end
|
738
|
+
def remove_foreign_key(from_table, options_or_to_table = nil); end
|
739
|
+
def remove_index(table_name, options = nil); end
|
740
|
+
def remove_reference(table_name, ref_name, foreign_key: nil, polymorphic: nil, **options); end
|
741
|
+
def remove_timestamps(table_name, options = nil); end
|
742
|
+
def rename_column(table_name, column_name, new_column_name); end
|
743
|
+
def rename_column_indexes(table_name, column_name, new_column_name); end
|
744
|
+
def rename_index(table_name, old_name, new_name); end
|
745
|
+
def rename_table(table_name, new_name); end
|
746
|
+
def rename_table_indexes(table_name, new_name); end
|
747
|
+
def schema_creation; end
|
748
|
+
def table_alias_for(table_name); end
|
749
|
+
def table_comment(table_name); end
|
750
|
+
def table_exists?(table_name); end
|
751
|
+
def table_options(table_name); end
|
752
|
+
def tables; end
|
753
|
+
def type_to_sql(type, limit: nil, precision: nil, scale: nil, **arg4); end
|
754
|
+
def update_table_definition(table_name, base); end
|
755
|
+
def validate_index_length!(table_name, new_name, internal = nil); end
|
756
|
+
def view_exists?(view_name); end
|
757
|
+
def views; end
|
758
|
+
include ActiveRecord::Migration::JoinTable
|
759
|
+
end
|
760
|
+
module ActiveRecord::ConnectionAdapters::DatabaseLimits
|
761
|
+
def allowed_index_name_length; end
|
762
|
+
def bind_params_length; end
|
763
|
+
def column_name_length; end
|
764
|
+
def columns_per_multicolumn_index; end
|
765
|
+
def columns_per_table; end
|
766
|
+
def in_clause_length; end
|
767
|
+
def index_name_length; end
|
768
|
+
def indexes_per_table; end
|
769
|
+
def joins_per_query; end
|
770
|
+
def sql_query_length; end
|
771
|
+
def table_alias_length; end
|
772
|
+
def table_name_length; end
|
773
|
+
end
|
774
|
+
module ActiveRecord::ConnectionAdapters::QueryCache
|
775
|
+
def cache; end
|
776
|
+
def cache_sql(sql, name, binds); end
|
777
|
+
def clear_query_cache; end
|
778
|
+
def configure_query_cache!; end
|
779
|
+
def disable_query_cache!; end
|
780
|
+
def enable_query_cache!; end
|
781
|
+
def initialize(*arg0); end
|
782
|
+
def locked?(arel); end
|
783
|
+
def query_cache; end
|
784
|
+
def query_cache_enabled; end
|
785
|
+
def select_all(arel, name = nil, binds = nil, preparable: nil); end
|
786
|
+
def self.dirties_query_cache(base, *method_names); end
|
787
|
+
def self.included(base); end
|
788
|
+
def uncached; end
|
789
|
+
end
|
790
|
+
module ActiveRecord::ConnectionAdapters::QueryCache::ConnectionPoolConfiguration
|
791
|
+
def disable_query_cache!; end
|
792
|
+
def enable_query_cache!; end
|
793
|
+
def initialize(*arg0); end
|
794
|
+
def query_cache_enabled; end
|
795
|
+
end
|
796
|
+
module ActiveRecord::ConnectionAdapters::Savepoints
|
797
|
+
def create_savepoint(name = nil); end
|
798
|
+
def current_savepoint_name; end
|
799
|
+
def exec_rollback_to_savepoint(name = nil); end
|
800
|
+
def release_savepoint(name = nil); end
|
801
|
+
end
|
802
|
+
class ActiveRecord::ConnectionAdapters::AbstractAdapter::Version
|
803
|
+
def <=>(version_string); end
|
804
|
+
def initialize(version_string); end
|
805
|
+
include Comparable
|
806
|
+
end
|
807
|
+
module ActiveRecord::Scoping
|
808
|
+
def initialize_internals_callback; end
|
809
|
+
def populate_with_current_scope_attributes; end
|
810
|
+
extend ActiveSupport::Autoload
|
811
|
+
extend ActiveSupport::Concern
|
812
|
+
end
|
813
|
+
module ActiveRecord::Scoping::ClassMethods
|
814
|
+
def current_scope(skip_inherited_scope = nil); end
|
815
|
+
def current_scope=(scope); end
|
816
|
+
def scope_attributes; end
|
817
|
+
def scope_attributes?; end
|
818
|
+
end
|
819
|
+
class ActiveRecord::Scoping::ScopeRegistry
|
820
|
+
def initialize; end
|
821
|
+
def raise_invalid_scope_type!(scope_type); end
|
822
|
+
def set_value_for(scope_type, model, value); end
|
823
|
+
def value_for(scope_type, model, skip_inherited_scope = nil); end
|
824
|
+
extend ActiveSupport::PerThreadRegistry
|
825
|
+
end
|
826
|
+
module ActiveRecord::Coders
|
827
|
+
end
|
828
|
+
module ActiveRecord::Locking
|
829
|
+
extend ActiveSupport::Autoload
|
830
|
+
end
|
831
|
+
module ActiveRecord::Tasks
|
832
|
+
extend ActiveSupport::Autoload
|
833
|
+
end
|
834
|
+
class ActiveRecord::Railtie < Rails::Railtie
|
835
|
+
end
|
836
|
+
class ActiveRecord::Schema < ActiveRecord::Migration::Current
|
837
|
+
def define(info, &block); end
|
838
|
+
def migrations_paths; end
|
839
|
+
def self.define(info = nil, &block); end
|
840
|
+
end
|
841
|
+
module ActiveRecord::Migration::Compatibility
|
842
|
+
def self.find(version); end
|
843
|
+
end
|
844
|
+
class ActiveRecord::Migration::Compatibility::V5_1 < ActiveRecord::Migration::Current
|
845
|
+
def change_column(table_name, column_name, type, options = nil); end
|
846
|
+
def create_table(table_name, options = nil); end
|
847
|
+
end
|
848
|
+
class ActiveRecord::Migration::Compatibility::V5_0 < ActiveRecord::Migration::Compatibility::V5_1
|
849
|
+
def add_belongs_to(table_name, ref_name, **options); end
|
850
|
+
def add_column(table_name, column_name, type, options = nil); end
|
851
|
+
def add_reference(table_name, ref_name, **options); end
|
852
|
+
def change_table(table_name, options = nil); end
|
853
|
+
def compatible_table_definition(t); end
|
854
|
+
def create_join_table(table_1, table_2, column_options: nil, **options); end
|
855
|
+
def create_table(table_name, options = nil); end
|
856
|
+
end
|
857
|
+
module ActiveRecord::Migration::Compatibility::V5_0::TableDefinition
|
858
|
+
def belongs_to(*args, **options); end
|
859
|
+
def primary_key(name, type = nil, **options); end
|
860
|
+
def references(*args, **options); end
|
861
|
+
end
|
862
|
+
class ActiveRecord::Migration::Compatibility::V4_2 < ActiveRecord::Migration::Compatibility::V5_0
|
863
|
+
def add_belongs_to(*arg0, **options); end
|
864
|
+
def add_reference(*arg0, **options); end
|
865
|
+
def add_timestamps(_, **options); end
|
866
|
+
def change_table(table_name, options = nil); end
|
867
|
+
def compatible_table_definition(t); end
|
868
|
+
def create_table(table_name, options = nil); end
|
869
|
+
def index_exists?(table_name, column_name, options = nil); end
|
870
|
+
def index_name_for_remove(table_name, options = nil); end
|
871
|
+
def remove_index(table_name, options = nil); end
|
872
|
+
end
|
873
|
+
module ActiveRecord::Migration::Compatibility::V4_2::TableDefinition
|
874
|
+
def belongs_to(*arg0, **options); end
|
875
|
+
def references(*arg0, **options); end
|
876
|
+
def timestamps(**options); end
|
877
|
+
end
|
878
|
+
module ActiveRecord::AttributeDecorators
|
879
|
+
extend ActiveSupport::Concern
|
880
|
+
end
|
881
|
+
module ActiveRecord::AttributeDecorators::ClassMethods
|
882
|
+
def decorate_attribute_type(column_name, decorator_name, &block); end
|
883
|
+
def decorate_matching_attribute_types(matcher, decorator_name, &block); end
|
884
|
+
def load_schema!; end
|
885
|
+
end
|
886
|
+
class ActiveRecord::AttributeDecorators::TypeDecorator
|
887
|
+
def apply(name, type); end
|
888
|
+
def clear(*args, &block); end
|
889
|
+
def decorators_for(name, type); end
|
890
|
+
def initialize(decorations = nil); end
|
891
|
+
def matching(name, type); end
|
892
|
+
def merge(*args); end
|
893
|
+
end
|
894
|
+
module ActiveRecord::DefineCallbacks
|
895
|
+
extend ActiveSupport::Concern
|
896
|
+
end
|
897
|
+
module ActiveRecord::DefineCallbacks::ClassMethods
|
898
|
+
include ActiveModel::Callbacks
|
899
|
+
end
|
900
|
+
class ActiveRecord::LogSubscriber < ActiveSupport::LogSubscriber
|
901
|
+
def self.reset_runtime; end
|
902
|
+
def self.runtime; end
|
903
|
+
def self.runtime=(value); end
|
904
|
+
end
|
905
|
+
class ActiveRecord::ExplainRegistry
|
906
|
+
def collect; end
|
907
|
+
def collect=(arg0); end
|
908
|
+
def collect?; end
|
909
|
+
def initialize; end
|
910
|
+
def queries; end
|
911
|
+
def queries=(arg0); end
|
912
|
+
def reset; end
|
913
|
+
extend ActiveSupport::PerThreadRegistry
|
914
|
+
end
|
915
|
+
class ActiveRecord::ExplainSubscriber
|
916
|
+
def finish(name, id, payload); end
|
917
|
+
def ignore_payload?(payload); end
|
918
|
+
def start(name, id, payload); end
|
919
|
+
end
|
920
|
+
module ActiveRecord::Delegation
|
921
|
+
def &(*args, &block); end
|
922
|
+
def +(*args, &block); end
|
923
|
+
def -(*args, &block); end
|
924
|
+
def [](*args, &block); end
|
925
|
+
def as_json(*args, &block); end
|
926
|
+
def compact(*args, &block); end
|
927
|
+
def connection(*args, &block); end
|
928
|
+
def each(*args, &block); end
|
929
|
+
def encode_with(*args, &block); end
|
930
|
+
def in_groups(*args, &block); end
|
931
|
+
def in_groups_of(*args, &block); end
|
932
|
+
def index(*args, &block); end
|
933
|
+
def join(*args, &block); end
|
934
|
+
def length(*args, &block); end
|
935
|
+
def primary_key(*args, &block); end
|
936
|
+
def respond_to_missing?(method, _); end
|
937
|
+
def reverse(*args, &block); end
|
938
|
+
def rindex(*args, &block); end
|
939
|
+
def rotate(*args, &block); end
|
940
|
+
def sample(*args, &block); end
|
941
|
+
def shuffle(*args, &block); end
|
942
|
+
def slice(*args, &block); end
|
943
|
+
def split(*args, &block); end
|
944
|
+
def to_formatted_s(*args, &block); end
|
945
|
+
def to_sentence(*args, &block); end
|
946
|
+
def to_xml(*args, &block); end
|
947
|
+
def uniq(*args, &block); end
|
948
|
+
def |(*args, &block); end
|
949
|
+
extend ActiveSupport::Concern
|
950
|
+
end
|
951
|
+
module ActiveRecord::Delegation::DelegateCache
|
952
|
+
def generate_relation_method(method); end
|
953
|
+
def generated_relation_methods; end
|
954
|
+
def include_relation_methods(delegate); end
|
955
|
+
def inherited(child_class); end
|
956
|
+
def initialize_relation_delegate_cache; end
|
957
|
+
def relation_delegate_class(klass); end
|
958
|
+
end
|
959
|
+
module ActiveRecord::Delegation::ClassSpecificRelation
|
960
|
+
def method_missing(method, *args, &block); end
|
961
|
+
extend ActiveSupport::Concern
|
962
|
+
end
|
963
|
+
module ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
|
964
|
+
def delegate_to_scoped_klass(method); end
|
965
|
+
def name; end
|
966
|
+
end
|
967
|
+
module ActiveRecord::Delegation::ClassMethods
|
968
|
+
def create(klass, *args); end
|
969
|
+
def relation_class_for(klass); end
|
970
|
+
end
|
971
|
+
module ActiveRecord::Attributes
|
972
|
+
extend ActiveSupport::Concern
|
973
|
+
end
|
974
|
+
module ActiveRecord::Attributes::ClassMethods
|
975
|
+
def attribute(name, cast_type = nil, **options); end
|
976
|
+
def define_attribute(name, cast_type, default: nil, user_provided_default: nil); end
|
977
|
+
def define_default_attribute(name, value, type, from_user:); end
|
978
|
+
def load_schema!; end
|
979
|
+
end
|
980
|
+
module ActiveRecord::TypeCaster
|
981
|
+
end
|
982
|
+
class ActiveRecord::TypeCaster::Map
|
983
|
+
def initialize(types); end
|
984
|
+
def type_cast_for_database(attr_name, value); end
|
985
|
+
def types; end
|
986
|
+
end
|
987
|
+
class ActiveRecord::TypeCaster::Connection
|
988
|
+
def column_for(attribute_name); end
|
989
|
+
def connection(*args, &block); end
|
990
|
+
def initialize(klass, table_name); end
|
991
|
+
def table_name; end
|
992
|
+
def type_cast_for_database(attribute_name, value); end
|
993
|
+
end
|
994
|
+
module ActiveRecord::ConnectionHandling
|
995
|
+
def clear_active_connections!(*args, &block); end
|
996
|
+
def clear_all_connections!(*args, &block); end
|
997
|
+
def clear_cache!; end
|
998
|
+
def clear_reloadable_connections!(*args, &block); end
|
999
|
+
def connected?; end
|
1000
|
+
def connection; end
|
1001
|
+
def connection_config; end
|
1002
|
+
def connection_pool; end
|
1003
|
+
def connection_specification_name; end
|
1004
|
+
def connection_specification_name=(arg0); end
|
1005
|
+
def establish_connection(config = nil); end
|
1006
|
+
def flush_idle_connections!(*args, &block); end
|
1007
|
+
def remove_connection(name = nil); end
|
1008
|
+
def retrieve_connection; end
|
1009
|
+
def sqlite3_connection(config); end
|
1010
|
+
end
|
1011
|
+
class ActiveRecord::ConnectionHandling::MergeAndResolveDefaultUrlConfig
|
1012
|
+
def config; end
|
1013
|
+
def initialize(raw_configurations); end
|
1014
|
+
def resolve; end
|
1015
|
+
end
|
1016
|
+
class ActiveRecord::QueryCache
|
1017
|
+
def self.complete(pools); end
|
1018
|
+
def self.install_executor_hooks(executor = nil); end
|
1019
|
+
def self.run; end
|
1020
|
+
end
|
1021
|
+
module ActiveRecord::QueryCache::ClassMethods
|
1022
|
+
def cache(&block); end
|
1023
|
+
def uncached(&block); end
|
1024
|
+
end
|
1025
|
+
module ActiveRecord::Querying
|
1026
|
+
def any?(*args, &block); end
|
1027
|
+
def average(*args, &block); end
|
1028
|
+
def calculate(*args, &block); end
|
1029
|
+
def count(*args, &block); end
|
1030
|
+
def count_by_sql(sql); end
|
1031
|
+
def create_with(*args, &block); end
|
1032
|
+
def delete_all(*args, &block); end
|
1033
|
+
def destroy_all(*args, &block); end
|
1034
|
+
def distinct(*args, &block); end
|
1035
|
+
def eager_load(*args, &block); end
|
1036
|
+
def except(*args, &block); end
|
1037
|
+
def exists?(*args, &block); end
|
1038
|
+
def extending(*args, &block); end
|
1039
|
+
def fifth!(*args, &block); end
|
1040
|
+
def fifth(*args, &block); end
|
1041
|
+
def find(*args, &block); end
|
1042
|
+
def find_by!(*args, &block); end
|
1043
|
+
def find_by(*args, &block); end
|
1044
|
+
def find_by_sql(sql, binds = nil, preparable: nil, &block); end
|
1045
|
+
def find_each(*args, &block); end
|
1046
|
+
def find_in_batches(*args, &block); end
|
1047
|
+
def find_or_create_by!(*args, &block); end
|
1048
|
+
def find_or_create_by(*args, &block); end
|
1049
|
+
def find_or_initialize_by(*args, &block); end
|
1050
|
+
def first!(*args, &block); end
|
1051
|
+
def first(*args, &block); end
|
1052
|
+
def first_or_create!(*args, &block); end
|
1053
|
+
def first_or_create(*args, &block); end
|
1054
|
+
def first_or_initialize(*args, &block); end
|
1055
|
+
def forty_two!(*args, &block); end
|
1056
|
+
def forty_two(*args, &block); end
|
1057
|
+
def fourth!(*args, &block); end
|
1058
|
+
def fourth(*args, &block); end
|
1059
|
+
def from(*args, &block); end
|
1060
|
+
def group(*args, &block); end
|
1061
|
+
def having(*args, &block); end
|
1062
|
+
def ids(*args, &block); end
|
1063
|
+
def in_batches(*args, &block); end
|
1064
|
+
def includes(*args, &block); end
|
1065
|
+
def joins(*args, &block); end
|
1066
|
+
def last!(*args, &block); end
|
1067
|
+
def last(*args, &block); end
|
1068
|
+
def left_joins(*args, &block); end
|
1069
|
+
def left_outer_joins(*args, &block); end
|
1070
|
+
def limit(*args, &block); end
|
1071
|
+
def lock(*args, &block); end
|
1072
|
+
def many?(*args, &block); end
|
1073
|
+
def maximum(*args, &block); end
|
1074
|
+
def merge(*args, &block); end
|
1075
|
+
def minimum(*args, &block); end
|
1076
|
+
def none(*args, &block); end
|
1077
|
+
def none?(*args, &block); end
|
1078
|
+
def offset(*args, &block); end
|
1079
|
+
def one?(*args, &block); end
|
1080
|
+
def or(*args, &block); end
|
1081
|
+
def order(*args, &block); end
|
1082
|
+
def pluck(*args, &block); end
|
1083
|
+
def preload(*args, &block); end
|
1084
|
+
def readonly(*args, &block); end
|
1085
|
+
def references(*args, &block); end
|
1086
|
+
def reorder(*args, &block); end
|
1087
|
+
def rewhere(*args, &block); end
|
1088
|
+
def second!(*args, &block); end
|
1089
|
+
def second(*args, &block); end
|
1090
|
+
def second_to_last!(*args, &block); end
|
1091
|
+
def second_to_last(*args, &block); end
|
1092
|
+
def select(*args, &block); end
|
1093
|
+
def sum(*args, &block); end
|
1094
|
+
def take!(*args, &block); end
|
1095
|
+
def take(*args, &block); end
|
1096
|
+
def third!(*args, &block); end
|
1097
|
+
def third(*args, &block); end
|
1098
|
+
def third_to_last!(*args, &block); end
|
1099
|
+
def third_to_last(*args, &block); end
|
1100
|
+
def unscope(*args, &block); end
|
1101
|
+
def update_all(*args, &block); end
|
1102
|
+
def where(*args, &block); end
|
1103
|
+
end
|
1104
|
+
module ActiveRecord::Translation
|
1105
|
+
def i18n_scope; end
|
1106
|
+
def lookup_ancestors; end
|
1107
|
+
include ActiveModel::Translation
|
1108
|
+
end
|
1109
|
+
module ActiveRecord::DynamicMatchers
|
1110
|
+
def method_missing(name, *arguments, &block); end
|
1111
|
+
def respond_to_missing?(name, _); end
|
1112
|
+
end
|
1113
|
+
class ActiveRecord::DynamicMatchers::Method
|
1114
|
+
def attribute_names; end
|
1115
|
+
def attributes_hash; end
|
1116
|
+
def body; end
|
1117
|
+
def define; end
|
1118
|
+
def finder; end
|
1119
|
+
def initialize(model, name); end
|
1120
|
+
def model; end
|
1121
|
+
def name; end
|
1122
|
+
def self.match(model, name); end
|
1123
|
+
def self.matchers; end
|
1124
|
+
def self.pattern; end
|
1125
|
+
def self.prefix; end
|
1126
|
+
def self.suffix; end
|
1127
|
+
def signature; end
|
1128
|
+
def valid?; end
|
1129
|
+
end
|
1130
|
+
class ActiveRecord::DynamicMatchers::FindBy < ActiveRecord::DynamicMatchers::Method
|
1131
|
+
def finder; end
|
1132
|
+
def self.prefix; end
|
1133
|
+
end
|
1134
|
+
class ActiveRecord::DynamicMatchers::FindByBang < ActiveRecord::DynamicMatchers::Method
|
1135
|
+
def finder; end
|
1136
|
+
def self.prefix; end
|
1137
|
+
def self.suffix; end
|
1138
|
+
end
|
1139
|
+
module ActiveRecord::Explain
|
1140
|
+
def collecting_queries_for_explain; end
|
1141
|
+
def exec_explain(queries); end
|
1142
|
+
def render_bind(attr); end
|
1143
|
+
end
|
1144
|
+
module ActiveRecord::Type
|
1145
|
+
def self.add_modifier(*args, &block); end
|
1146
|
+
def self.current_adapter_name; end
|
1147
|
+
def self.default_value; end
|
1148
|
+
def self.lookup(*args, adapter: nil, **kwargs); end
|
1149
|
+
def self.register(type_name, klass = nil, **options, &block); end
|
1150
|
+
def self.registry; end
|
1151
|
+
def self.registry=(arg0); end
|
1152
|
+
end
|
1153
|
+
module ActiveRecord::Type::Internal
|
1154
|
+
end
|
1155
|
+
module ActiveRecord::Type::Internal::Timezone
|
1156
|
+
def default_timezone; end
|
1157
|
+
def is_utc?; end
|
1158
|
+
end
|
1159
|
+
class ActiveRecord::Type::Date < ActiveModel::Type::Date
|
1160
|
+
include ActiveRecord::Type::Internal::Timezone
|
1161
|
+
end
|
1162
|
+
class ActiveRecord::Type::DateTime < ActiveModel::Type::DateTime
|
1163
|
+
include ActiveRecord::Type::Internal::Timezone
|
1164
|
+
end
|
1165
|
+
class ActiveRecord::Type::DecimalWithoutScale < ActiveModel::Type::BigInteger
|
1166
|
+
def type; end
|
1167
|
+
def type_cast_for_schema(value); end
|
1168
|
+
end
|
1169
|
+
class ActiveRecord::Type::Json < ActiveModel::Type::Value
|
1170
|
+
def accessor; end
|
1171
|
+
def changed_in_place?(raw_old_value, new_value); end
|
1172
|
+
def deserialize(value); end
|
1173
|
+
def serialize(value); end
|
1174
|
+
def type; end
|
1175
|
+
include ActiveModel::Type::Helpers::Mutable
|
1176
|
+
end
|
1177
|
+
class ActiveRecord::Type::Time < ActiveModel::Type::Time
|
1178
|
+
def serialize(value); end
|
1179
|
+
include ActiveRecord::Type::Internal::Timezone
|
1180
|
+
end
|
1181
|
+
class ActiveRecord::Type::Time::Value < Anonymous_Delegator_13
|
1182
|
+
end
|
1183
|
+
class ActiveRecord::Type::Text < ActiveModel::Type::String
|
1184
|
+
def type; end
|
1185
|
+
end
|
1186
|
+
class ActiveRecord::Type::UnsignedInteger < ActiveModel::Type::Integer
|
1187
|
+
def max_value; end
|
1188
|
+
def min_value; end
|
1189
|
+
end
|
1190
|
+
class ActiveRecord::Type::Serialized < Anonymous_Delegator_14
|
1191
|
+
def accessor; end
|
1192
|
+
def assert_valid_value(value); end
|
1193
|
+
def changed_in_place?(raw_old_value, value); end
|
1194
|
+
def coder; end
|
1195
|
+
def default_value?(value); end
|
1196
|
+
def deserialize(value); end
|
1197
|
+
def encoded(value); end
|
1198
|
+
def force_equality?(value); end
|
1199
|
+
def initialize(subtype, coder); end
|
1200
|
+
def inspect; end
|
1201
|
+
def serialize(value); end
|
1202
|
+
def subtype; end
|
1203
|
+
include ActiveModel::Type::Helpers::Mutable
|
1204
|
+
end
|
1205
|
+
class ActiveRecord::Type::AdapterSpecificRegistry < ActiveModel::Type::Registry
|
1206
|
+
def add_modifier(options, klass, **args); end
|
1207
|
+
def find_registration(symbol, *args); end
|
1208
|
+
def registration_klass; end
|
1209
|
+
end
|
1210
|
+
class ActiveRecord::Type::Registration
|
1211
|
+
def <=>(other); end
|
1212
|
+
def adapter; end
|
1213
|
+
def block; end
|
1214
|
+
def call(_registry, *args, adapter: nil, **kwargs); end
|
1215
|
+
def conflicts_with?(other); end
|
1216
|
+
def has_adapter_conflict?(other); end
|
1217
|
+
def initialize(name, block, adapter: nil, override: nil); end
|
1218
|
+
def matches?(type_name, *args, **kwargs); end
|
1219
|
+
def matches_adapter?(adapter: nil, **arg1); end
|
1220
|
+
def name; end
|
1221
|
+
def override; end
|
1222
|
+
def priority; end
|
1223
|
+
def priority_except_adapter; end
|
1224
|
+
def same_priority_except_adapter?(other); end
|
1225
|
+
end
|
1226
|
+
class ActiveRecord::Type::DecorationRegistration < ActiveRecord::Type::Registration
|
1227
|
+
def call(registry, *args, **kwargs); end
|
1228
|
+
def initialize(options, klass, adapter: nil); end
|
1229
|
+
def klass; end
|
1230
|
+
def matches?(*args, **kwargs); end
|
1231
|
+
def matches_options?(**kwargs); end
|
1232
|
+
def options; end
|
1233
|
+
def priority; end
|
1234
|
+
end
|
1235
|
+
class ActiveRecord::TypeConflictError < StandardError
|
1236
|
+
end
|
1237
|
+
class ActiveRecord::Type::TypeMap
|
1238
|
+
def alias_type(key, target_key); end
|
1239
|
+
def clear; end
|
1240
|
+
def fetch(lookup_key, *args, &block); end
|
1241
|
+
def initialize; end
|
1242
|
+
def lookup(lookup_key, *args); end
|
1243
|
+
def perform_fetch(lookup_key, *args); end
|
1244
|
+
def register_type(key, value = nil, &block); end
|
1245
|
+
end
|
1246
|
+
class ActiveRecord::Type::HashLookupTypeMap < ActiveRecord::Type::TypeMap
|
1247
|
+
def alias_type(type, alias_type); end
|
1248
|
+
def key?(key); end
|
1249
|
+
def keys; end
|
1250
|
+
def perform_fetch(type, *args, &block); end
|
1251
|
+
end
|
1252
|
+
module ActiveRecord::Enum
|
1253
|
+
def _enum_methods_module; end
|
1254
|
+
def detect_enum_conflict!(enum_name, method_name, klass_method = nil); end
|
1255
|
+
def enum(definitions); end
|
1256
|
+
def inherited(base); end
|
1257
|
+
def raise_conflict_error(enum_name, method_name, type: nil, source: nil); end
|
1258
|
+
def self.extended(base); end
|
1259
|
+
end
|
1260
|
+
class ActiveRecord::Enum::EnumType < ActiveModel::Type::Value
|
1261
|
+
def assert_valid_value(value); end
|
1262
|
+
def cast(value); end
|
1263
|
+
def deserialize(value); end
|
1264
|
+
def initialize(name, mapping, subtype); end
|
1265
|
+
def mapping; end
|
1266
|
+
def name; end
|
1267
|
+
def serialize(value); end
|
1268
|
+
def subtype; end
|
1269
|
+
def type(*args, &block); end
|
1270
|
+
end
|
1271
|
+
module ActiveRecord::CollectionCacheKey
|
1272
|
+
def collection_cache_key(collection = nil, timestamp_column = nil); end
|
1273
|
+
end
|
1274
|
+
module ActiveRecord::Core
|
1275
|
+
def <=>(other_object); end
|
1276
|
+
def ==(comparison_object); end
|
1277
|
+
def connection_handler; end
|
1278
|
+
def custom_inspect_method_defined?; end
|
1279
|
+
def encode_with(coder); end
|
1280
|
+
def eql?(comparison_object); end
|
1281
|
+
def freeze; end
|
1282
|
+
def frozen?; end
|
1283
|
+
def hash; end
|
1284
|
+
def init_internals; end
|
1285
|
+
def init_with(coder); end
|
1286
|
+
def initialize(attributes = nil); end
|
1287
|
+
def initialize_dup(other); end
|
1288
|
+
def initialize_internals_callback; end
|
1289
|
+
def inspect; end
|
1290
|
+
def pretty_print(pp); end
|
1291
|
+
def readonly!; end
|
1292
|
+
def readonly?; end
|
1293
|
+
def slice(*methods); end
|
1294
|
+
def thaw; end
|
1295
|
+
def to_ary; end
|
1296
|
+
extend ActiveSupport::Concern
|
1297
|
+
end
|
1298
|
+
module ActiveRecord::Core::ClassMethods
|
1299
|
+
def ===(object); end
|
1300
|
+
def allocate; end
|
1301
|
+
def arel_attribute(name, table = nil); end
|
1302
|
+
def arel_table; end
|
1303
|
+
def cached_find_by_statement(key, &block); end
|
1304
|
+
def find(*ids); end
|
1305
|
+
def find_by!(*args); end
|
1306
|
+
def find_by(*args); end
|
1307
|
+
def generated_association_methods; end
|
1308
|
+
def inherited(child_class); end
|
1309
|
+
def initialize_find_by_cache; end
|
1310
|
+
def initialize_generated_modules; end
|
1311
|
+
def inspect; end
|
1312
|
+
def predicate_builder; end
|
1313
|
+
def relation; end
|
1314
|
+
def table_metadata; end
|
1315
|
+
def type_caster; end
|
1316
|
+
end
|
1317
|
+
class ActiveRecord::ConnectionAdapters::ConnectionSpecification
|
1318
|
+
def adapter_method; end
|
1319
|
+
def config; end
|
1320
|
+
def initialize(name, config, adapter_method); end
|
1321
|
+
def initialize_dup(original); end
|
1322
|
+
def name; end
|
1323
|
+
def to_hash; end
|
1324
|
+
end
|
1325
|
+
class ActiveRecord::ConnectionAdapters::ConnectionSpecification::ConnectionUrlResolver
|
1326
|
+
def database_from_path; end
|
1327
|
+
def initialize(url); end
|
1328
|
+
def query_hash; end
|
1329
|
+
def raw_config; end
|
1330
|
+
def to_hash; end
|
1331
|
+
def uri; end
|
1332
|
+
def uri_parser; end
|
1333
|
+
end
|
1334
|
+
class ActiveRecord::ConnectionAdapters::ConnectionSpecification::Resolver
|
1335
|
+
def configurations; end
|
1336
|
+
def initialize(configurations); end
|
1337
|
+
def resolve(config); end
|
1338
|
+
def resolve_all; end
|
1339
|
+
def resolve_connection(spec); end
|
1340
|
+
def resolve_hash_connection(spec); end
|
1341
|
+
def resolve_symbol_connection(spec); end
|
1342
|
+
def resolve_url_connection(url); end
|
1343
|
+
def spec(config); end
|
1344
|
+
end
|
1345
|
+
class ActiveRecord::ConnectionTimeoutError < ActiveRecord::ConnectionNotEstablished
|
1346
|
+
end
|
1347
|
+
class ActiveRecord::ExclusiveConnectionTimeoutError < ActiveRecord::ConnectionTimeoutError
|
1348
|
+
end
|
1349
|
+
class ActiveRecord::ConnectionAdapters::ConnectionPool
|
1350
|
+
def acquire_connection(checkout_timeout); end
|
1351
|
+
def active_connection?; end
|
1352
|
+
def adopt_connection(conn); end
|
1353
|
+
def attempt_to_checkout_all_existing_connections(raise_on_acquisition_timeout = nil); end
|
1354
|
+
def automatic_reconnect; end
|
1355
|
+
def automatic_reconnect=(arg0); end
|
1356
|
+
def bulk_make_new_connections(num_new_conns_needed); end
|
1357
|
+
def checkin(conn); end
|
1358
|
+
def checkout(checkout_timeout = nil); end
|
1359
|
+
def checkout_and_verify(c); end
|
1360
|
+
def checkout_for_exclusive_access(checkout_timeout); end
|
1361
|
+
def checkout_new_connection; end
|
1362
|
+
def checkout_timeout; end
|
1363
|
+
def checkout_timeout=(arg0); end
|
1364
|
+
def clear_reloadable_connections!; end
|
1365
|
+
def clear_reloadable_connections(raise_on_acquisition_timeout = nil); end
|
1366
|
+
def connected?; end
|
1367
|
+
def connection; end
|
1368
|
+
def connection_cache_key(thread); end
|
1369
|
+
def connections; end
|
1370
|
+
def current_thread; end
|
1371
|
+
def discard!; end
|
1372
|
+
def disconnect!; end
|
1373
|
+
def disconnect(raise_on_acquisition_timeout = nil); end
|
1374
|
+
def flush!; end
|
1375
|
+
def flush(minimum_idle = nil); end
|
1376
|
+
def initialize(spec); end
|
1377
|
+
def lock_thread=(lock_thread); end
|
1378
|
+
def new_connection; end
|
1379
|
+
def num_waiting_in_queue; end
|
1380
|
+
def reap; end
|
1381
|
+
def reaper; end
|
1382
|
+
def release(conn, owner_thread = nil); end
|
1383
|
+
def release_connection(owner_thread = nil); end
|
1384
|
+
def remove(conn); end
|
1385
|
+
def remove_connection_from_thread_cache(conn, owner_thread = nil); end
|
1386
|
+
def schema_cache; end
|
1387
|
+
def schema_cache=(arg0); end
|
1388
|
+
def size; end
|
1389
|
+
def spec; end
|
1390
|
+
def stat; end
|
1391
|
+
def try_to_checkout_new_connection; end
|
1392
|
+
def with_connection; end
|
1393
|
+
def with_exclusively_acquired_all_connections(raise_on_acquisition_timeout = nil); end
|
1394
|
+
def with_new_connections_blocked; end
|
1395
|
+
include ActiveRecord::ConnectionAdapters::QueryCache::ConnectionPoolConfiguration
|
1396
|
+
include MonitorMixin
|
1397
|
+
end
|
1398
|
+
class ActiveRecord::ConnectionAdapters::ConnectionPool::Queue
|
1399
|
+
def add(element); end
|
1400
|
+
def any?; end
|
1401
|
+
def any_waiting?; end
|
1402
|
+
def can_remove_no_wait?; end
|
1403
|
+
def clear; end
|
1404
|
+
def delete(element); end
|
1405
|
+
def initialize(lock = nil); end
|
1406
|
+
def internal_poll(timeout); end
|
1407
|
+
def no_wait_poll; end
|
1408
|
+
def num_waiting; end
|
1409
|
+
def poll(timeout = nil); end
|
1410
|
+
def remove; end
|
1411
|
+
def synchronize(&block); end
|
1412
|
+
def wait_poll(timeout); end
|
1413
|
+
end
|
1414
|
+
module ActiveRecord::ConnectionAdapters::ConnectionPool::BiasableQueue
|
1415
|
+
def with_a_bias_for(thread); end
|
1416
|
+
end
|
1417
|
+
class ActiveRecord::ConnectionAdapters::ConnectionPool::BiasableQueue::BiasedConditionVariable
|
1418
|
+
def broadcast; end
|
1419
|
+
def broadcast_on_biased; end
|
1420
|
+
def initialize(lock, other_cond, preferred_thread); end
|
1421
|
+
def signal; end
|
1422
|
+
def wait(timeout); end
|
1423
|
+
end
|
1424
|
+
class ActiveRecord::ConnectionAdapters::ConnectionPool::ConnectionLeasingQueue < ActiveRecord::ConnectionAdapters::ConnectionPool::Queue
|
1425
|
+
def internal_poll(timeout); end
|
1426
|
+
include ActiveRecord::ConnectionAdapters::ConnectionPool::BiasableQueue
|
1427
|
+
end
|
1428
|
+
class ActiveRecord::ConnectionAdapters::ConnectionPool::Reaper
|
1429
|
+
def frequency; end
|
1430
|
+
def initialize(pool, frequency); end
|
1431
|
+
def pool; end
|
1432
|
+
def run; end
|
1433
|
+
end
|
1434
|
+
class ActiveRecord::ConnectionAdapters::ConnectionHandler
|
1435
|
+
def active_connections?; end
|
1436
|
+
def clear_active_connections!; end
|
1437
|
+
def clear_all_connections!; end
|
1438
|
+
def clear_reloadable_connections!; end
|
1439
|
+
def connected?(spec_name); end
|
1440
|
+
def connection_pool_list; end
|
1441
|
+
def connection_pools; end
|
1442
|
+
def establish_connection(config); end
|
1443
|
+
def flush_idle_connections!; end
|
1444
|
+
def initialize; end
|
1445
|
+
def owner_to_pool; end
|
1446
|
+
def pool_from_any_process_for(spec_name); end
|
1447
|
+
def remove_connection(spec_name); end
|
1448
|
+
def retrieve_connection(spec_name); end
|
1449
|
+
def retrieve_connection_pool(spec_name); end
|
1450
|
+
def self.create_owner_to_pool; end
|
1451
|
+
def self.discard_unowned_pools(pid_map); end
|
1452
|
+
def self.unowned_pool_finalizer(pid_map); end
|
1453
|
+
end
|
1454
|
+
module ActiveRecord::Persistence
|
1455
|
+
def _create_record(attribute_names = nil); end
|
1456
|
+
def _delete_row; end
|
1457
|
+
def _raise_readonly_record_error; end
|
1458
|
+
def _raise_record_not_destroyed; end
|
1459
|
+
def _touch_row(attribute_names, time); end
|
1460
|
+
def _update_record(attribute_names = nil); end
|
1461
|
+
def _update_row(attribute_names, attempted_action = nil); end
|
1462
|
+
def becomes!(klass); end
|
1463
|
+
def becomes(klass); end
|
1464
|
+
def belongs_to_touch_method; end
|
1465
|
+
def create_or_update(*args, &block); end
|
1466
|
+
def decrement!(attribute, by = nil, touch: nil); end
|
1467
|
+
def decrement(attribute, by = nil); end
|
1468
|
+
def delete; end
|
1469
|
+
def destroy!; end
|
1470
|
+
def destroy; end
|
1471
|
+
def destroy_associations; end
|
1472
|
+
def destroy_row; end
|
1473
|
+
def destroyed?; end
|
1474
|
+
def increment!(attribute, by = nil, touch: nil); end
|
1475
|
+
def increment(attribute, by = nil); end
|
1476
|
+
def new_record?; end
|
1477
|
+
def persisted?; end
|
1478
|
+
def reload(options = nil); end
|
1479
|
+
def save!(*args, &block); end
|
1480
|
+
def save(*args, &block); end
|
1481
|
+
def toggle!(attribute); end
|
1482
|
+
def toggle(attribute); end
|
1483
|
+
def touch(*names, time: nil); end
|
1484
|
+
def update!(attributes); end
|
1485
|
+
def update(attributes); end
|
1486
|
+
def update_attribute(name, value); end
|
1487
|
+
def update_attributes!(attributes); end
|
1488
|
+
def update_attributes(attributes); end
|
1489
|
+
def update_column(name, value); end
|
1490
|
+
def update_columns(attributes); end
|
1491
|
+
def verify_readonly_attribute(name); end
|
1492
|
+
extend ActiveSupport::Concern
|
1493
|
+
end
|
1494
|
+
module ActiveRecord::Persistence::ClassMethods
|
1495
|
+
def _delete_record(constraints); end
|
1496
|
+
def _insert_record(values); end
|
1497
|
+
def _substitute_values(values); end
|
1498
|
+
def _update_record(values, constraints); end
|
1499
|
+
def create!(attributes = nil, &block); end
|
1500
|
+
def create(attributes = nil, &block); end
|
1501
|
+
def delete(id_or_array); end
|
1502
|
+
def destroy(id); end
|
1503
|
+
def discriminate_class_for_record(record); end
|
1504
|
+
def instantiate(attributes, column_types = nil, &block); end
|
1505
|
+
def update(id = nil, attributes); end
|
1506
|
+
end
|
1507
|
+
module ActiveRecord::ReadonlyAttributes
|
1508
|
+
extend ActiveSupport::Concern
|
1509
|
+
end
|
1510
|
+
module ActiveRecord::ReadonlyAttributes::ClassMethods
|
1511
|
+
def attr_readonly(*attributes); end
|
1512
|
+
def readonly_attributes; end
|
1513
|
+
end
|
1514
|
+
module ActiveRecord::ModelSchema
|
1515
|
+
def self.derive_join_table_name(first_table, second_table); end
|
1516
|
+
extend ActiveSupport::Concern
|
1517
|
+
end
|
1518
|
+
module ActiveRecord::ModelSchema::ClassMethods
|
1519
|
+
def _default_attributes; end
|
1520
|
+
def attribute_types; end
|
1521
|
+
def attributes_builder; end
|
1522
|
+
def column_defaults; end
|
1523
|
+
def column_names; end
|
1524
|
+
def columns; end
|
1525
|
+
def columns_hash; end
|
1526
|
+
def compute_table_name; end
|
1527
|
+
def content_columns; end
|
1528
|
+
def full_table_name_prefix; end
|
1529
|
+
def full_table_name_suffix; end
|
1530
|
+
def ignored_columns; end
|
1531
|
+
def ignored_columns=(columns); end
|
1532
|
+
def inheritance_column; end
|
1533
|
+
def inheritance_column=(value); end
|
1534
|
+
def inherited(child_class); end
|
1535
|
+
def initialize_load_schema_monitor; end
|
1536
|
+
def load_schema!; end
|
1537
|
+
def load_schema; end
|
1538
|
+
def next_sequence_value; end
|
1539
|
+
def prefetch_primary_key?; end
|
1540
|
+
def protected_environments; end
|
1541
|
+
def protected_environments=(environments); end
|
1542
|
+
def quoted_table_name; end
|
1543
|
+
def reload_schema_from_cache; end
|
1544
|
+
def reset_column_information; end
|
1545
|
+
def reset_sequence_name; end
|
1546
|
+
def reset_table_name; end
|
1547
|
+
def schema_loaded?; end
|
1548
|
+
def sequence_name; end
|
1549
|
+
def sequence_name=(value); end
|
1550
|
+
def table_exists?; end
|
1551
|
+
def table_name; end
|
1552
|
+
def table_name=(value); end
|
1553
|
+
def type_for_attribute(attr_name, &block); end
|
1554
|
+
def undecorated_table_name(class_name = nil); end
|
1555
|
+
def yaml_encoder; end
|
1556
|
+
end
|
1557
|
+
module ActiveRecord::Inheritance
|
1558
|
+
def ensure_proper_type; end
|
1559
|
+
def initialize_dup(other); end
|
1560
|
+
def initialize_internals_callback; end
|
1561
|
+
extend ActiveSupport::Concern
|
1562
|
+
end
|
1563
|
+
module ActiveRecord::Inheritance::ClassMethods
|
1564
|
+
def abstract_class; end
|
1565
|
+
def abstract_class=(arg0); end
|
1566
|
+
def abstract_class?; end
|
1567
|
+
def base_class; end
|
1568
|
+
def compute_type(type_name); end
|
1569
|
+
def descends_from_active_record?; end
|
1570
|
+
def discriminate_class_for_record(record); end
|
1571
|
+
def find_sti_class(type_name); end
|
1572
|
+
def finder_needs_type_condition?; end
|
1573
|
+
def inherited(subclass); end
|
1574
|
+
def new(attributes = nil, &block); end
|
1575
|
+
def polymorphic_name; end
|
1576
|
+
def sti_name; end
|
1577
|
+
def subclass_from_attributes(attrs); end
|
1578
|
+
def type_condition(table = nil); end
|
1579
|
+
def using_single_table_inheritance?(record); end
|
1580
|
+
end
|
1581
|
+
module ActiveRecord::Scoping::Default
|
1582
|
+
extend ActiveSupport::Concern
|
1583
|
+
end
|
1584
|
+
module ActiveRecord::Scoping::Default::ClassMethods
|
1585
|
+
def before_remove_const; end
|
1586
|
+
def build_default_scope(base_rel = nil); end
|
1587
|
+
def default_scope(scope = nil, &block); end
|
1588
|
+
def evaluate_default_scope; end
|
1589
|
+
def ignore_default_scope=(ignore); end
|
1590
|
+
def ignore_default_scope?; end
|
1591
|
+
def scope_attributes?; end
|
1592
|
+
def unscoped; end
|
1593
|
+
end
|
1594
|
+
module ActiveRecord::Scoping::Named
|
1595
|
+
extend ActiveSupport::Concern
|
1596
|
+
end
|
1597
|
+
module ActiveRecord::Scoping::Named::ClassMethods
|
1598
|
+
def all; end
|
1599
|
+
def default_extensions; end
|
1600
|
+
def default_scoped(scope = nil); end
|
1601
|
+
def scope(name, body, &block); end
|
1602
|
+
def scope_for_association(scope = nil); end
|
1603
|
+
def valid_scope_name?(name); end
|
1604
|
+
end
|
1605
|
+
module ActiveRecord::Sanitization
|
1606
|
+
extend ActiveSupport::Concern
|
1607
|
+
end
|
1608
|
+
module ActiveRecord::Sanitization::ClassMethods
|
1609
|
+
def expand_hash_conditions_for_aggregates(*args, &block); end
|
1610
|
+
def expand_hash_conditions_for_aggregates_with_deprecation(*args, &block); end
|
1611
|
+
def expand_hash_conditions_for_aggregates_without_deprecation(attrs); end
|
1612
|
+
def quote_bound_value(value, c = nil); end
|
1613
|
+
def raise_if_bind_arity_mismatch(statement, expected, provided); end
|
1614
|
+
def replace_bind_variable(value, c = nil); end
|
1615
|
+
def replace_bind_variables(statement, values); end
|
1616
|
+
def replace_named_bind_variables(statement, bind_vars); end
|
1617
|
+
def sanitize_sql(condition); end
|
1618
|
+
def sanitize_sql_array(ary); end
|
1619
|
+
def sanitize_sql_for_assignment(assignments, default_table_name = nil); end
|
1620
|
+
def sanitize_sql_for_conditions(condition); end
|
1621
|
+
def sanitize_sql_for_order(condition); end
|
1622
|
+
def sanitize_sql_hash_for_assignment(attrs, table); end
|
1623
|
+
def sanitize_sql_like(string, escape_character = nil); end
|
1624
|
+
end
|
1625
|
+
module ActiveRecord::AttributeAssignment
|
1626
|
+
def _assign_attributes(attributes); end
|
1627
|
+
def assign_multiparameter_attributes(pairs); end
|
1628
|
+
def assign_nested_parameter_attributes(pairs); end
|
1629
|
+
def execute_callstack_for_multiparameter_attributes(callstack); end
|
1630
|
+
def extract_callstack_for_multiparameter_attributes(pairs); end
|
1631
|
+
def find_parameter_position(multiparameter_name); end
|
1632
|
+
def type_cast_attribute_value(multiparameter_name, value); end
|
1633
|
+
extend ActiveSupport::Concern
|
1634
|
+
include ActiveModel::AttributeAssignment
|
1635
|
+
end
|
1636
|
+
module ActiveRecord::Integration
|
1637
|
+
def cache_key(*timestamp_names); end
|
1638
|
+
def cache_key_with_version; end
|
1639
|
+
def cache_version; end
|
1640
|
+
def to_param; end
|
1641
|
+
extend ActiveSupport::Concern
|
1642
|
+
end
|
1643
|
+
module ActiveRecord::Integration::ClassMethods
|
1644
|
+
def to_param(method_name = nil); end
|
1645
|
+
end
|
1646
|
+
module ActiveRecord::Validations
|
1647
|
+
def default_validation_context; end
|
1648
|
+
def perform_validations(options = nil); end
|
1649
|
+
def raise_validation_error; end
|
1650
|
+
def save!(options = nil); end
|
1651
|
+
def save(options = nil); end
|
1652
|
+
def valid?(context = nil); end
|
1653
|
+
def validate(context = nil); end
|
1654
|
+
extend ActiveSupport::Concern
|
1655
|
+
include ActiveModel::Validations
|
1656
|
+
end
|
1657
|
+
class ActiveRecord::Validations::AssociatedValidator < ActiveModel::EachValidator
|
1658
|
+
def valid_object?(record); end
|
1659
|
+
def validate_each(record, attribute, value); end
|
1660
|
+
end
|
1661
|
+
module ActiveRecord::Validations::ClassMethods
|
1662
|
+
def validates_absence_of(*attr_names); end
|
1663
|
+
def validates_associated(*attr_names); end
|
1664
|
+
def validates_length_of(*attr_names); end
|
1665
|
+
def validates_presence_of(*attr_names); end
|
1666
|
+
def validates_size_of(*attr_names); end
|
1667
|
+
def validates_uniqueness_of(*attr_names); end
|
1668
|
+
end
|
1669
|
+
class ActiveRecord::Validations::UniquenessValidator < ActiveModel::EachValidator
|
1670
|
+
def build_relation(klass, attribute, value); end
|
1671
|
+
def find_finder_class_for(record); end
|
1672
|
+
def initialize(options); end
|
1673
|
+
def map_enum_attribute(klass, attribute, value); end
|
1674
|
+
def scope_relation(record, relation); end
|
1675
|
+
def validate_each(record, attribute, value); end
|
1676
|
+
end
|
1677
|
+
class ActiveRecord::Validations::PresenceValidator < ActiveModel::Validations::PresenceValidator
|
1678
|
+
def validate_each(record, attribute, association_or_value); end
|
1679
|
+
end
|
1680
|
+
class ActiveRecord::Validations::AbsenceValidator < ActiveModel::Validations::AbsenceValidator
|
1681
|
+
def validate_each(record, attribute, association_or_value); end
|
1682
|
+
end
|
1683
|
+
class ActiveRecord::Validations::LengthValidator < ActiveModel::Validations::LengthValidator
|
1684
|
+
def validate_each(record, attribute, association_or_value); end
|
1685
|
+
end
|
1686
|
+
class ActiveRecord::RecordInvalid < ActiveRecord::ActiveRecordError
|
1687
|
+
def initialize(record = nil); end
|
1688
|
+
def record; end
|
1689
|
+
end
|
1690
|
+
module ActiveRecord::CounterCache
|
1691
|
+
def _create_record(*arg0); end
|
1692
|
+
def destroy_row; end
|
1693
|
+
def each_counter_cached_associations; end
|
1694
|
+
extend ActiveSupport::Concern
|
1695
|
+
end
|
1696
|
+
module ActiveRecord::CounterCache::ClassMethods
|
1697
|
+
def decrement_counter(counter_name, id, touch: nil); end
|
1698
|
+
def increment_counter(counter_name, id, touch: nil); end
|
1699
|
+
def reset_counters(id, *counters, touch: nil); end
|
1700
|
+
def update_counters(id, counters); end
|
1701
|
+
end
|
1702
|
+
module ActiveRecord::Locking::Optimistic
|
1703
|
+
def _create_record(attribute_names = nil, *arg1); end
|
1704
|
+
def _touch_row(attribute_names, time); end
|
1705
|
+
def _update_row(attribute_names, attempted_action = nil); end
|
1706
|
+
def destroy_row; end
|
1707
|
+
def locking_enabled?; end
|
1708
|
+
extend ActiveSupport::Concern
|
1709
|
+
end
|
1710
|
+
module ActiveRecord::Locking::Optimistic::ClassMethods
|
1711
|
+
def inherited(subclass); end
|
1712
|
+
def locking_column; end
|
1713
|
+
def locking_column=(value); end
|
1714
|
+
def locking_enabled?; end
|
1715
|
+
def reset_locking_column; end
|
1716
|
+
def update_counters(id, counters); end
|
1717
|
+
end
|
1718
|
+
class ActiveRecord::Locking::LockingType < Anonymous_Delegator_15
|
1719
|
+
def deserialize(value); end
|
1720
|
+
def encode_with(coder); end
|
1721
|
+
def init_with(coder); end
|
1722
|
+
def serialize(value); end
|
1723
|
+
end
|
1724
|
+
module ActiveRecord::Locking::Pessimistic
|
1725
|
+
def lock!(lock = nil); end
|
1726
|
+
def with_lock(lock = nil); end
|
1727
|
+
end
|
1728
|
+
module ActiveRecord::AttributeMethods::Read
|
1729
|
+
def _read_attribute(attr_name); end
|
1730
|
+
def attribute(attr_name); end
|
1731
|
+
def read_attribute(attr_name, &block); end
|
1732
|
+
extend ActiveSupport::Concern
|
1733
|
+
end
|
1734
|
+
module ActiveRecord::AttributeMethods::Read::ClassMethods
|
1735
|
+
def define_method_attribute(name); end
|
1736
|
+
end
|
1737
|
+
module ActiveRecord::AttributeMethods::Write
|
1738
|
+
def _write_attribute(attr_name, value); end
|
1739
|
+
def attribute=(attribute_name, value); end
|
1740
|
+
def write_attribute(attr_name, value); end
|
1741
|
+
def write_attribute_without_type_cast(attr_name, value); end
|
1742
|
+
extend ActiveSupport::Concern
|
1743
|
+
end
|
1744
|
+
module ActiveRecord::AttributeMethods::Write::ClassMethods
|
1745
|
+
def define_method_attribute=(name); end
|
1746
|
+
end
|
1747
|
+
module ActiveRecord::AttributeMethods::BeforeTypeCast
|
1748
|
+
def attribute_before_type_cast(attribute_name); end
|
1749
|
+
def attribute_came_from_user?(attribute_name); end
|
1750
|
+
def attributes_before_type_cast; end
|
1751
|
+
def read_attribute_before_type_cast(attr_name); end
|
1752
|
+
extend ActiveSupport::Concern
|
1753
|
+
end
|
1754
|
+
module ActiveRecord::AttributeMethods::Query
|
1755
|
+
def attribute?(attribute_name); end
|
1756
|
+
def query_attribute(attr_name); end
|
1757
|
+
extend ActiveSupport::Concern
|
1758
|
+
end
|
1759
|
+
module ActiveRecord::AttributeMethods::PrimaryKey
|
1760
|
+
def attribute_method?(attr_name); end
|
1761
|
+
def id; end
|
1762
|
+
def id=(value); end
|
1763
|
+
def id?; end
|
1764
|
+
def id_before_type_cast; end
|
1765
|
+
def id_in_database; end
|
1766
|
+
def id_was; end
|
1767
|
+
def to_key; end
|
1768
|
+
extend ActiveSupport::Concern
|
1769
|
+
end
|
1770
|
+
module ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods
|
1771
|
+
def dangerous_attribute_method?(method_name); end
|
1772
|
+
def get_primary_key(base_name); end
|
1773
|
+
def instance_method_already_implemented?(method_name); end
|
1774
|
+
def primary_key; end
|
1775
|
+
def primary_key=(value); end
|
1776
|
+
def quoted_primary_key; end
|
1777
|
+
def reset_primary_key; end
|
1778
|
+
def suppress_composite_primary_key(pk); end
|
1779
|
+
end
|
1780
|
+
module ActiveRecord::AttributeMethods::TimeZoneConversion
|
1781
|
+
extend ActiveSupport::Concern
|
1782
|
+
end
|
1783
|
+
class ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter < Anonymous_Delegator_16
|
1784
|
+
def cast(value); end
|
1785
|
+
def convert_time_to_time_zone(value); end
|
1786
|
+
def deserialize(value); end
|
1787
|
+
def map_avoiding_infinite_recursion(value); end
|
1788
|
+
def set_time_zone_without_conversion(value); end
|
1789
|
+
end
|
1790
|
+
module ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods
|
1791
|
+
def create_time_zone_conversion_attribute?(name, cast_type); end
|
1792
|
+
def inherited(subclass); end
|
1793
|
+
end
|
1794
|
+
module ActiveRecord::AttributeMethods::Dirty
|
1795
|
+
def _create_record(*arg0); end
|
1796
|
+
def _update_record(*arg0); end
|
1797
|
+
def attribute_before_last_save(attr_name); end
|
1798
|
+
def attribute_change_to_be_saved(attr_name); end
|
1799
|
+
def attribute_in_database(attr_name); end
|
1800
|
+
def attributes_in_database; end
|
1801
|
+
def changed_attribute_names_to_save; end
|
1802
|
+
def changes_to_save; end
|
1803
|
+
def has_changes_to_save?; end
|
1804
|
+
def keys_for_partial_write; end
|
1805
|
+
def reload(*arg0); end
|
1806
|
+
def saved_change_to_attribute(attr_name); end
|
1807
|
+
def saved_change_to_attribute?(attr_name, **options); end
|
1808
|
+
def saved_changes; end
|
1809
|
+
def saved_changes?; end
|
1810
|
+
def will_save_change_to_attribute?(attr_name, **options); end
|
1811
|
+
def write_attribute_without_type_cast(attr_name, value); end
|
1812
|
+
extend ActiveSupport::Concern
|
1813
|
+
include ActiveModel::Dirty
|
1814
|
+
end
|
1815
|
+
module ActiveRecord::Timestamp
|
1816
|
+
def _create_record; end
|
1817
|
+
def _update_record(*args, touch: nil, **options); end
|
1818
|
+
def all_timestamp_attributes_in_model; end
|
1819
|
+
def clear_timestamp_attributes; end
|
1820
|
+
def current_time_from_proper_timezone; end
|
1821
|
+
def initialize_dup(other); end
|
1822
|
+
def max_updated_column_timestamp(timestamp_names = nil); end
|
1823
|
+
def should_record_timestamps?; end
|
1824
|
+
def timestamp_attributes_for_create_in_model; end
|
1825
|
+
def timestamp_attributes_for_update_in_model; end
|
1826
|
+
extend ActiveSupport::Concern
|
1827
|
+
end
|
1828
|
+
module ActiveRecord::Timestamp::ClassMethods
|
1829
|
+
def all_timestamp_attributes_in_model; end
|
1830
|
+
def current_time_from_proper_timezone; end
|
1831
|
+
def timestamp_attributes_for_create; end
|
1832
|
+
def timestamp_attributes_for_create_in_model; end
|
1833
|
+
def timestamp_attributes_for_update; end
|
1834
|
+
def timestamp_attributes_for_update_in_model; end
|
1835
|
+
def touch_attributes_with_time(*names, time: nil); end
|
1836
|
+
end
|
1837
|
+
module ActiveRecord::AttributeMethods::Serialization
|
1838
|
+
extend ActiveSupport::Concern
|
1839
|
+
end
|
1840
|
+
class ActiveRecord::AttributeMethods::Serialization::ColumnNotSerializableError < StandardError
|
1841
|
+
def initialize(name, type); end
|
1842
|
+
end
|
1843
|
+
module ActiveRecord::AttributeMethods::Serialization::ClassMethods
|
1844
|
+
def serialize(attr_name, class_name_or_coder = nil); end
|
1845
|
+
def type_incompatible_with_serialize?(type, class_name); end
|
1846
|
+
end
|
1847
|
+
module ActiveRecord::Callbacks
|
1848
|
+
def _create_record; end
|
1849
|
+
def _update_record(*arg0); end
|
1850
|
+
def create_or_update(*arg0); end
|
1851
|
+
def destroy; end
|
1852
|
+
def increment!(attribute, by = nil, touch: nil); end
|
1853
|
+
def touch(*arg0); end
|
1854
|
+
extend ActiveSupport::Concern
|
1855
|
+
end
|
1856
|
+
class ActiveRecord::AssociationNotFoundError < ActiveRecord::ConfigurationError
|
1857
|
+
def initialize(record = nil, association_name = nil); end
|
1858
|
+
end
|
1859
|
+
class ActiveRecord::InverseOfAssociationNotFoundError < ActiveRecord::ActiveRecordError
|
1860
|
+
def initialize(reflection = nil, associated_class = nil); end
|
1861
|
+
end
|
1862
|
+
class ActiveRecord::HasManyThroughAssociationNotFoundError < ActiveRecord::ActiveRecordError
|
1863
|
+
def initialize(owner_class_name = nil, reflection = nil); end
|
1864
|
+
end
|
1865
|
+
class ActiveRecord::HasManyThroughAssociationPolymorphicSourceError < ActiveRecord::ActiveRecordError
|
1866
|
+
def initialize(owner_class_name = nil, reflection = nil, source_reflection = nil); end
|
1867
|
+
end
|
1868
|
+
class ActiveRecord::HasManyThroughAssociationPolymorphicThroughError < ActiveRecord::ActiveRecordError
|
1869
|
+
def initialize(owner_class_name = nil, reflection = nil); end
|
1870
|
+
end
|
1871
|
+
class ActiveRecord::HasManyThroughAssociationPointlessSourceTypeError < ActiveRecord::ActiveRecordError
|
1872
|
+
def initialize(owner_class_name = nil, reflection = nil, source_reflection = nil); end
|
1873
|
+
end
|
1874
|
+
class ActiveRecord::HasOneThroughCantAssociateThroughCollection < ActiveRecord::ActiveRecordError
|
1875
|
+
def initialize(owner_class_name = nil, reflection = nil, through_reflection = nil); end
|
1876
|
+
end
|
1877
|
+
class ActiveRecord::HasOneAssociationPolymorphicThroughError < ActiveRecord::ActiveRecordError
|
1878
|
+
def initialize(owner_class_name = nil, reflection = nil); end
|
1879
|
+
end
|
1880
|
+
class ActiveRecord::HasManyThroughSourceAssociationNotFoundError < ActiveRecord::ActiveRecordError
|
1881
|
+
def initialize(reflection = nil); end
|
1882
|
+
end
|
1883
|
+
class ActiveRecord::HasManyThroughOrderError < ActiveRecord::ActiveRecordError
|
1884
|
+
def initialize(owner_class_name = nil, reflection = nil, through_reflection = nil); end
|
1885
|
+
end
|
1886
|
+
class ActiveRecord::ThroughCantAssociateThroughHasOneOrManyReflection < ActiveRecord::ActiveRecordError
|
1887
|
+
def initialize(owner = nil, reflection = nil); end
|
1888
|
+
end
|
1889
|
+
class ActiveRecord::AmbiguousSourceReflectionForThroughAssociation < ActiveRecord::ActiveRecordError
|
1890
|
+
def initialize(klass, macro, association_name, options, possible_sources); end
|
1891
|
+
end
|
1892
|
+
class ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection < ActiveRecord::ThroughCantAssociateThroughHasOneOrManyReflection
|
1893
|
+
end
|
1894
|
+
class ActiveRecord::HasOneThroughCantAssociateThroughHasOneOrManyReflection < ActiveRecord::ThroughCantAssociateThroughHasOneOrManyReflection
|
1895
|
+
end
|
1896
|
+
class ActiveRecord::ThroughNestedAssociationsAreReadonly < ActiveRecord::ActiveRecordError
|
1897
|
+
def initialize(owner = nil, reflection = nil); end
|
1898
|
+
end
|
1899
|
+
class ActiveRecord::HasManyThroughNestedAssociationsAreReadonly < ActiveRecord::ThroughNestedAssociationsAreReadonly
|
1900
|
+
end
|
1901
|
+
class ActiveRecord::HasOneThroughNestedAssociationsAreReadonly < ActiveRecord::ThroughNestedAssociationsAreReadonly
|
1902
|
+
end
|
1903
|
+
class ActiveRecord::EagerLoadPolymorphicError < ActiveRecord::ActiveRecordError
|
1904
|
+
def initialize(reflection = nil); end
|
1905
|
+
end
|
1906
|
+
class ActiveRecord::DeleteRestrictionError < ActiveRecord::ActiveRecordError
|
1907
|
+
def initialize(name = nil); end
|
1908
|
+
end
|
1909
|
+
module ActiveRecord::Associations
|
1910
|
+
def association(name); end
|
1911
|
+
def association_cached?(name); end
|
1912
|
+
def association_instance_get(name); end
|
1913
|
+
def association_instance_set(name, association); end
|
1914
|
+
def clear_association_cache; end
|
1915
|
+
def init_internals; end
|
1916
|
+
def initialize_dup(*arg0); end
|
1917
|
+
def reload(*arg0); end
|
1918
|
+
def self.eager_load!; end
|
1919
|
+
extend ActiveSupport::Autoload
|
1920
|
+
extend ActiveSupport::Concern
|
1921
|
+
end
|
1922
|
+
module ActiveRecord::Associations::Builder
|
1923
|
+
end
|
1924
|
+
module ActiveRecord::Associations::ClassMethods
|
1925
|
+
def belongs_to(name, scope = nil, **options); end
|
1926
|
+
def has_and_belongs_to_many(name, scope = nil, **options, &extension); end
|
1927
|
+
def has_many(name, scope = nil, **options, &extension); end
|
1928
|
+
def has_one(name, scope = nil, **options); end
|
1929
|
+
end
|
1930
|
+
module ActiveRecord::AutosaveAssociation
|
1931
|
+
def _ensure_no_duplicate_errors; end
|
1932
|
+
def after_save_collection_association; end
|
1933
|
+
def associated_records_to_validate_or_save(association, new_record, autosave); end
|
1934
|
+
def association_foreign_key_changed?(reflection, record, key); end
|
1935
|
+
def association_valid?(reflection, record, index = nil); end
|
1936
|
+
def before_save_collection_association; end
|
1937
|
+
def changed_for_autosave?; end
|
1938
|
+
def custom_validation_context?; end
|
1939
|
+
def destroyed_by_association; end
|
1940
|
+
def destroyed_by_association=(reflection); end
|
1941
|
+
def mark_for_destruction; end
|
1942
|
+
def marked_for_destruction?; end
|
1943
|
+
def nested_records_changed_for_autosave?; end
|
1944
|
+
def normalize_reflection_attribute(indexed_attribute, reflection, index, attribute); end
|
1945
|
+
def record_changed?(reflection, record, key); end
|
1946
|
+
def reload(options = nil); end
|
1947
|
+
def save_belongs_to_association(reflection); end
|
1948
|
+
def save_collection_association(reflection); end
|
1949
|
+
def save_has_one_association(reflection); end
|
1950
|
+
def validate_collection_association(reflection); end
|
1951
|
+
def validate_single_association(reflection); end
|
1952
|
+
extend ActiveSupport::Concern
|
1953
|
+
end
|
1954
|
+
module ActiveRecord::AutosaveAssociation::AssociationBuilderExtension
|
1955
|
+
def self.build(model, reflection); end
|
1956
|
+
def self.valid_options; end
|
1957
|
+
end
|
1958
|
+
module ActiveRecord::AutosaveAssociation::ClassMethods
|
1959
|
+
def add_autosave_association_callbacks(reflection); end
|
1960
|
+
def define_autosave_validation_callbacks(reflection); end
|
1961
|
+
def define_non_cyclic_method(name, &block); end
|
1962
|
+
end
|
1963
|
+
class ActiveRecord::Associations::Builder::Association
|
1964
|
+
def self.add_destroy_callbacks(model, reflection); end
|
1965
|
+
def self.build(model, name, scope, options, &block); end
|
1966
|
+
def self.build_scope(scope, extension); end
|
1967
|
+
def self.check_dependent_options(dependent); end
|
1968
|
+
def self.create_reflection(model, name, scope, options, extension = nil); end
|
1969
|
+
def self.define_accessors(model, reflection); end
|
1970
|
+
def self.define_callbacks(model, reflection); end
|
1971
|
+
def self.define_extensions(model, name); end
|
1972
|
+
def self.define_readers(mixin, name); end
|
1973
|
+
def self.define_validations(model, reflection); end
|
1974
|
+
def self.define_writers(mixin, name); end
|
1975
|
+
def self.extensions; end
|
1976
|
+
def self.extensions=(arg0); end
|
1977
|
+
def self.macro; end
|
1978
|
+
def self.valid_dependent_options; end
|
1979
|
+
def self.valid_options(options); end
|
1980
|
+
def self.validate_options(options); end
|
1981
|
+
def self.wrap_scope(scope, extension); end
|
1982
|
+
end
|
1983
|
+
module ActiveRecord::NestedAttributes
|
1984
|
+
def _destroy; end
|
1985
|
+
def allow_destroy?(association_name); end
|
1986
|
+
def assign_nested_attributes_for_collection_association(association_name, attributes_collection); end
|
1987
|
+
def assign_nested_attributes_for_one_to_one_association(association_name, attributes); end
|
1988
|
+
def assign_to_or_mark_for_destruction(record, attributes, allow_destroy); end
|
1989
|
+
def call_reject_if(association_name, attributes); end
|
1990
|
+
def check_record_limit!(limit, attributes_collection); end
|
1991
|
+
def has_destroy_flag?(hash); end
|
1992
|
+
def raise_nested_attributes_record_not_found!(association_name, record_id); end
|
1993
|
+
def reject_new_record?(association_name, attributes); end
|
1994
|
+
def will_be_destroyed?(association_name, attributes); end
|
1995
|
+
extend ActiveSupport::Concern
|
1996
|
+
end
|
1997
|
+
class ActiveRecord::NestedAttributes::TooManyRecords < ActiveRecord::ActiveRecordError
|
1998
|
+
end
|
1999
|
+
module ActiveRecord::NestedAttributes::ClassMethods
|
2000
|
+
def accepts_nested_attributes_for(*attr_names); end
|
2001
|
+
def generate_association_writer(association_name, type); end
|
2002
|
+
end
|
2003
|
+
module ActiveRecord::Aggregations
|
2004
|
+
def clear_aggregation_cache; end
|
2005
|
+
def init_internals; end
|
2006
|
+
def initialize_dup(*arg0); end
|
2007
|
+
def reload(*arg0); end
|
2008
|
+
extend ActiveSupport::Concern
|
2009
|
+
end
|
2010
|
+
module ActiveRecord::Aggregations::ClassMethods
|
2011
|
+
def composed_of(part_id, options = nil); end
|
2012
|
+
def reader_method(name, class_name, mapping, allow_nil, constructor); end
|
2013
|
+
def writer_method(name, class_name, mapping, allow_nil, converter); end
|
2014
|
+
end
|
2015
|
+
module ActiveRecord::Transactions
|
2016
|
+
def _committed_already_called; end
|
2017
|
+
def _trigger_destroy_callback; end
|
2018
|
+
def _trigger_update_callback; end
|
2019
|
+
def add_to_transaction; end
|
2020
|
+
def before_committed!; end
|
2021
|
+
def clear_transaction_record_state; end
|
2022
|
+
def committed!(should_run_callbacks: nil); end
|
2023
|
+
def destroy; end
|
2024
|
+
def force_clear_transaction_record_state; end
|
2025
|
+
def has_transactional_callbacks?; end
|
2026
|
+
def remember_new_record_before_last_commit; end
|
2027
|
+
def remember_transaction_record_state; end
|
2028
|
+
def restore_transaction_record_state(force = nil); end
|
2029
|
+
def rollback_active_record_state!; end
|
2030
|
+
def rolledback!(force_restore_state: nil, should_run_callbacks: nil); end
|
2031
|
+
def save!(*arg0); end
|
2032
|
+
def save(*arg0); end
|
2033
|
+
def set_transaction_state(state); end
|
2034
|
+
def sync_with_transaction_state; end
|
2035
|
+
def touch(*arg0); end
|
2036
|
+
def transaction(options = nil, &block); end
|
2037
|
+
def transaction_include_any_action?(actions); end
|
2038
|
+
def update_attributes_from_transaction_state(transaction_state); end
|
2039
|
+
def with_transaction_returning_status; end
|
2040
|
+
extend ActiveSupport::Concern
|
2041
|
+
end
|
2042
|
+
module ActiveRecord::Transactions::ClassMethods
|
2043
|
+
def after_commit(*args, &block); end
|
2044
|
+
def after_commit_without_transaction_enrollment(*args, &block); end
|
2045
|
+
def after_create_commit(*args, &block); end
|
2046
|
+
def after_destroy_commit(*args, &block); end
|
2047
|
+
def after_rollback(*args, &block); end
|
2048
|
+
def after_rollback_without_transaction_enrollment(*args, &block); end
|
2049
|
+
def after_update_commit(*args, &block); end
|
2050
|
+
def assert_valid_transaction_action(actions); end
|
2051
|
+
def before_commit(*args, &block); end
|
2052
|
+
def before_commit_without_transaction_enrollment(*args, &block); end
|
2053
|
+
def set_options_for_callbacks!(args, enforced_options = nil); end
|
2054
|
+
def transaction(options = nil, &block); end
|
2055
|
+
end
|
2056
|
+
module ActiveRecord::TouchLater
|
2057
|
+
def belongs_to_touch_method; end
|
2058
|
+
def has_defer_touch_attrs?; end
|
2059
|
+
def surreptitiously_touch(attrs); end
|
2060
|
+
def touch(*names, time: nil); end
|
2061
|
+
def touch_deferred_attributes; end
|
2062
|
+
def touch_later(*names); end
|
2063
|
+
extend ActiveSupport::Concern
|
2064
|
+
end
|
2065
|
+
module ActiveRecord::NoTouching
|
2066
|
+
def no_touching?; end
|
2067
|
+
def self.applied_to?(klass); end
|
2068
|
+
def self.apply_to(klass); end
|
2069
|
+
def self.klasses; end
|
2070
|
+
def touch(*arg0); end
|
2071
|
+
def touch_later(*arg0); end
|
2072
|
+
extend ActiveSupport::Concern
|
2073
|
+
end
|
2074
|
+
module ActiveRecord::NoTouching::ClassMethods
|
2075
|
+
def no_touching(&block); end
|
2076
|
+
end
|
2077
|
+
module ActiveRecord::Reflection
|
2078
|
+
def self.add_aggregate_reflection(ar, name, reflection); end
|
2079
|
+
def self.add_reflection(ar, name, reflection); end
|
2080
|
+
def self.create(macro, name, scope, options, ar); end
|
2081
|
+
extend ActiveSupport::Concern
|
2082
|
+
end
|
2083
|
+
module ActiveRecord::Reflection::ClassMethods
|
2084
|
+
def _reflect_on_association(association); end
|
2085
|
+
def clear_reflections_cache; end
|
2086
|
+
def reflect_on_aggregation(aggregation); end
|
2087
|
+
def reflect_on_all_aggregations; end
|
2088
|
+
def reflect_on_all_associations(macro = nil); end
|
2089
|
+
def reflect_on_all_autosave_associations; end
|
2090
|
+
def reflect_on_association(association); end
|
2091
|
+
def reflections; end
|
2092
|
+
end
|
2093
|
+
class ActiveRecord::Reflection::AbstractReflection
|
2094
|
+
def actual_source_reflection; end
|
2095
|
+
def alias_candidate(name); end
|
2096
|
+
def build_association(attributes, &block); end
|
2097
|
+
def build_scope(table, predicate_builder = nil); end
|
2098
|
+
def chain; end
|
2099
|
+
def check_validity_of_inverse!; end
|
2100
|
+
def class_name; end
|
2101
|
+
def constraints; end
|
2102
|
+
def counter_cache_column; end
|
2103
|
+
def counter_must_be_updated_by_has_many?; end
|
2104
|
+
def get_join_keys(association_klass); end
|
2105
|
+
def has_cached_counter?; end
|
2106
|
+
def inverse_of; end
|
2107
|
+
def inverse_updates_counter_cache?; end
|
2108
|
+
def inverse_updates_counter_in_memory?; end
|
2109
|
+
def inverse_which_updates_counter_cache; end
|
2110
|
+
def join_foreign_key; end
|
2111
|
+
def join_keys; end
|
2112
|
+
def join_primary_key(*arg0); end
|
2113
|
+
def join_scope(table, foreign_table, foreign_klass); end
|
2114
|
+
def join_scopes(table, predicate_builder); end
|
2115
|
+
def klass_join_scope(table, predicate_builder); end
|
2116
|
+
def predicate_builder(table); end
|
2117
|
+
def primary_key(klass); end
|
2118
|
+
def scopes; end
|
2119
|
+
def table_name; end
|
2120
|
+
def through_reflection?; end
|
2121
|
+
end
|
2122
|
+
class ActiveRecord::Reflection::AbstractReflection::JoinKeys < Struct
|
2123
|
+
def foreign_key; end
|
2124
|
+
def foreign_key=(_); end
|
2125
|
+
def key; end
|
2126
|
+
def key=(_); end
|
2127
|
+
def self.[](*arg0); end
|
2128
|
+
def self.inspect; end
|
2129
|
+
def self.members; end
|
2130
|
+
def self.new(*arg0); end
|
2131
|
+
end
|
2132
|
+
class ActiveRecord::Reflection::MacroReflection < ActiveRecord::Reflection::AbstractReflection
|
2133
|
+
def ==(other_aggregation); end
|
2134
|
+
def active_record; end
|
2135
|
+
def autosave=(autosave); end
|
2136
|
+
def compute_class(name); end
|
2137
|
+
def derive_class_name; end
|
2138
|
+
def initialize(name, scope, options, active_record); end
|
2139
|
+
def klass; end
|
2140
|
+
def name; end
|
2141
|
+
def options; end
|
2142
|
+
def plural_name; end
|
2143
|
+
def scope; end
|
2144
|
+
def scope_for(relation, owner = nil); end
|
2145
|
+
end
|
2146
|
+
class ActiveRecord::Reflection::AggregateReflection < ActiveRecord::Reflection::MacroReflection
|
2147
|
+
def mapping; end
|
2148
|
+
end
|
2149
|
+
class ActiveRecord::Reflection::AssociationReflection < ActiveRecord::Reflection::MacroReflection
|
2150
|
+
def active_record_primary_key; end
|
2151
|
+
def add_as_polymorphic_through(reflection, seed); end
|
2152
|
+
def add_as_source(seed); end
|
2153
|
+
def add_as_through(seed); end
|
2154
|
+
def association_class; end
|
2155
|
+
def association_foreign_key; end
|
2156
|
+
def association_primary_key(klass = nil); end
|
2157
|
+
def association_scope_cache(conn, owner, &block); end
|
2158
|
+
def automatic_inverse_of; end
|
2159
|
+
def belongs_to?; end
|
2160
|
+
def calculate_constructable(macro, options); end
|
2161
|
+
def can_find_inverse_of_automatically?(reflection); end
|
2162
|
+
def check_eager_loadable!; end
|
2163
|
+
def check_preloadable!; end
|
2164
|
+
def check_validity!; end
|
2165
|
+
def clear_association_scope_cache; end
|
2166
|
+
def collect_join_chain; end
|
2167
|
+
def collection?; end
|
2168
|
+
def compute_class(name); end
|
2169
|
+
def constructable?; end
|
2170
|
+
def derive_class_name; end
|
2171
|
+
def derive_foreign_key; end
|
2172
|
+
def derive_join_table; end
|
2173
|
+
def extensions; end
|
2174
|
+
def foreign_key; end
|
2175
|
+
def foreign_type; end
|
2176
|
+
def has_inverse?; end
|
2177
|
+
def has_one?; end
|
2178
|
+
def has_scope?; end
|
2179
|
+
def initialize(name, scope, options, active_record); end
|
2180
|
+
def inverse_name; end
|
2181
|
+
def join_id_for(owner); end
|
2182
|
+
def join_table; end
|
2183
|
+
def macro; end
|
2184
|
+
def nested?; end
|
2185
|
+
def parent_reflection; end
|
2186
|
+
def parent_reflection=(arg0); end
|
2187
|
+
def polymorphic?; end
|
2188
|
+
def polymorphic_inverse_of(associated_class); end
|
2189
|
+
def source_reflection; end
|
2190
|
+
def through_reflection; end
|
2191
|
+
def type; end
|
2192
|
+
def valid_inverse_reflection?(reflection); end
|
2193
|
+
def validate?; end
|
2194
|
+
end
|
2195
|
+
class ActiveRecord::Reflection::HasManyReflection < ActiveRecord::Reflection::AssociationReflection
|
2196
|
+
def association_class; end
|
2197
|
+
def association_primary_key(klass = nil); end
|
2198
|
+
def collection?; end
|
2199
|
+
def macro; end
|
2200
|
+
end
|
2201
|
+
class ActiveRecord::Reflection::HasOneReflection < ActiveRecord::Reflection::AssociationReflection
|
2202
|
+
def association_class; end
|
2203
|
+
def calculate_constructable(macro, options); end
|
2204
|
+
def has_one?; end
|
2205
|
+
def macro; end
|
2206
|
+
end
|
2207
|
+
class ActiveRecord::Reflection::BelongsToReflection < ActiveRecord::Reflection::AssociationReflection
|
2208
|
+
def association_class; end
|
2209
|
+
def belongs_to?; end
|
2210
|
+
def calculate_constructable(macro, options); end
|
2211
|
+
def can_find_inverse_of_automatically?(_); end
|
2212
|
+
def join_foreign_key; end
|
2213
|
+
def join_primary_key(klass = nil); end
|
2214
|
+
def macro; end
|
2215
|
+
end
|
2216
|
+
class ActiveRecord::Reflection::HasAndBelongsToManyReflection < ActiveRecord::Reflection::AssociationReflection
|
2217
|
+
def collection?; end
|
2218
|
+
def macro; end
|
2219
|
+
end
|
2220
|
+
class ActiveRecord::Reflection::ThroughReflection < ActiveRecord::Reflection::AbstractReflection
|
2221
|
+
def active_record(*args, &block); end
|
2222
|
+
def active_record_primary_key(*args, &block); end
|
2223
|
+
def actual_source_reflection; end
|
2224
|
+
def add_as_polymorphic_through(reflection, seed); end
|
2225
|
+
def add_as_source(seed); end
|
2226
|
+
def add_as_through(seed); end
|
2227
|
+
def association_class(*args, &block); end
|
2228
|
+
def association_foreign_key(*args, &block); end
|
2229
|
+
def association_primary_key(klass = nil); end
|
2230
|
+
def association_scope_cache(*args, &block); end
|
2231
|
+
def autosave=(arg); end
|
2232
|
+
def belongs_to?(*args, &block); end
|
2233
|
+
def check_eager_loadable!(*args, &block); end
|
2234
|
+
def check_preloadable!(*args, &block); end
|
2235
|
+
def check_validity!; end
|
2236
|
+
def clear_association_scope_cache; end
|
2237
|
+
def collect_join_chain; end
|
2238
|
+
def collect_join_reflections(seed); end
|
2239
|
+
def collection?(*args, &block); end
|
2240
|
+
def compute_class(*args, &block); end
|
2241
|
+
def constraints; end
|
2242
|
+
def constructable?(*args, &block); end
|
2243
|
+
def delegate_reflection; end
|
2244
|
+
def derive_class_name; end
|
2245
|
+
def extensions(*args, &block); end
|
2246
|
+
def foreign_key(*args, &block); end
|
2247
|
+
def foreign_type(*args, &block); end
|
2248
|
+
def get_join_keys(*args, &block); end
|
2249
|
+
def has_inverse?(*args, &block); end
|
2250
|
+
def has_one?(*args, &block); end
|
2251
|
+
def has_scope?; end
|
2252
|
+
def initialize(delegate_reflection); end
|
2253
|
+
def inverse_name; end
|
2254
|
+
def join_id_for(*args, &block); end
|
2255
|
+
def join_scopes(table, predicate_builder); end
|
2256
|
+
def join_table(*args, &block); end
|
2257
|
+
def klass; end
|
2258
|
+
def macro(*args, &block); end
|
2259
|
+
def name(*args, &block); end
|
2260
|
+
def nested?; end
|
2261
|
+
def options(*args, &block); end
|
2262
|
+
def parent_reflection(*args, &block); end
|
2263
|
+
def parent_reflection=(arg); end
|
2264
|
+
def plural_name(*args, &block); end
|
2265
|
+
def polymorphic?(*args, &block); end
|
2266
|
+
def polymorphic_inverse_of(*args, &block); end
|
2267
|
+
def scope(*args, &block); end
|
2268
|
+
def scope_for(*args, &block); end
|
2269
|
+
def scopes; end
|
2270
|
+
def source_options; end
|
2271
|
+
def source_reflection; end
|
2272
|
+
def source_reflection_name; end
|
2273
|
+
def source_reflection_names; end
|
2274
|
+
def through_options; end
|
2275
|
+
def through_reflection; end
|
2276
|
+
def through_reflection?; end
|
2277
|
+
def type(*args, &block); end
|
2278
|
+
def validate?(*args, &block); end
|
2279
|
+
end
|
2280
|
+
class ActiveRecord::Reflection::PolymorphicReflection < ActiveRecord::Reflection::AbstractReflection
|
2281
|
+
def constraints; end
|
2282
|
+
def get_join_keys(*args, &block); end
|
2283
|
+
def initialize(reflection, previous_reflection); end
|
2284
|
+
def join_scopes(table, predicate_builder); end
|
2285
|
+
def klass(*args, &block); end
|
2286
|
+
def plural_name(*args, &block); end
|
2287
|
+
def scope(*args, &block); end
|
2288
|
+
def scope_for(*args, &block); end
|
2289
|
+
def source_type_scope; end
|
2290
|
+
def type(*args, &block); end
|
2291
|
+
end
|
2292
|
+
class ActiveRecord::Reflection::RuntimeReflection < ActiveRecord::Reflection::AbstractReflection
|
2293
|
+
def aliased_table; end
|
2294
|
+
def all_includes; end
|
2295
|
+
def constraints(*args, &block); end
|
2296
|
+
def get_join_keys(*args, &block); end
|
2297
|
+
def initialize(reflection, association); end
|
2298
|
+
def klass; end
|
2299
|
+
def scope(*args, &block); end
|
2300
|
+
def type(*args, &block); end
|
2301
|
+
end
|
2302
|
+
module ActiveRecord::Serialization
|
2303
|
+
def serializable_hash(options = nil); end
|
2304
|
+
extend ActiveSupport::Concern
|
2305
|
+
include ActiveModel::Serializers::JSON
|
2306
|
+
end
|
2307
|
+
module ActiveRecord::Store
|
2308
|
+
def read_store_attribute(store_attribute, key); end
|
2309
|
+
def store_accessor_for(store_attribute); end
|
2310
|
+
def write_store_attribute(store_attribute, key, value); end
|
2311
|
+
extend ActiveSupport::Concern
|
2312
|
+
end
|
2313
|
+
module ActiveRecord::Store::ClassMethods
|
2314
|
+
def _store_accessors_module; end
|
2315
|
+
def store(store_attribute, options = nil); end
|
2316
|
+
def store_accessor(store_attribute, *keys); end
|
2317
|
+
def stored_attributes; end
|
2318
|
+
end
|
2319
|
+
class ActiveRecord::Store::HashAccessor
|
2320
|
+
def self.prepare(object, attribute); end
|
2321
|
+
def self.read(object, attribute, key); end
|
2322
|
+
def self.write(object, attribute, key, value); end
|
2323
|
+
end
|
2324
|
+
class ActiveRecord::Store::StringKeyedHashAccessor < ActiveRecord::Store::HashAccessor
|
2325
|
+
def self.read(object, attribute, key); end
|
2326
|
+
def self.write(object, attribute, key, value); end
|
2327
|
+
end
|
2328
|
+
class ActiveRecord::Store::IndifferentHashAccessor < ActiveRecord::Store::HashAccessor
|
2329
|
+
def self.prepare(object, store_attribute); end
|
2330
|
+
end
|
2331
|
+
class ActiveRecord::Store::IndifferentCoder
|
2332
|
+
def dump(obj); end
|
2333
|
+
def initialize(attr_name, coder_or_class_name); end
|
2334
|
+
def load(yaml); end
|
2335
|
+
def self.as_indifferent_hash(obj); end
|
2336
|
+
end
|
2337
|
+
module ActiveRecord::SecureToken
|
2338
|
+
extend ActiveSupport::Concern
|
2339
|
+
end
|
2340
|
+
module ActiveRecord::SecureToken::ClassMethods
|
2341
|
+
def generate_unique_secure_token; end
|
2342
|
+
def has_secure_token(attribute = nil); end
|
2343
|
+
end
|
2344
|
+
module ActiveRecord::Suppressor
|
2345
|
+
def save!(*arg0); end
|
2346
|
+
def save(*arg0); end
|
2347
|
+
extend ActiveSupport::Concern
|
2348
|
+
end
|
2349
|
+
module ActiveRecord::Suppressor::ClassMethods
|
2350
|
+
def suppress(&block); end
|
2351
|
+
end
|
2352
|
+
class ActiveRecord::SuppressorRegistry
|
2353
|
+
def initialize; end
|
2354
|
+
def suppressed; end
|
2355
|
+
extend ActiveSupport::PerThreadRegistry
|
2356
|
+
end
|
2357
|
+
class ActiveRecord::Base
|
2358
|
+
def __callbacks; end
|
2359
|
+
def __callbacks?; end
|
2360
|
+
def _before_commit_callbacks; end
|
2361
|
+
def _before_commit_without_transaction_enrollment_callbacks; end
|
2362
|
+
def _commit_callbacks; end
|
2363
|
+
def _commit_without_transaction_enrollment_callbacks; end
|
2364
|
+
def _create_callbacks; end
|
2365
|
+
def _destroy_callbacks; end
|
2366
|
+
def _find_callbacks; end
|
2367
|
+
def _initialize_callbacks; end
|
2368
|
+
def _reflections; end
|
2369
|
+
def _reflections?; end
|
2370
|
+
def _rollback_callbacks; end
|
2371
|
+
def _rollback_without_transaction_enrollment_callbacks; end
|
2372
|
+
def _run_before_commit_callbacks(&block); end
|
2373
|
+
def _run_before_commit_without_transaction_enrollment_callbacks(&block); end
|
2374
|
+
def _run_commit_callbacks(&block); end
|
2375
|
+
def _run_commit_without_transaction_enrollment_callbacks(&block); end
|
2376
|
+
def _run_create_callbacks(&block); end
|
2377
|
+
def _run_destroy_callbacks(&block); end
|
2378
|
+
def _run_find_callbacks(&block); end
|
2379
|
+
def _run_initialize_callbacks(&block); end
|
2380
|
+
def _run_rollback_callbacks(&block); end
|
2381
|
+
def _run_rollback_without_transaction_enrollment_callbacks(&block); end
|
2382
|
+
def _run_save_callbacks(&block); end
|
2383
|
+
def _run_touch_callbacks(&block); end
|
2384
|
+
def _run_update_callbacks(&block); end
|
2385
|
+
def _run_validate_callbacks(&block); end
|
2386
|
+
def _run_validation_callbacks(&block); end
|
2387
|
+
def _save_callbacks; end
|
2388
|
+
def _touch_callbacks; end
|
2389
|
+
def _update_callbacks; end
|
2390
|
+
def _validate_callbacks; end
|
2391
|
+
def _validation_callbacks; end
|
2392
|
+
def _validators; end
|
2393
|
+
def _validators?; end
|
2394
|
+
def aggregate_reflections; end
|
2395
|
+
def aggregate_reflections?; end
|
2396
|
+
def allow_unsafe_raw_sql; end
|
2397
|
+
def attribute_aliases; end
|
2398
|
+
def attribute_aliases?; end
|
2399
|
+
def attribute_method_matchers; end
|
2400
|
+
def attribute_method_matchers?; end
|
2401
|
+
def cache_timestamp_format; end
|
2402
|
+
def cache_timestamp_format?; end
|
2403
|
+
def cache_versioning; end
|
2404
|
+
def cache_versioning?; end
|
2405
|
+
def column_for_attribute(*args, &block); end
|
2406
|
+
def default_connection_handler; end
|
2407
|
+
def default_connection_handler?; end
|
2408
|
+
def default_scope_override; end
|
2409
|
+
def default_scopes; end
|
2410
|
+
def default_timezone; end
|
2411
|
+
def defined_enums; end
|
2412
|
+
def defined_enums?; end
|
2413
|
+
def dump_schema_after_migration; end
|
2414
|
+
def dump_schemas; end
|
2415
|
+
def error_on_ignored_order; end
|
2416
|
+
def include_root_in_json; end
|
2417
|
+
def include_root_in_json?; end
|
2418
|
+
def index_nested_attribute_errors; end
|
2419
|
+
def lock_optimistically; end
|
2420
|
+
def lock_optimistically?; end
|
2421
|
+
def logger; end
|
2422
|
+
def model_name(*args, &block); end
|
2423
|
+
def nested_attributes_options; end
|
2424
|
+
def nested_attributes_options?; end
|
2425
|
+
def partial_writes; end
|
2426
|
+
def partial_writes?; end
|
2427
|
+
def pluralize_table_names; end
|
2428
|
+
def pluralize_table_names?; end
|
2429
|
+
def primary_key_prefix_type; end
|
2430
|
+
def record_timestamps; end
|
2431
|
+
def record_timestamps=(val); end
|
2432
|
+
def record_timestamps?; end
|
2433
|
+
def schema_format; end
|
2434
|
+
def self.__callbacks; end
|
2435
|
+
def self.__callbacks=(val); end
|
2436
|
+
def self.__callbacks?; end
|
2437
|
+
def self._attr_readonly; end
|
2438
|
+
def self._attr_readonly=(val); end
|
2439
|
+
def self._attr_readonly?; end
|
2440
|
+
def self._before_commit_callbacks; end
|
2441
|
+
def self._before_commit_callbacks=(value); end
|
2442
|
+
def self._before_commit_without_transaction_enrollment_callbacks; end
|
2443
|
+
def self._before_commit_without_transaction_enrollment_callbacks=(value); end
|
2444
|
+
def self._commit_callbacks; end
|
2445
|
+
def self._commit_callbacks=(value); end
|
2446
|
+
def self._commit_without_transaction_enrollment_callbacks; end
|
2447
|
+
def self._commit_without_transaction_enrollment_callbacks=(value); end
|
2448
|
+
def self._create_callbacks; end
|
2449
|
+
def self._create_callbacks=(value); end
|
2450
|
+
def self._destroy_callbacks; end
|
2451
|
+
def self._destroy_callbacks=(value); end
|
2452
|
+
def self._find_callbacks; end
|
2453
|
+
def self._find_callbacks=(value); end
|
2454
|
+
def self._initialize_callbacks; end
|
2455
|
+
def self._initialize_callbacks=(value); end
|
2456
|
+
def self._reflections; end
|
2457
|
+
def self._reflections=(val); end
|
2458
|
+
def self._reflections?; end
|
2459
|
+
def self._rollback_callbacks; end
|
2460
|
+
def self._rollback_callbacks=(value); end
|
2461
|
+
def self._rollback_without_transaction_enrollment_callbacks; end
|
2462
|
+
def self._rollback_without_transaction_enrollment_callbacks=(value); end
|
2463
|
+
def self._save_callbacks; end
|
2464
|
+
def self._save_callbacks=(value); end
|
2465
|
+
def self._touch_callbacks; end
|
2466
|
+
def self._touch_callbacks=(value); end
|
2467
|
+
def self._update_callbacks; end
|
2468
|
+
def self._update_callbacks=(value); end
|
2469
|
+
def self._validate_callbacks; end
|
2470
|
+
def self._validate_callbacks=(value); end
|
2471
|
+
def self._validation_callbacks; end
|
2472
|
+
def self._validation_callbacks=(value); end
|
2473
|
+
def self._validators; end
|
2474
|
+
def self._validators=(val); end
|
2475
|
+
def self._validators?; end
|
2476
|
+
def self.after_create(*args, &block); end
|
2477
|
+
def self.after_destroy(*args, &block); end
|
2478
|
+
def self.after_find(*args, &block); end
|
2479
|
+
def self.after_initialize(*args, &block); end
|
2480
|
+
def self.after_save(*args, &block); end
|
2481
|
+
def self.after_touch(*args, &block); end
|
2482
|
+
def self.after_update(*args, &block); end
|
2483
|
+
def self.aggregate_reflections; end
|
2484
|
+
def self.aggregate_reflections=(val); end
|
2485
|
+
def self.aggregate_reflections?; end
|
2486
|
+
def self.allow_unsafe_raw_sql; end
|
2487
|
+
def self.allow_unsafe_raw_sql=(obj); end
|
2488
|
+
def self.around_create(*args, &block); end
|
2489
|
+
def self.around_destroy(*args, &block); end
|
2490
|
+
def self.around_save(*args, &block); end
|
2491
|
+
def self.around_update(*args, &block); end
|
2492
|
+
def self.attribute_aliases; end
|
2493
|
+
def self.attribute_aliases=(val); end
|
2494
|
+
def self.attribute_aliases?; end
|
2495
|
+
def self.attribute_method_matchers; end
|
2496
|
+
def self.attribute_method_matchers=(val); end
|
2497
|
+
def self.attribute_method_matchers?; end
|
2498
|
+
def self.attribute_type_decorations; end
|
2499
|
+
def self.attribute_type_decorations=(val); end
|
2500
|
+
def self.attribute_type_decorations?; end
|
2501
|
+
def self.attributes_to_define_after_schema_loads; end
|
2502
|
+
def self.attributes_to_define_after_schema_loads=(val); end
|
2503
|
+
def self.attributes_to_define_after_schema_loads?; end
|
2504
|
+
def self.before_create(*args, &block); end
|
2505
|
+
def self.before_destroy(*args, &block); end
|
2506
|
+
def self.before_save(*args, &block); end
|
2507
|
+
def self.before_update(*args, &block); end
|
2508
|
+
def self.belongs_to_required_by_default; end
|
2509
|
+
def self.belongs_to_required_by_default=(obj); end
|
2510
|
+
def self.cache_timestamp_format; end
|
2511
|
+
def self.cache_timestamp_format=(val); end
|
2512
|
+
def self.cache_timestamp_format?; end
|
2513
|
+
def self.cache_versioning; end
|
2514
|
+
def self.cache_versioning=(val); end
|
2515
|
+
def self.cache_versioning?; end
|
2516
|
+
def self.configurations; end
|
2517
|
+
def self.configurations=(config); end
|
2518
|
+
def self.connection_handler; end
|
2519
|
+
def self.connection_handler=(handler); end
|
2520
|
+
def self.default_connection_handler; end
|
2521
|
+
def self.default_connection_handler=(val); end
|
2522
|
+
def self.default_connection_handler?; end
|
2523
|
+
def self.default_scope_override; end
|
2524
|
+
def self.default_scope_override=(val); end
|
2525
|
+
def self.default_scopes; end
|
2526
|
+
def self.default_scopes=(val); end
|
2527
|
+
def self.default_timezone; end
|
2528
|
+
def self.default_timezone=(obj); end
|
2529
|
+
def self.defined_enums; end
|
2530
|
+
def self.defined_enums=(val); end
|
2531
|
+
def self.defined_enums?; end
|
2532
|
+
def self.dump_schema_after_migration; end
|
2533
|
+
def self.dump_schema_after_migration=(obj); end
|
2534
|
+
def self.dump_schemas; end
|
2535
|
+
def self.dump_schemas=(obj); end
|
2536
|
+
def self.error_on_ignored_order; end
|
2537
|
+
def self.error_on_ignored_order=(obj); end
|
2538
|
+
def self.include_root_in_json; end
|
2539
|
+
def self.include_root_in_json=(val); end
|
2540
|
+
def self.include_root_in_json?; end
|
2541
|
+
def self.index_nested_attribute_errors; end
|
2542
|
+
def self.index_nested_attribute_errors=(obj); end
|
2543
|
+
def self.internal_metadata_table_name; end
|
2544
|
+
def self.internal_metadata_table_name=(val); end
|
2545
|
+
def self.internal_metadata_table_name?; end
|
2546
|
+
def self.local_stored_attributes; end
|
2547
|
+
def self.local_stored_attributes=(arg0); end
|
2548
|
+
def self.lock_optimistically; end
|
2549
|
+
def self.lock_optimistically=(val); end
|
2550
|
+
def self.lock_optimistically?; end
|
2551
|
+
def self.logger; end
|
2552
|
+
def self.logger=(obj); end
|
2553
|
+
def self.maintain_test_schema; end
|
2554
|
+
def self.maintain_test_schema=(obj); end
|
2555
|
+
def self.nested_attributes_options; end
|
2556
|
+
def self.nested_attributes_options=(val); end
|
2557
|
+
def self.nested_attributes_options?; end
|
2558
|
+
def self.partial_writes; end
|
2559
|
+
def self.partial_writes=(val); end
|
2560
|
+
def self.partial_writes?; end
|
2561
|
+
def self.pluralize_table_names; end
|
2562
|
+
def self.pluralize_table_names=(val); end
|
2563
|
+
def self.pluralize_table_names?; end
|
2564
|
+
def self.primary_key_prefix_type; end
|
2565
|
+
def self.primary_key_prefix_type=(obj); end
|
2566
|
+
def self.record_timestamps; end
|
2567
|
+
def self.record_timestamps=(val); end
|
2568
|
+
def self.record_timestamps?; end
|
2569
|
+
def self.schema_format; end
|
2570
|
+
def self.schema_format=(obj); end
|
2571
|
+
def self.schema_migrations_table_name; end
|
2572
|
+
def self.schema_migrations_table_name=(val); end
|
2573
|
+
def self.schema_migrations_table_name?; end
|
2574
|
+
def self.skip_time_zone_conversion_for_attributes; end
|
2575
|
+
def self.skip_time_zone_conversion_for_attributes=(val); end
|
2576
|
+
def self.skip_time_zone_conversion_for_attributes?; end
|
2577
|
+
def self.store_full_sti_class; end
|
2578
|
+
def self.store_full_sti_class=(val); end
|
2579
|
+
def self.store_full_sti_class?; end
|
2580
|
+
def self.table_name_prefix; end
|
2581
|
+
def self.table_name_prefix=(val); end
|
2582
|
+
def self.table_name_prefix?; end
|
2583
|
+
def self.table_name_suffix; end
|
2584
|
+
def self.table_name_suffix=(val); end
|
2585
|
+
def self.table_name_suffix?; end
|
2586
|
+
def self.time_zone_aware_attributes; end
|
2587
|
+
def self.time_zone_aware_attributes=(obj); end
|
2588
|
+
def self.time_zone_aware_types; end
|
2589
|
+
def self.time_zone_aware_types=(val); end
|
2590
|
+
def self.time_zone_aware_types?; end
|
2591
|
+
def self.timestamped_migrations; end
|
2592
|
+
def self.timestamped_migrations=(obj); end
|
2593
|
+
def self.verbose_query_logs; end
|
2594
|
+
def self.verbose_query_logs=(obj); end
|
2595
|
+
def self.warn_on_records_fetched_greater_than; end
|
2596
|
+
def self.warn_on_records_fetched_greater_than=(obj); end
|
2597
|
+
def skip_time_zone_conversion_for_attributes; end
|
2598
|
+
def skip_time_zone_conversion_for_attributes?; end
|
2599
|
+
def store_full_sti_class; end
|
2600
|
+
def store_full_sti_class?; end
|
2601
|
+
def table_name_prefix; end
|
2602
|
+
def table_name_prefix?; end
|
2603
|
+
def table_name_suffix; end
|
2604
|
+
def table_name_suffix?; end
|
2605
|
+
def time_zone_aware_attributes; end
|
2606
|
+
def time_zone_aware_types; end
|
2607
|
+
def time_zone_aware_types?; end
|
2608
|
+
def timestamped_migrations; end
|
2609
|
+
def type_for_attribute(*args, &block); end
|
2610
|
+
def validation_context; end
|
2611
|
+
def validation_context=(arg0); end
|
2612
|
+
def verbose_query_logs; end
|
2613
|
+
def warn_on_records_fetched_greater_than; end
|
2614
|
+
extend ActiveModel::AttributeMethods::ClassMethods
|
2615
|
+
extend ActiveModel::Callbacks
|
2616
|
+
extend ActiveModel::Conversion::ClassMethods
|
2617
|
+
extend ActiveModel::Naming
|
2618
|
+
extend ActiveModel::Naming
|
2619
|
+
extend ActiveModel::Naming
|
2620
|
+
extend ActiveModel::SecurePassword::ClassMethods
|
2621
|
+
extend ActiveModel::Translation
|
2622
|
+
extend ActiveModel::Validations::Callbacks::ClassMethods
|
2623
|
+
extend ActiveModel::Validations::ClassMethods
|
2624
|
+
extend ActiveModel::Validations::HelperMethods
|
2625
|
+
extend ActiveRecord::Aggregations::ClassMethods
|
2626
|
+
extend ActiveRecord::Associations::ClassMethods
|
2627
|
+
extend ActiveRecord::AttributeDecorators::ClassMethods
|
2628
|
+
extend ActiveRecord::AttributeMethods::ClassMethods
|
2629
|
+
extend ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods
|
2630
|
+
extend ActiveRecord::AttributeMethods::Read::ClassMethods
|
2631
|
+
extend ActiveRecord::AttributeMethods::Serialization::ClassMethods
|
2632
|
+
extend ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods
|
2633
|
+
extend ActiveRecord::AttributeMethods::Write::ClassMethods
|
2634
|
+
extend ActiveRecord::Attributes::ClassMethods
|
2635
|
+
extend ActiveRecord::AutosaveAssociation::ClassMethods
|
2636
|
+
extend ActiveRecord::CollectionCacheKey
|
2637
|
+
extend ActiveRecord::ConnectionHandling
|
2638
|
+
extend ActiveRecord::Core::ClassMethods
|
2639
|
+
extend ActiveRecord::CounterCache::ClassMethods
|
2640
|
+
extend ActiveRecord::DefineCallbacks::ClassMethods
|
2641
|
+
extend ActiveRecord::Delegation::DelegateCache
|
2642
|
+
extend ActiveRecord::DynamicMatchers
|
2643
|
+
extend ActiveRecord::Enum
|
2644
|
+
extend ActiveRecord::Explain
|
2645
|
+
extend ActiveRecord::Inheritance::ClassMethods
|
2646
|
+
extend ActiveRecord::Integration::ClassMethods
|
2647
|
+
extend ActiveRecord::Locking::Optimistic::ClassMethods
|
2648
|
+
extend ActiveRecord::ModelSchema::ClassMethods
|
2649
|
+
extend ActiveRecord::NestedAttributes::ClassMethods
|
2650
|
+
extend ActiveRecord::NoTouching::ClassMethods
|
2651
|
+
extend ActiveRecord::Persistence::ClassMethods
|
2652
|
+
extend ActiveRecord::QueryCache::ClassMethods
|
2653
|
+
extend ActiveRecord::Querying
|
2654
|
+
extend ActiveRecord::ReadonlyAttributes::ClassMethods
|
2655
|
+
extend ActiveRecord::Reflection::ClassMethods
|
2656
|
+
extend ActiveRecord::Sanitization::ClassMethods
|
2657
|
+
extend ActiveRecord::Scoping::ClassMethods
|
2658
|
+
extend ActiveRecord::Scoping::Default::ClassMethods
|
2659
|
+
extend ActiveRecord::Scoping::Named::ClassMethods
|
2660
|
+
extend ActiveRecord::SecureToken::ClassMethods
|
2661
|
+
extend ActiveRecord::Store::ClassMethods
|
2662
|
+
extend ActiveRecord::Suppressor::ClassMethods
|
2663
|
+
extend ActiveRecord::Timestamp::ClassMethods
|
2664
|
+
extend ActiveRecord::Transactions::ClassMethods
|
2665
|
+
extend ActiveRecord::Translation
|
2666
|
+
extend ActiveRecord::Validations::ClassMethods
|
2667
|
+
extend ActiveSupport::Benchmarkable
|
2668
|
+
extend ActiveSupport::Callbacks::ClassMethods
|
2669
|
+
extend ActiveSupport::DescendantsTracker
|
2670
|
+
extend ActiveSupport::DescendantsTracker
|
2671
|
+
include ActiveModel::AttributeMethods
|
2672
|
+
include ActiveModel::AttributeMethods
|
2673
|
+
include ActiveModel::Conversion
|
2674
|
+
include ActiveModel::Dirty
|
2675
|
+
include ActiveModel::SecurePassword
|
2676
|
+
include ActiveModel::Serializers::JSON
|
2677
|
+
include ActiveModel::Validations
|
2678
|
+
include ActiveModel::Validations::Callbacks
|
2679
|
+
include ActiveModel::Validations::HelperMethods
|
2680
|
+
include ActiveRecord::Aggregations
|
2681
|
+
include ActiveRecord::Associations
|
2682
|
+
include ActiveRecord::AttributeAssignment
|
2683
|
+
include ActiveRecord::AttributeDecorators
|
2684
|
+
include ActiveRecord::AttributeMethods
|
2685
|
+
include ActiveRecord::AttributeMethods::BeforeTypeCast
|
2686
|
+
include ActiveRecord::AttributeMethods::Dirty
|
2687
|
+
include ActiveRecord::AttributeMethods::PrimaryKey
|
2688
|
+
include ActiveRecord::AttributeMethods::Query
|
2689
|
+
include ActiveRecord::AttributeMethods::Read
|
2690
|
+
include ActiveRecord::AttributeMethods::Serialization
|
2691
|
+
include ActiveRecord::AttributeMethods::TimeZoneConversion
|
2692
|
+
include ActiveRecord::AttributeMethods::Write
|
2693
|
+
include ActiveRecord::Attributes
|
2694
|
+
include ActiveRecord::AutosaveAssociation
|
2695
|
+
include ActiveRecord::Base::GeneratedAssociationMethods
|
2696
|
+
include ActiveRecord::Callbacks
|
2697
|
+
include ActiveRecord::Core
|
2698
|
+
include ActiveRecord::CounterCache
|
2699
|
+
include ActiveRecord::DefineCallbacks
|
2700
|
+
include ActiveRecord::Inheritance
|
2701
|
+
include ActiveRecord::Integration
|
2702
|
+
include ActiveRecord::Locking::Optimistic
|
2703
|
+
include ActiveRecord::Locking::Pessimistic
|
2704
|
+
include ActiveRecord::ModelSchema
|
2705
|
+
include ActiveRecord::NestedAttributes
|
2706
|
+
include ActiveRecord::NoTouching
|
2707
|
+
include ActiveRecord::Persistence
|
2708
|
+
include ActiveRecord::ReadonlyAttributes
|
2709
|
+
include ActiveRecord::Reflection
|
2710
|
+
include ActiveRecord::Sanitization
|
2711
|
+
include ActiveRecord::Scoping
|
2712
|
+
include ActiveRecord::Scoping::Default
|
2713
|
+
include ActiveRecord::Scoping::Named
|
2714
|
+
include ActiveRecord::SecureToken
|
2715
|
+
include ActiveRecord::Serialization
|
2716
|
+
include ActiveRecord::Store
|
2717
|
+
include ActiveRecord::Suppressor
|
2718
|
+
include ActiveRecord::Timestamp
|
2719
|
+
include ActiveRecord::TouchLater
|
2720
|
+
include ActiveRecord::Transactions
|
2721
|
+
include ActiveRecord::Validations
|
2722
|
+
include ActiveSupport::Callbacks
|
2723
|
+
include ActiveSupport::Callbacks
|
2724
|
+
include Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_17
|
2725
|
+
end
|
2726
|
+
module Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_17
|
2727
|
+
end
|
2728
|
+
module ActiveRecord::Base::GeneratedAssociationMethods
|
2729
|
+
end
|
2730
|
+
class ActiveRecord::RuntimeRegistry
|
2731
|
+
def connection_handler; end
|
2732
|
+
def connection_handler=(arg0); end
|
2733
|
+
def self.connection_handler; end
|
2734
|
+
def self.connection_handler=(x); end
|
2735
|
+
def self.sql_runtime; end
|
2736
|
+
def self.sql_runtime=(x); end
|
2737
|
+
def sql_runtime; end
|
2738
|
+
def sql_runtime=(arg0); end
|
2739
|
+
extend ActiveSupport::PerThreadRegistry
|
2740
|
+
end
|
2741
|
+
module ActiveRecord::FinderMethods
|
2742
|
+
def apply_join_dependency(eager_loading: nil); end
|
2743
|
+
def construct_join_dependency; end
|
2744
|
+
def construct_relation_for_exists(conditions); end
|
2745
|
+
def exists?(conditions = nil); end
|
2746
|
+
def fifth!; end
|
2747
|
+
def fifth; end
|
2748
|
+
def find(*args); end
|
2749
|
+
def find_by!(arg, *args); end
|
2750
|
+
def find_by(arg, *args); end
|
2751
|
+
def find_last(limit); end
|
2752
|
+
def find_nth(index); end
|
2753
|
+
def find_nth_from_last(index); end
|
2754
|
+
def find_nth_with_limit(index, limit); end
|
2755
|
+
def find_one(id); end
|
2756
|
+
def find_some(ids); end
|
2757
|
+
def find_some_ordered(ids); end
|
2758
|
+
def find_take; end
|
2759
|
+
def find_take_with_limit(limit); end
|
2760
|
+
def find_with_ids(*ids); end
|
2761
|
+
def first!; end
|
2762
|
+
def first(limit = nil); end
|
2763
|
+
def forty_two!; end
|
2764
|
+
def forty_two; end
|
2765
|
+
def fourth!; end
|
2766
|
+
def fourth; end
|
2767
|
+
def last!; end
|
2768
|
+
def last(limit = nil); end
|
2769
|
+
def limited_ids_for(relation); end
|
2770
|
+
def offset_index; end
|
2771
|
+
def ordered_relation; end
|
2772
|
+
def raise_record_not_found_exception!(ids = nil, result_size = nil, expected_size = nil, key = nil, not_found_ids = nil); end
|
2773
|
+
def second!; end
|
2774
|
+
def second; end
|
2775
|
+
def second_to_last!; end
|
2776
|
+
def second_to_last; end
|
2777
|
+
def take!; end
|
2778
|
+
def take(limit = nil); end
|
2779
|
+
def third!; end
|
2780
|
+
def third; end
|
2781
|
+
def third_to_last!; end
|
2782
|
+
def third_to_last; end
|
2783
|
+
def using_limitable_reflections?(reflections); end
|
2784
|
+
end
|
2785
|
+
module ActiveRecord::Calculations
|
2786
|
+
def aggregate_column(column_name); end
|
2787
|
+
def average(column_name); end
|
2788
|
+
def build_count_subquery(relation, column_name, distinct); end
|
2789
|
+
def calculate(operation, column_name); end
|
2790
|
+
def column_alias_for(keys); end
|
2791
|
+
def count(column_name = nil); end
|
2792
|
+
def distinct_select?(column_name); end
|
2793
|
+
def execute_grouped_calculation(operation, column_name, distinct); end
|
2794
|
+
def execute_simple_calculation(operation, column_name, distinct); end
|
2795
|
+
def has_include?(column_name); end
|
2796
|
+
def ids; end
|
2797
|
+
def maximum(column_name); end
|
2798
|
+
def minimum(column_name); end
|
2799
|
+
def operation_over_aggregate_column(column, operation, distinct); end
|
2800
|
+
def perform_calculation(operation, column_name); end
|
2801
|
+
def pluck(*column_names); end
|
2802
|
+
def select_for_count; end
|
2803
|
+
def sum(column_name = nil); end
|
2804
|
+
def type_cast_calculated_value(value, type, operation = nil); end
|
2805
|
+
def type_for(field, &block); end
|
2806
|
+
end
|
2807
|
+
class ActiveRecord::Relation
|
2808
|
+
def ==(other); end
|
2809
|
+
def _exec_scope(*args, &block); end
|
2810
|
+
def alias_tracker(joins = nil, aliases = nil); end
|
2811
|
+
def any?; end
|
2812
|
+
def arel_attribute(name); end
|
2813
|
+
def blank?; end
|
2814
|
+
def build(attributes = nil, &block); end
|
2815
|
+
def build_preloader; end
|
2816
|
+
def cache_key(timestamp_column = nil); end
|
2817
|
+
def create!(attributes = nil, &block); end
|
2818
|
+
def create(attributes = nil, &block); end
|
2819
|
+
def delete_all; end
|
2820
|
+
def destroy_all; end
|
2821
|
+
def eager_loading?; end
|
2822
|
+
def empty?; end
|
2823
|
+
def empty_scope?; end
|
2824
|
+
def encode_with(coder); end
|
2825
|
+
def exec_queries(&block); end
|
2826
|
+
def explain; end
|
2827
|
+
def find_or_create_by!(attributes, &block); end
|
2828
|
+
def find_or_create_by(attributes, &block); end
|
2829
|
+
def find_or_initialize_by(attributes, &block); end
|
2830
|
+
def first_or_create!(attributes = nil, &block); end
|
2831
|
+
def first_or_create(attributes = nil, &block); end
|
2832
|
+
def first_or_initialize(attributes = nil, &block); end
|
2833
|
+
def has_join_values?; end
|
2834
|
+
def has_limit_or_offset?; end
|
2835
|
+
def initialize(klass, table: nil, predicate_builder: nil, values: nil); end
|
2836
|
+
def initialize_copy(other); end
|
2837
|
+
def inspect; end
|
2838
|
+
def joined_includes_values; end
|
2839
|
+
def klass; end
|
2840
|
+
def load(&block); end
|
2841
|
+
def load_records(records); end
|
2842
|
+
def loaded; end
|
2843
|
+
def loaded?; end
|
2844
|
+
def locked?; end
|
2845
|
+
def many?; end
|
2846
|
+
def model; end
|
2847
|
+
def new(attributes = nil, &block); end
|
2848
|
+
def none?; end
|
2849
|
+
def one?; end
|
2850
|
+
def predicate_builder; end
|
2851
|
+
def pretty_print(q); end
|
2852
|
+
def records; end
|
2853
|
+
def references_eager_loaded_tables?; end
|
2854
|
+
def reload; end
|
2855
|
+
def reset; end
|
2856
|
+
def scope_for_create; end
|
2857
|
+
def scoping; end
|
2858
|
+
def size; end
|
2859
|
+
def skip_query_cache_if_necessary; end
|
2860
|
+
def table; end
|
2861
|
+
def tables_in_string(string); end
|
2862
|
+
def to_a; end
|
2863
|
+
def to_ary; end
|
2864
|
+
def to_sql; end
|
2865
|
+
def update(id = nil, attributes); end
|
2866
|
+
def update_all(updates); end
|
2867
|
+
def values; end
|
2868
|
+
def values_for_create(attributes = nil); end
|
2869
|
+
def where_values_hash(relation_table_name = nil); end
|
2870
|
+
extend ActiveRecord::Delegation::ClassMethods
|
2871
|
+
include ActiveRecord::FinderMethods
|
2872
|
+
include Enumerable
|
2873
|
+
end
|
2874
|
+
class ActiveRecord::Relation::HashMerger
|
2875
|
+
def hash; end
|
2876
|
+
def initialize(relation, hash); end
|
2877
|
+
def merge; end
|
2878
|
+
def other; end
|
2879
|
+
def relation; end
|
2880
|
+
end
|
2881
|
+
class ActiveRecord::Relation::Merger
|
2882
|
+
def initialize(relation, other); end
|
2883
|
+
def merge; end
|
2884
|
+
def merge_clauses; end
|
2885
|
+
def merge_joins; end
|
2886
|
+
def merge_multi_values; end
|
2887
|
+
def merge_outer_joins; end
|
2888
|
+
def merge_preloads; end
|
2889
|
+
def merge_single_values; end
|
2890
|
+
def normal_values; end
|
2891
|
+
def other; end
|
2892
|
+
def relation; end
|
2893
|
+
def replace_from_clause?; end
|
2894
|
+
def values; end
|
2895
|
+
end
|
2896
|
+
module ActiveRecord::SpawnMethods
|
2897
|
+
def except(*skips); end
|
2898
|
+
def merge!(other); end
|
2899
|
+
def merge(other); end
|
2900
|
+
def only(*onlies); end
|
2901
|
+
def relation_with(values); end
|
2902
|
+
def spawn; end
|
2903
|
+
end
|
2904
|
+
class ActiveRecord::Relation::FromClause
|
2905
|
+
def empty?; end
|
2906
|
+
def initialize(value, name); end
|
2907
|
+
def merge(other); end
|
2908
|
+
def name; end
|
2909
|
+
def self.empty; end
|
2910
|
+
def value; end
|
2911
|
+
end
|
2912
|
+
class ActiveRecord::Relation::QueryAttribute < ActiveModel::Attribute
|
2913
|
+
def _infinity?(value); end
|
2914
|
+
def boundable?; end
|
2915
|
+
def infinity?; end
|
2916
|
+
def nil?; end
|
2917
|
+
def type_cast(value); end
|
2918
|
+
def value_for_database; end
|
2919
|
+
def with_cast_value(value); end
|
2920
|
+
end
|
2921
|
+
class ActiveRecord::Relation::WhereClause
|
2922
|
+
def +(other); end
|
2923
|
+
def -(other); end
|
2924
|
+
def ==(other); end
|
2925
|
+
def any?(*args, &block); end
|
2926
|
+
def ast; end
|
2927
|
+
def empty?(*args, &block); end
|
2928
|
+
def equalities(predicates); end
|
2929
|
+
def equality_node?(node); end
|
2930
|
+
def except(*columns); end
|
2931
|
+
def except_predicates(columns); end
|
2932
|
+
def extract_node_value(node); end
|
2933
|
+
def initialize(predicates); end
|
2934
|
+
def invert; end
|
2935
|
+
def invert_predicate(node); end
|
2936
|
+
def inverted_predicates; end
|
2937
|
+
def merge(other); end
|
2938
|
+
def non_empty_predicates; end
|
2939
|
+
def or(other); end
|
2940
|
+
def predicates; end
|
2941
|
+
def predicates_unreferenced_by(other); end
|
2942
|
+
def predicates_with_wrapped_sql_literals; end
|
2943
|
+
def referenced_columns; end
|
2944
|
+
def self.empty; end
|
2945
|
+
def to_h(table_name = nil); end
|
2946
|
+
def wrap_sql_literal(node); end
|
2947
|
+
end
|
2948
|
+
class ActiveRecord::Relation::WhereClauseFactory
|
2949
|
+
def build(opts, other); end
|
2950
|
+
def initialize(klass, predicate_builder); end
|
2951
|
+
def klass; end
|
2952
|
+
def predicate_builder; end
|
2953
|
+
end
|
2954
|
+
module ActiveRecord::QueryMethods
|
2955
|
+
def _select!(*fields); end
|
2956
|
+
def arel(aliases = nil); end
|
2957
|
+
def arel_column(field); end
|
2958
|
+
def arel_columns(columns); end
|
2959
|
+
def assert_mutability!; end
|
2960
|
+
def build_arel(aliases); end
|
2961
|
+
def build_from; end
|
2962
|
+
def build_join_query(manager, buckets, join_type, aliases); end
|
2963
|
+
def build_joins(manager, joins, aliases); end
|
2964
|
+
def build_left_outer_joins(manager, outer_joins, aliases); end
|
2965
|
+
def build_order(arel); end
|
2966
|
+
def build_select(arel); end
|
2967
|
+
def check_if_method_has_arguments!(method_name, args); end
|
2968
|
+
def convert_join_strings_to_ast(joins); end
|
2969
|
+
def create_with!(value); end
|
2970
|
+
def create_with(value); end
|
2971
|
+
def create_with_value; end
|
2972
|
+
def create_with_value=(value); end
|
2973
|
+
def distinct!(value = nil); end
|
2974
|
+
def distinct(value = nil); end
|
2975
|
+
def distinct_value; end
|
2976
|
+
def distinct_value=(value); end
|
2977
|
+
def does_not_support_reverse?(order); end
|
2978
|
+
def eager_load!(*args); end
|
2979
|
+
def eager_load(*args); end
|
2980
|
+
def eager_load_values; end
|
2981
|
+
def eager_load_values=(value); end
|
2982
|
+
def extending!(*modules, &block); end
|
2983
|
+
def extending(*modules, &block); end
|
2984
|
+
def extending_values; end
|
2985
|
+
def extending_values=(value); end
|
2986
|
+
def extensions; end
|
2987
|
+
def from!(value, subquery_name = nil); end
|
2988
|
+
def from(value, subquery_name = nil); end
|
2989
|
+
def from_clause; end
|
2990
|
+
def from_clause=(value); end
|
2991
|
+
def get_value(name); end
|
2992
|
+
def group!(*args); end
|
2993
|
+
def group(*args); end
|
2994
|
+
def group_values; end
|
2995
|
+
def group_values=(value); end
|
2996
|
+
def having!(opts, *rest); end
|
2997
|
+
def having(opts, *rest); end
|
2998
|
+
def having_clause; end
|
2999
|
+
def having_clause=(value); end
|
3000
|
+
def having_clause_factory; end
|
3001
|
+
def includes!(*args); end
|
3002
|
+
def includes(*args); end
|
3003
|
+
def includes_values; end
|
3004
|
+
def includes_values=(value); end
|
3005
|
+
def joins!(*args); end
|
3006
|
+
def joins(*args); end
|
3007
|
+
def joins_values; end
|
3008
|
+
def joins_values=(value); end
|
3009
|
+
def left_joins(*args); end
|
3010
|
+
def left_outer_joins!(*args); end
|
3011
|
+
def left_outer_joins(*args); end
|
3012
|
+
def left_outer_joins_values; end
|
3013
|
+
def left_outer_joins_values=(value); end
|
3014
|
+
def limit!(value); end
|
3015
|
+
def limit(value); end
|
3016
|
+
def limit_value; end
|
3017
|
+
def limit_value=(value); end
|
3018
|
+
def lock!(locks = nil); end
|
3019
|
+
def lock(locks = nil); end
|
3020
|
+
def lock_value; end
|
3021
|
+
def lock_value=(value); end
|
3022
|
+
def none!; end
|
3023
|
+
def none; end
|
3024
|
+
def offset!(value); end
|
3025
|
+
def offset(value); end
|
3026
|
+
def offset_value; end
|
3027
|
+
def offset_value=(value); end
|
3028
|
+
def or!(other); end
|
3029
|
+
def or(other); end
|
3030
|
+
def order!(*args); end
|
3031
|
+
def order(*args); end
|
3032
|
+
def order_column(field); end
|
3033
|
+
def order_values; end
|
3034
|
+
def order_values=(value); end
|
3035
|
+
def preload!(*args); end
|
3036
|
+
def preload(*args); end
|
3037
|
+
def preload_values; end
|
3038
|
+
def preload_values=(value); end
|
3039
|
+
def preprocess_order_args(order_args); end
|
3040
|
+
def readonly!(value = nil); end
|
3041
|
+
def readonly(value = nil); end
|
3042
|
+
def readonly_value; end
|
3043
|
+
def readonly_value=(value); end
|
3044
|
+
def references!(*table_names); end
|
3045
|
+
def references(*table_names); end
|
3046
|
+
def references_values; end
|
3047
|
+
def references_values=(value); end
|
3048
|
+
def reorder!(*args); end
|
3049
|
+
def reorder(*args); end
|
3050
|
+
def reordering_value; end
|
3051
|
+
def reordering_value=(value); end
|
3052
|
+
def reverse_order!; end
|
3053
|
+
def reverse_order; end
|
3054
|
+
def reverse_order_value; end
|
3055
|
+
def reverse_order_value=(value); end
|
3056
|
+
def reverse_sql_order(order_query); end
|
3057
|
+
def rewhere(conditions); end
|
3058
|
+
def select(*fields); end
|
3059
|
+
def select_values; end
|
3060
|
+
def select_values=(value); end
|
3061
|
+
def set_value(name, value); end
|
3062
|
+
def skip_query_cache!(value = nil); end
|
3063
|
+
def skip_query_cache_value; end
|
3064
|
+
def skip_query_cache_value=(value); end
|
3065
|
+
def structurally_incompatible_values_for_or(other); end
|
3066
|
+
def table_name_matches?(from); end
|
3067
|
+
def unscope!(*args); end
|
3068
|
+
def unscope(*args); end
|
3069
|
+
def unscope_values; end
|
3070
|
+
def unscope_values=(value); end
|
3071
|
+
def validate_order_args(args); end
|
3072
|
+
def where!(opts, *rest); end
|
3073
|
+
def where(opts = nil, *rest); end
|
3074
|
+
def where_clause; end
|
3075
|
+
def where_clause=(value); end
|
3076
|
+
def where_clause_factory; end
|
3077
|
+
extend ActiveSupport::Concern
|
3078
|
+
include ActiveModel::ForbiddenAttributesProtection
|
3079
|
+
end
|
3080
|
+
class ActiveRecord::QueryMethods::WhereChain
|
3081
|
+
def initialize(scope); end
|
3082
|
+
def not(opts, *rest); end
|
3083
|
+
include ActiveModel::ForbiddenAttributesProtection
|
3084
|
+
end
|
3085
|
+
module ActiveRecord::Batches
|
3086
|
+
def act_on_ignored_order(error_on_ignore); end
|
3087
|
+
def apply_limits(relation, start, finish); end
|
3088
|
+
def batch_order; end
|
3089
|
+
def find_each(start: nil, finish: nil, batch_size: nil, error_on_ignore: nil); end
|
3090
|
+
def find_in_batches(start: nil, finish: nil, batch_size: nil, error_on_ignore: nil); end
|
3091
|
+
def in_batches(of: nil, start: nil, finish: nil, load: nil, error_on_ignore: nil); end
|
3092
|
+
end
|
3093
|
+
class ActiveRecord::Batches::BatchEnumerator
|
3094
|
+
def delete_all(*args, &block); end
|
3095
|
+
def destroy_all(*args, &block); end
|
3096
|
+
def each; end
|
3097
|
+
def each_record; end
|
3098
|
+
def initialize(relation:, of: nil, start: nil, finish: nil); end
|
3099
|
+
def update_all(*args, &block); end
|
3100
|
+
include Enumerable
|
3101
|
+
end
|
3102
|
+
class ActiveRecord::Associations::CollectionProxy < ActiveRecord::Relation
|
3103
|
+
def <<(*records); end
|
3104
|
+
def ==(other); end
|
3105
|
+
def _select!(*args, &block); end
|
3106
|
+
def append(*records); end
|
3107
|
+
def arel(*args, &block); end
|
3108
|
+
def build(attributes = nil, &block); end
|
3109
|
+
def calculate(operation, column_name); end
|
3110
|
+
def clear; end
|
3111
|
+
def concat(*records); end
|
3112
|
+
def create!(attributes = nil, &block); end
|
3113
|
+
def create(attributes = nil, &block); end
|
3114
|
+
def create_with!(*args, &block); end
|
3115
|
+
def create_with(*args, &block); end
|
3116
|
+
def create_with_value(*args, &block); end
|
3117
|
+
def create_with_value=(arg); end
|
3118
|
+
def delete(*records); end
|
3119
|
+
def delete_all(dependent = nil); end
|
3120
|
+
def destroy(*records); end
|
3121
|
+
def destroy_all; end
|
3122
|
+
def distinct!(*args, &block); end
|
3123
|
+
def distinct(*args, &block); end
|
3124
|
+
def distinct_value(*args, &block); end
|
3125
|
+
def distinct_value=(arg); end
|
3126
|
+
def eager_load!(*args, &block); end
|
3127
|
+
def eager_load(*args, &block); end
|
3128
|
+
def eager_load_values(*args, &block); end
|
3129
|
+
def eager_load_values=(arg); end
|
3130
|
+
def empty?; end
|
3131
|
+
def except(*args, &block); end
|
3132
|
+
def exec_queries; end
|
3133
|
+
def extending!(*args, &block); end
|
3134
|
+
def extending(*args, &block); end
|
3135
|
+
def extending_values(*args, &block); end
|
3136
|
+
def extending_values=(arg); end
|
3137
|
+
def extensions(*args, &block); end
|
3138
|
+
def find(*args); end
|
3139
|
+
def find_from_target?; end
|
3140
|
+
def find_nth_from_last(index); end
|
3141
|
+
def find_nth_with_limit(index, limit); end
|
3142
|
+
def from!(*args, &block); end
|
3143
|
+
def from(*args, &block); end
|
3144
|
+
def from_clause(*args, &block); end
|
3145
|
+
def from_clause=(arg); end
|
3146
|
+
def get_value(*args, &block); end
|
3147
|
+
def group!(*args, &block); end
|
3148
|
+
def group(*args, &block); end
|
3149
|
+
def group_values(*args, &block); end
|
3150
|
+
def group_values=(arg); end
|
3151
|
+
def having!(*args, &block); end
|
3152
|
+
def having(*args, &block); end
|
3153
|
+
def having_clause(*args, &block); end
|
3154
|
+
def having_clause=(arg); end
|
3155
|
+
def include?(record); end
|
3156
|
+
def includes!(*args, &block); end
|
3157
|
+
def includes(*args, &block); end
|
3158
|
+
def includes_values(*args, &block); end
|
3159
|
+
def includes_values=(arg); end
|
3160
|
+
def initialize(klass, association); end
|
3161
|
+
def joins!(*args, &block); end
|
3162
|
+
def joins(*args, &block); end
|
3163
|
+
def joins_values(*args, &block); end
|
3164
|
+
def joins_values=(arg); end
|
3165
|
+
def last(limit = nil); end
|
3166
|
+
def left_joins(*args, &block); end
|
3167
|
+
def left_outer_joins!(*args, &block); end
|
3168
|
+
def left_outer_joins(*args, &block); end
|
3169
|
+
def left_outer_joins_values(*args, &block); end
|
3170
|
+
def left_outer_joins_values=(arg); end
|
3171
|
+
def limit!(*args, &block); end
|
3172
|
+
def limit(*args, &block); end
|
3173
|
+
def limit_value(*args, &block); end
|
3174
|
+
def limit_value=(arg); end
|
3175
|
+
def load_target; end
|
3176
|
+
def loaded?; end
|
3177
|
+
def lock!(*args, &block); end
|
3178
|
+
def lock(*args, &block); end
|
3179
|
+
def lock_value(*args, &block); end
|
3180
|
+
def lock_value=(arg); end
|
3181
|
+
def merge!(*args, &block); end
|
3182
|
+
def merge(*args, &block); end
|
3183
|
+
def new(attributes = nil, &block); end
|
3184
|
+
def none!(*args, &block); end
|
3185
|
+
def none(*args, &block); end
|
3186
|
+
def null_scope?; end
|
3187
|
+
def offset!(*args, &block); end
|
3188
|
+
def offset(*args, &block); end
|
3189
|
+
def offset_value(*args, &block); end
|
3190
|
+
def offset_value=(arg); end
|
3191
|
+
def only(*args, &block); end
|
3192
|
+
def or!(*args, &block); end
|
3193
|
+
def or(*args, &block); end
|
3194
|
+
def order!(*args, &block); end
|
3195
|
+
def order(*args, &block); end
|
3196
|
+
def order_values(*args, &block); end
|
3197
|
+
def order_values=(arg); end
|
3198
|
+
def pluck(*column_names); end
|
3199
|
+
def preload!(*args, &block); end
|
3200
|
+
def preload(*args, &block); end
|
3201
|
+
def preload_values(*args, &block); end
|
3202
|
+
def preload_values=(arg); end
|
3203
|
+
def prepend(*args); end
|
3204
|
+
def proxy_association; end
|
3205
|
+
def push(*records); end
|
3206
|
+
def readonly!(*args, &block); end
|
3207
|
+
def readonly(*args, &block); end
|
3208
|
+
def readonly_value(*args, &block); end
|
3209
|
+
def readonly_value=(arg); end
|
3210
|
+
def records; end
|
3211
|
+
def references!(*args, &block); end
|
3212
|
+
def references(*args, &block); end
|
3213
|
+
def references_values(*args, &block); end
|
3214
|
+
def references_values=(arg); end
|
3215
|
+
def reload; end
|
3216
|
+
def reorder!(*args, &block); end
|
3217
|
+
def reorder(*args, &block); end
|
3218
|
+
def reordering_value(*args, &block); end
|
3219
|
+
def reordering_value=(arg); end
|
3220
|
+
def replace(other_array); end
|
3221
|
+
def reset; end
|
3222
|
+
def reset_scope; end
|
3223
|
+
def reverse_order!(*args, &block); end
|
3224
|
+
def reverse_order(*args, &block); end
|
3225
|
+
def reverse_order_value(*args, &block); end
|
3226
|
+
def reverse_order_value=(arg); end
|
3227
|
+
def rewhere(*args, &block); end
|
3228
|
+
def scope; end
|
3229
|
+
def scoping(*args, &block); end
|
3230
|
+
def select_values(*args, &block); end
|
3231
|
+
def select_values=(arg); end
|
3232
|
+
def size; end
|
3233
|
+
def skip_query_cache!(*args, &block); end
|
3234
|
+
def skip_query_cache_value(*args, &block); end
|
3235
|
+
def skip_query_cache_value=(arg); end
|
3236
|
+
def spawn(*args, &block); end
|
3237
|
+
def take(limit = nil); end
|
3238
|
+
def target; end
|
3239
|
+
def unscope!(*args, &block); end
|
3240
|
+
def unscope(*args, &block); end
|
3241
|
+
def unscope_values(*args, &block); end
|
3242
|
+
def unscope_values=(arg); end
|
3243
|
+
def where!(*args, &block); end
|
3244
|
+
def where(*args, &block); end
|
3245
|
+
def where_clause(*args, &block); end
|
3246
|
+
def where_clause=(arg); end
|
3247
|
+
end
|
3248
|
+
class ActiveRecord::AssociationRelation < ActiveRecord::Relation
|
3249
|
+
def ==(other); end
|
3250
|
+
def build(*args, &block); end
|
3251
|
+
def create!(*args, &block); end
|
3252
|
+
def create(*args, &block); end
|
3253
|
+
def exec_queries; end
|
3254
|
+
def initialize(klass, association); end
|
3255
|
+
def new(*args, &block); end
|
3256
|
+
def proxy_association; end
|
3257
|
+
end
|
3258
|
+
class ActiveRecord::ConnectionAdapters::StatementPool
|
3259
|
+
def [](key); end
|
3260
|
+
def []=(sql, stmt); end
|
3261
|
+
def cache; end
|
3262
|
+
def clear; end
|
3263
|
+
def dealloc(stmt); end
|
3264
|
+
def delete(key); end
|
3265
|
+
def each(&block); end
|
3266
|
+
def initialize(statement_limit = nil); end
|
3267
|
+
def key?(key); end
|
3268
|
+
def length; end
|
3269
|
+
include Enumerable
|
3270
|
+
end
|
3271
|
+
module ActiveRecord::ConnectionAdapters::SQLite3
|
3272
|
+
end
|
3273
|
+
class ActiveRecord::ConnectionAdapters::SQLite3::ExplainPrettyPrinter
|
3274
|
+
def pp(result); end
|
3275
|
+
end
|
3276
|
+
module ActiveRecord::ConnectionAdapters::SQLite3::Quoting
|
3277
|
+
def _type_cast(value); end
|
3278
|
+
def quote_column_name(name); end
|
3279
|
+
def quote_string(s); end
|
3280
|
+
def quote_table_name(name); end
|
3281
|
+
def quote_table_name_for_assignment(table, attr); end
|
3282
|
+
def quoted_binary(value); end
|
3283
|
+
def quoted_false; end
|
3284
|
+
def quoted_time(value); end
|
3285
|
+
def quoted_true; end
|
3286
|
+
def unquoted_false; end
|
3287
|
+
def unquoted_true; end
|
3288
|
+
end
|
3289
|
+
class ActiveRecord::ConnectionAdapters::SQLite3::SchemaCreation < ActiveRecord::ConnectionAdapters::AbstractAdapter::SchemaCreation
|
3290
|
+
def add_column_options!(sql, options); end
|
3291
|
+
end
|
3292
|
+
class ActiveRecord::ConnectionAdapters::IndexDefinition
|
3293
|
+
def columns; end
|
3294
|
+
def comment; end
|
3295
|
+
def concise_options(options); end
|
3296
|
+
def initialize(table, name, unique = nil, columns = nil, lengths: nil, orders: nil, opclasses: nil, where: nil, type: nil, using: nil, comment: nil); end
|
3297
|
+
def lengths; end
|
3298
|
+
def name; end
|
3299
|
+
def opclasses; end
|
3300
|
+
def orders; end
|
3301
|
+
def table; end
|
3302
|
+
def type; end
|
3303
|
+
def unique; end
|
3304
|
+
def using; end
|
3305
|
+
def where; end
|
3306
|
+
end
|
3307
|
+
class ActiveRecord::ConnectionAdapters::ColumnDefinition < Struct
|
3308
|
+
def collation; end
|
3309
|
+
def collation=(value); end
|
3310
|
+
def comment; end
|
3311
|
+
def comment=(value); end
|
3312
|
+
def default; end
|
3313
|
+
def default=(value); end
|
3314
|
+
def limit; end
|
3315
|
+
def limit=(value); end
|
3316
|
+
def name; end
|
3317
|
+
def name=(_); end
|
3318
|
+
def null; end
|
3319
|
+
def null=(value); end
|
3320
|
+
def options; end
|
3321
|
+
def options=(_); end
|
3322
|
+
def precision; end
|
3323
|
+
def precision=(value); end
|
3324
|
+
def primary_key?; end
|
3325
|
+
def scale; end
|
3326
|
+
def scale=(value); end
|
3327
|
+
def self.[](*arg0); end
|
3328
|
+
def self.inspect; end
|
3329
|
+
def self.members; end
|
3330
|
+
def self.new(*arg0); end
|
3331
|
+
def sql_type; end
|
3332
|
+
def sql_type=(_); end
|
3333
|
+
def type; end
|
3334
|
+
def type=(_); end
|
3335
|
+
end
|
3336
|
+
class ActiveRecord::ConnectionAdapters::AddColumnDefinition < Struct
|
3337
|
+
def column; end
|
3338
|
+
def column=(_); end
|
3339
|
+
def self.[](*arg0); end
|
3340
|
+
def self.inspect; end
|
3341
|
+
def self.members; end
|
3342
|
+
def self.new(*arg0); end
|
3343
|
+
end
|
3344
|
+
class ActiveRecord::ConnectionAdapters::ChangeColumnDefinition < Struct
|
3345
|
+
def column; end
|
3346
|
+
def column=(_); end
|
3347
|
+
def name; end
|
3348
|
+
def name=(_); end
|
3349
|
+
def self.[](*arg0); end
|
3350
|
+
def self.inspect; end
|
3351
|
+
def self.members; end
|
3352
|
+
def self.new(*arg0); end
|
3353
|
+
end
|
3354
|
+
class ActiveRecord::ConnectionAdapters::PrimaryKeyDefinition < Struct
|
3355
|
+
def name; end
|
3356
|
+
def name=(_); end
|
3357
|
+
def self.[](*arg0); end
|
3358
|
+
def self.inspect; end
|
3359
|
+
def self.members; end
|
3360
|
+
def self.new(*arg0); end
|
3361
|
+
end
|
3362
|
+
class ActiveRecord::ConnectionAdapters::ForeignKeyDefinition < Struct
|
3363
|
+
def column; end
|
3364
|
+
def custom_primary_key?; end
|
3365
|
+
def default_primary_key; end
|
3366
|
+
def defined_for?(to_table_ord = nil, to_table: nil, **options); end
|
3367
|
+
def from_table; end
|
3368
|
+
def from_table=(_); end
|
3369
|
+
def name; end
|
3370
|
+
def on_delete; end
|
3371
|
+
def on_update; end
|
3372
|
+
def options; end
|
3373
|
+
def options=(_); end
|
3374
|
+
def primary_key; end
|
3375
|
+
def self.[](*arg0); end
|
3376
|
+
def self.inspect; end
|
3377
|
+
def self.members; end
|
3378
|
+
def self.new(*arg0); end
|
3379
|
+
def to_table; end
|
3380
|
+
def to_table=(_); end
|
3381
|
+
def validate?; end
|
3382
|
+
def validated?; end
|
3383
|
+
end
|
3384
|
+
class ActiveRecord::ConnectionAdapters::ReferenceDefinition
|
3385
|
+
def add_to(table); end
|
3386
|
+
def as_options(value); end
|
3387
|
+
def column_name; end
|
3388
|
+
def column_names; end
|
3389
|
+
def columns; end
|
3390
|
+
def foreign_key; end
|
3391
|
+
def foreign_key_options; end
|
3392
|
+
def foreign_table_name; end
|
3393
|
+
def index; end
|
3394
|
+
def index_options; end
|
3395
|
+
def initialize(name, polymorphic: nil, index: nil, foreign_key: nil, type: nil, **options); end
|
3396
|
+
def name; end
|
3397
|
+
def options; end
|
3398
|
+
def polymorphic; end
|
3399
|
+
def polymorphic_options; end
|
3400
|
+
def type; end
|
3401
|
+
end
|
3402
|
+
module ActiveRecord::ConnectionAdapters::ColumnMethods
|
3403
|
+
def bigint(*args, **options); end
|
3404
|
+
def binary(*args, **options); end
|
3405
|
+
def boolean(*args, **options); end
|
3406
|
+
def date(*args, **options); end
|
3407
|
+
def datetime(*args, **options); end
|
3408
|
+
def decimal(*args, **options); end
|
3409
|
+
def float(*args, **options); end
|
3410
|
+
def integer(*args, **options); end
|
3411
|
+
def json(*args, **options); end
|
3412
|
+
def numeric(*args, **options); end
|
3413
|
+
def primary_key(name, type = nil, **options); end
|
3414
|
+
def string(*args, **options); end
|
3415
|
+
def text(*args, **options); end
|
3416
|
+
def time(*args, **options); end
|
3417
|
+
def timestamp(*args, **options); end
|
3418
|
+
def virtual(*args, **options); end
|
3419
|
+
end
|
3420
|
+
class ActiveRecord::ConnectionAdapters::TableDefinition
|
3421
|
+
def [](name); end
|
3422
|
+
def aliased_types(name, fallback); end
|
3423
|
+
def as; end
|
3424
|
+
def belongs_to(*args, **options); end
|
3425
|
+
def column(name, type, options = nil); end
|
3426
|
+
def columns; end
|
3427
|
+
def comment; end
|
3428
|
+
def create_column_definition(name, type, options); end
|
3429
|
+
def foreign_key(table_name, options = nil); end
|
3430
|
+
def foreign_keys; end
|
3431
|
+
def index(column_name, options = nil); end
|
3432
|
+
def indexes; end
|
3433
|
+
def indexes=(arg0); end
|
3434
|
+
def initialize(name, temporary = nil, options = nil, as = nil, comment: nil); end
|
3435
|
+
def integer_like_primary_key?(type, options); end
|
3436
|
+
def integer_like_primary_key_type(type, options); end
|
3437
|
+
def name; end
|
3438
|
+
def new_column_definition(name, type, **options); end
|
3439
|
+
def options; end
|
3440
|
+
def primary_keys(name = nil); end
|
3441
|
+
def references(*args, **options); end
|
3442
|
+
def remove_column(name); end
|
3443
|
+
def temporary; end
|
3444
|
+
def timestamps(**options); end
|
3445
|
+
include ActiveRecord::ConnectionAdapters::ColumnMethods
|
3446
|
+
end
|
3447
|
+
class ActiveRecord::ConnectionAdapters::AlterTable
|
3448
|
+
def add_column(name, type, options); end
|
3449
|
+
def add_foreign_key(to_table, options); end
|
3450
|
+
def adds; end
|
3451
|
+
def drop_foreign_key(name); end
|
3452
|
+
def foreign_key_adds; end
|
3453
|
+
def foreign_key_drops; end
|
3454
|
+
def initialize(td); end
|
3455
|
+
def name; end
|
3456
|
+
end
|
3457
|
+
class ActiveRecord::ConnectionAdapters::Table
|
3458
|
+
def belongs_to(*args, **options); end
|
3459
|
+
def change(column_name, type, options = nil); end
|
3460
|
+
def change_default(column_name, default_or_changes); end
|
3461
|
+
def column(column_name, type, options = nil); end
|
3462
|
+
def column_exists?(column_name, type = nil, options = nil); end
|
3463
|
+
def foreign_key(*args); end
|
3464
|
+
def foreign_key_exists?(*args); end
|
3465
|
+
def index(column_name, options = nil); end
|
3466
|
+
def index_exists?(column_name, options = nil); end
|
3467
|
+
def initialize(table_name, base); end
|
3468
|
+
def name; end
|
3469
|
+
def references(*args, **options); end
|
3470
|
+
def remove(*column_names); end
|
3471
|
+
def remove_belongs_to(*args, **options); end
|
3472
|
+
def remove_index(options = nil); end
|
3473
|
+
def remove_references(*args, **options); end
|
3474
|
+
def remove_timestamps(options = nil); end
|
3475
|
+
def rename(column_name, new_column_name); end
|
3476
|
+
def rename_index(index_name, new_index_name); end
|
3477
|
+
def timestamps(options = nil); end
|
3478
|
+
include ActiveRecord::ConnectionAdapters::ColumnMethods
|
3479
|
+
end
|
3480
|
+
class ActiveRecord::ConnectionAdapters::SQLite3::TableDefinition < ActiveRecord::ConnectionAdapters::TableDefinition
|
3481
|
+
def belongs_to(*args, **options); end
|
3482
|
+
def integer_like_primary_key_type(type, options); end
|
3483
|
+
def references(*args, **options); end
|
3484
|
+
end
|
3485
|
+
class ActiveRecord::ConnectionAdapters::SQLite3::SchemaDumper < ActiveRecord::ConnectionAdapters::SchemaDumper
|
3486
|
+
def default_primary_key?(column); end
|
3487
|
+
def explicit_primary_key_default?(column); end
|
3488
|
+
end
|
3489
|
+
module ActiveRecord::ConnectionAdapters::SQLite3::SchemaStatements
|
3490
|
+
def create_schema_dumper(options); end
|
3491
|
+
def create_table_definition(*args); end
|
3492
|
+
def data_source_sql(name = nil, type: nil); end
|
3493
|
+
def indexes(table_name); end
|
3494
|
+
def new_column_from_field(table_name, field); end
|
3495
|
+
def quoted_scope(name = nil, type: nil); end
|
3496
|
+
def schema_creation; end
|
3497
|
+
end
|
3498
|
+
class ActiveRecord::ConnectionAdapters::SQLite3Adapter < ActiveRecord::ConnectionAdapters::AbstractAdapter
|
3499
|
+
def active?; end
|
3500
|
+
def add_belongs_to(table_name, ref_name, **options); end
|
3501
|
+
def add_column(table_name, column_name, type, options = nil); end
|
3502
|
+
def add_reference(table_name, ref_name, **options); end
|
3503
|
+
def allowed_index_name_length; end
|
3504
|
+
def alter_table(table_name, options = nil); end
|
3505
|
+
def arel_visitor; end
|
3506
|
+
def begin_db_transaction; end
|
3507
|
+
def change_column(table_name, column_name, type, options = nil); end
|
3508
|
+
def change_column_default(table_name, column_name, default_or_changes); end
|
3509
|
+
def change_column_null(table_name, column_name, null, default = nil); end
|
3510
|
+
def clear_cache!; end
|
3511
|
+
def column_definitions(table_name); end
|
3512
|
+
def commit_db_transaction; end
|
3513
|
+
def configure_connection; end
|
3514
|
+
def copy_table(from, to, options = nil); end
|
3515
|
+
def copy_table_contents(from, to, columns, rename = nil); end
|
3516
|
+
def copy_table_indexes(from, to, rename = nil); end
|
3517
|
+
def disable_referential_integrity; end
|
3518
|
+
def disconnect!; end
|
3519
|
+
def encoding; end
|
3520
|
+
def exec_delete(sql, name = nil, binds = nil); end
|
3521
|
+
def exec_query(sql, name = nil, binds = nil, prepare: nil); end
|
3522
|
+
def exec_rollback_db_transaction; end
|
3523
|
+
def exec_update(sql, name = nil, binds = nil); end
|
3524
|
+
def execute(sql, name = nil); end
|
3525
|
+
def explain(arel, binds = nil); end
|
3526
|
+
def foreign_keys(table_name); end
|
3527
|
+
def initialize(connection, logger, connection_options, config); end
|
3528
|
+
def initialize_type_map(m = nil); end
|
3529
|
+
def insert_fixtures(rows, table_name); end
|
3530
|
+
def insert_fixtures_set(fixture_set, tables_to_delete = nil); end
|
3531
|
+
def invalid_alter_table_type?(type, options); end
|
3532
|
+
def last_inserted_id(result); end
|
3533
|
+
def move_table(from, to, options = nil, &block); end
|
3534
|
+
def native_database_types; end
|
3535
|
+
def primary_keys(table_name); end
|
3536
|
+
def remove_column(table_name, column_name, type = nil, options = nil); end
|
3537
|
+
def remove_index(table_name, options = nil); end
|
3538
|
+
def rename_column(table_name, column_name, new_column_name); end
|
3539
|
+
def rename_table(table_name, new_name); end
|
3540
|
+
def represent_boolean_as_integer; end
|
3541
|
+
def represent_boolean_as_integer=(val); end
|
3542
|
+
def represent_boolean_as_integer?; end
|
3543
|
+
def requires_reloading?; end
|
3544
|
+
def self.represent_boolean_as_integer; end
|
3545
|
+
def self.represent_boolean_as_integer=(val); end
|
3546
|
+
def self.represent_boolean_as_integer?; end
|
3547
|
+
def sqlite_version; end
|
3548
|
+
def supports_datetime_with_precision?; end
|
3549
|
+
def supports_ddl_transactions?; end
|
3550
|
+
def supports_explain?; end
|
3551
|
+
def supports_foreign_keys_in_create?; end
|
3552
|
+
def supports_index_sort_order?; end
|
3553
|
+
def supports_json?; end
|
3554
|
+
def supports_multi_insert?; end
|
3555
|
+
def supports_partial_index?; end
|
3556
|
+
def supports_savepoints?; end
|
3557
|
+
def supports_views?; end
|
3558
|
+
def table_structure(table_name); end
|
3559
|
+
def table_structure_with_collation(table_name, basic_structure); end
|
3560
|
+
def translate_exception(exception, message); end
|
3561
|
+
def valid_alter_table_type?(*args, &block); end
|
3562
|
+
def valid_alter_table_type_with_deprecation?(*args, &block); end
|
3563
|
+
def valid_alter_table_type_without_deprecation?(type, options = nil); end
|
3564
|
+
include ActiveRecord::ConnectionAdapters::SQLite3::Quoting
|
3565
|
+
include ActiveRecord::ConnectionAdapters::SQLite3::SchemaStatements
|
3566
|
+
end
|
3567
|
+
class ActiveRecord::ConnectionAdapters::SQLite3Adapter::StatementPool < ActiveRecord::ConnectionAdapters::StatementPool
|
3568
|
+
def dealloc(stmt); end
|
3569
|
+
end
|
3570
|
+
class ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer < ActiveModel::Type::Integer
|
3571
|
+
def _limit; end
|
3572
|
+
end
|
3573
|
+
module ActiveRecord::Railties
|
3574
|
+
end
|
3575
|
+
module ActiveRecord::Railties::ControllerRuntime
|
3576
|
+
def append_info_to_payload(payload); end
|
3577
|
+
def cleanup_view_runtime; end
|
3578
|
+
def db_runtime; end
|
3579
|
+
def db_runtime=(arg0); end
|
3580
|
+
def process_action(action, *args); end
|
3581
|
+
extend ActiveSupport::Concern
|
3582
|
+
end
|
3583
|
+
module ActiveRecord::Railties::ControllerRuntime::ClassMethods
|
3584
|
+
def log_process_action(payload); end
|
3585
|
+
end
|
3586
|
+
class ActiveRecord::ConnectionAdapters::TransactionState
|
3587
|
+
def add_child(state); end
|
3588
|
+
def commit!; end
|
3589
|
+
def committed?; end
|
3590
|
+
def completed?; end
|
3591
|
+
def finalized?; end
|
3592
|
+
def full_commit!; end
|
3593
|
+
def full_rollback!; end
|
3594
|
+
def fully_committed?; end
|
3595
|
+
def fully_completed?; end
|
3596
|
+
def fully_rolledback?; end
|
3597
|
+
def initialize(state = nil); end
|
3598
|
+
def nullify!; end
|
3599
|
+
def rollback!; end
|
3600
|
+
def rolledback?; end
|
3601
|
+
def set_state(state); end
|
3602
|
+
end
|
3603
|
+
class ActiveRecord::ConnectionAdapters::NullTransaction
|
3604
|
+
def add_record(record); end
|
3605
|
+
def closed?; end
|
3606
|
+
def initialize; end
|
3607
|
+
def joinable?; end
|
3608
|
+
def open?; end
|
3609
|
+
def state; end
|
3610
|
+
end
|
3611
|
+
class ActiveRecord::ConnectionAdapters::Transaction
|
3612
|
+
def add_record(record); end
|
3613
|
+
def before_commit_records; end
|
3614
|
+
def closed?; end
|
3615
|
+
def commit_records; end
|
3616
|
+
def connection; end
|
3617
|
+
def full_rollback?; end
|
3618
|
+
def initialize(connection, options, run_commit_callbacks: nil); end
|
3619
|
+
def joinable=(arg0); end
|
3620
|
+
def joinable?; end
|
3621
|
+
def open?; end
|
3622
|
+
def records; end
|
3623
|
+
def rollback_records; end
|
3624
|
+
def savepoint_name; end
|
3625
|
+
def state; end
|
3626
|
+
end
|
3627
|
+
class ActiveRecord::ConnectionAdapters::SavepointTransaction < ActiveRecord::ConnectionAdapters::Transaction
|
3628
|
+
def commit; end
|
3629
|
+
def full_rollback?; end
|
3630
|
+
def initialize(connection, savepoint_name, parent_transaction, options, *args); end
|
3631
|
+
def rollback; end
|
3632
|
+
end
|
3633
|
+
class ActiveRecord::ConnectionAdapters::RealTransaction < ActiveRecord::ConnectionAdapters::Transaction
|
3634
|
+
def commit; end
|
3635
|
+
def initialize(connection, options, *args); end
|
3636
|
+
def rollback; end
|
3637
|
+
end
|
3638
|
+
class ActiveRecord::ConnectionAdapters::TransactionManager
|
3639
|
+
def after_failure_actions(transaction, error); end
|
3640
|
+
def begin_transaction(options = nil); end
|
3641
|
+
def commit_transaction; end
|
3642
|
+
def current_transaction; end
|
3643
|
+
def initialize(connection); end
|
3644
|
+
def open_transactions; end
|
3645
|
+
def rollback_transaction(transaction = nil); end
|
3646
|
+
def within_new_transaction(options = nil); end
|
3647
|
+
end
|
3648
|
+
module Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_18
|
3649
|
+
end
|
3650
|
+
class ActiveRecord::SchemaMigration < ActiveRecord::Base
|
3651
|
+
def self._validators; end
|
3652
|
+
def self.all_versions; end
|
3653
|
+
def self.attribute_type_decorations; end
|
3654
|
+
def self.create_table; end
|
3655
|
+
def self.defined_enums; end
|
3656
|
+
def self.drop_table; end
|
3657
|
+
def self.normalize_migration_number(number); end
|
3658
|
+
def self.normalized_versions; end
|
3659
|
+
def self.primary_key; end
|
3660
|
+
def self.table_exists?; end
|
3661
|
+
def self.table_name; end
|
3662
|
+
def version; end
|
3663
|
+
include ActiveRecord::SchemaMigration::GeneratedAssociationMethods
|
3664
|
+
include Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_18
|
3665
|
+
end
|
3666
|
+
module ActiveRecord::SchemaMigration::GeneratedAssociationMethods
|
3667
|
+
end
|
3668
|
+
class ActiveRecord::SchemaMigration::ActiveRecord_Relation < ActiveRecord::Relation
|
3669
|
+
extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
|
3670
|
+
include ActiveRecord::Delegation::ClassSpecificRelation
|
3671
|
+
include ActiveRecord::SchemaMigration::GeneratedRelationMethods
|
3672
|
+
end
|
3673
|
+
module ActiveRecord::SchemaMigration::GeneratedRelationMethods
|
3674
|
+
end
|
3675
|
+
class ActiveRecord::SchemaMigration::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associations::CollectionProxy
|
3676
|
+
extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
|
3677
|
+
include ActiveRecord::Delegation::ClassSpecificRelation
|
3678
|
+
include ActiveRecord::SchemaMigration::GeneratedRelationMethods
|
3679
|
+
end
|
3680
|
+
class ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelation
|
3681
|
+
extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
|
3682
|
+
include ActiveRecord::Delegation::ClassSpecificRelation
|
3683
|
+
include ActiveRecord::SchemaMigration::GeneratedRelationMethods
|
3684
|
+
end
|
3685
|
+
class ActiveRecord::Result
|
3686
|
+
def [](idx); end
|
3687
|
+
def cast_values(type_overrides = nil); end
|
3688
|
+
def collect!; end
|
3689
|
+
def column_type(name, type_overrides = nil); end
|
3690
|
+
def column_types; end
|
3691
|
+
def columns; end
|
3692
|
+
def each; end
|
3693
|
+
def empty?; end
|
3694
|
+
def first; end
|
3695
|
+
def hash_rows; end
|
3696
|
+
def initialize(columns, rows, column_types = nil); end
|
3697
|
+
def initialize_copy(other); end
|
3698
|
+
def last; end
|
3699
|
+
def length; end
|
3700
|
+
def map!; end
|
3701
|
+
def rows; end
|
3702
|
+
def to_ary; end
|
3703
|
+
def to_hash; end
|
3704
|
+
include Enumerable
|
3705
|
+
end
|
3706
|
+
class ActiveRecord::PredicateBuilder
|
3707
|
+
def associated_predicate_builder(association_name); end
|
3708
|
+
def build(attribute, value); end
|
3709
|
+
def build_bind_attribute(column_name, value); end
|
3710
|
+
def build_from_hash(attributes); end
|
3711
|
+
def convert_dot_notation_to_hash(attributes); end
|
3712
|
+
def expand_from_hash(attributes); end
|
3713
|
+
def handler_for(object); end
|
3714
|
+
def initialize(table); end
|
3715
|
+
def register_handler(klass, handler); end
|
3716
|
+
def resolve_column_aliases(*args, &block); end
|
3717
|
+
def self.references(attributes); end
|
3718
|
+
def table; end
|
3719
|
+
end
|
3720
|
+
class ActiveRecord::PredicateBuilder::ArrayHandler
|
3721
|
+
def call(attribute, value); end
|
3722
|
+
def initialize(predicate_builder); end
|
3723
|
+
def predicate_builder; end
|
3724
|
+
end
|
3725
|
+
module ActiveRecord::PredicateBuilder::ArrayHandler::NullPredicate
|
3726
|
+
def self.or(other); end
|
3727
|
+
end
|
3728
|
+
class ActiveRecord::PredicateBuilder::BaseHandler
|
3729
|
+
def call(attribute, value); end
|
3730
|
+
def initialize(predicate_builder); end
|
3731
|
+
def predicate_builder; end
|
3732
|
+
end
|
3733
|
+
class ActiveRecord::PredicateBuilder::BasicObjectHandler
|
3734
|
+
def call(attribute, value); end
|
3735
|
+
def initialize(predicate_builder); end
|
3736
|
+
def predicate_builder; end
|
3737
|
+
end
|
3738
|
+
class ActiveRecord::PredicateBuilder::RangeHandler
|
3739
|
+
def call(attribute, value); end
|
3740
|
+
def initialize(predicate_builder); end
|
3741
|
+
def predicate_builder; end
|
3742
|
+
end
|
3743
|
+
class Anonymous_Struct_19 < Struct
|
3744
|
+
def begin; end
|
3745
|
+
def begin=(_); end
|
3746
|
+
def end; end
|
3747
|
+
def end=(_); end
|
3748
|
+
def self.[](*arg0); end
|
3749
|
+
def self.inspect; end
|
3750
|
+
def self.members; end
|
3751
|
+
def self.new(*arg0); end
|
3752
|
+
end
|
3753
|
+
class ActiveRecord::PredicateBuilder::RangeHandler::RangeWithBinds < Anonymous_Struct_19
|
3754
|
+
def exclude_end?; end
|
3755
|
+
end
|
3756
|
+
class ActiveRecord::PredicateBuilder::RelationHandler
|
3757
|
+
def call(attribute, value); end
|
3758
|
+
end
|
3759
|
+
class ActiveRecord::PredicateBuilder::AssociationQueryValue
|
3760
|
+
def associated_table; end
|
3761
|
+
def convert_to_id(value); end
|
3762
|
+
def ids; end
|
3763
|
+
def initialize(associated_table, value); end
|
3764
|
+
def primary_key; end
|
3765
|
+
def queries; end
|
3766
|
+
def value; end
|
3767
|
+
end
|
3768
|
+
class ActiveRecord::PredicateBuilder::PolymorphicArrayValue
|
3769
|
+
def associated_table; end
|
3770
|
+
def convert_to_id(value); end
|
3771
|
+
def initialize(associated_table, values); end
|
3772
|
+
def klass(value); end
|
3773
|
+
def primary_key(value); end
|
3774
|
+
def queries; end
|
3775
|
+
def type_to_ids_mapping; end
|
3776
|
+
def values; end
|
3777
|
+
end
|
3778
|
+
class ActiveRecord::TableMetadata
|
3779
|
+
def aggregated_with?(aggregation_name); end
|
3780
|
+
def arel_attribute(column_name); end
|
3781
|
+
def arel_table; end
|
3782
|
+
def associated_table(table_name); end
|
3783
|
+
def associated_with?(association_name); end
|
3784
|
+
def association; end
|
3785
|
+
def association_foreign_key(*args, &block); end
|
3786
|
+
def association_foreign_type(*args, &block); end
|
3787
|
+
def association_join_foreign_key(*args, &block); end
|
3788
|
+
def association_join_primary_key(*args, &block); end
|
3789
|
+
def has_column?(column_name); end
|
3790
|
+
def initialize(klass, arel_table, association = nil); end
|
3791
|
+
def klass; end
|
3792
|
+
def polymorphic_association?; end
|
3793
|
+
def reflect_on_aggregation(aggregation_name); end
|
3794
|
+
def resolve_column_aliases(hash); end
|
3795
|
+
def type(column_name); end
|
3796
|
+
end
|
3797
|
+
class ActiveRecord::ConnectionAdapters::Column
|
3798
|
+
def ==(other); end
|
3799
|
+
def attributes_for_hash; end
|
3800
|
+
def bigint?; end
|
3801
|
+
def collation; end
|
3802
|
+
def comment; end
|
3803
|
+
def default; end
|
3804
|
+
def default_function; end
|
3805
|
+
def encode_with(coder); end
|
3806
|
+
def eql?(other); end
|
3807
|
+
def has_default?; end
|
3808
|
+
def hash; end
|
3809
|
+
def human_name; end
|
3810
|
+
def init_with(coder); end
|
3811
|
+
def initialize(name, default, sql_type_metadata = nil, null = nil, table_name = nil, default_function = nil, collation = nil, comment: nil, **arg8); end
|
3812
|
+
def limit(*args, &block); end
|
3813
|
+
def name; end
|
3814
|
+
def null; end
|
3815
|
+
def precision(*args, &block); end
|
3816
|
+
def scale(*args, &block); end
|
3817
|
+
def sql_type(*args, &block); end
|
3818
|
+
def sql_type_metadata; end
|
3819
|
+
def table_name; end
|
3820
|
+
def type(*args, &block); end
|
3821
|
+
end
|
3822
|
+
class ActiveRecord::ConnectionAdapters::NullColumn < ActiveRecord::ConnectionAdapters::Column
|
3823
|
+
def initialize(name); end
|
3824
|
+
end
|
3825
|
+
class ActiveRecord::FixtureSet
|
3826
|
+
def [](x); end
|
3827
|
+
def []=(k, v); end
|
3828
|
+
def add_join_records(rows, row, association); end
|
3829
|
+
def all_loaded_fixtures; end
|
3830
|
+
def all_loaded_fixtures=(obj); end
|
3831
|
+
def column_names; end
|
3832
|
+
def config; end
|
3833
|
+
def each(&block); end
|
3834
|
+
def fixtures; end
|
3835
|
+
def has_primary_key_column?; end
|
3836
|
+
def inheritance_column_name; end
|
3837
|
+
def initialize(connection, name, class_name, path, config = nil); end
|
3838
|
+
def model_class; end
|
3839
|
+
def model_class=(class_name); end
|
3840
|
+
def name; end
|
3841
|
+
def primary_key_name; end
|
3842
|
+
def primary_key_type; end
|
3843
|
+
def read_fixture_files(path); end
|
3844
|
+
def self.all_loaded_fixtures; end
|
3845
|
+
def self.all_loaded_fixtures=(obj); end
|
3846
|
+
def self.cache_fixtures(connection, fixtures_map); end
|
3847
|
+
def self.cache_for_connection(connection); end
|
3848
|
+
def self.cached_fixtures(connection, keys_to_fetch = nil); end
|
3849
|
+
def self.context_class; end
|
3850
|
+
def self.create_fixtures(fixtures_directory, fixture_set_names, class_names = nil, config = nil); end
|
3851
|
+
def self.default_fixture_model_name(fixture_set_name, config = nil); end
|
3852
|
+
def self.default_fixture_table_name(fixture_set_name, config = nil); end
|
3853
|
+
def self.fixture_is_cached?(connection, table_name); end
|
3854
|
+
def self.identify(label, column_type = nil); end
|
3855
|
+
def self.instantiate_all_loaded_fixtures(object, load_instances = nil); end
|
3856
|
+
def self.instantiate_fixtures(object, fixture_set, load_instances = nil); end
|
3857
|
+
def self.reset_cache; end
|
3858
|
+
def self.update_all_loaded_fixtures(fixtures_map); end
|
3859
|
+
def size; end
|
3860
|
+
def table_name; end
|
3861
|
+
def table_rows; end
|
3862
|
+
def timestamp_column_names; end
|
3863
|
+
def yaml_file_path(path); end
|
3864
|
+
end
|
3865
|
+
class ActiveRecord::FixtureSet::File
|
3866
|
+
def config_row; end
|
3867
|
+
def each(&block); end
|
3868
|
+
def initialize(file); end
|
3869
|
+
def model_class; end
|
3870
|
+
def prepare_erb(content); end
|
3871
|
+
def raw_rows; end
|
3872
|
+
def render(content); end
|
3873
|
+
def rows; end
|
3874
|
+
def self.open(file); end
|
3875
|
+
def validate(data); end
|
3876
|
+
include Enumerable
|
3877
|
+
end
|
3878
|
+
class ActiveRecord::FixtureClassNotFound < ActiveRecord::ActiveRecordError
|
3879
|
+
end
|
3880
|
+
class ActiveRecord::FixtureSet::ClassCache
|
3881
|
+
def [](fs_name); end
|
3882
|
+
def default_fixture_model(fs_name, config); end
|
3883
|
+
def initialize(class_names, config); end
|
3884
|
+
def insert_class(class_names, name, klass); end
|
3885
|
+
end
|
3886
|
+
class ActiveRecord::FixtureSet::ReflectionProxy
|
3887
|
+
def initialize(association); end
|
3888
|
+
def join_table; end
|
3889
|
+
def name; end
|
3890
|
+
def primary_key_type; end
|
3891
|
+
end
|
3892
|
+
class ActiveRecord::FixtureSet::HasManyThroughProxy < ActiveRecord::FixtureSet::ReflectionProxy
|
3893
|
+
def join_table; end
|
3894
|
+
def lhs_key; end
|
3895
|
+
def rhs_key; end
|
3896
|
+
end
|
3897
|
+
class ActiveRecord::Fixture
|
3898
|
+
def [](key); end
|
3899
|
+
def class_name; end
|
3900
|
+
def each; end
|
3901
|
+
def find; end
|
3902
|
+
def fixture; end
|
3903
|
+
def initialize(fixture, model_class); end
|
3904
|
+
def model_class; end
|
3905
|
+
def to_hash; end
|
3906
|
+
include Enumerable
|
3907
|
+
end
|
3908
|
+
class ActiveRecord::Fixture::FixtureError < StandardError
|
3909
|
+
end
|
3910
|
+
class ActiveRecord::Fixture::FormatError < ActiveRecord::Fixture::FixtureError
|
3911
|
+
end
|
3912
|
+
module ActiveRecord::TestFixtures
|
3913
|
+
def after_teardown; end
|
3914
|
+
def before_setup; end
|
3915
|
+
def enlist_fixture_connections; end
|
3916
|
+
def instantiate_fixtures; end
|
3917
|
+
def load_fixtures(config); end
|
3918
|
+
def load_instances?; end
|
3919
|
+
def run_in_transaction?; end
|
3920
|
+
def setup_fixtures(config = nil); end
|
3921
|
+
def teardown_fixtures; end
|
3922
|
+
extend ActiveSupport::Concern
|
3923
|
+
end
|
3924
|
+
module ActiveRecord::TestFixtures::ClassMethods
|
3925
|
+
def fixtures(*fixture_set_names); end
|
3926
|
+
def set_fixture_class(class_names = nil); end
|
3927
|
+
def setup_fixture_accessors(fixture_set_names = nil); end
|
3928
|
+
def uses_transaction(*methods); end
|
3929
|
+
def uses_transaction?(method); end
|
3930
|
+
end
|
3931
|
+
class ActiveRecord::FixtureSet::RenderContext
|
3932
|
+
def self.create_subclass; end
|
3933
|
+
end
|
3934
|
+
module Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_20
|
3935
|
+
end
|
3936
|
+
class ActiveRecord::InternalMetadata < ActiveRecord::Base
|
3937
|
+
def self.[](key); end
|
3938
|
+
def self.[]=(key, value); end
|
3939
|
+
def self._validators; end
|
3940
|
+
def self.attribute_type_decorations; end
|
3941
|
+
def self.create_table; end
|
3942
|
+
def self.defined_enums; end
|
3943
|
+
def self.primary_key; end
|
3944
|
+
def self.table_exists?; end
|
3945
|
+
def self.table_name; end
|
3946
|
+
include ActiveRecord::InternalMetadata::GeneratedAssociationMethods
|
3947
|
+
include Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_20
|
3948
|
+
end
|
3949
|
+
module ActiveRecord::InternalMetadata::GeneratedAssociationMethods
|
3950
|
+
end
|
3951
|
+
class ActiveRecord::InternalMetadata::ActiveRecord_Relation < ActiveRecord::Relation
|
3952
|
+
extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
|
3953
|
+
include ActiveRecord::Delegation::ClassSpecificRelation
|
3954
|
+
include ActiveRecord::InternalMetadata::GeneratedRelationMethods
|
3955
|
+
end
|
3956
|
+
module ActiveRecord::InternalMetadata::GeneratedRelationMethods
|
3957
|
+
end
|
3958
|
+
class ActiveRecord::InternalMetadata::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associations::CollectionProxy
|
3959
|
+
extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
|
3960
|
+
include ActiveRecord::Delegation::ClassSpecificRelation
|
3961
|
+
include ActiveRecord::InternalMetadata::GeneratedRelationMethods
|
3962
|
+
end
|
3963
|
+
class ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelation
|
3964
|
+
extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
|
3965
|
+
include ActiveRecord::Delegation::ClassSpecificRelation
|
3966
|
+
include ActiveRecord::InternalMetadata::GeneratedRelationMethods
|
3967
|
+
end
|
3968
|
+
class ActiveRecord::StatementCache
|
3969
|
+
def bind_map; end
|
3970
|
+
def execute(params, connection, &block); end
|
3971
|
+
def initialize(query_builder, bind_map, klass); end
|
3972
|
+
def klass; end
|
3973
|
+
def query_builder; end
|
3974
|
+
def self.create(connection, callable = nil, &block); end
|
3975
|
+
def self.partial_query(values); end
|
3976
|
+
def self.query(sql); end
|
3977
|
+
def self.unsupported_value?(value); end
|
3978
|
+
end
|
3979
|
+
class ActiveRecord::StatementCache::Substitute
|
3980
|
+
end
|
3981
|
+
class ActiveRecord::StatementCache::Query
|
3982
|
+
def initialize(sql); end
|
3983
|
+
def sql_for(binds, connection); end
|
3984
|
+
end
|
3985
|
+
class ActiveRecord::StatementCache::PartialQuery < ActiveRecord::StatementCache::Query
|
3986
|
+
def initialize(values); end
|
3987
|
+
def sql_for(binds, connection); end
|
3988
|
+
end
|
3989
|
+
class ActiveRecord::StatementCache::Params
|
3990
|
+
def bind; end
|
3991
|
+
end
|
3992
|
+
class ActiveRecord::StatementCache::BindMap
|
3993
|
+
def bind(values); end
|
3994
|
+
def initialize(bound_attributes); end
|
3995
|
+
end
|
3996
|
+
module ActiveRecord::LegacyYamlAdapter
|
3997
|
+
def self.convert(klass, coder); end
|
3998
|
+
end
|
3999
|
+
module ActiveRecord::LegacyYamlAdapter::Rails420
|
4000
|
+
def self.convert(klass, coder); end
|
4001
|
+
end
|
4002
|
+
module ActiveRecord::LegacyYamlAdapter::Rails41
|
4003
|
+
def self.convert(klass, coder); end
|
4004
|
+
end
|