sorbet-rails 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -10
- data/.travis.yml +0 -2
- data/Gemfile +2 -2
- data/README.md +2 -1
- data/Rakefile +4 -15
- data/lib/sorbet-rails/gem_plugins/kaminari_plugin.rb +3 -4
- data/lib/sorbet-rails/model_plugins/active_record_enum.rb +0 -8
- data/lib/sorbet-rails/model_plugins/active_record_finder_methods.rb +3 -0
- data/lib/sorbet-rails/model_plugins/active_record_named_scope.rb +4 -3
- data/lib/sorbet-rails/model_plugins/active_record_querying.rb +6 -7
- data/lib/sorbet-rails/model_plugins/active_relation_where_not.rb +2 -2
- data/lib/sorbet-rails/model_plugins/custom_finder_methods.rb +2 -5
- data/lib/sorbet-rails/model_plugins/enumerable_collections.rb +15 -0
- data/lib/sorbet-rails/model_plugins/plugins.rb +1 -1
- data/lib/sorbet-rails/model_rbi_formatter.rb +11 -13
- data/lib/sorbet-rails/model_utils.rb +49 -2
- data/lib/sorbet-rails/railtie.rb +16 -1
- data/lib/sorbet-rails/routes_rbi_formatter.rb +48 -34
- data/sorbet-rails.gemspec +1 -1
- data/spec/bin/run_all_specs.sh +0 -2
- data/spec/bin/run_spec.sh +1 -5
- data/spec/generators/rails-template.rb +24 -17
- data/spec/generators/sorbet_test_cases.rb +78 -40
- data/spec/rails_helper.rb +1 -1
- data/spec/sorbet_spec.rb +16 -14
- data/spec/support/v4.2/Gemfile.lock +6 -6
- data/spec/support/v4.2/app/models/application_record.rb +1 -2
- data/spec/support/v4.2/app/models/spell_book.rb +6 -0
- data/spec/support/v4.2/app/models/wizard.rb +2 -0
- data/spec/support/v4.2/db/migrate/20190620000003_create_spell_books.rb +1 -0
- data/spec/support/v4.2/db/schema.rb +1 -0
- data/spec/support/v4.2/sorbet_test_cases.rb +78 -40
- data/spec/support/v5.0/Gemfile.lock +6 -6
- data/spec/support/v5.0/app/models/application_record.rb +1 -2
- data/spec/support/v5.0/app/models/spell_book.rb +7 -1
- data/spec/support/v5.0/app/models/wizard.rb +2 -0
- data/spec/support/v5.0/config/initializers/new_framework_defaults.rb +1 -1
- data/spec/support/v5.0/db/migrate/20190620000003_create_spell_books.rb +1 -0
- data/spec/support/v5.0/db/schema.rb +1 -0
- data/spec/support/v5.0/sorbet_test_cases.rb +78 -40
- data/spec/support/v5.1/Gemfile.lock +6 -6
- data/spec/support/v5.1/app/models/application_record.rb +1 -2
- data/spec/support/v5.1/app/models/spell_book.rb +7 -1
- data/spec/support/v5.1/app/models/wizard.rb +2 -0
- data/spec/support/v5.1/db/migrate/20190620000003_create_spell_books.rb +1 -0
- data/spec/support/v5.1/db/schema.rb +1 -0
- data/spec/support/v5.1/sorbet_test_cases.rb +78 -40
- data/spec/support/v5.2/Gemfile +1 -1
- data/spec/support/v5.2/Gemfile.lock +7 -7
- data/spec/support/v5.2/app/models/application_record.rb +1 -2
- data/spec/support/v5.2/app/models/spell_book.rb +7 -1
- data/spec/support/v5.2/app/models/wizard.rb +2 -0
- data/spec/support/v5.2/db/migrate/20190620000003_create_spell_books.rb +1 -0
- data/spec/support/v5.2/db/schema.rb +1 -0
- data/spec/support/v5.2/sorbet_test_cases.rb +78 -40
- data/spec/support/v6.0/Gemfile +2 -3
- data/spec/support/v6.0/Gemfile.lock +64 -64
- data/spec/support/v6.0/app/models/application_record.rb +1 -2
- data/spec/support/v6.0/app/models/spell_book.rb +7 -1
- data/spec/support/v6.0/app/models/wizard.rb +2 -0
- data/spec/support/v6.0/config/puma.rb +3 -0
- data/spec/support/v6.0/db/migrate/20190620000003_create_spell_books.rb +1 -0
- data/spec/support/v6.0/db/schema.rb +1 -0
- data/spec/support/v6.0/sorbet_test_cases.rb +78 -40
- data/spec/test_data/v4.2/expected_no_routes.rbi +3 -10
- data/spec/test_data/v4.2/expected_potion.rbi +356 -52
- data/spec/test_data/v4.2/expected_routes.rbi +10 -4
- data/spec/test_data/v4.2/expected_spell_book.rbi +428 -53
- data/spec/test_data/v4.2/expected_srb_tc_output.txt +1 -80
- data/spec/test_data/v4.2/expected_wand.rbi +347 -19
- data/spec/test_data/v4.2/expected_wizard.rbi +356 -16
- data/spec/test_data/v4.2/expected_wizard_wo_spellbook.rbi +356 -16
- data/spec/test_data/v5.0/expected_internal_metadata.rbi +385 -51
- data/spec/test_data/v5.0/expected_no_routes.rbi +3 -10
- data/spec/test_data/v5.0/expected_potion.rbi +383 -52
- data/spec/test_data/v5.0/expected_routes.rbi +10 -4
- data/spec/test_data/v5.0/expected_schema_migration.rbi +385 -51
- data/spec/test_data/v5.0/expected_spell_book.rbi +455 -53
- data/spec/test_data/v5.0/expected_srb_tc_output.txt +1 -98
- data/spec/test_data/v5.0/expected_wand.rbi +374 -19
- data/spec/test_data/v5.0/expected_wizard.rbi +383 -16
- data/spec/test_data/v5.0/expected_wizard_wo_spellbook.rbi +383 -16
- data/spec/test_data/v5.1/expected_internal_metadata.rbi +403 -51
- data/spec/test_data/v5.1/expected_no_routes.rbi +3 -10
- data/spec/test_data/v5.1/expected_potion.rbi +401 -52
- data/spec/test_data/v5.1/expected_routes.rbi +10 -4
- data/spec/test_data/v5.1/expected_schema_migration.rbi +403 -51
- data/spec/test_data/v5.1/expected_spell_book.rbi +473 -53
- data/spec/test_data/v5.1/expected_srb_tc_output.txt +1 -80
- data/spec/test_data/v5.1/expected_wand.rbi +392 -19
- data/spec/test_data/v5.1/expected_wizard.rbi +401 -16
- data/spec/test_data/v5.1/expected_wizard_wo_spellbook.rbi +401 -16
- data/spec/test_data/v5.2-no-sorbet/expected_attachment.rbi +403 -51
- data/spec/test_data/v5.2-no-sorbet/expected_blob.rbi +421 -51
- data/spec/test_data/v5.2-no-sorbet/expected_internal_metadata.rbi +403 -51
- data/spec/test_data/v5.2-no-sorbet/expected_no_routes.rbi +3 -10
- data/spec/test_data/v5.2-no-sorbet/expected_potion.rbi +401 -52
- data/spec/test_data/v5.2-no-sorbet/expected_routes.rbi +15 -4
- data/spec/test_data/v5.2-no-sorbet/expected_schema_migration.rbi +403 -51
- data/spec/test_data/v5.2-no-sorbet/expected_spell_book.rbi +473 -53
- data/spec/test_data/v5.2-no-sorbet/expected_srb_tc_output.txt +1 -80
- data/spec/test_data/v5.2-no-sorbet/expected_wand.rbi +392 -19
- data/spec/test_data/v5.2-no-sorbet/expected_wizard.rbi +401 -16
- data/spec/test_data/v5.2-no-sorbet/expected_wizard_wo_spellbook.rbi +401 -16
- data/spec/test_data/v5.2/expected_attachment.rbi +403 -51
- data/spec/test_data/v5.2/expected_blob.rbi +421 -51
- data/spec/test_data/v5.2/expected_internal_metadata.rbi +403 -51
- data/spec/test_data/v5.2/expected_no_routes.rbi +3 -10
- data/spec/test_data/v5.2/expected_potion.rbi +401 -52
- data/spec/test_data/v5.2/expected_routes.rbi +15 -4
- data/spec/test_data/v5.2/expected_schema_migration.rbi +403 -51
- data/spec/test_data/v5.2/expected_spell_book.rbi +473 -53
- data/spec/test_data/v5.2/expected_srb_tc_output.txt +1 -80
- data/spec/test_data/v5.2/expected_wand.rbi +392 -19
- data/spec/test_data/v5.2/expected_wizard.rbi +401 -16
- data/spec/test_data/v5.2/expected_wizard_wo_spellbook.rbi +401 -16
- data/spec/test_data/v6.0/expected_attachment.rbi +439 -51
- data/spec/test_data/v6.0/expected_blob.rbi +457 -51
- data/spec/test_data/v6.0/expected_internal_metadata.rbi +439 -51
- data/spec/test_data/v6.0/expected_no_routes.rbi +3 -10
- data/spec/test_data/v6.0/expected_potion.rbi +437 -52
- data/spec/test_data/v6.0/expected_routes.rbi +25 -4
- data/spec/test_data/v6.0/expected_schema_migration.rbi +439 -51
- data/spec/test_data/v6.0/expected_spell_book.rbi +545 -53
- data/spec/test_data/v6.0/expected_srb_tc_output.txt +1 -80
- data/spec/test_data/v6.0/expected_wand.rbi +464 -19
- data/spec/test_data/v6.0/expected_wizard.rbi +473 -16
- data/spec/test_data/v6.0/expected_wizard_wo_spellbook.rbi +473 -16
- metadata +29 -581
- data/spec/support/v4.2/sorbet/config +0 -2
- data/spec/support/v4.2/sorbet/rbi/gems/actionmailer.rbi +0 -267
- data/spec/support/v4.2/sorbet/rbi/gems/actionpack.rbi +0 -2883
- data/spec/support/v4.2/sorbet/rbi/gems/actionview.rbi +0 -978
- data/spec/support/v4.2/sorbet/rbi/gems/activejob.rbi +0 -19
- data/spec/support/v4.2/sorbet/rbi/gems/activemodel.rbi +0 -335
- data/spec/support/v4.2/sorbet/rbi/gems/activerecord.rbi +0 -3385
- data/spec/support/v4.2/sorbet/rbi/gems/activesupport.rbi +0 -1892
- data/spec/support/v4.2/sorbet/rbi/gems/arel.rbi +0 -1109
- data/spec/support/v4.2/sorbet/rbi/gems/byebug.rbi +0 -1039
- data/spec/support/v4.2/sorbet/rbi/gems/concurrent-ruby.rbi +0 -218
- data/spec/support/v4.2/sorbet/rbi/gems/crass.rbi +0 -92
- data/spec/support/v4.2/sorbet/rbi/gems/erubis.rbi +0 -265
- data/spec/support/v4.2/sorbet/rbi/gems/globalid.rbi +0 -98
- data/spec/support/v4.2/sorbet/rbi/gems/i18n.rbi +0 -186
- data/spec/support/v4.2/sorbet/rbi/gems/jbuilder.rbi +0 -99
- data/spec/support/v4.2/sorbet/rbi/gems/loofah.rbi +0 -129
- data/spec/support/v4.2/sorbet/rbi/gems/mail.rbi +0 -1091
- data/spec/support/v4.2/sorbet/rbi/gems/mini_mime.rbi +0 -51
- data/spec/support/v4.2/sorbet/rbi/gems/minitest.rbi +0 -276
- data/spec/support/v4.2/sorbet/rbi/gems/nokogiri.rbi +0 -1010
- data/spec/support/v4.2/sorbet/rbi/gems/parlour.rbi +0 -214
- data/spec/support/v4.2/sorbet/rbi/gems/rack-test.rbi +0 -145
- data/spec/support/v4.2/sorbet/rbi/gems/rack.rbi +0 -490
- data/spec/support/v4.2/sorbet/rbi/gems/rails-deprecated_sanitizer.rbi +0 -13
- data/spec/support/v4.2/sorbet/rbi/gems/rails-dom-testing.rbi +0 -76
- data/spec/support/v4.2/sorbet/rbi/gems/rails-html-sanitizer.rbi +0 -91
- data/spec/support/v4.2/sorbet/rbi/gems/railties.rbi +0 -617
- data/spec/support/v4.2/sorbet/rbi/gems/sqlite3.rbi +0 -345
- data/spec/support/v4.2/sorbet/rbi/gems/thor.rbi +0 -401
- data/spec/support/v4.2/sorbet/rbi/gems/thread_safe.rbi +0 -81
- data/spec/support/v4.2/sorbet/rbi/gems/tzinfo.rbi +0 -407
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +0 -13
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +0 -468
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +0 -422
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +0 -1263
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -458
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +0 -8575
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -99
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +0 -22
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +0 -111
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +0 -543
- data/spec/support/v4.2/sorbet/rbi/todo.rbi +0 -66
- data/spec/support/v5.0/sorbet/config +0 -2
- data/spec/support/v5.0/sorbet/rbi/gems/actionmailer.rbi +0 -331
- data/spec/support/v5.0/sorbet/rbi/gems/actionpack.rbi +0 -2987
- data/spec/support/v5.0/sorbet/rbi/gems/actionview.rbi +0 -1092
- data/spec/support/v5.0/sorbet/rbi/gems/activejob.rbi +0 -230
- data/spec/support/v5.0/sorbet/rbi/gems/activemodel.rbi +0 -562
- data/spec/support/v5.0/sorbet/rbi/gems/activerecord.rbi +0 -3684
- data/spec/support/v5.0/sorbet/rbi/gems/activesupport.rbi +0 -1943
- data/spec/support/v5.0/sorbet/rbi/gems/arel.rbi +0 -1222
- data/spec/support/v5.0/sorbet/rbi/gems/byebug.rbi +0 -1039
- data/spec/support/v5.0/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1587
- data/spec/support/v5.0/sorbet/rbi/gems/crass.rbi +0 -92
- data/spec/support/v5.0/sorbet/rbi/gems/erubis.rbi +0 -265
- data/spec/support/v5.0/sorbet/rbi/gems/globalid.rbi +0 -98
- data/spec/support/v5.0/sorbet/rbi/gems/i18n.rbi +0 -191
- data/spec/support/v5.0/sorbet/rbi/gems/jbuilder.rbi +0 -99
- data/spec/support/v5.0/sorbet/rbi/gems/loofah.rbi +0 -129
- data/spec/support/v5.0/sorbet/rbi/gems/mail.rbi +0 -1091
- data/spec/support/v5.0/sorbet/rbi/gems/mini_mime.rbi +0 -51
- data/spec/support/v5.0/sorbet/rbi/gems/nokogiri.rbi +0 -1010
- data/spec/support/v5.0/sorbet/rbi/gems/parlour.rbi +0 -214
- data/spec/support/v5.0/sorbet/rbi/gems/puma.rbi +0 -570
- data/spec/support/v5.0/sorbet/rbi/gems/rack-test.rbi +0 -145
- data/spec/support/v5.0/sorbet/rbi/gems/rack.rbi +0 -489
- data/spec/support/v5.0/sorbet/rbi/gems/rails-html-sanitizer.rbi +0 -91
- data/spec/support/v5.0/sorbet/rbi/gems/railties.rbi +0 -472
- data/spec/support/v5.0/sorbet/rbi/gems/sqlite3.rbi +0 -345
- data/spec/support/v5.0/sorbet/rbi/gems/thread_safe.rbi +0 -81
- data/spec/support/v5.0/sorbet/rbi/gems/tzinfo.rbi +0 -407
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +0 -13
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +0 -468
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +0 -422
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +0 -1263
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -458
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +0 -8575
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -99
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +0 -22
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +0 -111
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +0 -543
- data/spec/support/v5.0/sorbet/rbi/todo.rbi +0 -68
- data/spec/support/v5.1/sorbet/config +0 -2
- data/spec/support/v5.1/sorbet/rbi/gems/actionmailer.rbi +0 -382
- data/spec/support/v5.1/sorbet/rbi/gems/actionpack.rbi +0 -3027
- data/spec/support/v5.1/sorbet/rbi/gems/actionview.rbi +0 -1114
- data/spec/support/v5.1/sorbet/rbi/gems/activejob.rbi +0 -238
- data/spec/support/v5.1/sorbet/rbi/gems/activemodel.rbi +0 -547
- data/spec/support/v5.1/sorbet/rbi/gems/activerecord.rbi +0 -3943
- data/spec/support/v5.1/sorbet/rbi/gems/activesupport.rbi +0 -2042
- data/spec/support/v5.1/sorbet/rbi/gems/arel.rbi +0 -1220
- data/spec/support/v5.1/sorbet/rbi/gems/bindex.rbi +0 -36
- data/spec/support/v5.1/sorbet/rbi/gems/byebug.rbi +0 -1039
- data/spec/support/v5.1/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1587
- data/spec/support/v5.1/sorbet/rbi/gems/crass.rbi +0 -92
- data/spec/support/v5.1/sorbet/rbi/gems/erubi.rbi +0 -26
- data/spec/support/v5.1/sorbet/rbi/gems/globalid.rbi +0 -98
- data/spec/support/v5.1/sorbet/rbi/gems/i18n.rbi +0 -191
- data/spec/support/v5.1/sorbet/rbi/gems/jbuilder.rbi +0 -99
- data/spec/support/v5.1/sorbet/rbi/gems/loofah.rbi +0 -129
- data/spec/support/v5.1/sorbet/rbi/gems/mail.rbi +0 -1091
- data/spec/support/v5.1/sorbet/rbi/gems/mini_mime.rbi +0 -51
- data/spec/support/v5.1/sorbet/rbi/gems/nokogiri.rbi +0 -1010
- data/spec/support/v5.1/sorbet/rbi/gems/parlour.rbi +0 -214
- data/spec/support/v5.1/sorbet/rbi/gems/puma.rbi +0 -570
- data/spec/support/v5.1/sorbet/rbi/gems/rack-test.rbi +0 -161
- data/spec/support/v5.1/sorbet/rbi/gems/rack.rbi +0 -489
- data/spec/support/v5.1/sorbet/rbi/gems/rails-html-sanitizer.rbi +0 -91
- data/spec/support/v5.1/sorbet/rbi/gems/railties.rbi +0 -498
- data/spec/support/v5.1/sorbet/rbi/gems/sqlite3.rbi +0 -353
- data/spec/support/v5.1/sorbet/rbi/gems/thread_safe.rbi +0 -81
- data/spec/support/v5.1/sorbet/rbi/gems/tzinfo.rbi +0 -407
- data/spec/support/v5.1/sorbet/rbi/gems/web-console.rbi +0 -73
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +0 -13
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +0 -468
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +0 -422
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +0 -1263
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -458
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +0 -8575
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -99
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +0 -22
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +0 -111
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +0 -543
- data/spec/support/v5.1/sorbet/rbi/todo.rbi +0 -68
- data/spec/support/v5.2-no-sorbet/.gitignore +0 -31
- data/spec/support/v5.2-no-sorbet/Gemfile +0 -39
- data/spec/support/v5.2-no-sorbet/Gemfile.lock +0 -156
- data/spec/support/v5.2-no-sorbet/README.md +0 -24
- data/spec/support/v5.2-no-sorbet/Rakefile +0 -6
- data/spec/support/v5.2-no-sorbet/app/assets/config/manifest.js +0 -2
- data/spec/support/v5.2-no-sorbet/app/assets/images/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/app/assets/stylesheets/application.css +0 -15
- data/spec/support/v5.2-no-sorbet/app/controllers/application_controller.rb +0 -2
- data/spec/support/v5.2-no-sorbet/app/controllers/concerns/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/app/helpers/application_helper.rb +0 -2
- data/spec/support/v5.2-no-sorbet/app/helpers/bar_helper.rb +0 -2
- data/spec/support/v5.2-no-sorbet/app/helpers/baz_helper.rb +0 -2
- data/spec/support/v5.2-no-sorbet/app/helpers/foo_helper.rb +0 -2
- data/spec/support/v5.2-no-sorbet/app/jobs/application_job.rb +0 -2
- data/spec/support/v5.2-no-sorbet/app/mailers/application_mailer.rb +0 -4
- data/spec/support/v5.2-no-sorbet/app/models/application_record.rb +0 -4
- data/spec/support/v5.2-no-sorbet/app/models/concerns/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/app/models/concerns/mythical.rb +0 -10
- data/spec/support/v5.2-no-sorbet/app/models/potion.rb +0 -4
- data/spec/support/v5.2-no-sorbet/app/models/spell_book.rb +0 -4
- data/spec/support/v5.2-no-sorbet/app/models/wand.rb +0 -16
- data/spec/support/v5.2-no-sorbet/app/models/wizard.rb +0 -13
- data/spec/support/v5.2-no-sorbet/app/views/layouts/application.html.erb +0 -14
- data/spec/support/v5.2-no-sorbet/app/views/layouts/mailer.html.erb +0 -13
- data/spec/support/v5.2-no-sorbet/app/views/layouts/mailer.text.erb +0 -1
- data/spec/support/v5.2-no-sorbet/bin/bundle +0 -3
- data/spec/support/v5.2-no-sorbet/bin/rails +0 -4
- data/spec/support/v5.2-no-sorbet/bin/rake +0 -4
- data/spec/support/v5.2-no-sorbet/bin/setup +0 -36
- data/spec/support/v5.2-no-sorbet/bin/update +0 -31
- data/spec/support/v5.2-no-sorbet/bin/yarn +0 -11
- data/spec/support/v5.2-no-sorbet/config.ru +0 -5
- data/spec/support/v5.2-no-sorbet/config/application.rb +0 -33
- data/spec/support/v5.2-no-sorbet/config/boot.rb +0 -3
- data/spec/support/v5.2-no-sorbet/config/database.yml +0 -25
- data/spec/support/v5.2-no-sorbet/config/environment.rb +0 -5
- data/spec/support/v5.2-no-sorbet/config/environments/development.rb +0 -54
- data/spec/support/v5.2-no-sorbet/config/environments/production.rb +0 -80
- data/spec/support/v5.2-no-sorbet/config/environments/test.rb +0 -46
- data/spec/support/v5.2-no-sorbet/config/initializers/application_controller_renderer.rb +0 -8
- data/spec/support/v5.2-no-sorbet/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/support/v5.2-no-sorbet/config/initializers/content_security_policy.rb +0 -25
- data/spec/support/v5.2-no-sorbet/config/initializers/cookies_serializer.rb +0 -5
- data/spec/support/v5.2-no-sorbet/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/support/v5.2-no-sorbet/config/initializers/inflections.rb +0 -16
- data/spec/support/v5.2-no-sorbet/config/initializers/mime_types.rb +0 -4
- data/spec/support/v5.2-no-sorbet/config/initializers/sorbet_rails.rb +0 -3
- data/spec/support/v5.2-no-sorbet/config/initializers/wrap_parameters.rb +0 -14
- data/spec/support/v5.2-no-sorbet/config/locales/en.yml +0 -33
- data/spec/support/v5.2-no-sorbet/config/puma.rb +0 -34
- data/spec/support/v5.2-no-sorbet/config/routes.rb +0 -4
- data/spec/support/v5.2-no-sorbet/config/storage.yml +0 -34
- data/spec/support/v5.2-no-sorbet/db/migrate/20190620000001_create_wizards.rb +0 -12
- data/spec/support/v5.2-no-sorbet/db/migrate/20190620000002_create_wands.rb +0 -11
- data/spec/support/v5.2-no-sorbet/db/migrate/20190620000003_create_spell_books.rb +0 -8
- data/spec/support/v5.2-no-sorbet/db/migrate/20190620000004_add_more_column_types_to_wands.rb +0 -15
- data/spec/support/v5.2-no-sorbet/db/schema.rb +0 -47
- data/spec/support/v5.2-no-sorbet/db/seeds.rb +0 -7
- data/spec/support/v5.2-no-sorbet/lib/assets/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/lib/mythical_rbi_plugin.rb +0 -16
- data/spec/support/v5.2-no-sorbet/lib/tasks/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/log/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/package.json +0 -5
- data/spec/support/v5.2-no-sorbet/sorbet_test_cases.rb +0 -123
- data/spec/support/v5.2-no-sorbet/storage/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/tmp/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/typed-override.yaml +0 -2
- data/spec/support/v5.2-no-sorbet/vendor/.keep +0 -0
- data/spec/support/v5.2/sorbet/config +0 -2
- data/spec/support/v5.2/sorbet/rbi/gems/actionmailer.rbi +0 -391
- data/spec/support/v5.2/sorbet/rbi/gems/actionpack.rbi +0 -3109
- data/spec/support/v5.2/sorbet/rbi/gems/actionview.rbi +0 -1128
- data/spec/support/v5.2/sorbet/rbi/gems/activejob.rbi +0 -244
- data/spec/support/v5.2/sorbet/rbi/gems/activemodel.rbi +0 -741
- data/spec/support/v5.2/sorbet/rbi/gems/activerecord.rbi +0 -3827
- data/spec/support/v5.2/sorbet/rbi/gems/activestorage.rbi +0 -173
- data/spec/support/v5.2/sorbet/rbi/gems/activesupport.rbi +0 -2167
- data/spec/support/v5.2/sorbet/rbi/gems/arel.rbi +0 -1252
- data/spec/support/v5.2/sorbet/rbi/gems/bindex.rbi +0 -36
- data/spec/support/v5.2/sorbet/rbi/gems/byebug.rbi +0 -1039
- data/spec/support/v5.2/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1587
- data/spec/support/v5.2/sorbet/rbi/gems/crass.rbi +0 -92
- data/spec/support/v5.2/sorbet/rbi/gems/erubi.rbi +0 -26
- data/spec/support/v5.2/sorbet/rbi/gems/globalid.rbi +0 -98
- data/spec/support/v5.2/sorbet/rbi/gems/i18n.rbi +0 -191
- data/spec/support/v5.2/sorbet/rbi/gems/jbuilder.rbi +0 -99
- data/spec/support/v5.2/sorbet/rbi/gems/loofah.rbi +0 -129
- data/spec/support/v5.2/sorbet/rbi/gems/mail.rbi +0 -1091
- data/spec/support/v5.2/sorbet/rbi/gems/marcel.rbi +0 -12
- data/spec/support/v5.2/sorbet/rbi/gems/mini_mime.rbi +0 -51
- data/spec/support/v5.2/sorbet/rbi/gems/nokogiri.rbi +0 -1010
- data/spec/support/v5.2/sorbet/rbi/gems/parlour.rbi +0 -214
- data/spec/support/v5.2/sorbet/rbi/gems/puma.rbi +0 -570
- data/spec/support/v5.2/sorbet/rbi/gems/rack-test.rbi +0 -161
- data/spec/support/v5.2/sorbet/rbi/gems/rack.rbi +0 -493
- data/spec/support/v5.2/sorbet/rbi/gems/rails-html-sanitizer.rbi +0 -91
- data/spec/support/v5.2/sorbet/rbi/gems/railties.rbi +0 -508
- data/spec/support/v5.2/sorbet/rbi/gems/sqlite3.rbi +0 -353
- data/spec/support/v5.2/sorbet/rbi/gems/thread_safe.rbi +0 -81
- data/spec/support/v5.2/sorbet/rbi/gems/tzinfo.rbi +0 -407
- data/spec/support/v5.2/sorbet/rbi/gems/web-console.rbi +0 -73
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +0 -13
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +0 -468
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +0 -422
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activerecord/>=5.2/activerecord.rbi +0 -17
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +0 -1263
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activerecord/~>5.2.0/activerecord.rbi +0 -10
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -458
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +0 -8575
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -99
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +0 -22
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +0 -111
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +0 -543
- data/spec/support/v5.2/sorbet/rbi/todo.rbi +0 -68
- data/spec/support/v6.0/sorbet/config +0 -2
- data/spec/support/v6.0/sorbet/rbi/gems/actionmailbox.rbi +0 -56
- data/spec/support/v6.0/sorbet/rbi/gems/actionmailer.rbi +0 -20
- data/spec/support/v6.0/sorbet/rbi/gems/actionpack.rbi +0 -2154
- data/spec/support/v6.0/sorbet/rbi/gems/actiontext.rbi +0 -32
- data/spec/support/v6.0/sorbet/rbi/gems/actionview.rbi +0 -1135
- data/spec/support/v6.0/sorbet/rbi/gems/activejob.rbi +0 -80
- data/spec/support/v6.0/sorbet/rbi/gems/activemodel.rbi +0 -751
- data/spec/support/v6.0/sorbet/rbi/gems/activerecord.rbi +0 -5414
- data/spec/support/v6.0/sorbet/rbi/gems/activestorage.rbi +0 -221
- data/spec/support/v6.0/sorbet/rbi/gems/activesupport.rbi +0 -2251
- data/spec/support/v6.0/sorbet/rbi/gems/bindex.rbi +0 -36
- data/spec/support/v6.0/sorbet/rbi/gems/byebug.rbi +0 -1039
- data/spec/support/v6.0/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1587
- data/spec/support/v6.0/sorbet/rbi/gems/crass.rbi +0 -92
- data/spec/support/v6.0/sorbet/rbi/gems/erubi.rbi +0 -26
- data/spec/support/v6.0/sorbet/rbi/gems/globalid.rbi +0 -98
- data/spec/support/v6.0/sorbet/rbi/gems/i18n.rbi +0 -191
- data/spec/support/v6.0/sorbet/rbi/gems/jbuilder.rbi +0 -99
- data/spec/support/v6.0/sorbet/rbi/gems/loofah.rbi +0 -129
- data/spec/support/v6.0/sorbet/rbi/gems/mail.rbi +0 -1542
- data/spec/support/v6.0/sorbet/rbi/gems/marcel.rbi +0 -12
- data/spec/support/v6.0/sorbet/rbi/gems/mini_mime.rbi +0 -51
- data/spec/support/v6.0/sorbet/rbi/gems/nokogiri.rbi +0 -1010
- data/spec/support/v6.0/sorbet/rbi/gems/parlour.rbi +0 -214
- data/spec/support/v6.0/sorbet/rbi/gems/puma.rbi +0 -570
- data/spec/support/v6.0/sorbet/rbi/gems/rack-test.rbi +0 -161
- data/spec/support/v6.0/sorbet/rbi/gems/rack.rbi +0 -481
- data/spec/support/v6.0/sorbet/rbi/gems/rails-html-sanitizer.rbi +0 -91
- data/spec/support/v6.0/sorbet/rbi/gems/railties.rbi +0 -548
- data/spec/support/v6.0/sorbet/rbi/gems/sqlite3.rbi +0 -353
- data/spec/support/v6.0/sorbet/rbi/gems/thread_safe.rbi +0 -81
- data/spec/support/v6.0/sorbet/rbi/gems/tzinfo.rbi +0 -407
- data/spec/support/v6.0/sorbet/rbi/gems/web-console.rbi +0 -72
- data/spec/support/v6.0/sorbet/rbi/gems/zeitwerk.rbi +0 -127
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +0 -13
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +0 -468
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +0 -422
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activerecord/>=5.2/activerecord.rbi +0 -17
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +0 -1263
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activerecord/~>6.0.0.rc1/activerecord.rbi +0 -10
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +0 -23
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -458
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +0 -8575
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -99
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +0 -22
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +0 -111
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +0 -543
- data/spec/support/v6.0/sorbet/rbi/todo.rbi +0 -70
@@ -1,19 +0,0 @@
|
|
1
|
-
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
-
# srb rbi gems
|
3
|
-
|
4
|
-
# typed: strong
|
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/activejob/all/activejob.rbi
|
9
|
-
#
|
10
|
-
# activejob-4.2.11
|
11
|
-
module ActiveJob
|
12
|
-
def self.gem_version; end
|
13
|
-
def self.version; end
|
14
|
-
extend ActiveSupport::Autoload
|
15
|
-
end
|
16
|
-
module ActiveJob::VERSION
|
17
|
-
end
|
18
|
-
class ActiveJob::Railtie < Rails::Railtie
|
19
|
-
end
|
@@ -1,335 +0,0 @@
|
|
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/activemodel/all/activemodel.rbi
|
9
|
-
#
|
10
|
-
# activemodel-4.2.11
|
11
|
-
module ActiveModel
|
12
|
-
def self.eager_load!; end
|
13
|
-
def self.gem_version; end
|
14
|
-
def self.version; end
|
15
|
-
extend ActiveSupport::Autoload
|
16
|
-
end
|
17
|
-
module ActiveModel::VERSION
|
18
|
-
end
|
19
|
-
module ActiveModel::Serializers
|
20
|
-
extend ActiveSupport::Autoload
|
21
|
-
end
|
22
|
-
class ActiveModel::Railtie < Rails::Railtie
|
23
|
-
end
|
24
|
-
class ActiveModel::MissingAttributeError < NoMethodError
|
25
|
-
end
|
26
|
-
module ActiveModel::AttributeMethods
|
27
|
-
def attribute_method?(attr_name); end
|
28
|
-
def attribute_missing(match, *args, &block); end
|
29
|
-
def match_attribute_method?(method_name); end
|
30
|
-
def method_missing(method, *args, &block); end
|
31
|
-
def missing_attribute(attr_name, stack); end
|
32
|
-
def respond_to?(method, include_private_methods = nil); end
|
33
|
-
def respond_to_without_attributes?(*arg0); end
|
34
|
-
extend ActiveSupport::Concern
|
35
|
-
end
|
36
|
-
module ActiveModel::AttributeMethods::ClassMethods
|
37
|
-
def alias_attribute(new_name, old_name); end
|
38
|
-
def attribute_alias(name); end
|
39
|
-
def attribute_alias?(new_name); end
|
40
|
-
def attribute_method_affix(*affixes); end
|
41
|
-
def attribute_method_matchers_cache; end
|
42
|
-
def attribute_method_matchers_matching(method_name); end
|
43
|
-
def attribute_method_prefix(*prefixes); end
|
44
|
-
def attribute_method_suffix(*suffixes); end
|
45
|
-
def define_attribute_method(attr_name); end
|
46
|
-
def define_attribute_methods(*attr_names); end
|
47
|
-
def define_proxy_call(include_private, mod, name, send, *extra); end
|
48
|
-
def generated_attribute_methods; end
|
49
|
-
def instance_method_already_implemented?(method_name); end
|
50
|
-
def undefine_attribute_methods; end
|
51
|
-
end
|
52
|
-
class ActiveModel::AttributeMethods::ClassMethods::AttributeMethodMatcher
|
53
|
-
def initialize(options = nil); end
|
54
|
-
def match(method_name); end
|
55
|
-
def method_missing_target; end
|
56
|
-
def method_name(attr_name); end
|
57
|
-
def plain?; end
|
58
|
-
def prefix; end
|
59
|
-
def suffix; end
|
60
|
-
end
|
61
|
-
class ActiveModel::AttributeMethods::ClassMethods::AttributeMethodMatcher::AttributeMethodMatch < Struct
|
62
|
-
def attr_name; end
|
63
|
-
def attr_name=(_); end
|
64
|
-
def method_name; end
|
65
|
-
def method_name=(_); end
|
66
|
-
def self.[](*arg0); end
|
67
|
-
def self.inspect; end
|
68
|
-
def self.members; end
|
69
|
-
def self.new(*arg0); end
|
70
|
-
def target; end
|
71
|
-
def target=(_); end
|
72
|
-
end
|
73
|
-
module ActiveModel::SecurePassword
|
74
|
-
def self.min_cost; end
|
75
|
-
def self.min_cost=(arg0); end
|
76
|
-
extend ActiveSupport::Concern
|
77
|
-
end
|
78
|
-
module ActiveModel::SecurePassword::ClassMethods
|
79
|
-
def has_secure_password(options = nil); end
|
80
|
-
end
|
81
|
-
module ActiveModel::SecurePassword::InstanceMethodsOnActivation
|
82
|
-
def authenticate(unencrypted_password); end
|
83
|
-
def password; end
|
84
|
-
def password=(unencrypted_password); end
|
85
|
-
def password_confirmation=(unencrypted_password); end
|
86
|
-
end
|
87
|
-
class ActiveModel::Name
|
88
|
-
def !~(*args, &block); end
|
89
|
-
def <=>(*args, &block); end
|
90
|
-
def ==(arg); end
|
91
|
-
def ===(arg); end
|
92
|
-
def =~(*args, &block); end
|
93
|
-
def _singularize(string, replacement = nil); end
|
94
|
-
def as_json(*args, &block); end
|
95
|
-
def cache_key; end
|
96
|
-
def collection; end
|
97
|
-
def element; end
|
98
|
-
def eql?(*args, &block); end
|
99
|
-
def human(options = nil); end
|
100
|
-
def i18n_key; end
|
101
|
-
def initialize(klass, namespace = nil, name = nil); end
|
102
|
-
def name; end
|
103
|
-
def param_key; end
|
104
|
-
def plural; end
|
105
|
-
def route_key; end
|
106
|
-
def singular; end
|
107
|
-
def singular_route_key; end
|
108
|
-
def to_s(*args, &block); end
|
109
|
-
def to_str(*args, &block); end
|
110
|
-
include Comparable
|
111
|
-
end
|
112
|
-
module ActiveModel::Naming
|
113
|
-
def model_name; end
|
114
|
-
def self.extended(base); end
|
115
|
-
def self.model_name_from_record_or_class(record_or_class); end
|
116
|
-
def self.param_key(record_or_class); end
|
117
|
-
def self.plural(record_or_class); end
|
118
|
-
def self.route_key(record_or_class); end
|
119
|
-
def self.singular(record_or_class); end
|
120
|
-
def self.singular_route_key(record_or_class); end
|
121
|
-
def self.uncountable?(record_or_class); end
|
122
|
-
end
|
123
|
-
module ActiveModel::Translation
|
124
|
-
def human_attribute_name(attribute, options = nil); end
|
125
|
-
def i18n_scope; end
|
126
|
-
def lookup_ancestors; end
|
127
|
-
include ActiveModel::Naming
|
128
|
-
end
|
129
|
-
class ActiveModel::ForbiddenAttributesError < StandardError
|
130
|
-
end
|
131
|
-
module ActiveModel::ForbiddenAttributesProtection
|
132
|
-
def sanitize_for_mass_assignment(attributes); end
|
133
|
-
def sanitize_forbidden_attributes(attributes); end
|
134
|
-
end
|
135
|
-
module ActiveModel::Conversion
|
136
|
-
def to_key; end
|
137
|
-
def to_model; end
|
138
|
-
def to_param; end
|
139
|
-
def to_partial_path; end
|
140
|
-
extend ActiveSupport::Concern
|
141
|
-
end
|
142
|
-
module ActiveModel::Conversion::ClassMethods
|
143
|
-
def _to_partial_path; end
|
144
|
-
end
|
145
|
-
module ActiveModel::Validations
|
146
|
-
def errors; end
|
147
|
-
def initialize_dup(other); end
|
148
|
-
def invalid?(context = nil); end
|
149
|
-
def read_attribute_for_validation(*arg0); end
|
150
|
-
def run_validations!; end
|
151
|
-
def valid?(context = nil); end
|
152
|
-
def validate(context = nil); end
|
153
|
-
def validates_with(*args, &block); end
|
154
|
-
extend ActiveSupport::Concern
|
155
|
-
end
|
156
|
-
module ActiveModel::Validations::ClassMethods
|
157
|
-
def _parse_validates_options(options); end
|
158
|
-
def _validates_default_keys; end
|
159
|
-
def attribute_method?(attribute); end
|
160
|
-
def clear_validators!; end
|
161
|
-
def inherited(base); end
|
162
|
-
def validate(*args, &block); end
|
163
|
-
def validates!(*attributes); end
|
164
|
-
def validates(*attributes); end
|
165
|
-
def validates_each(*attr_names, &block); end
|
166
|
-
def validates_with(*args, &block); end
|
167
|
-
def validators; end
|
168
|
-
def validators_on(*attributes); end
|
169
|
-
end
|
170
|
-
module ActiveModel::Validations::Clusivity
|
171
|
-
def check_validity!; end
|
172
|
-
def delimiter; end
|
173
|
-
def include?(record, value); end
|
174
|
-
def inclusion_method(enumerable); end
|
175
|
-
end
|
176
|
-
class ActiveModel::Validator
|
177
|
-
def initialize(options = nil); end
|
178
|
-
def kind; end
|
179
|
-
def options; end
|
180
|
-
def self.kind; end
|
181
|
-
def validate(record); end
|
182
|
-
end
|
183
|
-
class ActiveModel::EachValidator < ActiveModel::Validator
|
184
|
-
def attributes; end
|
185
|
-
def check_validity!; end
|
186
|
-
def initialize(options); end
|
187
|
-
def validate(record); end
|
188
|
-
def validate_each(record, attribute, value); end
|
189
|
-
end
|
190
|
-
class ActiveModel::BlockValidator < ActiveModel::EachValidator
|
191
|
-
def initialize(options, &block); end
|
192
|
-
def validate_each(record, attribute, value); end
|
193
|
-
end
|
194
|
-
class ActiveModel::Validations::InclusionValidator < ActiveModel::EachValidator
|
195
|
-
def validate_each(record, attribute, value); end
|
196
|
-
include ActiveModel::Validations::Clusivity
|
197
|
-
end
|
198
|
-
module ActiveModel::Validations::HelperMethods
|
199
|
-
def _merge_attributes(attr_names); end
|
200
|
-
def validates_absence_of(*attr_names); end
|
201
|
-
def validates_acceptance_of(*attr_names); end
|
202
|
-
def validates_confirmation_of(*attr_names); end
|
203
|
-
def validates_exclusion_of(*attr_names); end
|
204
|
-
def validates_format_of(*attr_names); end
|
205
|
-
def validates_inclusion_of(*attr_names); end
|
206
|
-
def validates_length_of(*attr_names); end
|
207
|
-
def validates_numericality_of(*attr_names); end
|
208
|
-
def validates_presence_of(*attr_names); end
|
209
|
-
def validates_size_of(*attr_names); end
|
210
|
-
end
|
211
|
-
class ActiveModel::Validations::AbsenceValidator < ActiveModel::EachValidator
|
212
|
-
def validate_each(record, attr_name, value); end
|
213
|
-
end
|
214
|
-
class ActiveModel::Validations::NumericalityValidator < ActiveModel::EachValidator
|
215
|
-
def allow_only_integer?(record); end
|
216
|
-
def check_validity!; end
|
217
|
-
def filtered_options(value); end
|
218
|
-
def parse_raw_value_as_a_number(raw_value); end
|
219
|
-
def parse_raw_value_as_an_integer(raw_value); end
|
220
|
-
def record_attribute_changed_in_place?(record, attr_name); end
|
221
|
-
def validate_each(record, attr_name, value); end
|
222
|
-
end
|
223
|
-
module ActiveModel::Validations::Callbacks
|
224
|
-
def run_validations!; end
|
225
|
-
extend ActiveSupport::Concern
|
226
|
-
end
|
227
|
-
module ActiveModel::Validations::Callbacks::ClassMethods
|
228
|
-
def after_validation(*args, &block); end
|
229
|
-
def before_validation(*args, &block); end
|
230
|
-
end
|
231
|
-
class ActiveModel::Validations::ExclusionValidator < ActiveModel::EachValidator
|
232
|
-
def validate_each(record, attribute, value); end
|
233
|
-
include ActiveModel::Validations::Clusivity
|
234
|
-
end
|
235
|
-
class ActiveModel::Validations::ConfirmationValidator < ActiveModel::EachValidator
|
236
|
-
def initialize(options); end
|
237
|
-
def setup!(klass); end
|
238
|
-
def validate_each(record, attribute, value); end
|
239
|
-
end
|
240
|
-
class ActiveModel::Validations::FormatValidator < ActiveModel::EachValidator
|
241
|
-
def check_options_validity(name); end
|
242
|
-
def check_validity!; end
|
243
|
-
def option_call(record, name); end
|
244
|
-
def record_error(record, attribute, name, value); end
|
245
|
-
def regexp_using_multiline_anchors?(regexp); end
|
246
|
-
def validate_each(record, attribute, value); end
|
247
|
-
end
|
248
|
-
class ActiveModel::Validations::PresenceValidator < ActiveModel::EachValidator
|
249
|
-
def validate_each(record, attr_name, value); end
|
250
|
-
end
|
251
|
-
class ActiveModel::Validations::LengthValidator < ActiveModel::EachValidator
|
252
|
-
def check_validity!; end
|
253
|
-
def initialize(options); end
|
254
|
-
def skip_nil_check?(key); end
|
255
|
-
def tokenize(value); end
|
256
|
-
def validate_each(record, attribute, value); end
|
257
|
-
end
|
258
|
-
class ActiveModel::Validations::AcceptanceValidator < ActiveModel::EachValidator
|
259
|
-
def initialize(options); end
|
260
|
-
def setup!(klass); end
|
261
|
-
def validate_each(record, attribute, value); end
|
262
|
-
end
|
263
|
-
class ActiveModel::Validations::WithValidator < ActiveModel::EachValidator
|
264
|
-
def validate_each(record, attr, val); end
|
265
|
-
end
|
266
|
-
module ActiveModel::Callbacks
|
267
|
-
def _define_after_model_callback(klass, callback); end
|
268
|
-
def _define_around_model_callback(klass, callback); end
|
269
|
-
def _define_before_model_callback(klass, callback); end
|
270
|
-
def define_model_callbacks(*callbacks); end
|
271
|
-
def self.extended(base); end
|
272
|
-
end
|
273
|
-
module ActiveModel::Dirty
|
274
|
-
def attribute_change(attr); end
|
275
|
-
def attribute_changed?(attr, options = nil); end
|
276
|
-
def attribute_changed_by_setter?(attr_name); end
|
277
|
-
def attribute_was(attr); end
|
278
|
-
def attribute_will_change!(attr); end
|
279
|
-
def attributes_changed_by_setter; end
|
280
|
-
def changed; end
|
281
|
-
def changed?; end
|
282
|
-
def changed_attributes; end
|
283
|
-
def changes; end
|
284
|
-
def changes_applied; end
|
285
|
-
def changes_include?(attr_name); end
|
286
|
-
def clear_attribute_changes(attributes); end
|
287
|
-
def clear_changes_information; end
|
288
|
-
def previous_changes; end
|
289
|
-
def reset_attribute!(attr); end
|
290
|
-
def reset_changes; end
|
291
|
-
def restore_attribute!(attr); end
|
292
|
-
def restore_attributes(attributes = nil); end
|
293
|
-
def set_attribute_was(attr, old_value); end
|
294
|
-
extend ActiveSupport::Concern
|
295
|
-
include ActiveModel::AttributeMethods
|
296
|
-
end
|
297
|
-
module ActiveModel::Serialization
|
298
|
-
def read_attribute_for_serialization(*arg0); end
|
299
|
-
def serializable_add_includes(options = nil); end
|
300
|
-
def serializable_hash(options = nil); end
|
301
|
-
end
|
302
|
-
module ActiveModel::Serializers::JSON
|
303
|
-
def as_json(options = nil); end
|
304
|
-
def from_json(json, include_root = nil); end
|
305
|
-
extend ActiveSupport::Concern
|
306
|
-
include ActiveModel::Serialization
|
307
|
-
end
|
308
|
-
module ActiveModel::Serializers::Xml
|
309
|
-
def from_xml(xml); end
|
310
|
-
def to_xml(options = nil, &block); end
|
311
|
-
extend ActiveSupport::Concern
|
312
|
-
include ActiveModel::Serialization
|
313
|
-
end
|
314
|
-
class ActiveModel::Serializers::Xml::Serializer
|
315
|
-
def add_associations(association, records, opts); end
|
316
|
-
def add_attributes_and_methods; end
|
317
|
-
def add_extra_behavior; end
|
318
|
-
def add_includes; end
|
319
|
-
def add_procs; end
|
320
|
-
def initialize(serializable, options = nil); end
|
321
|
-
def options; end
|
322
|
-
def serializable_collection; end
|
323
|
-
def serializable_hash; end
|
324
|
-
def serialize; end
|
325
|
-
end
|
326
|
-
class ActiveModel::Serializers::Xml::Serializer::Attribute
|
327
|
-
def compute_type; end
|
328
|
-
def decorations; end
|
329
|
-
def initialize(name, serializable, value); end
|
330
|
-
def name; end
|
331
|
-
def type; end
|
332
|
-
def value; end
|
333
|
-
end
|
334
|
-
class ActiveModel::Serializers::Xml::Serializer::MethodAttribute < ActiveModel::Serializers::Xml::Serializer::Attribute
|
335
|
-
end
|
@@ -1,3385 +0,0 @@
|
|
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-4.2.11
|
11
|
-
module ActiveRecord
|
12
|
-
def self.eager_load!; end
|
13
|
-
def self.gem_version; end
|
14
|
-
def self.version; end
|
15
|
-
extend ActiveSupport::Autoload
|
16
|
-
end
|
17
|
-
module ActiveRecord::VERSION
|
18
|
-
end
|
19
|
-
class ActiveRecord::Attribute
|
20
|
-
def ==(other); end
|
21
|
-
def came_from_user?; end
|
22
|
-
def changed_from?(old_value); end
|
23
|
-
def changed_in_place_from?(old_value); end
|
24
|
-
def has_been_read?; end
|
25
|
-
def initialize(name, value_before_type_cast, type); end
|
26
|
-
def initialize_dup(other); end
|
27
|
-
def initialized?; end
|
28
|
-
def name; end
|
29
|
-
def original_value; end
|
30
|
-
def self.from_database(name, value, type); end
|
31
|
-
def self.from_user(name, value, type); end
|
32
|
-
def self.null(name); end
|
33
|
-
def self.uninitialized(name, type); end
|
34
|
-
def self.with_cast_value(name, value, type); end
|
35
|
-
def type; end
|
36
|
-
def type_cast(*arg0); end
|
37
|
-
def value; end
|
38
|
-
def value_before_type_cast; end
|
39
|
-
def value_for_database; end
|
40
|
-
def with_cast_value(value); end
|
41
|
-
def with_value_from_database(value); end
|
42
|
-
def with_value_from_user(value); end
|
43
|
-
end
|
44
|
-
class ActiveRecord::Attribute::FromDatabase < ActiveRecord::Attribute
|
45
|
-
def type_cast(value); end
|
46
|
-
end
|
47
|
-
class ActiveRecord::Attribute::FromUser < ActiveRecord::Attribute
|
48
|
-
def came_from_user?; end
|
49
|
-
def type_cast(value); end
|
50
|
-
end
|
51
|
-
class ActiveRecord::Attribute::WithCastValue < ActiveRecord::Attribute
|
52
|
-
def changed_in_place_from?(old_value); end
|
53
|
-
def type_cast(value); end
|
54
|
-
end
|
55
|
-
class ActiveRecord::Attribute::Null < ActiveRecord::Attribute
|
56
|
-
def initialize(name); end
|
57
|
-
def value; end
|
58
|
-
def with_value_from_database(value); end
|
59
|
-
def with_value_from_user(value); end
|
60
|
-
end
|
61
|
-
class ActiveRecord::Attribute::Uninitialized < ActiveRecord::Attribute
|
62
|
-
def initialize(name, type); end
|
63
|
-
def initialized?; end
|
64
|
-
def value; end
|
65
|
-
def value_for_database; end
|
66
|
-
end
|
67
|
-
class ActiveRecord::AttributeSet
|
68
|
-
def ==(other); end
|
69
|
-
def [](name); end
|
70
|
-
def attributes; end
|
71
|
-
def fetch_value(name); end
|
72
|
-
def freeze; end
|
73
|
-
def initialize(attributes); end
|
74
|
-
def initialize_clone(_); end
|
75
|
-
def initialize_dup(_); end
|
76
|
-
def initialized_attributes; end
|
77
|
-
def key?(name); end
|
78
|
-
def keys; end
|
79
|
-
def reset(key); end
|
80
|
-
def to_h; end
|
81
|
-
def to_hash; end
|
82
|
-
def values_before_type_cast; end
|
83
|
-
def write_cast_value(name, value); end
|
84
|
-
def write_from_database(name, value); end
|
85
|
-
def write_from_user(name, value); end
|
86
|
-
end
|
87
|
-
class ActiveRecord::AttributeSet::Builder
|
88
|
-
def always_initialized; end
|
89
|
-
def build_from_database(values = nil, additional_types = nil); end
|
90
|
-
def initialize(types, always_initialized = nil); end
|
91
|
-
def types; end
|
92
|
-
end
|
93
|
-
class ActiveRecord::LazyAttributeHash
|
94
|
-
def ==(other); end
|
95
|
-
def [](key); end
|
96
|
-
def []=(key, value); end
|
97
|
-
def additional_types; end
|
98
|
-
def assign_default_value(name); end
|
99
|
-
def delegate_hash; end
|
100
|
-
def initialize(types, values, additional_types); end
|
101
|
-
def initialize_dup(_); end
|
102
|
-
def initialized_keys; end
|
103
|
-
def key?(key); end
|
104
|
-
def materialize; end
|
105
|
-
def select; end
|
106
|
-
def transform_values(*args, &block); end
|
107
|
-
def types; end
|
108
|
-
def values; end
|
109
|
-
end
|
110
|
-
module ActiveRecord::AttributeMethods
|
111
|
-
def [](attr_name); end
|
112
|
-
def []=(attr_name, value); end
|
113
|
-
def arel_attributes_with_values(attribute_names); end
|
114
|
-
def arel_attributes_with_values_for_create(attribute_names); end
|
115
|
-
def arel_attributes_with_values_for_update(attribute_names); end
|
116
|
-
def attribute_for_inspect(attr_name); end
|
117
|
-
def attribute_method?(attr_name); end
|
118
|
-
def attribute_names; end
|
119
|
-
def attribute_present?(attribute); end
|
120
|
-
def attributes; end
|
121
|
-
def attributes_for_create(attribute_names); end
|
122
|
-
def attributes_for_update(attribute_names); end
|
123
|
-
def clone_attribute_value(reader_method, attribute_name); end
|
124
|
-
def has_attribute?(attr_name); end
|
125
|
-
def pk_attribute?(name); end
|
126
|
-
def readonly_attribute?(name); end
|
127
|
-
def respond_to?(name, include_private = nil); end
|
128
|
-
def typecasted_attribute_value(name); end
|
129
|
-
extend ActiveSupport::Autoload
|
130
|
-
extend ActiveSupport::Concern
|
131
|
-
include ActiveModel::AttributeMethods
|
132
|
-
end
|
133
|
-
module ActiveRecord::AttributeMethods::AttrNames
|
134
|
-
def self.set_name_cache(name, value); end
|
135
|
-
end
|
136
|
-
class ActiveRecord::AttributeMethods::AttributeMethodCache
|
137
|
-
def [](name); end
|
138
|
-
def initialize; end
|
139
|
-
def method_body(method_name, const_name); end
|
140
|
-
end
|
141
|
-
class ActiveRecord::AttributeMethods::GeneratedAttributeMethods < Module
|
142
|
-
end
|
143
|
-
module ActiveRecord::AttributeMethods::ClassMethods
|
144
|
-
def attribute_method?(attribute); end
|
145
|
-
def attribute_names; end
|
146
|
-
def class_method_defined_within?(name, klass, superklass = nil); end
|
147
|
-
def column_for_attribute(name); end
|
148
|
-
def dangerous_attribute_method?(name); end
|
149
|
-
def dangerous_class_method?(method_name); end
|
150
|
-
def define_attribute_methods; end
|
151
|
-
def inherited(child_class); end
|
152
|
-
def initialize_generated_modules; end
|
153
|
-
def instance_method_already_implemented?(method_name); end
|
154
|
-
def method_defined_within?(name, klass, superklass = nil); end
|
155
|
-
def undefine_attribute_methods; end
|
156
|
-
end
|
157
|
-
module ActiveRecord::Type
|
158
|
-
end
|
159
|
-
module ActiveRecord::Type::Decorator
|
160
|
-
def encode_with(coder); end
|
161
|
-
def init_with(coder); end
|
162
|
-
end
|
163
|
-
module ActiveRecord::Type::Mutable
|
164
|
-
def changed_in_place?(raw_old_value, new_value); end
|
165
|
-
def type_cast_from_user(value); end
|
166
|
-
end
|
167
|
-
module ActiveRecord::Type::Numeric
|
168
|
-
def changed?(old_value, _new_value, new_value_before_type_cast); end
|
169
|
-
def non_numeric_string?(value); end
|
170
|
-
def number?; end
|
171
|
-
def number_to_non_number?(old_value, new_value_before_type_cast); end
|
172
|
-
def type_cast(value); end
|
173
|
-
end
|
174
|
-
module ActiveRecord::Type::TimeValue
|
175
|
-
def fast_string_to_time(string); end
|
176
|
-
def klass; end
|
177
|
-
def new_time(year, mon, mday, hour, min, sec, microsec, offset = nil); end
|
178
|
-
def type_cast_for_schema(value); end
|
179
|
-
end
|
180
|
-
class ActiveRecord::Type::Value
|
181
|
-
def ==(other); end
|
182
|
-
def binary?; end
|
183
|
-
def cast_value(value); end
|
184
|
-
def changed?(old_value, new_value, _new_value_before_type_cast); end
|
185
|
-
def changed_in_place?(*arg0); end
|
186
|
-
def eql?(other); end
|
187
|
-
def hash; end
|
188
|
-
def initialize(options = nil); end
|
189
|
-
def klass; end
|
190
|
-
def limit; end
|
191
|
-
def number?; end
|
192
|
-
def precision; end
|
193
|
-
def scale; end
|
194
|
-
def text?; end
|
195
|
-
def type; end
|
196
|
-
def type_cast(value); end
|
197
|
-
def type_cast_for_database(value); end
|
198
|
-
def type_cast_for_schema(value); end
|
199
|
-
def type_cast_from_database(value); end
|
200
|
-
def type_cast_from_user(value); end
|
201
|
-
end
|
202
|
-
class ActiveRecord::Type::Integer < ActiveRecord::Type::Value
|
203
|
-
def cast_value(value); end
|
204
|
-
def ensure_in_range(value); end
|
205
|
-
def initialize(*arg0); end
|
206
|
-
def max_value; end
|
207
|
-
def min_value; end
|
208
|
-
def range; end
|
209
|
-
def type; end
|
210
|
-
def type_cast_for_database(value); end
|
211
|
-
def type_cast_from_database(value); end
|
212
|
-
include ActiveRecord::Type::Numeric
|
213
|
-
end
|
214
|
-
class ActiveRecord::Type::BigInteger < ActiveRecord::Type::Integer
|
215
|
-
def max_value; end
|
216
|
-
end
|
217
|
-
class ActiveRecord::Type::Binary < ActiveRecord::Type::Value
|
218
|
-
def binary?; end
|
219
|
-
def changed_in_place?(raw_old_value, value); end
|
220
|
-
def type; end
|
221
|
-
def type_cast(value); end
|
222
|
-
def type_cast_for_database(value); end
|
223
|
-
end
|
224
|
-
class ActiveRecord::Type::Binary::Data
|
225
|
-
def ==(other); end
|
226
|
-
def hex; end
|
227
|
-
def initialize(value); end
|
228
|
-
def to_s; end
|
229
|
-
def to_str; end
|
230
|
-
end
|
231
|
-
class ActiveRecord::Type::Boolean < ActiveRecord::Type::Value
|
232
|
-
def cast_value(value); end
|
233
|
-
def type; end
|
234
|
-
end
|
235
|
-
class ActiveRecord::Type::Date < ActiveRecord::Type::Value
|
236
|
-
def cast_value(value); end
|
237
|
-
def fallback_string_to_date(string); end
|
238
|
-
def fast_string_to_date(string); end
|
239
|
-
def klass; end
|
240
|
-
def new_date(year, mon, mday); end
|
241
|
-
def type; end
|
242
|
-
def type_cast_for_database(value); end
|
243
|
-
def type_cast_for_schema(value); end
|
244
|
-
end
|
245
|
-
class ActiveRecord::Type::DateTime < ActiveRecord::Type::Value
|
246
|
-
def cast_value(string); end
|
247
|
-
def fallback_string_to_time(string); end
|
248
|
-
def has_precision?; end
|
249
|
-
def microseconds(time); end
|
250
|
-
def type; end
|
251
|
-
def type_cast_for_database(value); end
|
252
|
-
include ActiveRecord::Type::TimeValue
|
253
|
-
end
|
254
|
-
class ActiveRecord::Type::Decimal < ActiveRecord::Type::Value
|
255
|
-
def apply_scale(value); end
|
256
|
-
def cast_value(value); end
|
257
|
-
def convert_float_to_big_decimal(value); end
|
258
|
-
def float_precision; end
|
259
|
-
def type; end
|
260
|
-
def type_cast_for_schema(value); end
|
261
|
-
include ActiveRecord::Type::Numeric
|
262
|
-
end
|
263
|
-
class ActiveRecord::Type::DecimalWithoutScale < ActiveRecord::Type::BigInteger
|
264
|
-
def type; end
|
265
|
-
end
|
266
|
-
class ActiveRecord::Type::Float < ActiveRecord::Type::Value
|
267
|
-
def cast_value(value); end
|
268
|
-
def type; end
|
269
|
-
def type_cast_for_database(value); end
|
270
|
-
include ActiveRecord::Type::Numeric
|
271
|
-
end
|
272
|
-
class ActiveRecord::Type::Serialized < Anonymous_Delegator_11
|
273
|
-
def accessor; end
|
274
|
-
def changed_in_place?(raw_old_value, value); end
|
275
|
-
def coder; end
|
276
|
-
def default_value?(value); end
|
277
|
-
def encode_with(coder); end
|
278
|
-
def init_with(coder); end
|
279
|
-
def initialize(subtype, coder); end
|
280
|
-
def inspect; end
|
281
|
-
def subtype; end
|
282
|
-
def type_cast_for_database(value); end
|
283
|
-
def type_cast_from_database(value); end
|
284
|
-
include ActiveRecord::Type::Decorator
|
285
|
-
include ActiveRecord::Type::Mutable
|
286
|
-
end
|
287
|
-
class ActiveRecord::Type::String < ActiveRecord::Type::Value
|
288
|
-
def cast_value(value); end
|
289
|
-
def changed_in_place?(raw_old_value, new_value); end
|
290
|
-
def text?; end
|
291
|
-
def type; end
|
292
|
-
def type_cast_for_database(value); end
|
293
|
-
end
|
294
|
-
class ActiveRecord::Type::Text < ActiveRecord::Type::String
|
295
|
-
def type; end
|
296
|
-
end
|
297
|
-
class ActiveRecord::Type::Time < ActiveRecord::Type::Value
|
298
|
-
def cast_value(value); end
|
299
|
-
def type; end
|
300
|
-
include ActiveRecord::Type::TimeValue
|
301
|
-
end
|
302
|
-
class ActiveRecord::Type::UnsignedInteger < ActiveRecord::Type::Integer
|
303
|
-
def max_value; end
|
304
|
-
def min_value; end
|
305
|
-
end
|
306
|
-
class ActiveRecord::Type::TypeMap
|
307
|
-
def alias_type(key, target_key); end
|
308
|
-
def clear; end
|
309
|
-
def default_value; end
|
310
|
-
def fetch(lookup_key, *args, &block); end
|
311
|
-
def initialize; end
|
312
|
-
def lookup(lookup_key, *args); end
|
313
|
-
def perform_fetch(lookup_key, *args); end
|
314
|
-
def register_type(key, value = nil, &block); end
|
315
|
-
end
|
316
|
-
class ActiveRecord::Type::HashLookupTypeMap < ActiveRecord::Type::TypeMap
|
317
|
-
def alias_type(type, alias_type); end
|
318
|
-
def key?(key); end
|
319
|
-
def keys; end
|
320
|
-
def perform_fetch(type, *args, &block); end
|
321
|
-
end
|
322
|
-
module ActiveRecord::ConnectionAdapters
|
323
|
-
extend ActiveSupport::Autoload
|
324
|
-
extend ActiveSupport::Autoload
|
325
|
-
end
|
326
|
-
class ActiveRecord::ConnectionAdapters::SchemaCache
|
327
|
-
def add(table_name); end
|
328
|
-
def clear!; end
|
329
|
-
def clear_table_cache!(table_name); end
|
330
|
-
def columns(table_name); end
|
331
|
-
def columns_hash(table_name); end
|
332
|
-
def connection; end
|
333
|
-
def connection=(arg0); end
|
334
|
-
def initialize(conn); end
|
335
|
-
def marshal_dump; end
|
336
|
-
def marshal_load(array); end
|
337
|
-
def prepare_tables; end
|
338
|
-
def primary_keys(table_name); end
|
339
|
-
def size; end
|
340
|
-
def table_exists?(name); end
|
341
|
-
def tables(name); end
|
342
|
-
def version; end
|
343
|
-
end
|
344
|
-
module ActiveRecord::ConnectionAdapters::ColumnDumper
|
345
|
-
def column_spec(column, types); end
|
346
|
-
def migration_keys; end
|
347
|
-
def prepare_column_options(column, types); end
|
348
|
-
def schema_default(column); end
|
349
|
-
end
|
350
|
-
class ActiveRecord::ConnectionAdapters::AbstractAdapter
|
351
|
-
def _checkin_callbacks; end
|
352
|
-
def _checkin_callbacks?; end
|
353
|
-
def _checkout_callbacks; end
|
354
|
-
def _checkout_callbacks?; end
|
355
|
-
def _run_checkin_callbacks(&block); end
|
356
|
-
def _run_checkout_callbacks(&block); end
|
357
|
-
def active?; end
|
358
|
-
def adapter_name; end
|
359
|
-
def case_insensitive_comparison(table, attribute, column, value); end
|
360
|
-
def case_sensitive_comparison(table, attribute, column, value); end
|
361
|
-
def case_sensitive_modifier(node, table_attribute); end
|
362
|
-
def clear_cache!; end
|
363
|
-
def close; end
|
364
|
-
def collector; end
|
365
|
-
def column_for(table_name, column_name); end
|
366
|
-
def column_name_for_operation(operation, node); end
|
367
|
-
def create_savepoint(name = nil); end
|
368
|
-
def current_savepoint_name; end
|
369
|
-
def delete(*arg0); end
|
370
|
-
def disable_extension(name); end
|
371
|
-
def disable_referential_integrity; end
|
372
|
-
def disconnect!; end
|
373
|
-
def enable_extension(name); end
|
374
|
-
def expire; end
|
375
|
-
def extensions; end
|
376
|
-
def extract_limit(sql_type); end
|
377
|
-
def extract_precision(sql_type); end
|
378
|
-
def extract_scale(sql_type); end
|
379
|
-
def in_use?; end
|
380
|
-
def index_algorithms; end
|
381
|
-
def initialize(connection, logger = nil, pool = nil); end
|
382
|
-
def initialize_type_map(m); end
|
383
|
-
def insert(*arg0); end
|
384
|
-
def lease; end
|
385
|
-
def log(sql, name = nil, binds = nil, statement_name = nil); end
|
386
|
-
def logger; end
|
387
|
-
def lookup_cast_type(sql_type); end
|
388
|
-
def new_column(name, default, cast_type, sql_type = nil, null = nil); end
|
389
|
-
def owner; end
|
390
|
-
def pool; end
|
391
|
-
def pool=(arg0); end
|
392
|
-
def prefetch_primary_key?(table_name = nil); end
|
393
|
-
def prepared_statements; end
|
394
|
-
def raw_connection; end
|
395
|
-
def reconnect!; end
|
396
|
-
def register_class_with_limit(mapping, key, klass); end
|
397
|
-
def release_savepoint(name = nil); end
|
398
|
-
def reload_type_map; end
|
399
|
-
def requires_reloading?; end
|
400
|
-
def reset!; end
|
401
|
-
def rollback_db_transaction(*arg0); end
|
402
|
-
def rollback_to_savepoint(*arg0); end
|
403
|
-
def schema_cache; end
|
404
|
-
def schema_cache=(cache); end
|
405
|
-
def schema_creation; end
|
406
|
-
def self._checkin_callbacks; end
|
407
|
-
def self._checkin_callbacks=(val); end
|
408
|
-
def self._checkin_callbacks?; end
|
409
|
-
def self._checkout_callbacks; end
|
410
|
-
def self._checkout_callbacks=(val); end
|
411
|
-
def self._checkout_callbacks?; end
|
412
|
-
def self.type_cast_config_to_boolean(config); end
|
413
|
-
def self.type_cast_config_to_integer(config); end
|
414
|
-
def substitute_at(column, _unused = nil); end
|
415
|
-
def supports_bulk_alter?; end
|
416
|
-
def supports_ddl_transactions?; end
|
417
|
-
def supports_explain?; end
|
418
|
-
def supports_extensions?; end
|
419
|
-
def supports_foreign_keys?; end
|
420
|
-
def supports_index_sort_order?; end
|
421
|
-
def supports_indexes_in_create?; end
|
422
|
-
def supports_migrations?; end
|
423
|
-
def supports_partial_index?; end
|
424
|
-
def supports_primary_key?; end
|
425
|
-
def supports_savepoints?; end
|
426
|
-
def supports_transaction_isolation?; end
|
427
|
-
def supports_views?; end
|
428
|
-
def translate_exception(exception, message); end
|
429
|
-
def translate_exception_class(e, sql); end
|
430
|
-
def type_map; end
|
431
|
-
def unprepared_statement; end
|
432
|
-
def update(*arg0); end
|
433
|
-
def valid_type?(type); end
|
434
|
-
def verify!(*ignored); end
|
435
|
-
def visitor; end
|
436
|
-
def visitor=(arg0); end
|
437
|
-
def without_prepared_statement?(binds); end
|
438
|
-
extend ActiveSupport::Callbacks::ClassMethods
|
439
|
-
extend ActiveSupport::DescendantsTracker
|
440
|
-
include ActiveRecord::ConnectionAdapters::ColumnDumper
|
441
|
-
include ActiveRecord::ConnectionAdapters::DatabaseLimits
|
442
|
-
include ActiveRecord::ConnectionAdapters::QueryCache
|
443
|
-
include ActiveRecord::ConnectionAdapters::Quoting
|
444
|
-
include ActiveSupport::Callbacks
|
445
|
-
include MonitorMixin
|
446
|
-
end
|
447
|
-
class ActiveRecord::ConnectionAdapters::AbstractAdapter::SchemaCreation
|
448
|
-
def accept(o); end
|
449
|
-
def action_sql(action, dependency); end
|
450
|
-
def add_column_options!(sql, options); end
|
451
|
-
def column_options(o); end
|
452
|
-
def initialize(conn); end
|
453
|
-
def options_include_default?(options); end
|
454
|
-
def quote_column_name(name); end
|
455
|
-
def quote_table_name(name); end
|
456
|
-
def quote_value(value, column); end
|
457
|
-
def type_for_column(column); end
|
458
|
-
def type_to_sql(type, limit, precision, scale); end
|
459
|
-
def visit_AddColumn(o); end
|
460
|
-
def visit_AddForeignKey(o); end
|
461
|
-
def visit_AlterTable(o); end
|
462
|
-
def visit_ColumnDefinition(o); end
|
463
|
-
def visit_DropForeignKey(name); end
|
464
|
-
def visit_TableDefinition(o); end
|
465
|
-
end
|
466
|
-
module ActiveRecord::ConnectionAdapters::Quoting
|
467
|
-
def _quote(value); end
|
468
|
-
def _type_cast(value); end
|
469
|
-
def quote(value, column = nil); end
|
470
|
-
def quote_column_name(column_name); end
|
471
|
-
def quote_string(s); end
|
472
|
-
def quote_table_name(table_name); end
|
473
|
-
def quote_table_name_for_assignment(table, attr); end
|
474
|
-
def quoted_date(value); end
|
475
|
-
def quoted_false; end
|
476
|
-
def quoted_true; end
|
477
|
-
def type_cast(value, column); end
|
478
|
-
def types_which_need_no_typecasting; end
|
479
|
-
def unquoted_false; end
|
480
|
-
def unquoted_true; end
|
481
|
-
end
|
482
|
-
module ActiveRecord::ConnectionAdapters::DatabaseStatements
|
483
|
-
def add_transaction_record(record); end
|
484
|
-
def begin_db_transaction; end
|
485
|
-
def begin_isolated_db_transaction(isolation); end
|
486
|
-
def begin_transaction(*args, &block); end
|
487
|
-
def binds_from_relation(relation, binds); end
|
488
|
-
def cacheable_query(arel); end
|
489
|
-
def commit_db_transaction; end
|
490
|
-
def commit_transaction(*args, &block); end
|
491
|
-
def current_transaction(*args, &block); end
|
492
|
-
def default_sequence_name(table, column); end
|
493
|
-
def delete(arel, name = nil, binds = nil); end
|
494
|
-
def delete_sql(sql, name = nil); end
|
495
|
-
def empty_insert_statement_value; end
|
496
|
-
def exec_delete(sql, name, binds); end
|
497
|
-
def exec_insert(sql, name, binds, pk = nil, sequence_name = nil); end
|
498
|
-
def exec_query(sql, name = nil, binds = nil); end
|
499
|
-
def exec_rollback_db_transaction; end
|
500
|
-
def exec_rollback_to_savepoint(name = nil); end
|
501
|
-
def exec_update(sql, name, binds); end
|
502
|
-
def initialize; end
|
503
|
-
def insert(arel, name = nil, pk = nil, id_value = nil, sequence_name = nil, binds = nil); end
|
504
|
-
def insert_fixture(fixture, table_name); end
|
505
|
-
def insert_sql(sql, name = nil, pk = nil, id_value = nil, sequence_name = nil); end
|
506
|
-
def join_to_delete(delete, select, key); end
|
507
|
-
def join_to_update(update, select); end
|
508
|
-
def last_inserted_id(result); end
|
509
|
-
def open_transactions(*args, &block); end
|
510
|
-
def reset_sequence!(table, column, sequence = nil); end
|
511
|
-
def reset_transaction; end
|
512
|
-
def rollback_db_transaction; end
|
513
|
-
def rollback_to_savepoint(name = nil); end
|
514
|
-
def rollback_transaction(*args, &block); end
|
515
|
-
def sanitize_limit(limit); end
|
516
|
-
def select(sql, name = nil, binds = nil); end
|
517
|
-
def select_all(arel, name = nil, binds = nil); end
|
518
|
-
def select_one(arel, name = nil, binds = nil); end
|
519
|
-
def select_value(arel, name = nil, binds = nil); end
|
520
|
-
def select_values(arel, name = nil); end
|
521
|
-
def sql_for_insert(sql, pk, id_value, sequence_name, binds); end
|
522
|
-
def subquery_for(key, select); end
|
523
|
-
def supports_statement_cache?; end
|
524
|
-
def to_sql(arel, binds = nil); end
|
525
|
-
def transaction(options = nil); end
|
526
|
-
def transaction_isolation_levels; end
|
527
|
-
def transaction_manager; end
|
528
|
-
def transaction_open?; end
|
529
|
-
def transaction_state; end
|
530
|
-
def truncate(table_name, name = nil); end
|
531
|
-
def update(arel, name = nil, binds = nil); end
|
532
|
-
def update_sql(sql, name = nil); end
|
533
|
-
def within_new_transaction(*args, &block); end
|
534
|
-
end
|
535
|
-
class ActiveRecord::ActiveRecordError < StandardError
|
536
|
-
end
|
537
|
-
class ActiveRecord::SubclassNotFound < ActiveRecord::ActiveRecordError
|
538
|
-
end
|
539
|
-
class ActiveRecord::AssociationTypeMismatch < ActiveRecord::ActiveRecordError
|
540
|
-
end
|
541
|
-
class ActiveRecord::SerializationTypeMismatch < ActiveRecord::ActiveRecordError
|
542
|
-
end
|
543
|
-
class ActiveRecord::AdapterNotSpecified < ActiveRecord::ActiveRecordError
|
544
|
-
end
|
545
|
-
class ActiveRecord::AdapterNotFound < ActiveRecord::ActiveRecordError
|
546
|
-
end
|
547
|
-
class ActiveRecord::ConnectionNotEstablished < ActiveRecord::ActiveRecordError
|
548
|
-
end
|
549
|
-
class ActiveRecord::RecordNotFound < ActiveRecord::ActiveRecordError
|
550
|
-
end
|
551
|
-
class ActiveRecord::RecordNotSaved < ActiveRecord::ActiveRecordError
|
552
|
-
def initialize(message, record = nil); end
|
553
|
-
def record; end
|
554
|
-
end
|
555
|
-
class ActiveRecord::RecordNotDestroyed < ActiveRecord::ActiveRecordError
|
556
|
-
def initialize(message, record = nil); end
|
557
|
-
def record; end
|
558
|
-
end
|
559
|
-
class ActiveRecord::StatementInvalid < ActiveRecord::ActiveRecordError
|
560
|
-
def initialize(message, original_exception = nil); end
|
561
|
-
def original_exception; end
|
562
|
-
end
|
563
|
-
class ActiveRecord::WrappedDatabaseException < ActiveRecord::StatementInvalid
|
564
|
-
end
|
565
|
-
class ActiveRecord::RecordNotUnique < ActiveRecord::WrappedDatabaseException
|
566
|
-
end
|
567
|
-
class ActiveRecord::InvalidForeignKey < ActiveRecord::WrappedDatabaseException
|
568
|
-
end
|
569
|
-
class ActiveRecord::PreparedStatementInvalid < ActiveRecord::ActiveRecordError
|
570
|
-
end
|
571
|
-
class ActiveRecord::NoDatabaseError < ActiveRecord::StatementInvalid
|
572
|
-
end
|
573
|
-
class ActiveRecord::StaleObjectError < ActiveRecord::ActiveRecordError
|
574
|
-
def attempted_action; end
|
575
|
-
def initialize(record, attempted_action); end
|
576
|
-
def record; end
|
577
|
-
end
|
578
|
-
class ActiveRecord::ConfigurationError < ActiveRecord::ActiveRecordError
|
579
|
-
end
|
580
|
-
class ActiveRecord::ReadOnlyRecord < ActiveRecord::ActiveRecordError
|
581
|
-
end
|
582
|
-
class ActiveRecord::Rollback < ActiveRecord::ActiveRecordError
|
583
|
-
end
|
584
|
-
class ActiveRecord::DangerousAttributeError < ActiveRecord::ActiveRecordError
|
585
|
-
end
|
586
|
-
class ActiveRecord::UnknownAttributeError < NoMethodError
|
587
|
-
def attribute; end
|
588
|
-
def initialize(record, attribute); end
|
589
|
-
def record; end
|
590
|
-
end
|
591
|
-
class ActiveRecord::AttributeAssignmentError < ActiveRecord::ActiveRecordError
|
592
|
-
def attribute; end
|
593
|
-
def exception; end
|
594
|
-
def initialize(message, exception, attribute); end
|
595
|
-
end
|
596
|
-
class ActiveRecord::MultiparameterAssignmentErrors < ActiveRecord::ActiveRecordError
|
597
|
-
def errors; end
|
598
|
-
def initialize(errors); end
|
599
|
-
end
|
600
|
-
class ActiveRecord::UnknownPrimaryKey < ActiveRecord::ActiveRecordError
|
601
|
-
def initialize(model, description = nil); end
|
602
|
-
def model; end
|
603
|
-
end
|
604
|
-
class ActiveRecord::ImmutableRelation < ActiveRecord::ActiveRecordError
|
605
|
-
end
|
606
|
-
class ActiveRecord::TransactionIsolationError < ActiveRecord::ActiveRecordError
|
607
|
-
end
|
608
|
-
class ActiveRecord::MigrationError < ActiveRecord::ActiveRecordError
|
609
|
-
def initialize(message = nil); end
|
610
|
-
end
|
611
|
-
class ActiveRecord::IrreversibleMigration < ActiveRecord::MigrationError
|
612
|
-
end
|
613
|
-
class ActiveRecord::DuplicateMigrationVersionError < ActiveRecord::MigrationError
|
614
|
-
def initialize(version); end
|
615
|
-
end
|
616
|
-
class ActiveRecord::DuplicateMigrationNameError < ActiveRecord::MigrationError
|
617
|
-
def initialize(name); end
|
618
|
-
end
|
619
|
-
class ActiveRecord::UnknownMigrationVersionError < ActiveRecord::MigrationError
|
620
|
-
def initialize(version); end
|
621
|
-
end
|
622
|
-
class ActiveRecord::IllegalMigrationNameError < ActiveRecord::MigrationError
|
623
|
-
def initialize(name); end
|
624
|
-
end
|
625
|
-
class ActiveRecord::PendingMigrationError < ActiveRecord::MigrationError
|
626
|
-
def initialize; end
|
627
|
-
end
|
628
|
-
class ActiveRecord::Migration
|
629
|
-
def announce(message); end
|
630
|
-
def connection; end
|
631
|
-
def copy(destination, sources, options = nil); end
|
632
|
-
def disable_ddl_transaction; end
|
633
|
-
def down; end
|
634
|
-
def exec_migration(conn, direction); end
|
635
|
-
def execute_block; end
|
636
|
-
def initialize(name = nil, version = nil); end
|
637
|
-
def method_missing(method, *arguments, &block); end
|
638
|
-
def migrate(direction); end
|
639
|
-
def name; end
|
640
|
-
def name=(arg0); end
|
641
|
-
def next_migration_number(number); end
|
642
|
-
def proper_table_name(name, options = nil); end
|
643
|
-
def reversible; end
|
644
|
-
def revert(*migration_classes); end
|
645
|
-
def reverting?; end
|
646
|
-
def run(*migration_classes); end
|
647
|
-
def say(message, subitem = nil); end
|
648
|
-
def say_with_time(message); end
|
649
|
-
def self.check_pending!(connection = nil); end
|
650
|
-
def self.delegate; end
|
651
|
-
def self.delegate=(arg0); end
|
652
|
-
def self.disable_ddl_transaction!; end
|
653
|
-
def self.disable_ddl_transaction; end
|
654
|
-
def self.disable_ddl_transaction=(arg0); end
|
655
|
-
def self.load_schema_if_pending!; end
|
656
|
-
def self.maintain_test_schema!; end
|
657
|
-
def self.method_missing(name, *args, &block); end
|
658
|
-
def self.migrate(direction); end
|
659
|
-
def self.verbose; end
|
660
|
-
def self.verbose=(obj); end
|
661
|
-
def suppress_messages; end
|
662
|
-
def table_name_options(config = nil); end
|
663
|
-
def up; end
|
664
|
-
def verbose; end
|
665
|
-
def verbose=(obj); end
|
666
|
-
def version; end
|
667
|
-
def version=(arg0); end
|
668
|
-
def write(text = nil); end
|
669
|
-
end
|
670
|
-
class ActiveRecord::Migration::CheckPending
|
671
|
-
def call(env); end
|
672
|
-
def connection; end
|
673
|
-
def initialize(app); end
|
674
|
-
end
|
675
|
-
class Anonymous_Struct_12 < Struct
|
676
|
-
def reverting; end
|
677
|
-
def reverting=(_); end
|
678
|
-
def self.[](*arg0); end
|
679
|
-
def self.inspect; end
|
680
|
-
def self.members; end
|
681
|
-
def self.new(*arg0); end
|
682
|
-
end
|
683
|
-
class ActiveRecord::Migration::ReversibleBlockHelper < Anonymous_Struct_12
|
684
|
-
def down; end
|
685
|
-
def up; end
|
686
|
-
end
|
687
|
-
class Anonymous_Struct_13 < Struct
|
688
|
-
def filename; end
|
689
|
-
def filename=(_); end
|
690
|
-
def name; end
|
691
|
-
def name=(_); end
|
692
|
-
def scope; end
|
693
|
-
def scope=(_); end
|
694
|
-
def self.[](*arg0); end
|
695
|
-
def self.inspect; end
|
696
|
-
def self.members; end
|
697
|
-
def self.new(*arg0); end
|
698
|
-
def version; end
|
699
|
-
def version=(_); end
|
700
|
-
end
|
701
|
-
class ActiveRecord::MigrationProxy < Anonymous_Struct_13
|
702
|
-
def announce(*args, &block); end
|
703
|
-
def basename; end
|
704
|
-
def disable_ddl_transaction(*args, &block); end
|
705
|
-
def initialize(name, version, filename, scope); end
|
706
|
-
def load_migration; end
|
707
|
-
def migrate(*args, &block); end
|
708
|
-
def migration; end
|
709
|
-
def mtime; end
|
710
|
-
def write(*args, &block); end
|
711
|
-
end
|
712
|
-
class ActiveRecord::NullMigration < ActiveRecord::MigrationProxy
|
713
|
-
def initialize; end
|
714
|
-
def mtime; end
|
715
|
-
end
|
716
|
-
class ActiveRecord::Migrator
|
717
|
-
def current; end
|
718
|
-
def current_migration; end
|
719
|
-
def current_version; end
|
720
|
-
def ddl_transaction(migration); end
|
721
|
-
def down?; end
|
722
|
-
def execute_migration_in_transaction(migration, direction); end
|
723
|
-
def finish; end
|
724
|
-
def initialize(direction, migrations, target_version = nil); end
|
725
|
-
def migrate; end
|
726
|
-
def migrated; end
|
727
|
-
def migrations; end
|
728
|
-
def pending_migrations; end
|
729
|
-
def ran?(migration); end
|
730
|
-
def record_version_state_after_migrating(version); end
|
731
|
-
def run; end
|
732
|
-
def runnable; end
|
733
|
-
def self.any_migrations?; end
|
734
|
-
def self.current_version(connection = nil); end
|
735
|
-
def self.down(migrations_paths, target_version = nil, &block); end
|
736
|
-
def self.forward(migrations_paths, steps = nil); end
|
737
|
-
def self.get_all_versions(connection = nil); end
|
738
|
-
def self.last_migration; end
|
739
|
-
def self.last_version; end
|
740
|
-
def self.migrate(migrations_paths, target_version = nil, &block); end
|
741
|
-
def self.migration_files(paths); end
|
742
|
-
def self.migrations(paths); end
|
743
|
-
def self.migrations_path; end
|
744
|
-
def self.migrations_path=(arg0); end
|
745
|
-
def self.migrations_paths; end
|
746
|
-
def self.migrations_paths=(arg0); end
|
747
|
-
def self.migrations_status(paths); end
|
748
|
-
def self.move(direction, migrations_paths, steps); end
|
749
|
-
def self.needs_migration?(connection = nil); end
|
750
|
-
def self.open(migrations_paths); end
|
751
|
-
def self.parse_migration_filename(filename); end
|
752
|
-
def self.rollback(migrations_paths, steps = nil); end
|
753
|
-
def self.run(direction, migrations_paths, target_version); end
|
754
|
-
def self.schema_migrations_table_name; end
|
755
|
-
def self.up(migrations_paths, target_version = nil); end
|
756
|
-
def start; end
|
757
|
-
def target; end
|
758
|
-
def up?; end
|
759
|
-
def use_transaction?(migration); end
|
760
|
-
def validate(migrations); end
|
761
|
-
end
|
762
|
-
module ActiveRecord::Migration::JoinTable
|
763
|
-
def find_join_table_name(table_1, table_2, options = nil); end
|
764
|
-
def join_table_name(table_1, table_2); end
|
765
|
-
end
|
766
|
-
class Anonymous_Struct_14 < Struct
|
767
|
-
def columns; end
|
768
|
-
def columns=(_); end
|
769
|
-
def lengths; end
|
770
|
-
def lengths=(_); end
|
771
|
-
def name; end
|
772
|
-
def name=(_); end
|
773
|
-
def orders; end
|
774
|
-
def orders=(_); end
|
775
|
-
def self.[](*arg0); end
|
776
|
-
def self.inspect; end
|
777
|
-
def self.members; end
|
778
|
-
def self.new(*arg0); end
|
779
|
-
def table; end
|
780
|
-
def table=(_); end
|
781
|
-
def type; end
|
782
|
-
def type=(_); end
|
783
|
-
def unique; end
|
784
|
-
def unique=(_); end
|
785
|
-
def using; end
|
786
|
-
def using=(_); end
|
787
|
-
def where; end
|
788
|
-
def where=(_); end
|
789
|
-
end
|
790
|
-
class ActiveRecord::ConnectionAdapters::IndexDefinition < Anonymous_Struct_14
|
791
|
-
end
|
792
|
-
class Anonymous_Struct_15 < Struct
|
793
|
-
def after; end
|
794
|
-
def after=(_); end
|
795
|
-
def cast_type; end
|
796
|
-
def cast_type=(_); end
|
797
|
-
def default; end
|
798
|
-
def default=(_); end
|
799
|
-
def first; end
|
800
|
-
def first=(_); end
|
801
|
-
def limit; end
|
802
|
-
def limit=(_); end
|
803
|
-
def name; end
|
804
|
-
def name=(_); end
|
805
|
-
def null; end
|
806
|
-
def null=(_); end
|
807
|
-
def precision; end
|
808
|
-
def precision=(_); end
|
809
|
-
def primary_key; end
|
810
|
-
def primary_key=(_); end
|
811
|
-
def scale; end
|
812
|
-
def scale=(_); end
|
813
|
-
def self.[](*arg0); end
|
814
|
-
def self.inspect; end
|
815
|
-
def self.members; end
|
816
|
-
def self.new(*arg0); end
|
817
|
-
def sql_type; end
|
818
|
-
def sql_type=(_); end
|
819
|
-
def type; end
|
820
|
-
def type=(_); end
|
821
|
-
end
|
822
|
-
class ActiveRecord::ConnectionAdapters::ColumnDefinition < Anonymous_Struct_15
|
823
|
-
def primary_key?; end
|
824
|
-
end
|
825
|
-
class Anonymous_Struct_16 < Struct
|
826
|
-
def column; end
|
827
|
-
def column=(_); end
|
828
|
-
def options; end
|
829
|
-
def options=(_); end
|
830
|
-
def self.[](*arg0); end
|
831
|
-
def self.inspect; end
|
832
|
-
def self.members; end
|
833
|
-
def self.new(*arg0); end
|
834
|
-
def type; end
|
835
|
-
def type=(_); end
|
836
|
-
end
|
837
|
-
class ActiveRecord::ConnectionAdapters::ChangeColumnDefinition < Anonymous_Struct_16
|
838
|
-
end
|
839
|
-
class Anonymous_Struct_17 < Struct
|
840
|
-
def from_table; end
|
841
|
-
def from_table=(_); end
|
842
|
-
def options; end
|
843
|
-
def options=(_); end
|
844
|
-
def self.[](*arg0); end
|
845
|
-
def self.inspect; end
|
846
|
-
def self.members; end
|
847
|
-
def self.new(*arg0); end
|
848
|
-
def to_table; end
|
849
|
-
def to_table=(_); end
|
850
|
-
end
|
851
|
-
class ActiveRecord::ConnectionAdapters::ForeignKeyDefinition < Anonymous_Struct_17
|
852
|
-
def column; end
|
853
|
-
def custom_primary_key?; end
|
854
|
-
def default_primary_key; end
|
855
|
-
def name; end
|
856
|
-
def on_delete; end
|
857
|
-
def on_update; end
|
858
|
-
def primary_key; end
|
859
|
-
end
|
860
|
-
module ActiveRecord::ConnectionAdapters::TimestampDefaultDeprecation
|
861
|
-
def emit_warning_if_null_unspecified(sym, options); end
|
862
|
-
end
|
863
|
-
class ActiveRecord::ConnectionAdapters::TableDefinition
|
864
|
-
def [](name); end
|
865
|
-
def aliased_types(name, fallback); end
|
866
|
-
def as; end
|
867
|
-
def belongs_to(*args); end
|
868
|
-
def bigint(*args); end
|
869
|
-
def binary(*args); end
|
870
|
-
def boolean(*args); end
|
871
|
-
def column(name, type, options = nil); end
|
872
|
-
def columns; end
|
873
|
-
def create_column_definition(name, type); end
|
874
|
-
def date(*args); end
|
875
|
-
def datetime(*args); end
|
876
|
-
def decimal(*args); end
|
877
|
-
def float(*args); end
|
878
|
-
def foreign_key(table_name, options = nil); end
|
879
|
-
def foreign_keys; end
|
880
|
-
def index(column_name, options = nil); end
|
881
|
-
def indexes; end
|
882
|
-
def indexes=(arg0); end
|
883
|
-
def initialize(types, name, temporary, options, as = nil); end
|
884
|
-
def integer(*args); end
|
885
|
-
def name; end
|
886
|
-
def native; end
|
887
|
-
def new_column_definition(name, type, options); end
|
888
|
-
def options; end
|
889
|
-
def primary_key(name, type = nil, options = nil); end
|
890
|
-
def references(*args); end
|
891
|
-
def remove_column(name); end
|
892
|
-
def string(*args); end
|
893
|
-
def temporary; end
|
894
|
-
def text(*args); end
|
895
|
-
def time(*args); end
|
896
|
-
def timestamp(*args); end
|
897
|
-
def timestamps(*args); end
|
898
|
-
include ActiveRecord::ConnectionAdapters::TimestampDefaultDeprecation
|
899
|
-
end
|
900
|
-
class ActiveRecord::ConnectionAdapters::AlterTable
|
901
|
-
def add_column(name, type, options); end
|
902
|
-
def add_foreign_key(to_table, options); end
|
903
|
-
def adds; end
|
904
|
-
def drop_foreign_key(name); end
|
905
|
-
def foreign_key_adds; end
|
906
|
-
def foreign_key_drops; end
|
907
|
-
def initialize(td); end
|
908
|
-
def name; end
|
909
|
-
end
|
910
|
-
class ActiveRecord::ConnectionAdapters::Table
|
911
|
-
def belongs_to(*args); end
|
912
|
-
def binary(*args); end
|
913
|
-
def boolean(*args); end
|
914
|
-
def change(column_name, type, options = nil); end
|
915
|
-
def change_default(column_name, default); end
|
916
|
-
def column(column_name, type, options = nil); end
|
917
|
-
def column_exists?(column_name, type = nil, options = nil); end
|
918
|
-
def date(*args); end
|
919
|
-
def datetime(*args); end
|
920
|
-
def decimal(*args); end
|
921
|
-
def float(*args); end
|
922
|
-
def index(column_name, options = nil); end
|
923
|
-
def index_exists?(column_name, options = nil); end
|
924
|
-
def initialize(table_name, base); end
|
925
|
-
def integer(*args); end
|
926
|
-
def name; end
|
927
|
-
def native; end
|
928
|
-
def references(*args); end
|
929
|
-
def remove(*column_names); end
|
930
|
-
def remove_belongs_to(*args); end
|
931
|
-
def remove_index(options = nil); end
|
932
|
-
def remove_references(*args); end
|
933
|
-
def remove_timestamps(options = nil); end
|
934
|
-
def rename(column_name, new_column_name); end
|
935
|
-
def rename_index(index_name, new_index_name); end
|
936
|
-
def string(*args); end
|
937
|
-
def text(*args); end
|
938
|
-
def time(*args); end
|
939
|
-
def timestamp(*args); end
|
940
|
-
def timestamps(options = nil); end
|
941
|
-
end
|
942
|
-
module ActiveRecord::ConnectionAdapters::SchemaStatements
|
943
|
-
def add_belongs_to(table_name, ref_name, options = nil); end
|
944
|
-
def add_column(table_name, column_name, type, options = nil); end
|
945
|
-
def add_foreign_key(from_table, to_table, options = nil); end
|
946
|
-
def add_index(table_name, column_name, options = nil); end
|
947
|
-
def add_index_options(table_name, column_name, options = nil); end
|
948
|
-
def add_index_sort_order(option_strings, column_names, options = nil); end
|
949
|
-
def add_reference(table_name, ref_name, options = nil); end
|
950
|
-
def add_timestamps(table_name, options = nil); end
|
951
|
-
def assume_migrated_upto_version(version, migrations_paths = nil); end
|
952
|
-
def change_column(table_name, column_name, type, options = nil); end
|
953
|
-
def change_column_default(table_name, column_name, default); end
|
954
|
-
def change_column_null(table_name, column_name, null, default = nil); end
|
955
|
-
def change_table(table_name, options = nil); end
|
956
|
-
def column_exists?(table_name, column_name, type = nil, options = nil); end
|
957
|
-
def columns(table_name); end
|
958
|
-
def columns_for_distinct(columns, orders); end
|
959
|
-
def create_alter_table(name); end
|
960
|
-
def create_join_table(table_1, table_2, options = nil); end
|
961
|
-
def create_table(table_name, options = nil); end
|
962
|
-
def create_table_definition(name, temporary, options, as = nil); end
|
963
|
-
def data_source_exists?(name); end
|
964
|
-
def data_sources; end
|
965
|
-
def drop_join_table(table_1, table_2, options = nil); end
|
966
|
-
def drop_table(table_name, options = nil); end
|
967
|
-
def dump_schema_information; end
|
968
|
-
def foreign_key_column_for(table_name); end
|
969
|
-
def foreign_key_name(table_name, options); end
|
970
|
-
def foreign_keys(table_name); end
|
971
|
-
def index_exists?(table_name, column_name, options = nil); end
|
972
|
-
def index_name(table_name, options); end
|
973
|
-
def index_name_exists?(table_name, index_name, default); end
|
974
|
-
def index_name_for_remove(table_name, options = nil); end
|
975
|
-
def initialize_schema_migrations_table; end
|
976
|
-
def native_database_types; end
|
977
|
-
def options_include_default?(options); end
|
978
|
-
def quoted_columns_for_index(column_names, options = nil); end
|
979
|
-
def remove_belongs_to(table_name, ref_name, options = nil); end
|
980
|
-
def remove_column(table_name, column_name, type = nil, options = nil); end
|
981
|
-
def remove_columns(table_name, *column_names); end
|
982
|
-
def remove_foreign_key(from_table, options_or_to_table = nil); end
|
983
|
-
def remove_index!(table_name, index_name); end
|
984
|
-
def remove_index(table_name, options = nil); end
|
985
|
-
def remove_reference(table_name, ref_name, options = nil); end
|
986
|
-
def remove_timestamps(table_name, options = nil); end
|
987
|
-
def rename_column(table_name, column_name, new_column_name); end
|
988
|
-
def rename_column_indexes(table_name, column_name, new_column_name); end
|
989
|
-
def rename_index(table_name, old_name, new_name); end
|
990
|
-
def rename_table(table_name, new_name); end
|
991
|
-
def rename_table_indexes(table_name, new_name); end
|
992
|
-
def table_alias_for(table_name); end
|
993
|
-
def table_exists?(table_name); end
|
994
|
-
def type_to_sql(type, limit = nil, precision = nil, scale = nil); end
|
995
|
-
def update_table_definition(table_name, base); end
|
996
|
-
def validate_index_length!(table_name, new_name); end
|
997
|
-
include ActiveRecord::ConnectionAdapters::TimestampDefaultDeprecation
|
998
|
-
include ActiveRecord::Migration::JoinTable
|
999
|
-
end
|
1000
|
-
module ActiveRecord::ConnectionAdapters::DatabaseLimits
|
1001
|
-
def allowed_index_name_length; end
|
1002
|
-
def column_name_length; end
|
1003
|
-
def columns_per_multicolumn_index; end
|
1004
|
-
def columns_per_table; end
|
1005
|
-
def in_clause_length; end
|
1006
|
-
def index_name_length; end
|
1007
|
-
def indexes_per_table; end
|
1008
|
-
def joins_per_query; end
|
1009
|
-
def sql_query_length; end
|
1010
|
-
def table_alias_length; end
|
1011
|
-
def table_name_length; end
|
1012
|
-
end
|
1013
|
-
module ActiveRecord::ConnectionAdapters::QueryCache
|
1014
|
-
def cache; end
|
1015
|
-
def cache_sql(sql, binds); end
|
1016
|
-
def clear_query_cache; end
|
1017
|
-
def disable_query_cache!; end
|
1018
|
-
def enable_query_cache!; end
|
1019
|
-
def initialize(*arg0); end
|
1020
|
-
def locked?(arel); end
|
1021
|
-
def query_cache; end
|
1022
|
-
def query_cache_enabled; end
|
1023
|
-
def select_all(arel, name = nil, binds = nil); end
|
1024
|
-
def self.dirties_query_cache(base, *method_names); end
|
1025
|
-
def self.included(base); end
|
1026
|
-
def uncached; end
|
1027
|
-
end
|
1028
|
-
class ActiveRecord::ConnectionAdapters::AbstractAdapter::Version
|
1029
|
-
def <=>(version_string); end
|
1030
|
-
def initialize(version_string); end
|
1031
|
-
include Comparable
|
1032
|
-
end
|
1033
|
-
class ActiveRecord::ConnectionAdapters::AbstractAdapter::BindCollector < Arel::Collectors::Bind
|
1034
|
-
def compile(bvs, conn); end
|
1035
|
-
end
|
1036
|
-
class ActiveRecord::ConnectionAdapters::AbstractAdapter::SQLString < Arel::Collectors::SQLString
|
1037
|
-
def compile(bvs, conn); end
|
1038
|
-
end
|
1039
|
-
module ActiveRecord::Scoping
|
1040
|
-
def initialize_internals_callback; end
|
1041
|
-
def populate_with_current_scope_attributes; end
|
1042
|
-
extend ActiveSupport::Autoload
|
1043
|
-
extend ActiveSupport::Concern
|
1044
|
-
end
|
1045
|
-
module ActiveRecord::Scoping::ClassMethods
|
1046
|
-
def current_scope; end
|
1047
|
-
def current_scope=(scope); end
|
1048
|
-
end
|
1049
|
-
class ActiveRecord::Scoping::ScopeRegistry
|
1050
|
-
def initialize; end
|
1051
|
-
def raise_invalid_scope_type!(scope_type); end
|
1052
|
-
def self.set_value_for(*args, &block); end
|
1053
|
-
def self.value_for(*args, &block); end
|
1054
|
-
def set_value_for(scope_type, variable_name, value); end
|
1055
|
-
def value_for(scope_type, variable_name); end
|
1056
|
-
extend ActiveSupport::PerThreadRegistry
|
1057
|
-
end
|
1058
|
-
module ActiveRecord::Coders
|
1059
|
-
end
|
1060
|
-
module ActiveRecord::Locking
|
1061
|
-
extend ActiveSupport::Autoload
|
1062
|
-
end
|
1063
|
-
module ActiveRecord::Tasks
|
1064
|
-
extend ActiveSupport::Autoload
|
1065
|
-
end
|
1066
|
-
class ActiveRecord::Railtie < Rails::Railtie
|
1067
|
-
end
|
1068
|
-
class ActiveRecord::LogSubscriber < ActiveSupport::LogSubscriber
|
1069
|
-
def self.reset_runtime; end
|
1070
|
-
def self.runtime; end
|
1071
|
-
def self.runtime=(value); end
|
1072
|
-
end
|
1073
|
-
module ActiveRecord::Railties
|
1074
|
-
end
|
1075
|
-
module ActiveRecord::Railties::ControllerRuntime
|
1076
|
-
def append_info_to_payload(payload); end
|
1077
|
-
def cleanup_view_runtime; end
|
1078
|
-
def db_runtime; end
|
1079
|
-
def db_runtime=(arg0); end
|
1080
|
-
def process_action(action, *args); end
|
1081
|
-
extend ActiveSupport::Concern
|
1082
|
-
end
|
1083
|
-
module ActiveRecord::Railties::ControllerRuntime::ClassMethods
|
1084
|
-
def log_process_action(payload); end
|
1085
|
-
end
|
1086
|
-
class ActiveRecord::QueryCache
|
1087
|
-
def call(env); end
|
1088
|
-
def initialize(app); end
|
1089
|
-
def restore_query_cache_settings(connection_id, enabled); end
|
1090
|
-
end
|
1091
|
-
module ActiveRecord::QueryCache::ClassMethods
|
1092
|
-
def cache(&block); end
|
1093
|
-
def uncached(&block); end
|
1094
|
-
end
|
1095
|
-
class ActiveRecord::ConnectionTimeoutError < ActiveRecord::ConnectionNotEstablished
|
1096
|
-
end
|
1097
|
-
class ActiveRecord::ConnectionAdapters::ConnectionPool
|
1098
|
-
def acquire_connection; end
|
1099
|
-
def active_connection?; end
|
1100
|
-
def automatic_reconnect; end
|
1101
|
-
def automatic_reconnect=(arg0); end
|
1102
|
-
def checkin(conn); end
|
1103
|
-
def checkout; end
|
1104
|
-
def checkout_and_verify(c); end
|
1105
|
-
def checkout_new_connection; end
|
1106
|
-
def checkout_timeout; end
|
1107
|
-
def checkout_timeout=(arg0); end
|
1108
|
-
def clear_reloadable_connections!; end
|
1109
|
-
def connected?; end
|
1110
|
-
def connection; end
|
1111
|
-
def connections; end
|
1112
|
-
def current_connection_id; end
|
1113
|
-
def disconnect!; end
|
1114
|
-
def initialize(spec); end
|
1115
|
-
def new_connection; end
|
1116
|
-
def reap; end
|
1117
|
-
def reaper; end
|
1118
|
-
def release(conn, owner); end
|
1119
|
-
def release_connection(with_id = nil); end
|
1120
|
-
def remove(conn); end
|
1121
|
-
def size; end
|
1122
|
-
def spec; end
|
1123
|
-
def with_connection; end
|
1124
|
-
include MonitorMixin
|
1125
|
-
end
|
1126
|
-
class ActiveRecord::ConnectionAdapters::ConnectionPool::Queue
|
1127
|
-
def add(element); end
|
1128
|
-
def any?; end
|
1129
|
-
def any_waiting?; end
|
1130
|
-
def can_remove_no_wait?; end
|
1131
|
-
def clear; end
|
1132
|
-
def delete(element); end
|
1133
|
-
def initialize(lock = nil); end
|
1134
|
-
def no_wait_poll; end
|
1135
|
-
def num_waiting; end
|
1136
|
-
def poll(timeout = nil); end
|
1137
|
-
def remove; end
|
1138
|
-
def synchronize(&block); end
|
1139
|
-
def wait_poll(timeout); end
|
1140
|
-
end
|
1141
|
-
class ActiveRecord::ConnectionAdapters::ConnectionPool::Reaper
|
1142
|
-
def frequency; end
|
1143
|
-
def initialize(pool, frequency); end
|
1144
|
-
def pool; end
|
1145
|
-
def run; end
|
1146
|
-
end
|
1147
|
-
class ActiveRecord::ConnectionAdapters::ConnectionHandler
|
1148
|
-
def active_connections?; end
|
1149
|
-
def class_to_pool; end
|
1150
|
-
def clear_active_connections!; end
|
1151
|
-
def clear_all_connections!; end
|
1152
|
-
def clear_reloadable_connections!; end
|
1153
|
-
def connected?(klass); end
|
1154
|
-
def connection_pool_list; end
|
1155
|
-
def connection_pools; end
|
1156
|
-
def establish_connection(owner, spec); end
|
1157
|
-
def initialize; end
|
1158
|
-
def owner_to_pool; end
|
1159
|
-
def pool_for(owner); end
|
1160
|
-
def pool_from_any_process_for(owner); end
|
1161
|
-
def remove_connection(owner); end
|
1162
|
-
def retrieve_connection(klass); end
|
1163
|
-
def retrieve_connection_pool(klass); end
|
1164
|
-
end
|
1165
|
-
class ActiveRecord::ConnectionAdapters::ConnectionManagement
|
1166
|
-
def call(env); end
|
1167
|
-
def initialize(app); end
|
1168
|
-
end
|
1169
|
-
module ActiveRecord::AttributeDecorators
|
1170
|
-
extend ActiveSupport::Concern
|
1171
|
-
end
|
1172
|
-
module ActiveRecord::AttributeDecorators::ClassMethods
|
1173
|
-
def add_user_provided_columns(*arg0); end
|
1174
|
-
def decorate_attribute_type(column_name, decorator_name, &block); end
|
1175
|
-
def decorate_matching_attribute_types(matcher, decorator_name, &block); end
|
1176
|
-
end
|
1177
|
-
class ActiveRecord::AttributeDecorators::TypeDecorator
|
1178
|
-
def apply(name, type); end
|
1179
|
-
def clear(*args, &block); end
|
1180
|
-
def decorators_for(name, type); end
|
1181
|
-
def initialize(decorations = nil); end
|
1182
|
-
def matching(name, type); end
|
1183
|
-
def merge(*args); end
|
1184
|
-
end
|
1185
|
-
class ActiveRecord::ExplainRegistry
|
1186
|
-
def collect; end
|
1187
|
-
def collect=(arg0); end
|
1188
|
-
def collect?; end
|
1189
|
-
def initialize; end
|
1190
|
-
def queries; end
|
1191
|
-
def queries=(arg0); end
|
1192
|
-
def reset; end
|
1193
|
-
def self.collect?(*args, &block); end
|
1194
|
-
extend ActiveSupport::PerThreadRegistry
|
1195
|
-
end
|
1196
|
-
class ActiveRecord::ExplainSubscriber
|
1197
|
-
def finish(name, id, payload); end
|
1198
|
-
def ignore_payload?(payload); end
|
1199
|
-
def start(name, id, payload); end
|
1200
|
-
end
|
1201
|
-
module ActiveRecord::Delegation
|
1202
|
-
def all?(*args, &block); end
|
1203
|
-
def array_delegable?(method); end
|
1204
|
-
def collect(*args, &block); end
|
1205
|
-
def columns_hash(*args, &block); end
|
1206
|
-
def connection(*args, &block); end
|
1207
|
-
def each(*args, &block); end
|
1208
|
-
def include?(*args, &block); end
|
1209
|
-
def join(*args, &block); end
|
1210
|
-
def length(*args, &block); end
|
1211
|
-
def map(*args, &block); end
|
1212
|
-
def method_missing(method, *args, &block); end
|
1213
|
-
def primary_key(*args, &block); end
|
1214
|
-
def quoted_primary_key(*args, &block); end
|
1215
|
-
def quoted_table_name(*args, &block); end
|
1216
|
-
def respond_to?(method, include_private = nil); end
|
1217
|
-
def table_name(*args, &block); end
|
1218
|
-
def to_ary(*args, &block); end
|
1219
|
-
def to_xml(*args, &block); end
|
1220
|
-
def to_yaml(*args, &block); end
|
1221
|
-
extend ActiveSupport::Concern
|
1222
|
-
end
|
1223
|
-
module ActiveRecord::Delegation::DelegateCache
|
1224
|
-
def inherited(child_class); end
|
1225
|
-
def initialize_relation_delegate_cache; end
|
1226
|
-
def relation_delegate_class(klass); end
|
1227
|
-
end
|
1228
|
-
module ActiveRecord::Delegation::ClassSpecificRelation
|
1229
|
-
def method_missing(method, *args, &block); end
|
1230
|
-
extend ActiveSupport::Concern
|
1231
|
-
end
|
1232
|
-
module ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
|
1233
|
-
def delegate(method, opts = nil); end
|
1234
|
-
def delegate_to_scoped_klass(method); end
|
1235
|
-
def name; end
|
1236
|
-
end
|
1237
|
-
module ActiveRecord::Delegation::ClassMethods
|
1238
|
-
def create(klass, *args); end
|
1239
|
-
def relation_class_for(klass); end
|
1240
|
-
end
|
1241
|
-
module ActiveRecord::Attributes
|
1242
|
-
extend ActiveSupport::Concern
|
1243
|
-
end
|
1244
|
-
module ActiveRecord::Attributes::ClassMethods
|
1245
|
-
def add_user_provided_columns(schema_columns); end
|
1246
|
-
def attribute(name, cast_type, options = nil); end
|
1247
|
-
def clear_caches_calculated_from_columns; end
|
1248
|
-
def columns; end
|
1249
|
-
def columns_hash; end
|
1250
|
-
def persistable_attribute_names; end
|
1251
|
-
def raw_default_values; end
|
1252
|
-
def reset_column_information; end
|
1253
|
-
end
|
1254
|
-
module ActiveRecord::ConnectionHandling
|
1255
|
-
def clear_active_connections!(*args, &block); end
|
1256
|
-
def clear_all_connections!(*args, &block); end
|
1257
|
-
def clear_cache!; end
|
1258
|
-
def clear_reloadable_connections!(*args, &block); end
|
1259
|
-
def connected?; end
|
1260
|
-
def connection; end
|
1261
|
-
def connection_config; end
|
1262
|
-
def connection_id; end
|
1263
|
-
def connection_id=(connection_id); end
|
1264
|
-
def connection_pool; end
|
1265
|
-
def establish_connection(spec = nil); end
|
1266
|
-
def remove_connection(klass = nil); end
|
1267
|
-
def retrieve_connection; end
|
1268
|
-
def sqlite3_connection(config); end
|
1269
|
-
end
|
1270
|
-
class ActiveRecord::ConnectionHandling::MergeAndResolveDefaultUrlConfig
|
1271
|
-
def config; end
|
1272
|
-
def initialize(raw_configurations); end
|
1273
|
-
def resolve; end
|
1274
|
-
end
|
1275
|
-
module ActiveRecord::Querying
|
1276
|
-
def any?(*args, &block); end
|
1277
|
-
def average(*args, &block); end
|
1278
|
-
def calculate(*args, &block); end
|
1279
|
-
def count(*args, &block); end
|
1280
|
-
def count_by_sql(sql); end
|
1281
|
-
def create_with(*args, &block); end
|
1282
|
-
def delete(*args, &block); end
|
1283
|
-
def delete_all(*args, &block); end
|
1284
|
-
def destroy(*args, &block); end
|
1285
|
-
def destroy_all(*args, &block); end
|
1286
|
-
def distinct(*args, &block); end
|
1287
|
-
def eager_load(*args, &block); end
|
1288
|
-
def except(*args, &block); end
|
1289
|
-
def exists?(*args, &block); end
|
1290
|
-
def fifth!(*args, &block); end
|
1291
|
-
def fifth(*args, &block); end
|
1292
|
-
def find(*args, &block); end
|
1293
|
-
def find_by!(*args, &block); end
|
1294
|
-
def find_by(*args, &block); end
|
1295
|
-
def find_by_sql(sql, binds = nil); end
|
1296
|
-
def find_each(*args, &block); end
|
1297
|
-
def find_in_batches(*args, &block); end
|
1298
|
-
def find_or_create_by!(*args, &block); end
|
1299
|
-
def find_or_create_by(*args, &block); end
|
1300
|
-
def find_or_initialize_by(*args, &block); end
|
1301
|
-
def first!(*args, &block); end
|
1302
|
-
def first(*args, &block); end
|
1303
|
-
def first_or_create!(*args, &block); end
|
1304
|
-
def first_or_create(*args, &block); end
|
1305
|
-
def first_or_initialize(*args, &block); end
|
1306
|
-
def forty_two!(*args, &block); end
|
1307
|
-
def forty_two(*args, &block); end
|
1308
|
-
def fourth!(*args, &block); end
|
1309
|
-
def fourth(*args, &block); end
|
1310
|
-
def from(*args, &block); end
|
1311
|
-
def group(*args, &block); end
|
1312
|
-
def having(*args, &block); end
|
1313
|
-
def ids(*args, &block); end
|
1314
|
-
def includes(*args, &block); end
|
1315
|
-
def joins(*args, &block); end
|
1316
|
-
def last!(*args, &block); end
|
1317
|
-
def last(*args, &block); end
|
1318
|
-
def limit(*args, &block); end
|
1319
|
-
def lock(*args, &block); end
|
1320
|
-
def many?(*args, &block); end
|
1321
|
-
def maximum(*args, &block); end
|
1322
|
-
def minimum(*args, &block); end
|
1323
|
-
def none(*args, &block); end
|
1324
|
-
def offset(*args, &block); end
|
1325
|
-
def order(*args, &block); end
|
1326
|
-
def pluck(*args, &block); end
|
1327
|
-
def preload(*args, &block); end
|
1328
|
-
def readonly(*args, &block); end
|
1329
|
-
def references(*args, &block); end
|
1330
|
-
def reorder(*args, &block); end
|
1331
|
-
def rewhere(*args, &block); end
|
1332
|
-
def second!(*args, &block); end
|
1333
|
-
def second(*args, &block); end
|
1334
|
-
def select(*args, &block); end
|
1335
|
-
def sum(*args, &block); end
|
1336
|
-
def take!(*args, &block); end
|
1337
|
-
def take(*args, &block); end
|
1338
|
-
def third!(*args, &block); end
|
1339
|
-
def third(*args, &block); end
|
1340
|
-
def uniq(*args, &block); end
|
1341
|
-
def unscope(*args, &block); end
|
1342
|
-
def update(*args, &block); end
|
1343
|
-
def update_all(*args, &block); end
|
1344
|
-
def where(*args, &block); end
|
1345
|
-
end
|
1346
|
-
module ActiveRecord::Translation
|
1347
|
-
def i18n_scope; end
|
1348
|
-
def lookup_ancestors; end
|
1349
|
-
include ActiveModel::Translation
|
1350
|
-
end
|
1351
|
-
module ActiveRecord::DynamicMatchers
|
1352
|
-
def method_missing(name, *arguments, &block); end
|
1353
|
-
def respond_to?(name, include_private = nil); end
|
1354
|
-
end
|
1355
|
-
class ActiveRecord::DynamicMatchers::Method
|
1356
|
-
def attribute_names; end
|
1357
|
-
def body; end
|
1358
|
-
def define; end
|
1359
|
-
def initialize(model, name); end
|
1360
|
-
def model; end
|
1361
|
-
def name; end
|
1362
|
-
def self.match(model, name); end
|
1363
|
-
def self.matchers; end
|
1364
|
-
def self.pattern; end
|
1365
|
-
def self.prefix; end
|
1366
|
-
def self.suffix; end
|
1367
|
-
def valid?; end
|
1368
|
-
end
|
1369
|
-
module ActiveRecord::DynamicMatchers::Finder
|
1370
|
-
def attributes_hash; end
|
1371
|
-
def body; end
|
1372
|
-
def finder; end
|
1373
|
-
def result; end
|
1374
|
-
def signature; end
|
1375
|
-
end
|
1376
|
-
class ActiveRecord::DynamicMatchers::FindBy < ActiveRecord::DynamicMatchers::Method
|
1377
|
-
def finder; end
|
1378
|
-
def self.prefix; end
|
1379
|
-
include ActiveRecord::DynamicMatchers::Finder
|
1380
|
-
end
|
1381
|
-
class ActiveRecord::DynamicMatchers::FindByBang < ActiveRecord::DynamicMatchers::Method
|
1382
|
-
def finder; end
|
1383
|
-
def self.prefix; end
|
1384
|
-
def self.suffix; end
|
1385
|
-
include ActiveRecord::DynamicMatchers::Finder
|
1386
|
-
end
|
1387
|
-
module ActiveRecord::Explain
|
1388
|
-
def collecting_queries_for_explain; end
|
1389
|
-
def exec_explain(queries); end
|
1390
|
-
end
|
1391
|
-
module ActiveRecord::Enum
|
1392
|
-
def _enum_methods_module; end
|
1393
|
-
def detect_enum_conflict!(enum_name, method_name, klass_method = nil); end
|
1394
|
-
def enum(definitions); end
|
1395
|
-
def inherited(base); end
|
1396
|
-
def self.extended(base); end
|
1397
|
-
end
|
1398
|
-
module ActiveRecord::Core
|
1399
|
-
def <=>(other_object); end
|
1400
|
-
def ==(comparison_object); end
|
1401
|
-
def connection_handler; end
|
1402
|
-
def custom_inspect_method_defined?; end
|
1403
|
-
def encode_with(coder); end
|
1404
|
-
def eql?(comparison_object); end
|
1405
|
-
def freeze; end
|
1406
|
-
def frozen?; end
|
1407
|
-
def has_transactional_callbacks?; end
|
1408
|
-
def hash; end
|
1409
|
-
def init_attributes(attributes, options); end
|
1410
|
-
def init_internals; end
|
1411
|
-
def init_with(coder); end
|
1412
|
-
def initialize(attributes = nil, options = nil); end
|
1413
|
-
def initialize_dup(other); end
|
1414
|
-
def initialize_internals_callback; end
|
1415
|
-
def inspect; end
|
1416
|
-
def pretty_print(pp); end
|
1417
|
-
def readonly!; end
|
1418
|
-
def readonly?; end
|
1419
|
-
def set_transaction_state(state); end
|
1420
|
-
def slice(*methods); end
|
1421
|
-
def sync_with_transaction_state; end
|
1422
|
-
def thaw; end
|
1423
|
-
def to_ary; end
|
1424
|
-
def update_attributes_from_transaction_state(transaction_state, depth); end
|
1425
|
-
extend ActiveSupport::Concern
|
1426
|
-
end
|
1427
|
-
module ActiveRecord::Core::ClassMethods
|
1428
|
-
def ===(object); end
|
1429
|
-
def allocate; end
|
1430
|
-
def arel_engine; end
|
1431
|
-
def arel_table; end
|
1432
|
-
def find(*ids); end
|
1433
|
-
def find_by!(*args); end
|
1434
|
-
def find_by(*args); end
|
1435
|
-
def generated_association_methods; end
|
1436
|
-
def inherited(child_class); end
|
1437
|
-
def initialize_find_by_cache; end
|
1438
|
-
def initialize_generated_modules; end
|
1439
|
-
def inspect; end
|
1440
|
-
def relation; end
|
1441
|
-
end
|
1442
|
-
class ActiveRecord::ConnectionAdapters::ConnectionSpecification
|
1443
|
-
def adapter_method; end
|
1444
|
-
def config; end
|
1445
|
-
def initialize(config, adapter_method); end
|
1446
|
-
def initialize_dup(original); end
|
1447
|
-
end
|
1448
|
-
class ActiveRecord::ConnectionAdapters::ConnectionSpecification::ConnectionUrlResolver
|
1449
|
-
def database_from_path; end
|
1450
|
-
def initialize(url); end
|
1451
|
-
def query_hash; end
|
1452
|
-
def raw_config; end
|
1453
|
-
def to_hash; end
|
1454
|
-
def uri; end
|
1455
|
-
def uri_parser; end
|
1456
|
-
end
|
1457
|
-
class ActiveRecord::ConnectionAdapters::ConnectionSpecification::Resolver
|
1458
|
-
def configurations; end
|
1459
|
-
def initialize(configurations); end
|
1460
|
-
def resolve(config); end
|
1461
|
-
def resolve_all; end
|
1462
|
-
def resolve_connection(spec); end
|
1463
|
-
def resolve_hash_connection(spec); end
|
1464
|
-
def resolve_string_connection(spec); end
|
1465
|
-
def resolve_symbol_connection(spec); end
|
1466
|
-
def resolve_url_connection(url); end
|
1467
|
-
def spec(config); end
|
1468
|
-
end
|
1469
|
-
module ActiveRecord::Persistence
|
1470
|
-
def _create_record(attribute_names = nil); end
|
1471
|
-
def _update_record(attribute_names = nil); end
|
1472
|
-
def becomes!(klass); end
|
1473
|
-
def becomes(klass); end
|
1474
|
-
def create_or_update; end
|
1475
|
-
def decrement!(attribute, by = nil); end
|
1476
|
-
def decrement(attribute, by = nil); end
|
1477
|
-
def delete; end
|
1478
|
-
def destroy!; end
|
1479
|
-
def destroy; end
|
1480
|
-
def destroy_associations; end
|
1481
|
-
def destroy_row; end
|
1482
|
-
def destroyed?; end
|
1483
|
-
def increment!(attribute, by = nil); end
|
1484
|
-
def increment(attribute, by = nil); end
|
1485
|
-
def new_record?; end
|
1486
|
-
def persisted?; end
|
1487
|
-
def relation_for_destroy; end
|
1488
|
-
def reload(options = nil); end
|
1489
|
-
def save!(*arg0); end
|
1490
|
-
def save(*arg0); end
|
1491
|
-
def toggle!(attribute); end
|
1492
|
-
def toggle(attribute); end
|
1493
|
-
def touch(*names); end
|
1494
|
-
def update!(attributes); end
|
1495
|
-
def update(attributes); end
|
1496
|
-
def update_attribute(name, value); end
|
1497
|
-
def update_attributes!(attributes); end
|
1498
|
-
def update_attributes(attributes); end
|
1499
|
-
def update_column(name, value); end
|
1500
|
-
def update_columns(attributes); end
|
1501
|
-
def verify_readonly_attribute(name); end
|
1502
|
-
extend ActiveSupport::Concern
|
1503
|
-
end
|
1504
|
-
module ActiveRecord::Persistence::ClassMethods
|
1505
|
-
def create!(attributes = nil, &block); end
|
1506
|
-
def create(attributes = nil, &block); end
|
1507
|
-
def discriminate_class_for_record(record); end
|
1508
|
-
def instantiate(attributes, column_types = nil); end
|
1509
|
-
end
|
1510
|
-
module ActiveRecord::ReadonlyAttributes
|
1511
|
-
extend ActiveSupport::Concern
|
1512
|
-
end
|
1513
|
-
module ActiveRecord::ReadonlyAttributes::ClassMethods
|
1514
|
-
def attr_readonly(*attributes); end
|
1515
|
-
def readonly_attributes; end
|
1516
|
-
end
|
1517
|
-
module ActiveRecord::ModelSchema
|
1518
|
-
def self.derive_join_table_name(first_table, second_table); end
|
1519
|
-
extend ActiveSupport::Concern
|
1520
|
-
end
|
1521
|
-
module ActiveRecord::ModelSchema::ClassMethods
|
1522
|
-
def _default_attributes; end
|
1523
|
-
def attributes_builder; end
|
1524
|
-
def column_defaults; end
|
1525
|
-
def column_names; end
|
1526
|
-
def column_types; end
|
1527
|
-
def compute_table_name; end
|
1528
|
-
def content_columns; end
|
1529
|
-
def full_table_name_prefix; end
|
1530
|
-
def full_table_name_suffix; end
|
1531
|
-
def inheritance_column; end
|
1532
|
-
def inheritance_column=(value); end
|
1533
|
-
def quoted_table_name; end
|
1534
|
-
def raw_default_values; end
|
1535
|
-
def reset_column_information; end
|
1536
|
-
def reset_sequence_name; end
|
1537
|
-
def reset_table_name; end
|
1538
|
-
def sequence_name; end
|
1539
|
-
def sequence_name=(value); end
|
1540
|
-
def table_exists?; end
|
1541
|
-
def table_name; end
|
1542
|
-
def table_name=(value); end
|
1543
|
-
def type_for_attribute(attr_name); end
|
1544
|
-
def undecorated_table_name(class_name = nil); end
|
1545
|
-
end
|
1546
|
-
module ActiveRecord::Inheritance
|
1547
|
-
def ensure_proper_type; end
|
1548
|
-
def initialize_dup(other); end
|
1549
|
-
def initialize_internals_callback; end
|
1550
|
-
extend ActiveSupport::Concern
|
1551
|
-
end
|
1552
|
-
module ActiveRecord::Inheritance::ClassMethods
|
1553
|
-
def abstract_class; end
|
1554
|
-
def abstract_class=(arg0); end
|
1555
|
-
def abstract_class?; end
|
1556
|
-
def base_class; end
|
1557
|
-
def compute_type(type_name); end
|
1558
|
-
def descends_from_active_record?; end
|
1559
|
-
def discriminate_class_for_record(record); end
|
1560
|
-
def find_sti_class(type_name); end
|
1561
|
-
def finder_needs_type_condition?; end
|
1562
|
-
def new(*args, &block); end
|
1563
|
-
def sti_name; end
|
1564
|
-
def subclass_from_attributes(attrs); end
|
1565
|
-
def subclass_from_attributes?(attrs); end
|
1566
|
-
def symbolized_base_class; end
|
1567
|
-
def symbolized_sti_name; end
|
1568
|
-
def type_condition(table = nil); end
|
1569
|
-
def using_single_table_inheritance?(record); end
|
1570
|
-
end
|
1571
|
-
module ActiveRecord::Scoping::Default
|
1572
|
-
extend ActiveSupport::Concern
|
1573
|
-
end
|
1574
|
-
module ActiveRecord::Scoping::Default::ClassMethods
|
1575
|
-
def before_remove_const; end
|
1576
|
-
def build_default_scope(base_rel = nil); end
|
1577
|
-
def default_scope(scope = nil); end
|
1578
|
-
def evaluate_default_scope; end
|
1579
|
-
def ignore_default_scope=(ignore); end
|
1580
|
-
def ignore_default_scope?; end
|
1581
|
-
def unscoped; end
|
1582
|
-
end
|
1583
|
-
module ActiveRecord::Scoping::Named
|
1584
|
-
extend ActiveSupport::Concern
|
1585
|
-
end
|
1586
|
-
module ActiveRecord::Scoping::Named::ClassMethods
|
1587
|
-
def all; end
|
1588
|
-
def default_scoped; end
|
1589
|
-
def scope(name, body, &block); end
|
1590
|
-
def scope_attributes; end
|
1591
|
-
def scope_attributes?; end
|
1592
|
-
end
|
1593
|
-
module ActiveRecord::Sanitization
|
1594
|
-
def quoted_id; end
|
1595
|
-
extend ActiveSupport::Concern
|
1596
|
-
end
|
1597
|
-
module ActiveRecord::Sanitization::ClassMethods
|
1598
|
-
def expand_hash_conditions_for_aggregates(attrs); end
|
1599
|
-
def quote_bound_value(value, c = nil, column = nil); end
|
1600
|
-
def quote_value(value, column); end
|
1601
|
-
def raise_if_bind_arity_mismatch(statement, expected, provided); end
|
1602
|
-
def replace_bind_variable(value, c = nil); end
|
1603
|
-
def replace_bind_variables(statement, values); end
|
1604
|
-
def replace_named_bind_variables(statement, bind_vars); end
|
1605
|
-
def sanitize(object); end
|
1606
|
-
def sanitize_conditions(condition, table_name = nil); end
|
1607
|
-
def sanitize_sql(condition, table_name = nil); end
|
1608
|
-
def sanitize_sql_array(ary); end
|
1609
|
-
def sanitize_sql_for_assignment(assignments, default_table_name = nil); end
|
1610
|
-
def sanitize_sql_for_conditions(condition, table_name = nil); end
|
1611
|
-
def sanitize_sql_hash(attrs, default_table_name = nil); end
|
1612
|
-
def sanitize_sql_hash_for_assignment(attrs, table); end
|
1613
|
-
def sanitize_sql_hash_for_conditions(attrs, default_table_name = nil); end
|
1614
|
-
def sanitize_sql_like(string, escape_character = nil); end
|
1615
|
-
end
|
1616
|
-
module ActiveRecord::AttributeAssignment
|
1617
|
-
def _assign_attribute(k, v); end
|
1618
|
-
def assign_attributes(new_attributes); end
|
1619
|
-
def assign_multiparameter_attributes(pairs); end
|
1620
|
-
def assign_nested_parameter_attributes(pairs); end
|
1621
|
-
def attributes=(new_attributes); end
|
1622
|
-
def execute_callstack_for_multiparameter_attributes(callstack); end
|
1623
|
-
def extract_callstack_for_multiparameter_attributes(pairs); end
|
1624
|
-
def find_parameter_position(multiparameter_name); end
|
1625
|
-
def type_cast_attribute_value(multiparameter_name, value); end
|
1626
|
-
extend ActiveSupport::Concern
|
1627
|
-
include ActiveModel::ForbiddenAttributesProtection
|
1628
|
-
end
|
1629
|
-
class ActiveRecord::AttributeAssignment::MultiparameterAttribute
|
1630
|
-
def blank_date_parameter?; end
|
1631
|
-
def cast_type; end
|
1632
|
-
def extract_max_param(upper_cap = nil); end
|
1633
|
-
def initialize(object, name, values); end
|
1634
|
-
def instantiate_time_object(set_values); end
|
1635
|
-
def name; end
|
1636
|
-
def object; end
|
1637
|
-
def read_date; end
|
1638
|
-
def read_other; end
|
1639
|
-
def read_time; end
|
1640
|
-
def read_value; end
|
1641
|
-
def validate_required_parameters!(positions); end
|
1642
|
-
def values; end
|
1643
|
-
end
|
1644
|
-
module ActiveRecord::Integration
|
1645
|
-
def cache_key(*timestamp_names); end
|
1646
|
-
def to_param; end
|
1647
|
-
extend ActiveSupport::Concern
|
1648
|
-
end
|
1649
|
-
module ActiveRecord::Integration::ClassMethods
|
1650
|
-
def to_param(method_name = nil); end
|
1651
|
-
end
|
1652
|
-
module ActiveRecord::Validations
|
1653
|
-
def perform_validations(options = nil); end
|
1654
|
-
def raise_record_invalid; end
|
1655
|
-
def save!(options = nil); end
|
1656
|
-
def save(options = nil); end
|
1657
|
-
def valid?(context = nil); end
|
1658
|
-
def validate!(context = nil); end
|
1659
|
-
def validate(context = nil); end
|
1660
|
-
extend ActiveSupport::Concern
|
1661
|
-
include ActiveModel::Validations
|
1662
|
-
end
|
1663
|
-
class ActiveRecord::Validations::AssociatedValidator < ActiveModel::EachValidator
|
1664
|
-
def validate_each(record, attribute, value); end
|
1665
|
-
end
|
1666
|
-
module ActiveRecord::Validations::ClassMethods
|
1667
|
-
def validates_associated(*attr_names); end
|
1668
|
-
def validates_presence_of(*attr_names); end
|
1669
|
-
def validates_uniqueness_of(*attr_names); end
|
1670
|
-
end
|
1671
|
-
class ActiveRecord::Validations::UniquenessValidator < ActiveModel::EachValidator
|
1672
|
-
def build_relation(klass, table, attribute, value); end
|
1673
|
-
def find_finder_class_for(record); end
|
1674
|
-
def initialize(options); end
|
1675
|
-
def map_enum_attribute(klass, attribute, value); end
|
1676
|
-
def scope_relation(record, table, relation); end
|
1677
|
-
def validate_each(record, attribute, value); end
|
1678
|
-
end
|
1679
|
-
class ActiveRecord::Validations::PresenceValidator < ActiveModel::Validations::PresenceValidator
|
1680
|
-
def validate(record); end
|
1681
|
-
end
|
1682
|
-
class ActiveRecord::RecordInvalid < ActiveRecord::ActiveRecordError
|
1683
|
-
def initialize(record); end
|
1684
|
-
def record; end
|
1685
|
-
end
|
1686
|
-
module ActiveRecord::CounterCache
|
1687
|
-
def _create_record(*arg0); end
|
1688
|
-
def actually_destroyed?; end
|
1689
|
-
def clear_destroy_state; end
|
1690
|
-
def destroy_row; end
|
1691
|
-
def each_counter_cached_associations; end
|
1692
|
-
extend ActiveSupport::Concern
|
1693
|
-
end
|
1694
|
-
module ActiveRecord::CounterCache::ClassMethods
|
1695
|
-
def decrement_counter(counter_name, id); end
|
1696
|
-
def increment_counter(counter_name, id); end
|
1697
|
-
def reset_counters(id, *counters); end
|
1698
|
-
def update_counters(id, counters); end
|
1699
|
-
end
|
1700
|
-
module ActiveRecord::Locking::Optimistic
|
1701
|
-
def _create_record(attribute_names = nil, *arg1); end
|
1702
|
-
def _update_record(attribute_names = nil); end
|
1703
|
-
def destroy_row; end
|
1704
|
-
def increment_lock; end
|
1705
|
-
def locking_enabled?; end
|
1706
|
-
def relation_for_destroy; end
|
1707
|
-
extend ActiveSupport::Concern
|
1708
|
-
end
|
1709
|
-
module ActiveRecord::Locking::Optimistic::ClassMethods
|
1710
|
-
def inherited(subclass); end
|
1711
|
-
def locking_column; end
|
1712
|
-
def locking_column=(value); end
|
1713
|
-
def locking_enabled?; end
|
1714
|
-
def reset_locking_column; end
|
1715
|
-
def update_counters(id, counters); end
|
1716
|
-
end
|
1717
|
-
class ActiveRecord::Locking::LockingType < SimpleDelegator
|
1718
|
-
def encode_with(coder); end
|
1719
|
-
def init_with(coder); end
|
1720
|
-
def type_cast_from_database(value); end
|
1721
|
-
end
|
1722
|
-
module ActiveRecord::Locking::Pessimistic
|
1723
|
-
def lock!(lock = nil); end
|
1724
|
-
def with_lock(lock = nil); end
|
1725
|
-
end
|
1726
|
-
module ActiveRecord::AttributeMethods::Read
|
1727
|
-
def _read_attribute(attr_name); end
|
1728
|
-
def attribute(attribute_name); end
|
1729
|
-
def read_attribute(attr_name, &block); end
|
1730
|
-
extend ActiveSupport::Concern
|
1731
|
-
end
|
1732
|
-
module ActiveRecord::AttributeMethods::Read::ClassMethods
|
1733
|
-
def cache_attribute?(*arg0); end
|
1734
|
-
def cache_attributes(*arg0); end
|
1735
|
-
def cached_attributes(*arg0); end
|
1736
|
-
def cached_attributes_deprecation_warning(method_name); end
|
1737
|
-
def define_method_attribute(name); end
|
1738
|
-
end
|
1739
|
-
module ActiveRecord::AttributeMethods::Write
|
1740
|
-
def attribute=(attribute_name, value); end
|
1741
|
-
def raw_write_attribute(attr_name, value); end
|
1742
|
-
def write_attribute(attr_name, value); end
|
1743
|
-
def write_attribute_with_type_cast(attr_name, value, should_type_cast); end
|
1744
|
-
extend ActiveSupport::Concern
|
1745
|
-
end
|
1746
|
-
module ActiveRecord::AttributeMethods::Write::ClassMethods
|
1747
|
-
def define_method_attribute=(name); end
|
1748
|
-
end
|
1749
|
-
module ActiveRecord::AttributeMethods::BeforeTypeCast
|
1750
|
-
def attribute_before_type_cast(attribute_name); end
|
1751
|
-
def attribute_came_from_user?(attribute_name); end
|
1752
|
-
def attributes_before_type_cast; end
|
1753
|
-
def read_attribute_before_type_cast(attr_name); end
|
1754
|
-
extend ActiveSupport::Concern
|
1755
|
-
end
|
1756
|
-
module ActiveRecord::AttributeMethods::Query
|
1757
|
-
def attribute?(attribute_name); end
|
1758
|
-
def query_attribute(attr_name); end
|
1759
|
-
extend ActiveSupport::Concern
|
1760
|
-
end
|
1761
|
-
module ActiveRecord::AttributeMethods::PrimaryKey
|
1762
|
-
def attribute_method?(attr_name); end
|
1763
|
-
def id; end
|
1764
|
-
def id=(value); end
|
1765
|
-
def id?; end
|
1766
|
-
def id_before_type_cast; end
|
1767
|
-
def id_was; end
|
1768
|
-
def to_key; end
|
1769
|
-
extend ActiveSupport::Concern
|
1770
|
-
end
|
1771
|
-
module ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods
|
1772
|
-
def dangerous_attribute_method?(method_name); end
|
1773
|
-
def define_method_attribute(attr_name); end
|
1774
|
-
def get_primary_key(base_name); end
|
1775
|
-
def primary_key; end
|
1776
|
-
def primary_key=(value); end
|
1777
|
-
def quoted_primary_key; end
|
1778
|
-
def reset_primary_key; end
|
1779
|
-
end
|
1780
|
-
module ActiveRecord::AttributeMethods::TimeZoneConversion
|
1781
|
-
extend ActiveSupport::Concern
|
1782
|
-
end
|
1783
|
-
class ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter < Anonymous_Delegator_18
|
1784
|
-
def convert_time_to_time_zone(value); end
|
1785
|
-
def type_cast_from_database(value); end
|
1786
|
-
def type_cast_from_user(value); end
|
1787
|
-
include ActiveRecord::Type::Decorator
|
1788
|
-
end
|
1789
|
-
module ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods
|
1790
|
-
def create_time_zone_conversion_attribute?(name, cast_type); end
|
1791
|
-
def inherited(subclass); end
|
1792
|
-
end
|
1793
|
-
module ActiveRecord::AttributeMethods::Dirty
|
1794
|
-
def _create_record(*arg0); end
|
1795
|
-
def _field_changed?(attr, old_value); end
|
1796
|
-
def _update_record(*arg0); end
|
1797
|
-
def attribute_changed_in_place?(attr_name); end
|
1798
|
-
def attributes_changed_in_place; end
|
1799
|
-
def cache_changed_attributes; end
|
1800
|
-
def calculate_changes_from_defaults; end
|
1801
|
-
def changed_attributes; end
|
1802
|
-
def changed_in_place; end
|
1803
|
-
def changes; end
|
1804
|
-
def changes_applied; end
|
1805
|
-
def changes_include?(attr_name); end
|
1806
|
-
def clear_changed_attributes_cache; end
|
1807
|
-
def clear_changes_information; end
|
1808
|
-
def initialize_dup(other); end
|
1809
|
-
def keys_for_partial_write; end
|
1810
|
-
def old_attribute_value(attr); end
|
1811
|
-
def original_raw_attribute(attr_name); end
|
1812
|
-
def original_raw_attributes; end
|
1813
|
-
def raw_write_attribute(attr, value); end
|
1814
|
-
def reload(*arg0); end
|
1815
|
-
def save!(*arg0); end
|
1816
|
-
def save(*arg0); end
|
1817
|
-
def save_changed_attribute(attr, old_value); end
|
1818
|
-
def store_original_raw_attribute(attr_name); end
|
1819
|
-
def store_original_raw_attributes; end
|
1820
|
-
def write_attribute(attr, value); end
|
1821
|
-
extend ActiveSupport::Concern
|
1822
|
-
include ActiveModel::Dirty
|
1823
|
-
end
|
1824
|
-
module ActiveRecord::Timestamp
|
1825
|
-
def _create_record; end
|
1826
|
-
def _update_record(*args); end
|
1827
|
-
def all_timestamp_attributes; end
|
1828
|
-
def all_timestamp_attributes_in_model; end
|
1829
|
-
def clear_timestamp_attributes; end
|
1830
|
-
def current_time_from_proper_timezone; end
|
1831
|
-
def initialize_dup(other); end
|
1832
|
-
def max_updated_column_timestamp(timestamp_names = nil); end
|
1833
|
-
def should_record_timestamps?; end
|
1834
|
-
def timestamp_attributes_for_create; end
|
1835
|
-
def timestamp_attributes_for_create_in_model; end
|
1836
|
-
def timestamp_attributes_for_update; end
|
1837
|
-
def timestamp_attributes_for_update_in_model; end
|
1838
|
-
extend ActiveSupport::Concern
|
1839
|
-
end
|
1840
|
-
module ActiveRecord::AttributeMethods::Serialization
|
1841
|
-
extend ActiveSupport::Concern
|
1842
|
-
end
|
1843
|
-
module ActiveRecord::AttributeMethods::Serialization::ClassMethods
|
1844
|
-
def serialize(attr_name, class_name_or_coder = nil); end
|
1845
|
-
def serialized_attributes; end
|
1846
|
-
end
|
1847
|
-
module ActiveRecord::Callbacks
|
1848
|
-
def _create_record; end
|
1849
|
-
def _update_record(*arg0); end
|
1850
|
-
def create_or_update; end
|
1851
|
-
def destroy; end
|
1852
|
-
def touch(*arg0); end
|
1853
|
-
extend ActiveSupport::Concern
|
1854
|
-
end
|
1855
|
-
module ActiveRecord::Callbacks::ClassMethods
|
1856
|
-
include ActiveModel::Callbacks
|
1857
|
-
end
|
1858
|
-
class ActiveRecord::AssociationNotFoundError < ActiveRecord::ConfigurationError
|
1859
|
-
def initialize(record, association_name); end
|
1860
|
-
end
|
1861
|
-
class ActiveRecord::InverseOfAssociationNotFoundError < ActiveRecord::ActiveRecordError
|
1862
|
-
def initialize(reflection, associated_class = nil); end
|
1863
|
-
end
|
1864
|
-
class ActiveRecord::HasManyThroughAssociationNotFoundError < ActiveRecord::ActiveRecordError
|
1865
|
-
def initialize(owner_class_name, reflection); end
|
1866
|
-
end
|
1867
|
-
class ActiveRecord::HasManyThroughAssociationPolymorphicSourceError < ActiveRecord::ActiveRecordError
|
1868
|
-
def initialize(owner_class_name, reflection, source_reflection); end
|
1869
|
-
end
|
1870
|
-
class ActiveRecord::HasManyThroughAssociationPolymorphicThroughError < ActiveRecord::ActiveRecordError
|
1871
|
-
def initialize(owner_class_name, reflection); end
|
1872
|
-
end
|
1873
|
-
class ActiveRecord::HasManyThroughAssociationPointlessSourceTypeError < ActiveRecord::ActiveRecordError
|
1874
|
-
def initialize(owner_class_name, reflection, source_reflection); end
|
1875
|
-
end
|
1876
|
-
class ActiveRecord::HasOneThroughCantAssociateThroughCollection < ActiveRecord::ActiveRecordError
|
1877
|
-
def initialize(owner_class_name, reflection, through_reflection); end
|
1878
|
-
end
|
1879
|
-
class ActiveRecord::HasOneAssociationPolymorphicThroughError < ActiveRecord::ActiveRecordError
|
1880
|
-
def initialize(owner_class_name, reflection); end
|
1881
|
-
end
|
1882
|
-
class ActiveRecord::HasManyThroughSourceAssociationNotFoundError < ActiveRecord::ActiveRecordError
|
1883
|
-
def initialize(reflection); end
|
1884
|
-
end
|
1885
|
-
class ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection < ActiveRecord::ActiveRecordError
|
1886
|
-
def initialize(owner, reflection); end
|
1887
|
-
end
|
1888
|
-
class ActiveRecord::HasManyThroughCantAssociateNewRecords < ActiveRecord::ActiveRecordError
|
1889
|
-
def initialize(owner, reflection); end
|
1890
|
-
end
|
1891
|
-
class ActiveRecord::HasManyThroughCantDissociateNewRecords < ActiveRecord::ActiveRecordError
|
1892
|
-
def initialize(owner, reflection); end
|
1893
|
-
end
|
1894
|
-
class ActiveRecord::HasManyThroughNestedAssociationsAreReadonly < ActiveRecord::ActiveRecordError
|
1895
|
-
def initialize(owner, reflection); end
|
1896
|
-
end
|
1897
|
-
class ActiveRecord::EagerLoadPolymorphicError < ActiveRecord::ActiveRecordError
|
1898
|
-
def initialize(reflection); end
|
1899
|
-
end
|
1900
|
-
class ActiveRecord::ReadOnlyAssociation < ActiveRecord::ActiveRecordError
|
1901
|
-
def initialize(reflection); end
|
1902
|
-
end
|
1903
|
-
class ActiveRecord::DeleteRestrictionError < ActiveRecord::ActiveRecordError
|
1904
|
-
def initialize(name); end
|
1905
|
-
end
|
1906
|
-
module ActiveRecord::Associations
|
1907
|
-
def association(name); end
|
1908
|
-
def association_cache; end
|
1909
|
-
def association_instance_get(name); end
|
1910
|
-
def association_instance_set(name, association); end
|
1911
|
-
def clear_association_cache; end
|
1912
|
-
extend ActiveSupport::Autoload
|
1913
|
-
extend ActiveSupport::Concern
|
1914
|
-
end
|
1915
|
-
module ActiveRecord::Associations::Builder
|
1916
|
-
end
|
1917
|
-
module ActiveRecord::Associations::ClassMethods
|
1918
|
-
def belongs_to(name, scope = nil, options = nil); end
|
1919
|
-
def has_and_belongs_to_many(name, scope = nil, options = nil, &extension); end
|
1920
|
-
def has_many(name, scope = nil, options = nil, &extension); end
|
1921
|
-
def has_one(name, scope = nil, options = nil); end
|
1922
|
-
end
|
1923
|
-
module ActiveRecord::AutosaveAssociation
|
1924
|
-
def associated_records_to_validate_or_save(association, new_record, autosave); end
|
1925
|
-
def association_valid?(reflection, record); end
|
1926
|
-
def before_save_collection_association; end
|
1927
|
-
def changed_for_autosave?; end
|
1928
|
-
def destroyed_by_association; end
|
1929
|
-
def destroyed_by_association=(reflection); end
|
1930
|
-
def mark_for_destruction; end
|
1931
|
-
def marked_for_destruction?; end
|
1932
|
-
def nested_records_changed_for_autosave?; end
|
1933
|
-
def record_changed?(reflection, record, key); end
|
1934
|
-
def reload(options = nil); end
|
1935
|
-
def save_belongs_to_association(reflection); end
|
1936
|
-
def save_collection_association(reflection); end
|
1937
|
-
def save_has_one_association(reflection); end
|
1938
|
-
def validate_collection_association(reflection); end
|
1939
|
-
def validate_single_association(reflection); end
|
1940
|
-
extend ActiveSupport::Concern
|
1941
|
-
end
|
1942
|
-
module ActiveRecord::AutosaveAssociation::AssociationBuilderExtension
|
1943
|
-
def self.build(model, reflection); end
|
1944
|
-
def self.valid_options; end
|
1945
|
-
end
|
1946
|
-
module ActiveRecord::AutosaveAssociation::ClassMethods
|
1947
|
-
def add_autosave_association_callbacks(reflection); end
|
1948
|
-
def define_autosave_validation_callbacks(reflection); end
|
1949
|
-
def define_non_cyclic_method(name, &block); end
|
1950
|
-
end
|
1951
|
-
class ActiveRecord::Associations::Builder::Association
|
1952
|
-
def build(model); end
|
1953
|
-
def define_extensions(model); end
|
1954
|
-
def initialize(model, name, scope, options); end
|
1955
|
-
def macro; end
|
1956
|
-
def name; end
|
1957
|
-
def options; end
|
1958
|
-
def scope; end
|
1959
|
-
def self.add_destroy_callbacks(model, reflection); end
|
1960
|
-
def self.build(model, name, scope, options, &block); end
|
1961
|
-
def self.check_dependent_options(dependent); end
|
1962
|
-
def self.create_builder(model, name, scope, options, &block); end
|
1963
|
-
def self.define_accessors(model, reflection); end
|
1964
|
-
def self.define_callbacks(model, reflection); end
|
1965
|
-
def self.define_readers(mixin, name); end
|
1966
|
-
def self.define_validations(model, reflection); end
|
1967
|
-
def self.define_writers(mixin, name); end
|
1968
|
-
def self.extensions; end
|
1969
|
-
def self.extensions=(arg0); end
|
1970
|
-
def self.valid_dependent_options; end
|
1971
|
-
def self.valid_options; end
|
1972
|
-
def self.valid_options=(arg0); end
|
1973
|
-
def valid_options; end
|
1974
|
-
def validate_options; end
|
1975
|
-
end
|
1976
|
-
module ActiveRecord::NestedAttributes
|
1977
|
-
def _destroy; end
|
1978
|
-
def allow_destroy?(association_name); end
|
1979
|
-
def assign_nested_attributes_for_collection_association(association_name, attributes_collection); end
|
1980
|
-
def assign_nested_attributes_for_one_to_one_association(association_name, attributes); end
|
1981
|
-
def assign_to_or_mark_for_destruction(record, attributes, allow_destroy); end
|
1982
|
-
def call_reject_if(association_name, attributes); end
|
1983
|
-
def check_record_limit!(limit, attributes_collection); end
|
1984
|
-
def has_destroy_flag?(hash); end
|
1985
|
-
def raise_nested_attributes_record_not_found!(association_name, record_id); end
|
1986
|
-
def reject_new_record?(association_name, attributes); end
|
1987
|
-
def will_be_destroyed?(association_name, attributes); end
|
1988
|
-
extend ActiveSupport::Concern
|
1989
|
-
end
|
1990
|
-
class ActiveRecord::NestedAttributes::TooManyRecords < ActiveRecord::ActiveRecordError
|
1991
|
-
end
|
1992
|
-
module ActiveRecord::NestedAttributes::ClassMethods
|
1993
|
-
def accepts_nested_attributes_for(*attr_names); end
|
1994
|
-
def generate_association_writer(association_name, type); end
|
1995
|
-
end
|
1996
|
-
module ActiveRecord::Aggregations
|
1997
|
-
def clear_aggregation_cache; end
|
1998
|
-
extend ActiveSupport::Concern
|
1999
|
-
end
|
2000
|
-
module ActiveRecord::Aggregations::ClassMethods
|
2001
|
-
def composed_of(part_id, options = nil); end
|
2002
|
-
def reader_method(name, class_name, mapping, allow_nil, constructor); end
|
2003
|
-
def writer_method(name, class_name, mapping, allow_nil, converter); end
|
2004
|
-
end
|
2005
|
-
module ActiveRecord::Transactions
|
2006
|
-
def add_to_transaction; end
|
2007
|
-
def clear_transaction_record_state; end
|
2008
|
-
def committed!(should_run_callbacks = nil); end
|
2009
|
-
def destroy; end
|
2010
|
-
def force_clear_transaction_record_state; end
|
2011
|
-
def remember_transaction_record_state; end
|
2012
|
-
def restore_transaction_record_state(force = nil); end
|
2013
|
-
def rollback_active_record_state!; end
|
2014
|
-
def rolledback!(force_restore_state = nil, should_run_callbacks = nil); end
|
2015
|
-
def save!(*arg0); end
|
2016
|
-
def save(*arg0); end
|
2017
|
-
def touch(*arg0); end
|
2018
|
-
def transaction(options = nil, &block); end
|
2019
|
-
def transaction_include_any_action?(actions); end
|
2020
|
-
def transaction_record_state(state); end
|
2021
|
-
def with_transaction_returning_status; end
|
2022
|
-
extend ActiveSupport::Concern
|
2023
|
-
end
|
2024
|
-
module ActiveRecord::Transactions::ClassMethods
|
2025
|
-
def after_commit(*args, &block); end
|
2026
|
-
def after_rollback(*args, &block); end
|
2027
|
-
def assert_valid_transaction_action(actions); end
|
2028
|
-
def set_options_for_callbacks!(args); end
|
2029
|
-
def transaction(options = nil, &block); end
|
2030
|
-
end
|
2031
|
-
module ActiveRecord::NoTouching
|
2032
|
-
def no_touching?; end
|
2033
|
-
def self.applied_to?(klass); end
|
2034
|
-
def self.apply_to(klass); end
|
2035
|
-
def self.klasses; end
|
2036
|
-
def touch(*arg0); end
|
2037
|
-
extend ActiveSupport::Concern
|
2038
|
-
end
|
2039
|
-
module ActiveRecord::NoTouching::ClassMethods
|
2040
|
-
def no_touching(&block); end
|
2041
|
-
end
|
2042
|
-
module ActiveRecord::Reflection
|
2043
|
-
def self.add_aggregate_reflection(ar, name, reflection); end
|
2044
|
-
def self.add_reflection(ar, name, reflection); end
|
2045
|
-
def self.create(macro, name, scope, options, ar); end
|
2046
|
-
extend ActiveSupport::Concern
|
2047
|
-
end
|
2048
|
-
module ActiveRecord::Reflection::ClassMethods
|
2049
|
-
def _reflect_on_association(association); end
|
2050
|
-
def clear_reflections_cache; end
|
2051
|
-
def reflect_on_aggregation(aggregation); end
|
2052
|
-
def reflect_on_all_aggregations; end
|
2053
|
-
def reflect_on_all_associations(macro = nil); end
|
2054
|
-
def reflect_on_all_autosave_associations; end
|
2055
|
-
def reflect_on_association(association); end
|
2056
|
-
def reflections; end
|
2057
|
-
end
|
2058
|
-
class ActiveRecord::Reflection::AbstractReflection
|
2059
|
-
def build_association(attributes, &block); end
|
2060
|
-
def check_validity_of_inverse!; end
|
2061
|
-
def class_name; end
|
2062
|
-
def inverse_of; end
|
2063
|
-
def join_keys(assoc_klass); end
|
2064
|
-
def primary_key_type; end
|
2065
|
-
def quoted_table_name; end
|
2066
|
-
def source_macro; end
|
2067
|
-
def table_name; end
|
2068
|
-
end
|
2069
|
-
class ActiveRecord::Reflection::AbstractReflection::JoinKeys < Struct
|
2070
|
-
def foreign_key; end
|
2071
|
-
def foreign_key=(_); end
|
2072
|
-
def key; end
|
2073
|
-
def key=(_); end
|
2074
|
-
def self.[](*arg0); end
|
2075
|
-
def self.inspect; end
|
2076
|
-
def self.members; end
|
2077
|
-
def self.new(*arg0); end
|
2078
|
-
end
|
2079
|
-
class ActiveRecord::Reflection::MacroReflection < ActiveRecord::Reflection::AbstractReflection
|
2080
|
-
def ==(other_aggregation); end
|
2081
|
-
def active_record; end
|
2082
|
-
def autosave=(autosave); end
|
2083
|
-
def compute_class(name); end
|
2084
|
-
def derive_class_name; end
|
2085
|
-
def initialize(name, scope, options, active_record); end
|
2086
|
-
def klass; end
|
2087
|
-
def name; end
|
2088
|
-
def options; end
|
2089
|
-
def plural_name; end
|
2090
|
-
def scope; end
|
2091
|
-
end
|
2092
|
-
class ActiveRecord::Reflection::AggregateReflection < ActiveRecord::Reflection::MacroReflection
|
2093
|
-
def mapping; end
|
2094
|
-
end
|
2095
|
-
class ActiveRecord::Reflection::AssociationReflection < ActiveRecord::Reflection::MacroReflection
|
2096
|
-
def active_record_primary_key; end
|
2097
|
-
def actual_source_reflection; end
|
2098
|
-
def association_class; end
|
2099
|
-
def association_foreign_key; end
|
2100
|
-
def association_primary_key(klass = nil); end
|
2101
|
-
def association_scope_cache(conn, owner); end
|
2102
|
-
def automatic_inverse_of; end
|
2103
|
-
def belongs_to?; end
|
2104
|
-
def calculate_constructable(macro, options); end
|
2105
|
-
def can_find_inverse_of_automatically?(reflection); end
|
2106
|
-
def chain; end
|
2107
|
-
def check_eager_loadable!; end
|
2108
|
-
def check_preloadable!; end
|
2109
|
-
def check_validity!; end
|
2110
|
-
def collection?; end
|
2111
|
-
def compute_class(name); end
|
2112
|
-
def constructable?; end
|
2113
|
-
def counter_cache_column; end
|
2114
|
-
def derive_class_name; end
|
2115
|
-
def derive_foreign_key; end
|
2116
|
-
def derive_join_table; end
|
2117
|
-
def foreign_key; end
|
2118
|
-
def foreign_type; end
|
2119
|
-
def has_inverse?; end
|
2120
|
-
def has_one?; end
|
2121
|
-
def initialize(name, scope, options, active_record); end
|
2122
|
-
def inverse_name; end
|
2123
|
-
def join_id_for(owner); end
|
2124
|
-
def join_table; end
|
2125
|
-
def klass; end
|
2126
|
-
def macro; end
|
2127
|
-
def nested?; end
|
2128
|
-
def parent_reflection; end
|
2129
|
-
def parent_reflection=(arg0); end
|
2130
|
-
def polymorphic?; end
|
2131
|
-
def polymorphic_inverse_of(associated_class); end
|
2132
|
-
def primary_key(klass); end
|
2133
|
-
def scope_chain; end
|
2134
|
-
def source_reflection; end
|
2135
|
-
def through_reflection; end
|
2136
|
-
def type; end
|
2137
|
-
def valid_inverse_reflection?(reflection); end
|
2138
|
-
def validate?; end
|
2139
|
-
end
|
2140
|
-
class ActiveRecord::Reflection::HasManyReflection < ActiveRecord::Reflection::AssociationReflection
|
2141
|
-
def collection?; end
|
2142
|
-
def initialize(name, scope, options, active_record); end
|
2143
|
-
def macro; end
|
2144
|
-
end
|
2145
|
-
class ActiveRecord::Reflection::HasOneReflection < ActiveRecord::Reflection::AssociationReflection
|
2146
|
-
def has_one?; end
|
2147
|
-
def initialize(name, scope, options, active_record); end
|
2148
|
-
def macro; end
|
2149
|
-
end
|
2150
|
-
class ActiveRecord::Reflection::BelongsToReflection < ActiveRecord::Reflection::AssociationReflection
|
2151
|
-
def belongs_to?; end
|
2152
|
-
def initialize(name, scope, options, active_record); end
|
2153
|
-
def join_id_for(owner); end
|
2154
|
-
def join_keys(assoc_klass); end
|
2155
|
-
def macro; end
|
2156
|
-
end
|
2157
|
-
class ActiveRecord::Reflection::HasAndBelongsToManyReflection < ActiveRecord::Reflection::AssociationReflection
|
2158
|
-
def collection?; end
|
2159
|
-
def initialize(name, scope, options, active_record); end
|
2160
|
-
def macro; end
|
2161
|
-
end
|
2162
|
-
class ActiveRecord::Reflection::ThroughReflection < ActiveRecord::Reflection::AbstractReflection
|
2163
|
-
def active_record(*args, &block); end
|
2164
|
-
def active_record_primary_key(*args, &block); end
|
2165
|
-
def actual_source_reflection; end
|
2166
|
-
def association_class(*args, &block); end
|
2167
|
-
def association_foreign_key(*args, &block); end
|
2168
|
-
def association_primary_key(klass = nil); end
|
2169
|
-
def association_scope_cache(*args, &block); end
|
2170
|
-
def autosave=(arg); end
|
2171
|
-
def belongs_to?(*args, &block); end
|
2172
|
-
def chain; end
|
2173
|
-
def check_eager_loadable!(*args, &block); end
|
2174
|
-
def check_preloadable!(*args, &block); end
|
2175
|
-
def check_validity!; end
|
2176
|
-
def collection?(*args, &block); end
|
2177
|
-
def compute_class(*args, &block); end
|
2178
|
-
def constructable?(*args, &block); end
|
2179
|
-
def counter_cache_column(*args, &block); end
|
2180
|
-
def delegate_reflection; end
|
2181
|
-
def derive_class_name; end
|
2182
|
-
def foreign_key(*args, &block); end
|
2183
|
-
def foreign_type(*args, &block); end
|
2184
|
-
def has_inverse?(*args, &block); end
|
2185
|
-
def has_one?(*args, &block); end
|
2186
|
-
def initialize(delegate_reflection); end
|
2187
|
-
def inverse_name; end
|
2188
|
-
def join_id_for(owner); end
|
2189
|
-
def join_keys(assoc_klass); end
|
2190
|
-
def join_table(*args, &block); end
|
2191
|
-
def klass; end
|
2192
|
-
def macro(*args, &block); end
|
2193
|
-
def name(*args, &block); end
|
2194
|
-
def nested?; end
|
2195
|
-
def options(*args, &block); end
|
2196
|
-
def parent_reflection(*args, &block); end
|
2197
|
-
def parent_reflection=(arg); end
|
2198
|
-
def plural_name(*args, &block); end
|
2199
|
-
def polymorphic?(*args, &block); end
|
2200
|
-
def polymorphic_inverse_of(*args, &block); end
|
2201
|
-
def primary_key(klass); end
|
2202
|
-
def scope(*args, &block); end
|
2203
|
-
def scope_chain; end
|
2204
|
-
def source_macro; end
|
2205
|
-
def source_options; end
|
2206
|
-
def source_reflection; end
|
2207
|
-
def source_reflection_name; end
|
2208
|
-
def source_reflection_names; end
|
2209
|
-
def through_options; end
|
2210
|
-
def through_reflection; end
|
2211
|
-
def type(*args, &block); end
|
2212
|
-
def validate?(*args, &block); end
|
2213
|
-
end
|
2214
|
-
module ActiveRecord::Serialization
|
2215
|
-
def serializable_hash(options = nil); end
|
2216
|
-
def to_xml(options = nil, &block); end
|
2217
|
-
extend ActiveSupport::Concern
|
2218
|
-
include ActiveModel::Serializers::JSON
|
2219
|
-
include ActiveModel::Serializers::Xml
|
2220
|
-
end
|
2221
|
-
class ActiveRecord::XmlSerializer < ActiveModel::Serializers::Xml::Serializer
|
2222
|
-
end
|
2223
|
-
class ActiveRecord::XmlSerializer::Attribute < ActiveModel::Serializers::Xml::Serializer::Attribute
|
2224
|
-
def compute_type; end
|
2225
|
-
end
|
2226
|
-
module ActiveRecord::Store
|
2227
|
-
def read_store_attribute(store_attribute, key); end
|
2228
|
-
def store_accessor_for(store_attribute); end
|
2229
|
-
def write_store_attribute(store_attribute, key, value); end
|
2230
|
-
extend ActiveSupport::Concern
|
2231
|
-
end
|
2232
|
-
module ActiveRecord::Store::ClassMethods
|
2233
|
-
def _store_accessors_module; end
|
2234
|
-
def store(store_attribute, options = nil); end
|
2235
|
-
def store_accessor(store_attribute, *keys); end
|
2236
|
-
def stored_attributes; end
|
2237
|
-
end
|
2238
|
-
class ActiveRecord::Store::HashAccessor
|
2239
|
-
def self.prepare(object, attribute); end
|
2240
|
-
def self.read(object, attribute, key); end
|
2241
|
-
def self.write(object, attribute, key, value); end
|
2242
|
-
end
|
2243
|
-
class ActiveRecord::Store::StringKeyedHashAccessor < ActiveRecord::Store::HashAccessor
|
2244
|
-
def self.read(object, attribute, key); end
|
2245
|
-
def self.write(object, attribute, key, value); end
|
2246
|
-
end
|
2247
|
-
class ActiveRecord::Store::IndifferentHashAccessor < ActiveRecord::Store::HashAccessor
|
2248
|
-
def self.prepare(object, store_attribute); end
|
2249
|
-
end
|
2250
|
-
class ActiveRecord::Store::IndifferentCoder
|
2251
|
-
def dump(obj); end
|
2252
|
-
def initialize(coder_or_class_name); end
|
2253
|
-
def load(yaml); end
|
2254
|
-
def self.as_indifferent_hash(obj); end
|
2255
|
-
end
|
2256
|
-
class ActiveRecord::ConnectionAdapters::StatementPool
|
2257
|
-
def [](key); end
|
2258
|
-
def []=(sql, key); end
|
2259
|
-
def clear; end
|
2260
|
-
def delete(key); end
|
2261
|
-
def each; end
|
2262
|
-
def initialize(connection, max = nil); end
|
2263
|
-
def key?(key); end
|
2264
|
-
def length; end
|
2265
|
-
include Enumerable
|
2266
|
-
end
|
2267
|
-
module ActiveRecord::ConnectionAdapters::Savepoints
|
2268
|
-
def create_savepoint(name = nil); end
|
2269
|
-
def exec_rollback_to_savepoint(name = nil); end
|
2270
|
-
def release_savepoint(name = nil); end
|
2271
|
-
def supports_savepoints?; end
|
2272
|
-
end
|
2273
|
-
class ActiveRecord::ConnectionAdapters::SQLite3Binary < ActiveRecord::Type::Binary
|
2274
|
-
def cast_value(value); end
|
2275
|
-
end
|
2276
|
-
class ActiveRecord::ConnectionAdapters::SQLite3Adapter < ActiveRecord::ConnectionAdapters::AbstractAdapter
|
2277
|
-
def _quote(value); end
|
2278
|
-
def _type_cast(value); end
|
2279
|
-
def active?; end
|
2280
|
-
def add_column(table_name, column_name, type, options = nil); end
|
2281
|
-
def allowed_index_name_length; end
|
2282
|
-
def alter_table(table_name, options = nil); end
|
2283
|
-
def begin_db_transaction; end
|
2284
|
-
def change_column(table_name, column_name, type, options = nil); end
|
2285
|
-
def change_column_default(table_name, column_name, default); end
|
2286
|
-
def change_column_null(table_name, column_name, null, default = nil); end
|
2287
|
-
def clear_cache!; end
|
2288
|
-
def columns(table_name); end
|
2289
|
-
def commit_db_transaction; end
|
2290
|
-
def copy_table(from, to, options = nil); end
|
2291
|
-
def copy_table_contents(from, to, columns, rename = nil); end
|
2292
|
-
def copy_table_indexes(from, to, rename = nil); end
|
2293
|
-
def create(sql, name = nil, pk = nil, id_value = nil, sequence_name = nil); end
|
2294
|
-
def data_source_exists?(table_name); end
|
2295
|
-
def data_sources(name = nil, table_name = nil); end
|
2296
|
-
def delete_sql(sql, name = nil); end
|
2297
|
-
def disconnect!; end
|
2298
|
-
def encoding; end
|
2299
|
-
def exec_delete(sql, name = nil, binds = nil); end
|
2300
|
-
def exec_query(sql, name = nil, binds = nil); end
|
2301
|
-
def exec_rollback_db_transaction; end
|
2302
|
-
def exec_update(sql, name = nil, binds = nil); end
|
2303
|
-
def execute(sql, name = nil); end
|
2304
|
-
def explain(arel, binds = nil); end
|
2305
|
-
def indexes(table_name, name = nil); end
|
2306
|
-
def initialize(connection, logger, connection_options, config); end
|
2307
|
-
def initialize_type_map(m); end
|
2308
|
-
def insert_sql(sql, name = nil, pk = nil, id_value = nil, sequence_name = nil); end
|
2309
|
-
def last_inserted_id(result); end
|
2310
|
-
def move_table(from, to, options = nil, &block); end
|
2311
|
-
def native_database_types; end
|
2312
|
-
def primary_key(table_name); end
|
2313
|
-
def quote_column_name(name); end
|
2314
|
-
def quote_string(s); end
|
2315
|
-
def quote_table_name_for_assignment(table, attr); end
|
2316
|
-
def quoted_date(value); end
|
2317
|
-
def remove_column(table_name, column_name, type = nil, options = nil); end
|
2318
|
-
def remove_index!(table_name, index_name); end
|
2319
|
-
def rename_column(table_name, column_name, new_column_name); end
|
2320
|
-
def rename_table(table_name, new_name); end
|
2321
|
-
def requires_reloading?; end
|
2322
|
-
def select_rows(sql, name = nil, binds = nil); end
|
2323
|
-
def sqlite_version; end
|
2324
|
-
def supports_ddl_transactions?; end
|
2325
|
-
def supports_explain?; end
|
2326
|
-
def supports_index_sort_order?; end
|
2327
|
-
def supports_migrations?; end
|
2328
|
-
def supports_partial_index?; end
|
2329
|
-
def supports_primary_key?; end
|
2330
|
-
def supports_savepoints?; end
|
2331
|
-
def supports_statement_cache?; end
|
2332
|
-
def supports_views?; end
|
2333
|
-
def table_exists?(table_name); end
|
2334
|
-
def table_structure(table_name); end
|
2335
|
-
def tables(name = nil, table_name = nil); end
|
2336
|
-
def translate_exception(exception, message); end
|
2337
|
-
def update_sql(sql, name = nil); end
|
2338
|
-
def valid_alter_table_type?(type); end
|
2339
|
-
include ActiveRecord::ConnectionAdapters::Savepoints
|
2340
|
-
end
|
2341
|
-
class ActiveRecord::ConnectionAdapters::SQLite3Adapter::StatementPool < ActiveRecord::ConnectionAdapters::StatementPool
|
2342
|
-
def [](key); end
|
2343
|
-
def []=(sql, key); end
|
2344
|
-
def cache; end
|
2345
|
-
def clear; end
|
2346
|
-
def dealloc(stmt); end
|
2347
|
-
def each(&block); end
|
2348
|
-
def initialize(connection, max); end
|
2349
|
-
def key?(key); end
|
2350
|
-
def length; end
|
2351
|
-
end
|
2352
|
-
class ActiveRecord::ConnectionAdapters::SQLite3Adapter::ExplainPrettyPrinter
|
2353
|
-
def pp(result); end
|
2354
|
-
end
|
2355
|
-
class ActiveRecord::RuntimeRegistry
|
2356
|
-
def connection_handler; end
|
2357
|
-
def connection_handler=(arg0); end
|
2358
|
-
def connection_id; end
|
2359
|
-
def connection_id=(arg0); end
|
2360
|
-
def self.connection_handler; end
|
2361
|
-
def self.connection_handler=(x); end
|
2362
|
-
def self.connection_id; end
|
2363
|
-
def self.connection_id=(x); end
|
2364
|
-
def self.sql_runtime; end
|
2365
|
-
def self.sql_runtime=(x); end
|
2366
|
-
def sql_runtime; end
|
2367
|
-
def sql_runtime=(arg0); end
|
2368
|
-
extend ActiveSupport::PerThreadRegistry
|
2369
|
-
end
|
2370
|
-
module ActiveRecord::FinderMethods
|
2371
|
-
def apply_join_dependency(relation, join_dependency); end
|
2372
|
-
def construct_join_dependency(joins = nil); end
|
2373
|
-
def construct_relation_for_association_calculations; end
|
2374
|
-
def exists?(conditions = nil); end
|
2375
|
-
def fifth!; end
|
2376
|
-
def fifth; end
|
2377
|
-
def find(*args); end
|
2378
|
-
def find_by!(*args); end
|
2379
|
-
def find_by(*args); end
|
2380
|
-
def find_last; end
|
2381
|
-
def find_nth!(index); end
|
2382
|
-
def find_nth(index, offset); end
|
2383
|
-
def find_nth_with_limit(offset, limit); end
|
2384
|
-
def find_one(id); end
|
2385
|
-
def find_some(ids); end
|
2386
|
-
def find_take; end
|
2387
|
-
def find_with_associations; end
|
2388
|
-
def find_with_ids(*ids); end
|
2389
|
-
def first!; end
|
2390
|
-
def first(limit = nil); end
|
2391
|
-
def forty_two!; end
|
2392
|
-
def forty_two; end
|
2393
|
-
def fourth!; end
|
2394
|
-
def fourth; end
|
2395
|
-
def last!; end
|
2396
|
-
def last(limit = nil); end
|
2397
|
-
def limited_ids_for(relation); end
|
2398
|
-
def offset_index; end
|
2399
|
-
def raise_record_not_found_exception!(ids, result_size, expected_size); end
|
2400
|
-
def second!; end
|
2401
|
-
def second; end
|
2402
|
-
def take!; end
|
2403
|
-
def take(limit = nil); end
|
2404
|
-
def third!; end
|
2405
|
-
def third; end
|
2406
|
-
def using_limitable_reflections?(reflections); end
|
2407
|
-
end
|
2408
|
-
module ActiveRecord::Calculations
|
2409
|
-
def aggregate_column(column_name); end
|
2410
|
-
def average(column_name, options = nil); end
|
2411
|
-
def build_count_subquery(relation, column_name, distinct); end
|
2412
|
-
def calculate(operation, column_name, options = nil); end
|
2413
|
-
def column_alias_for(keys); end
|
2414
|
-
def count(column_name = nil, options = nil); end
|
2415
|
-
def execute_grouped_calculation(operation, column_name, distinct); end
|
2416
|
-
def execute_simple_calculation(operation, column_name, distinct); end
|
2417
|
-
def has_include?(column_name); end
|
2418
|
-
def ids; end
|
2419
|
-
def maximum(column_name, options = nil); end
|
2420
|
-
def minimum(column_name, options = nil); end
|
2421
|
-
def operation_over_aggregate_column(column, operation, distinct); end
|
2422
|
-
def perform_calculation(operation, column_name, options = nil); end
|
2423
|
-
def pluck(*column_names); end
|
2424
|
-
def select_for_count; end
|
2425
|
-
def sum(*args); end
|
2426
|
-
def type_cast_calculated_value(value, type, operation = nil); end
|
2427
|
-
def type_for(field); end
|
2428
|
-
end
|
2429
|
-
class ActiveRecord::Relation
|
2430
|
-
def ==(other); end
|
2431
|
-
def _update_record(values, id, id_was); end
|
2432
|
-
def any?; end
|
2433
|
-
def as_json(options = nil); end
|
2434
|
-
def blank?; end
|
2435
|
-
def build(*args, &block); end
|
2436
|
-
def build_preloader; end
|
2437
|
-
def create!(*args, &block); end
|
2438
|
-
def create(*args, &block); end
|
2439
|
-
def delete(id_or_array); end
|
2440
|
-
def delete_all(conditions = nil); end
|
2441
|
-
def destroy(id); end
|
2442
|
-
def destroy_all(conditions = nil); end
|
2443
|
-
def eager_loading?; end
|
2444
|
-
def empty?; end
|
2445
|
-
def encode_with(coder); end
|
2446
|
-
def exec_queries; end
|
2447
|
-
def explain; end
|
2448
|
-
def find_or_create_by!(attributes, &block); end
|
2449
|
-
def find_or_create_by(attributes, &block); end
|
2450
|
-
def find_or_initialize_by(attributes, &block); end
|
2451
|
-
def first_or_create!(attributes = nil, &block); end
|
2452
|
-
def first_or_create(attributes = nil, &block); end
|
2453
|
-
def first_or_initialize(attributes = nil, &block); end
|
2454
|
-
def initialize(klass, table, values = nil); end
|
2455
|
-
def initialize_copy(other); end
|
2456
|
-
def insert(values); end
|
2457
|
-
def inspect; end
|
2458
|
-
def joined_includes_values; end
|
2459
|
-
def klass; end
|
2460
|
-
def load; end
|
2461
|
-
def loaded; end
|
2462
|
-
def loaded?; end
|
2463
|
-
def many?; end
|
2464
|
-
def model; end
|
2465
|
-
def new(*args, &block); end
|
2466
|
-
def pretty_print(q); end
|
2467
|
-
def references_eager_loaded_tables?; end
|
2468
|
-
def reload; end
|
2469
|
-
def reset; end
|
2470
|
-
def scope_for_create; end
|
2471
|
-
def scoping; end
|
2472
|
-
def size; end
|
2473
|
-
def substitute_values(values); end
|
2474
|
-
def table; end
|
2475
|
-
def tables_in_string(string); end
|
2476
|
-
def to_a; end
|
2477
|
-
def to_sql; end
|
2478
|
-
def uniq_value; end
|
2479
|
-
def update(id, attributes); end
|
2480
|
-
def update_all(updates); end
|
2481
|
-
def values; end
|
2482
|
-
def where_values_hash(relation_table_name = nil); end
|
2483
|
-
extend ActiveRecord::Delegation::ClassMethods
|
2484
|
-
include ActiveRecord::FinderMethods
|
2485
|
-
include SorbetRails::CustomFinderMethods
|
2486
|
-
end
|
2487
|
-
class ActiveRecord::Relation::HashMerger
|
2488
|
-
def hash; end
|
2489
|
-
def initialize(relation, hash); end
|
2490
|
-
def merge; end
|
2491
|
-
def other; end
|
2492
|
-
def relation; end
|
2493
|
-
end
|
2494
|
-
class ActiveRecord::Relation::Merger
|
2495
|
-
def filter_binds(lhs_binds, removed_wheres); end
|
2496
|
-
def initialize(relation, other); end
|
2497
|
-
def merge; end
|
2498
|
-
def merge_joins; end
|
2499
|
-
def merge_multi_values; end
|
2500
|
-
def merge_preloads; end
|
2501
|
-
def merge_single_values; end
|
2502
|
-
def normal_values; end
|
2503
|
-
def other; end
|
2504
|
-
def partition_overwrites(lhs_wheres, rhs_wheres); end
|
2505
|
-
def relation; end
|
2506
|
-
def values; end
|
2507
|
-
end
|
2508
|
-
module ActiveRecord::SpawnMethods
|
2509
|
-
def except(*skips); end
|
2510
|
-
def merge!(other); end
|
2511
|
-
def merge(other); end
|
2512
|
-
def only(*onlies); end
|
2513
|
-
def relation_with(values); end
|
2514
|
-
def spawn; end
|
2515
|
-
end
|
2516
|
-
module ActiveRecord::QueryMethods
|
2517
|
-
def _select!(*fields); end
|
2518
|
-
def add_relations_to_bind_values(attributes); end
|
2519
|
-
def arel; end
|
2520
|
-
def arel_columns(columns); end
|
2521
|
-
def array_of_strings?(o); end
|
2522
|
-
def association_for_table(table_name); end
|
2523
|
-
def bind!(value); end
|
2524
|
-
def bind(value); end
|
2525
|
-
def bind_values; end
|
2526
|
-
def bind_values=(values); end
|
2527
|
-
def build_arel; end
|
2528
|
-
def build_from; end
|
2529
|
-
def build_joins(manager, joins); end
|
2530
|
-
def build_order(arel); end
|
2531
|
-
def build_select(arel); end
|
2532
|
-
def build_where(opts, other = nil); end
|
2533
|
-
def check_cached_relation; end
|
2534
|
-
def check_if_method_has_arguments!(method_name, args); end
|
2535
|
-
def collapse_wheres(arel, wheres); end
|
2536
|
-
def create_binds(opts); end
|
2537
|
-
def create_with!(value); end
|
2538
|
-
def create_with(value); end
|
2539
|
-
def create_with_value; end
|
2540
|
-
def create_with_value=(value); end
|
2541
|
-
def custom_join_ast(table, joins); end
|
2542
|
-
def distinct!(value = nil); end
|
2543
|
-
def distinct(value = nil); end
|
2544
|
-
def distinct_value; end
|
2545
|
-
def distinct_value=(value); end
|
2546
|
-
def eager_load!(*args); end
|
2547
|
-
def eager_load(*args); end
|
2548
|
-
def eager_load_values; end
|
2549
|
-
def eager_load_values=(values); end
|
2550
|
-
def extending!(*modules, &block); end
|
2551
|
-
def extending(*modules, &block); end
|
2552
|
-
def extending_values; end
|
2553
|
-
def extending_values=(values); end
|
2554
|
-
def extensions; end
|
2555
|
-
def from!(value, subquery_name = nil); end
|
2556
|
-
def from(value, subquery_name = nil); end
|
2557
|
-
def from_value; end
|
2558
|
-
def from_value=(value); end
|
2559
|
-
def group!(*args); end
|
2560
|
-
def group(*args); end
|
2561
|
-
def group_values; end
|
2562
|
-
def group_values=(values); end
|
2563
|
-
def having!(opts, *rest); end
|
2564
|
-
def having(opts, *rest); end
|
2565
|
-
def having_values; end
|
2566
|
-
def having_values=(values); end
|
2567
|
-
def includes!(*args); end
|
2568
|
-
def includes(*args); end
|
2569
|
-
def includes_values; end
|
2570
|
-
def includes_values=(values); end
|
2571
|
-
def joins!(*args); end
|
2572
|
-
def joins(*args); end
|
2573
|
-
def joins_values; end
|
2574
|
-
def joins_values=(values); end
|
2575
|
-
def limit!(value); end
|
2576
|
-
def limit(value); end
|
2577
|
-
def limit_value; end
|
2578
|
-
def limit_value=(value); end
|
2579
|
-
def lock!(locks = nil); end
|
2580
|
-
def lock(locks = nil); end
|
2581
|
-
def lock_value; end
|
2582
|
-
def lock_value=(value); end
|
2583
|
-
def none!; end
|
2584
|
-
def none; end
|
2585
|
-
def offset!(value); end
|
2586
|
-
def offset(value); end
|
2587
|
-
def offset_value; end
|
2588
|
-
def offset_value=(value); end
|
2589
|
-
def order!(*args); end
|
2590
|
-
def order(*args); end
|
2591
|
-
def order_values; end
|
2592
|
-
def order_values=(values); end
|
2593
|
-
def preload!(*args); end
|
2594
|
-
def preload(*args); end
|
2595
|
-
def preload_values; end
|
2596
|
-
def preload_values=(values); end
|
2597
|
-
def preprocess_order_args(order_args); end
|
2598
|
-
def readonly!(value = nil); end
|
2599
|
-
def readonly(value = nil); end
|
2600
|
-
def readonly_value; end
|
2601
|
-
def readonly_value=(value); end
|
2602
|
-
def references!(*table_names); end
|
2603
|
-
def references(*table_names); end
|
2604
|
-
def references_values; end
|
2605
|
-
def references_values=(values); end
|
2606
|
-
def reorder!(*args); end
|
2607
|
-
def reorder(*args); end
|
2608
|
-
def reordering_value; end
|
2609
|
-
def reordering_value=(value); end
|
2610
|
-
def reverse_order!; end
|
2611
|
-
def reverse_order; end
|
2612
|
-
def reverse_order_value; end
|
2613
|
-
def reverse_order_value=(value); end
|
2614
|
-
def reverse_sql_order(order_query); end
|
2615
|
-
def rewhere(conditions); end
|
2616
|
-
def select(*fields); end
|
2617
|
-
def select_values; end
|
2618
|
-
def select_values=(values); end
|
2619
|
-
def symbol_unscoping(scope); end
|
2620
|
-
def uniq!(value = nil); end
|
2621
|
-
def uniq(value = nil); end
|
2622
|
-
def uniq_value; end
|
2623
|
-
def uniq_value=(value); end
|
2624
|
-
def unscope!(*args); end
|
2625
|
-
def unscope(*args); end
|
2626
|
-
def unscope_values; end
|
2627
|
-
def unscope_values=(values); end
|
2628
|
-
def validate_order_args(args); end
|
2629
|
-
def where!(opts, *rest); end
|
2630
|
-
def where(opts = nil, *rest); end
|
2631
|
-
def where_unscoping(target_value); end
|
2632
|
-
def where_values; end
|
2633
|
-
def where_values=(values); end
|
2634
|
-
extend ActiveSupport::Concern
|
2635
|
-
include ActiveModel::ForbiddenAttributesProtection
|
2636
|
-
end
|
2637
|
-
class ActiveRecord::QueryMethods::WhereChain
|
2638
|
-
def initialize(scope); end
|
2639
|
-
def not(opts, *rest); end
|
2640
|
-
end
|
2641
|
-
module ActiveRecord::Batches
|
2642
|
-
def batch_order; end
|
2643
|
-
def find_each(options = nil); end
|
2644
|
-
def find_in_batches(options = nil); end
|
2645
|
-
end
|
2646
|
-
class ActiveRecord::Base
|
2647
|
-
def _commit_callbacks; end
|
2648
|
-
def _commit_callbacks?; end
|
2649
|
-
def _create_callbacks; end
|
2650
|
-
def _create_callbacks?; end
|
2651
|
-
def _destroy_callbacks; end
|
2652
|
-
def _destroy_callbacks?; end
|
2653
|
-
def _find_callbacks; end
|
2654
|
-
def _find_callbacks?; end
|
2655
|
-
def _initialize_callbacks; end
|
2656
|
-
def _initialize_callbacks?; end
|
2657
|
-
def _reflections; end
|
2658
|
-
def _reflections?; end
|
2659
|
-
def _rollback_callbacks; end
|
2660
|
-
def _rollback_callbacks?; end
|
2661
|
-
def _run_commit_callbacks(&block); end
|
2662
|
-
def _run_create_callbacks(&block); end
|
2663
|
-
def _run_destroy_callbacks(&block); end
|
2664
|
-
def _run_find_callbacks(&block); end
|
2665
|
-
def _run_initialize_callbacks(&block); end
|
2666
|
-
def _run_rollback_callbacks(&block); end
|
2667
|
-
def _run_save_callbacks(&block); end
|
2668
|
-
def _run_touch_callbacks(&block); end
|
2669
|
-
def _run_update_callbacks(&block); end
|
2670
|
-
def _run_validate_callbacks(&block); end
|
2671
|
-
def _run_validation_callbacks(&block); end
|
2672
|
-
def _save_callbacks; end
|
2673
|
-
def _save_callbacks?; end
|
2674
|
-
def _touch_callbacks; end
|
2675
|
-
def _touch_callbacks?; end
|
2676
|
-
def _update_callbacks; end
|
2677
|
-
def _update_callbacks?; end
|
2678
|
-
def _validate_callbacks; end
|
2679
|
-
def _validate_callbacks?; end
|
2680
|
-
def _validation_callbacks; end
|
2681
|
-
def _validation_callbacks?; end
|
2682
|
-
def _validators; end
|
2683
|
-
def _validators?; end
|
2684
|
-
def aggregate_reflections; end
|
2685
|
-
def aggregate_reflections?; end
|
2686
|
-
def attribute_aliases; end
|
2687
|
-
def attribute_aliases?; end
|
2688
|
-
def attribute_method_matchers; end
|
2689
|
-
def attribute_method_matchers?; end
|
2690
|
-
def cache_timestamp_format; end
|
2691
|
-
def cache_timestamp_format?; end
|
2692
|
-
def column_for_attribute(*args, &block); end
|
2693
|
-
def default_connection_handler; end
|
2694
|
-
def default_connection_handler?; end
|
2695
|
-
def default_scopes; end
|
2696
|
-
def default_timezone; end
|
2697
|
-
def defined_enums; end
|
2698
|
-
def defined_enums?; end
|
2699
|
-
def dump_schema_after_migration; end
|
2700
|
-
def find_by_statement_cache; end
|
2701
|
-
def find_by_statement_cache=(arg0); end
|
2702
|
-
def find_by_statement_cache?; end
|
2703
|
-
def include_root_in_json; end
|
2704
|
-
def include_root_in_json?; end
|
2705
|
-
def lock_optimistically; end
|
2706
|
-
def lock_optimistically?; end
|
2707
|
-
def logger; end
|
2708
|
-
def model_name(*args, &block); end
|
2709
|
-
def nested_attributes_options; end
|
2710
|
-
def nested_attributes_options?; end
|
2711
|
-
def partial_writes; end
|
2712
|
-
def partial_writes?; end
|
2713
|
-
def persistable_attribute_names(*args, &block); end
|
2714
|
-
def pluralize_table_names; end
|
2715
|
-
def pluralize_table_names?; end
|
2716
|
-
def primary_key_prefix_type; end
|
2717
|
-
def raise_in_transactional_callbacks; end
|
2718
|
-
def record_timestamps; end
|
2719
|
-
def record_timestamps=(arg0); end
|
2720
|
-
def record_timestamps?; end
|
2721
|
-
def schema_format; end
|
2722
|
-
def self._attr_readonly; end
|
2723
|
-
def self._attr_readonly=(val); end
|
2724
|
-
def self._attr_readonly?; end
|
2725
|
-
def self._commit_callbacks; end
|
2726
|
-
def self._commit_callbacks=(val); end
|
2727
|
-
def self._commit_callbacks?; end
|
2728
|
-
def self._create_callbacks; end
|
2729
|
-
def self._create_callbacks=(val); end
|
2730
|
-
def self._create_callbacks?; end
|
2731
|
-
def self._destroy_callbacks; end
|
2732
|
-
def self._destroy_callbacks=(val); end
|
2733
|
-
def self._destroy_callbacks?; end
|
2734
|
-
def self._find_callbacks; end
|
2735
|
-
def self._find_callbacks=(val); end
|
2736
|
-
def self._find_callbacks?; end
|
2737
|
-
def self._initialize_callbacks; end
|
2738
|
-
def self._initialize_callbacks=(val); end
|
2739
|
-
def self._initialize_callbacks?; end
|
2740
|
-
def self._reflections; end
|
2741
|
-
def self._reflections=(val); end
|
2742
|
-
def self._reflections?; end
|
2743
|
-
def self._rollback_callbacks; end
|
2744
|
-
def self._rollback_callbacks=(val); end
|
2745
|
-
def self._rollback_callbacks?; end
|
2746
|
-
def self._save_callbacks; end
|
2747
|
-
def self._save_callbacks=(val); end
|
2748
|
-
def self._save_callbacks?; end
|
2749
|
-
def self._touch_callbacks; end
|
2750
|
-
def self._touch_callbacks=(val); end
|
2751
|
-
def self._touch_callbacks?; end
|
2752
|
-
def self._update_callbacks; end
|
2753
|
-
def self._update_callbacks=(val); end
|
2754
|
-
def self._update_callbacks?; end
|
2755
|
-
def self._validate_callbacks; end
|
2756
|
-
def self._validate_callbacks=(val); end
|
2757
|
-
def self._validate_callbacks?; end
|
2758
|
-
def self._validation_callbacks; end
|
2759
|
-
def self._validation_callbacks=(val); end
|
2760
|
-
def self._validation_callbacks?; end
|
2761
|
-
def self._validators; end
|
2762
|
-
def self._validators=(val); end
|
2763
|
-
def self._validators?; end
|
2764
|
-
def self.after_create(*args, &block); end
|
2765
|
-
def self.after_destroy(*args, &block); end
|
2766
|
-
def self.after_find(*args, &block); end
|
2767
|
-
def self.after_initialize(*args, &block); end
|
2768
|
-
def self.after_save(*args, &block); end
|
2769
|
-
def self.after_touch(*args, &block); end
|
2770
|
-
def self.after_update(*args, &block); end
|
2771
|
-
def self.aggregate_reflections; end
|
2772
|
-
def self.aggregate_reflections=(val); end
|
2773
|
-
def self.aggregate_reflections?; end
|
2774
|
-
def self.around_create(*args, &block); end
|
2775
|
-
def self.around_destroy(*args, &block); end
|
2776
|
-
def self.around_save(*args, &block); end
|
2777
|
-
def self.around_update(*args, &block); end
|
2778
|
-
def self.attribute_aliases; end
|
2779
|
-
def self.attribute_aliases=(val); end
|
2780
|
-
def self.attribute_aliases?; end
|
2781
|
-
def self.attribute_method_matchers; end
|
2782
|
-
def self.attribute_method_matchers=(val); end
|
2783
|
-
def self.attribute_method_matchers?; end
|
2784
|
-
def self.attribute_type_decorations; end
|
2785
|
-
def self.attribute_type_decorations=(val); end
|
2786
|
-
def self.attribute_type_decorations?; end
|
2787
|
-
def self.before_create(*args, &block); end
|
2788
|
-
def self.before_destroy(*args, &block); end
|
2789
|
-
def self.before_save(*args, &block); end
|
2790
|
-
def self.before_update(*args, &block); end
|
2791
|
-
def self.cache_timestamp_format; end
|
2792
|
-
def self.cache_timestamp_format=(val); end
|
2793
|
-
def self.cache_timestamp_format?; end
|
2794
|
-
def self.configurations; end
|
2795
|
-
def self.configurations=(config); end
|
2796
|
-
def self.connection_handler; end
|
2797
|
-
def self.connection_handler=(handler); end
|
2798
|
-
def self.default_connection_handler; end
|
2799
|
-
def self.default_connection_handler=(val); end
|
2800
|
-
def self.default_connection_handler?; end
|
2801
|
-
def self.default_scopes; end
|
2802
|
-
def self.default_scopes=(val); end
|
2803
|
-
def self.default_timezone; end
|
2804
|
-
def self.default_timezone=(obj); end
|
2805
|
-
def self.defined_enums; end
|
2806
|
-
def self.defined_enums=(val); end
|
2807
|
-
def self.defined_enums?; end
|
2808
|
-
def self.disable_implicit_join_references=(value); end
|
2809
|
-
def self.dump_schema_after_migration; end
|
2810
|
-
def self.dump_schema_after_migration=(obj); end
|
2811
|
-
def self.find_by_statement_cache; end
|
2812
|
-
def self.find_by_statement_cache=(val); end
|
2813
|
-
def self.find_by_statement_cache?; end
|
2814
|
-
def self.include_root_in_json; end
|
2815
|
-
def self.include_root_in_json=(val); end
|
2816
|
-
def self.include_root_in_json?; end
|
2817
|
-
def self.local_stored_attributes; end
|
2818
|
-
def self.local_stored_attributes=(arg0); end
|
2819
|
-
def self.lock_optimistically; end
|
2820
|
-
def self.lock_optimistically=(val); end
|
2821
|
-
def self.lock_optimistically?; end
|
2822
|
-
def self.logger; end
|
2823
|
-
def self.logger=(obj); end
|
2824
|
-
def self.maintain_test_schema; end
|
2825
|
-
def self.maintain_test_schema=(obj); end
|
2826
|
-
def self.nested_attributes_options; end
|
2827
|
-
def self.nested_attributes_options=(val); end
|
2828
|
-
def self.nested_attributes_options?; end
|
2829
|
-
def self.partial_writes; end
|
2830
|
-
def self.partial_writes=(val); end
|
2831
|
-
def self.partial_writes?; end
|
2832
|
-
def self.pluralize_table_names; end
|
2833
|
-
def self.pluralize_table_names=(val); end
|
2834
|
-
def self.pluralize_table_names?; end
|
2835
|
-
def self.primary_key_prefix_type; end
|
2836
|
-
def self.primary_key_prefix_type=(obj); end
|
2837
|
-
def self.raise_in_transactional_callbacks; end
|
2838
|
-
def self.raise_in_transactional_callbacks=(obj); end
|
2839
|
-
def self.record_timestamps; end
|
2840
|
-
def self.record_timestamps=(val); end
|
2841
|
-
def self.record_timestamps?; end
|
2842
|
-
def self.schema_format; end
|
2843
|
-
def self.schema_format=(obj); end
|
2844
|
-
def self.schema_migrations_table_name; end
|
2845
|
-
def self.schema_migrations_table_name=(val); end
|
2846
|
-
def self.schema_migrations_table_name?; end
|
2847
|
-
def self.skip_time_zone_conversion_for_attributes; end
|
2848
|
-
def self.skip_time_zone_conversion_for_attributes=(val); end
|
2849
|
-
def self.skip_time_zone_conversion_for_attributes?; end
|
2850
|
-
def self.store_full_sti_class; end
|
2851
|
-
def self.store_full_sti_class=(val); end
|
2852
|
-
def self.store_full_sti_class?; end
|
2853
|
-
def self.table_name_prefix; end
|
2854
|
-
def self.table_name_prefix=(val); end
|
2855
|
-
def self.table_name_prefix?; end
|
2856
|
-
def self.table_name_suffix; end
|
2857
|
-
def self.table_name_suffix=(val); end
|
2858
|
-
def self.table_name_suffix?; end
|
2859
|
-
def self.time_zone_aware_attributes; end
|
2860
|
-
def self.time_zone_aware_attributes=(obj); end
|
2861
|
-
def self.timestamped_migrations; end
|
2862
|
-
def self.timestamped_migrations=(obj); end
|
2863
|
-
def self.user_provided_columns; end
|
2864
|
-
def self.user_provided_columns=(val); end
|
2865
|
-
def self.user_provided_columns?; end
|
2866
|
-
def self.user_provided_defaults; end
|
2867
|
-
def self.user_provided_defaults=(val); end
|
2868
|
-
def self.user_provided_defaults?; end
|
2869
|
-
def skip_time_zone_conversion_for_attributes; end
|
2870
|
-
def skip_time_zone_conversion_for_attributes?; end
|
2871
|
-
def store_full_sti_class; end
|
2872
|
-
def store_full_sti_class?; end
|
2873
|
-
def table_name_prefix; end
|
2874
|
-
def table_name_prefix?; end
|
2875
|
-
def table_name_suffix; end
|
2876
|
-
def table_name_suffix?; end
|
2877
|
-
def time_zone_aware_attributes; end
|
2878
|
-
def timestamped_migrations; end
|
2879
|
-
def type_for_attribute(*args, &block); end
|
2880
|
-
def validation_context; end
|
2881
|
-
def validation_context=(arg0); end
|
2882
|
-
extend ActiveModel::AttributeMethods::ClassMethods
|
2883
|
-
extend ActiveModel::Callbacks
|
2884
|
-
extend ActiveModel::Conversion::ClassMethods
|
2885
|
-
extend ActiveModel::Naming
|
2886
|
-
extend ActiveModel::Naming
|
2887
|
-
extend ActiveModel::Naming
|
2888
|
-
extend ActiveModel::Naming
|
2889
|
-
extend ActiveModel::SecurePassword::ClassMethods
|
2890
|
-
extend ActiveModel::Translation
|
2891
|
-
extend ActiveModel::Validations::Callbacks::ClassMethods
|
2892
|
-
extend ActiveModel::Validations::ClassMethods
|
2893
|
-
extend ActiveModel::Validations::HelperMethods
|
2894
|
-
extend ActiveRecord::Aggregations::ClassMethods
|
2895
|
-
extend ActiveRecord::Associations::ClassMethods
|
2896
|
-
extend ActiveRecord::AttributeDecorators::ClassMethods
|
2897
|
-
extend ActiveRecord::AttributeMethods::ClassMethods
|
2898
|
-
extend ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods
|
2899
|
-
extend ActiveRecord::AttributeMethods::Read::ClassMethods
|
2900
|
-
extend ActiveRecord::AttributeMethods::Serialization::ClassMethods
|
2901
|
-
extend ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods
|
2902
|
-
extend ActiveRecord::AttributeMethods::Write::ClassMethods
|
2903
|
-
extend ActiveRecord::Attributes::ClassMethods
|
2904
|
-
extend ActiveRecord::AutosaveAssociation::ClassMethods
|
2905
|
-
extend ActiveRecord::Callbacks::ClassMethods
|
2906
|
-
extend ActiveRecord::ConnectionHandling
|
2907
|
-
extend ActiveRecord::Core::ClassMethods
|
2908
|
-
extend ActiveRecord::CounterCache::ClassMethods
|
2909
|
-
extend ActiveRecord::Delegation::DelegateCache
|
2910
|
-
extend ActiveRecord::DynamicMatchers
|
2911
|
-
extend ActiveRecord::Enum
|
2912
|
-
extend ActiveRecord::Explain
|
2913
|
-
extend ActiveRecord::Inheritance::ClassMethods
|
2914
|
-
extend ActiveRecord::Integration::ClassMethods
|
2915
|
-
extend ActiveRecord::Locking::Optimistic::ClassMethods
|
2916
|
-
extend ActiveRecord::ModelSchema::ClassMethods
|
2917
|
-
extend ActiveRecord::NestedAttributes::ClassMethods
|
2918
|
-
extend ActiveRecord::NoTouching::ClassMethods
|
2919
|
-
extend ActiveRecord::Persistence::ClassMethods
|
2920
|
-
extend ActiveRecord::QueryCache::ClassMethods
|
2921
|
-
extend ActiveRecord::Querying
|
2922
|
-
extend ActiveRecord::ReadonlyAttributes::ClassMethods
|
2923
|
-
extend ActiveRecord::Reflection::ClassMethods
|
2924
|
-
extend ActiveRecord::Sanitization::ClassMethods
|
2925
|
-
extend ActiveRecord::Scoping::ClassMethods
|
2926
|
-
extend ActiveRecord::Scoping::Default::ClassMethods
|
2927
|
-
extend ActiveRecord::Scoping::Named::ClassMethods
|
2928
|
-
extend ActiveRecord::Store::ClassMethods
|
2929
|
-
extend ActiveRecord::Transactions::ClassMethods
|
2930
|
-
extend ActiveRecord::Translation
|
2931
|
-
extend ActiveRecord::Validations::ClassMethods
|
2932
|
-
extend ActiveSupport::Benchmarkable
|
2933
|
-
extend ActiveSupport::Callbacks::ClassMethods
|
2934
|
-
extend ActiveSupport::DescendantsTracker
|
2935
|
-
extend ActiveSupport::DescendantsTracker
|
2936
|
-
extend SorbetRails::CustomFinderMethods
|
2937
|
-
include ActiveModel::AttributeMethods
|
2938
|
-
include ActiveModel::AttributeMethods
|
2939
|
-
include ActiveModel::Conversion
|
2940
|
-
include ActiveModel::Dirty
|
2941
|
-
include ActiveModel::SecurePassword
|
2942
|
-
include ActiveModel::Serializers::JSON
|
2943
|
-
include ActiveModel::Serializers::Xml
|
2944
|
-
include ActiveModel::Validations
|
2945
|
-
include ActiveModel::Validations::Callbacks
|
2946
|
-
include ActiveModel::Validations::HelperMethods
|
2947
|
-
include ActiveRecord::Aggregations
|
2948
|
-
include ActiveRecord::Associations
|
2949
|
-
include ActiveRecord::AttributeAssignment
|
2950
|
-
include ActiveRecord::AttributeDecorators
|
2951
|
-
include ActiveRecord::AttributeMethods
|
2952
|
-
include ActiveRecord::AttributeMethods::BeforeTypeCast
|
2953
|
-
include ActiveRecord::AttributeMethods::Dirty
|
2954
|
-
include ActiveRecord::AttributeMethods::PrimaryKey
|
2955
|
-
include ActiveRecord::AttributeMethods::Query
|
2956
|
-
include ActiveRecord::AttributeMethods::Read
|
2957
|
-
include ActiveRecord::AttributeMethods::Serialization
|
2958
|
-
include ActiveRecord::AttributeMethods::TimeZoneConversion
|
2959
|
-
include ActiveRecord::AttributeMethods::Write
|
2960
|
-
include ActiveRecord::Attributes
|
2961
|
-
include ActiveRecord::AutosaveAssociation
|
2962
|
-
include ActiveRecord::Base::GeneratedAssociationMethods
|
2963
|
-
include ActiveRecord::Callbacks
|
2964
|
-
include ActiveRecord::Core
|
2965
|
-
include ActiveRecord::CounterCache
|
2966
|
-
include ActiveRecord::Inheritance
|
2967
|
-
include ActiveRecord::Integration
|
2968
|
-
include ActiveRecord::Locking::Optimistic
|
2969
|
-
include ActiveRecord::Locking::Pessimistic
|
2970
|
-
include ActiveRecord::ModelSchema
|
2971
|
-
include ActiveRecord::NestedAttributes
|
2972
|
-
include ActiveRecord::NoTouching
|
2973
|
-
include ActiveRecord::Persistence
|
2974
|
-
include ActiveRecord::ReadonlyAttributes
|
2975
|
-
include ActiveRecord::Reflection
|
2976
|
-
include ActiveRecord::Sanitization
|
2977
|
-
include ActiveRecord::Scoping
|
2978
|
-
include ActiveRecord::Scoping::Default
|
2979
|
-
include ActiveRecord::Scoping::Named
|
2980
|
-
include ActiveRecord::Serialization
|
2981
|
-
include ActiveRecord::Store
|
2982
|
-
include ActiveRecord::Timestamp
|
2983
|
-
include ActiveRecord::Transactions
|
2984
|
-
include ActiveRecord::Validations
|
2985
|
-
include ActiveSupport::Callbacks
|
2986
|
-
include ActiveSupport::Callbacks
|
2987
|
-
include Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_19
|
2988
|
-
include GlobalID::Identification
|
2989
|
-
end
|
2990
|
-
module Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_19
|
2991
|
-
def self.lock; end
|
2992
|
-
def self.locked?; end
|
2993
|
-
def self.synchronize(&block); end
|
2994
|
-
def self.try_lock; end
|
2995
|
-
def self.unlock; end
|
2996
|
-
extend Mutex_m
|
2997
|
-
end
|
2998
|
-
module ActiveRecord::Base::GeneratedAssociationMethods
|
2999
|
-
end
|
3000
|
-
class ActiveRecord::Associations::CollectionProxy < ActiveRecord::Relation
|
3001
|
-
def <<(*records); end
|
3002
|
-
def ==(other); end
|
3003
|
-
def any?(&block); end
|
3004
|
-
def append(*records); end
|
3005
|
-
def arel; end
|
3006
|
-
def average(*args, &block); end
|
3007
|
-
def build(attributes = nil, &block); end
|
3008
|
-
def calculate(*args, &block); end
|
3009
|
-
def clear; end
|
3010
|
-
def concat(*records); end
|
3011
|
-
def count(column_name = nil, options = nil); end
|
3012
|
-
def create!(attributes = nil, &block); end
|
3013
|
-
def create(attributes = nil, &block); end
|
3014
|
-
def delete(*records); end
|
3015
|
-
def delete_all(dependent = nil); end
|
3016
|
-
def destroy(*records); end
|
3017
|
-
def destroy_all; end
|
3018
|
-
def distinct; end
|
3019
|
-
def empty?; end
|
3020
|
-
def fifth(*args); end
|
3021
|
-
def find(*args, &block); end
|
3022
|
-
def find_nth(*args, &block); end
|
3023
|
-
def first(*args); end
|
3024
|
-
def forty_two(*args); end
|
3025
|
-
def fourth(*args); end
|
3026
|
-
def ids(*args, &block); end
|
3027
|
-
def include?(record); end
|
3028
|
-
def initialize(klass, association); end
|
3029
|
-
def last(*args); end
|
3030
|
-
def length; end
|
3031
|
-
def load_target; end
|
3032
|
-
def loaded?; end
|
3033
|
-
def many?(&block); end
|
3034
|
-
def maximum(*args, &block); end
|
3035
|
-
def minimum(*args, &block); end
|
3036
|
-
def new(attributes = nil, &block); end
|
3037
|
-
def pluck(*args, &block); end
|
3038
|
-
def prepend(*args); end
|
3039
|
-
def proxy_association; end
|
3040
|
-
def push(*records); end
|
3041
|
-
def reload; end
|
3042
|
-
def replace(other_array); end
|
3043
|
-
def reset; end
|
3044
|
-
def scope; end
|
3045
|
-
def scoping; end
|
3046
|
-
def second(*args); end
|
3047
|
-
def select(*fields, &block); end
|
3048
|
-
def size; end
|
3049
|
-
def spawn; end
|
3050
|
-
def sum(*args, &block); end
|
3051
|
-
def take(n = nil); end
|
3052
|
-
def target; end
|
3053
|
-
def third(*args); end
|
3054
|
-
def to_a; end
|
3055
|
-
def to_ary; end
|
3056
|
-
def uniq; end
|
3057
|
-
end
|
3058
|
-
class ActiveRecord::AssociationRelation < ActiveRecord::Relation
|
3059
|
-
def ==(other); end
|
3060
|
-
def build(*args, &block); end
|
3061
|
-
def create!(*args, &block); end
|
3062
|
-
def create(*args, &block); end
|
3063
|
-
def exec_queries; end
|
3064
|
-
def initialize(klass, table, association); end
|
3065
|
-
def new(*args, &block); end
|
3066
|
-
def proxy_association; end
|
3067
|
-
end
|
3068
|
-
class ActiveRecord::Associations::Builder::SingularAssociation < ActiveRecord::Associations::Builder::Association
|
3069
|
-
def self.define_accessors(model, reflection); end
|
3070
|
-
def self.define_constructors(mixin, name); end
|
3071
|
-
def self.define_validations(model, reflection); end
|
3072
|
-
def valid_options; end
|
3073
|
-
end
|
3074
|
-
class ActiveRecord::Associations::Builder::BelongsTo < ActiveRecord::Associations::Builder::SingularAssociation
|
3075
|
-
def macro; end
|
3076
|
-
def self.add_counter_cache_callbacks(model, reflection); end
|
3077
|
-
def self.add_counter_cache_methods(mixin); end
|
3078
|
-
def self.add_destroy_callbacks(model, reflection); end
|
3079
|
-
def self.add_touch_callbacks(model, reflection); end
|
3080
|
-
def self.define_accessors(mixin, reflection); end
|
3081
|
-
def self.define_callbacks(model, reflection); end
|
3082
|
-
def self.touch_record(o, foreign_key, name, touch); end
|
3083
|
-
def self.valid_dependent_options; end
|
3084
|
-
def valid_options; end
|
3085
|
-
end
|
3086
|
-
class ActiveRecord::Associations::Builder::HasOne < ActiveRecord::Associations::Builder::SingularAssociation
|
3087
|
-
def macro; end
|
3088
|
-
def self.add_destroy_callbacks(model, reflection); end
|
3089
|
-
def self.valid_dependent_options; end
|
3090
|
-
def valid_options; end
|
3091
|
-
end
|
3092
|
-
class ActiveRecord::Associations::Builder::CollectionAssociation < ActiveRecord::Associations::Builder::Association
|
3093
|
-
def block_extension; end
|
3094
|
-
def define_extensions(model); end
|
3095
|
-
def initialize(model, name, scope, options); end
|
3096
|
-
def self.define_callback(model, callback_name, name, options); end
|
3097
|
-
def self.define_callbacks(model, reflection); end
|
3098
|
-
def self.define_readers(mixin, name); end
|
3099
|
-
def self.define_writers(mixin, name); end
|
3100
|
-
def valid_options; end
|
3101
|
-
def wrap_scope(scope, mod); end
|
3102
|
-
end
|
3103
|
-
class ActiveRecord::Associations::Builder::HasMany < ActiveRecord::Associations::Builder::CollectionAssociation
|
3104
|
-
def macro; end
|
3105
|
-
def self.valid_dependent_options; end
|
3106
|
-
def valid_options; end
|
3107
|
-
end
|
3108
|
-
class ActiveRecord::ConnectionAdapters::TransactionState
|
3109
|
-
def committed?; end
|
3110
|
-
def completed?; end
|
3111
|
-
def finalized?; end
|
3112
|
-
def initialize(state = nil); end
|
3113
|
-
def parent; end
|
3114
|
-
def rolledback?; end
|
3115
|
-
def set_state(state); end
|
3116
|
-
end
|
3117
|
-
class ActiveRecord::ConnectionAdapters::NullTransaction
|
3118
|
-
def add_record(record); end
|
3119
|
-
def closed?; end
|
3120
|
-
def initialize; end
|
3121
|
-
def joinable?; end
|
3122
|
-
def open?; end
|
3123
|
-
end
|
3124
|
-
class ActiveRecord::ConnectionAdapters::Transaction
|
3125
|
-
def add_record(record); end
|
3126
|
-
def closed?; end
|
3127
|
-
def commit; end
|
3128
|
-
def commit_records; end
|
3129
|
-
def connection; end
|
3130
|
-
def full_rollback?; end
|
3131
|
-
def initialize(connection, options); end
|
3132
|
-
def joinable=(arg0); end
|
3133
|
-
def joinable?; end
|
3134
|
-
def open?; end
|
3135
|
-
def records; end
|
3136
|
-
def rollback; end
|
3137
|
-
def rollback_records; end
|
3138
|
-
def savepoint_name; end
|
3139
|
-
def state; end
|
3140
|
-
end
|
3141
|
-
class ActiveRecord::ConnectionAdapters::SavepointTransaction < ActiveRecord::ConnectionAdapters::Transaction
|
3142
|
-
def commit; end
|
3143
|
-
def full_rollback?; end
|
3144
|
-
def initialize(connection, savepoint_name, options); end
|
3145
|
-
def rollback; end
|
3146
|
-
end
|
3147
|
-
class ActiveRecord::ConnectionAdapters::RealTransaction < ActiveRecord::ConnectionAdapters::Transaction
|
3148
|
-
def commit; end
|
3149
|
-
def initialize(connection, options); end
|
3150
|
-
def rollback; end
|
3151
|
-
end
|
3152
|
-
class ActiveRecord::ConnectionAdapters::TransactionManager
|
3153
|
-
def begin_transaction(options = nil); end
|
3154
|
-
def commit_transaction; end
|
3155
|
-
def current_transaction; end
|
3156
|
-
def initialize(connection); end
|
3157
|
-
def open_transactions; end
|
3158
|
-
def rollback_transaction; end
|
3159
|
-
def within_new_transaction(options = nil); end
|
3160
|
-
end
|
3161
|
-
class ActiveRecord::Result
|
3162
|
-
def [](idx); end
|
3163
|
-
def cast_values(type_overrides = nil); end
|
3164
|
-
def collect!; end
|
3165
|
-
def column_type(name, type_overrides = nil); end
|
3166
|
-
def column_types; end
|
3167
|
-
def columns; end
|
3168
|
-
def each; end
|
3169
|
-
def empty?; end
|
3170
|
-
def hash_rows; end
|
3171
|
-
def initialize(columns, rows, column_types = nil); end
|
3172
|
-
def initialize_copy(other); end
|
3173
|
-
def last; end
|
3174
|
-
def length; end
|
3175
|
-
def map!; end
|
3176
|
-
def rows; end
|
3177
|
-
def to_ary; end
|
3178
|
-
def to_hash; end
|
3179
|
-
include Enumerable
|
3180
|
-
end
|
3181
|
-
class ActiveRecord::ConnectionAdapters::Column
|
3182
|
-
def ==(other); end
|
3183
|
-
def accessor(*args, &block); end
|
3184
|
-
def attributes_for_hash; end
|
3185
|
-
def binary?(*args, &block); end
|
3186
|
-
def cast_type; end
|
3187
|
-
def changed?(*args, &block); end
|
3188
|
-
def default; end
|
3189
|
-
def default_function; end
|
3190
|
-
def eql?(other); end
|
3191
|
-
def has_default?; end
|
3192
|
-
def hash; end
|
3193
|
-
def human_name; end
|
3194
|
-
def initialize(name, default, cast_type, sql_type = nil, null = nil); end
|
3195
|
-
def klass(*args, &block); end
|
3196
|
-
def limit(*args, &block); end
|
3197
|
-
def name; end
|
3198
|
-
def null; end
|
3199
|
-
def number?(*args, &block); end
|
3200
|
-
def precision(*args, &block); end
|
3201
|
-
def scale(*args, &block); end
|
3202
|
-
def sql_type; end
|
3203
|
-
def text?(*args, &block); end
|
3204
|
-
def type(*args, &block); end
|
3205
|
-
def type_cast_for_database(*args, &block); end
|
3206
|
-
def type_cast_for_schema(*args, &block); end
|
3207
|
-
def type_cast_from_database(*args, &block); end
|
3208
|
-
def type_cast_from_user(*args, &block); end
|
3209
|
-
def with_type(type); end
|
3210
|
-
end
|
3211
|
-
module ActiveRecord::ConnectionAdapters::Column::Format
|
3212
|
-
end
|
3213
|
-
class ActiveRecord::Associations::Preloader
|
3214
|
-
def grouped_records(association, records); end
|
3215
|
-
def preload(records, associations, preload_scope = nil); end
|
3216
|
-
def preloader_for(reflection, owners, rhs_klass); end
|
3217
|
-
def preloaders_for_hash(association, records, scope); end
|
3218
|
-
def preloaders_for_one(association, records, scope); end
|
3219
|
-
def preloaders_on(association, records, scope); end
|
3220
|
-
extend ActiveSupport::Autoload
|
3221
|
-
end
|
3222
|
-
class ActiveRecord::Associations::Preloader::AlreadyLoaded
|
3223
|
-
def initialize(klass, owners, reflection, preload_scope); end
|
3224
|
-
def owners; end
|
3225
|
-
def preloaded_records; end
|
3226
|
-
def reflection; end
|
3227
|
-
def run(preloader); end
|
3228
|
-
end
|
3229
|
-
class ActiveRecord::Associations::Preloader::NullPreloader
|
3230
|
-
def self.new(klass, owners, reflection, preload_scope); end
|
3231
|
-
def self.preloaded_records; end
|
3232
|
-
def self.run(preloader); end
|
3233
|
-
end
|
3234
|
-
class Wizard::ActiveRecord_Relation < ActiveRecord::Relation
|
3235
|
-
def arel_table(*args, &block); end
|
3236
|
-
end
|
3237
|
-
class ActiveRecord::SchemaMigration < ActiveRecord::Base
|
3238
|
-
def self._validators; end
|
3239
|
-
def self.attribute_type_decorations; end
|
3240
|
-
def self.create_table(limit = nil); end
|
3241
|
-
def self.defined_enums; end
|
3242
|
-
def self.drop_table; end
|
3243
|
-
def self.find_by_statement_cache; end
|
3244
|
-
def self.index_name; end
|
3245
|
-
def self.normalize_migration_number(number); end
|
3246
|
-
def self.normalized_versions; end
|
3247
|
-
def self.primary_key; end
|
3248
|
-
def self.table_exists?; end
|
3249
|
-
def self.table_name; end
|
3250
|
-
def version; end
|
3251
|
-
include ActiveRecord::SchemaMigration::GeneratedAssociationMethods
|
3252
|
-
include Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_3
|
3253
|
-
end
|
3254
|
-
module Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_3
|
3255
|
-
def self.lock; end
|
3256
|
-
def self.locked?; end
|
3257
|
-
def self.synchronize(&block); end
|
3258
|
-
def self.try_lock; end
|
3259
|
-
def self.unlock; end
|
3260
|
-
extend Mutex_m
|
3261
|
-
end
|
3262
|
-
module ActiveRecord::SchemaMigration::GeneratedAssociationMethods
|
3263
|
-
end
|
3264
|
-
class ActiveRecord::SchemaMigration::ActiveRecord_Relation < ActiveRecord::Relation
|
3265
|
-
extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
|
3266
|
-
include ActiveRecord::Delegation::ClassSpecificRelation
|
3267
|
-
end
|
3268
|
-
class ActiveRecord::SchemaMigration::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associations::CollectionProxy
|
3269
|
-
extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
|
3270
|
-
include ActiveRecord::Delegation::ClassSpecificRelation
|
3271
|
-
end
|
3272
|
-
class ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelation
|
3273
|
-
extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
|
3274
|
-
include ActiveRecord::Delegation::ClassSpecificRelation
|
3275
|
-
end
|
3276
|
-
module ActiveRecord::LegacyYamlAdapter
|
3277
|
-
def self.convert(klass, coder); end
|
3278
|
-
end
|
3279
|
-
module ActiveRecord::LegacyYamlAdapter::Rails41
|
3280
|
-
def self.convert(klass, coder); end
|
3281
|
-
end
|
3282
|
-
class ActiveRecord::FixtureSet
|
3283
|
-
def [](x); end
|
3284
|
-
def []=(k, v); end
|
3285
|
-
def add_join_records(rows, row, association); end
|
3286
|
-
def all_loaded_fixtures; end
|
3287
|
-
def all_loaded_fixtures=(obj); end
|
3288
|
-
def column_names; end
|
3289
|
-
def config; end
|
3290
|
-
def each(&block); end
|
3291
|
-
def fixtures; end
|
3292
|
-
def has_primary_key_column?; end
|
3293
|
-
def inheritance_column_name; end
|
3294
|
-
def initialize(connection, name, class_name, path, config = nil); end
|
3295
|
-
def model_class; end
|
3296
|
-
def name; end
|
3297
|
-
def primary_key_name; end
|
3298
|
-
def primary_key_type; end
|
3299
|
-
def read_fixture_files(path, model_class); end
|
3300
|
-
def self.all_loaded_fixtures; end
|
3301
|
-
def self.all_loaded_fixtures=(obj); end
|
3302
|
-
def self.cache_fixtures(connection, fixtures_map); end
|
3303
|
-
def self.cache_for_connection(connection); end
|
3304
|
-
def self.cached_fixtures(connection, keys_to_fetch = nil); end
|
3305
|
-
def self.context_class; end
|
3306
|
-
def self.create_fixtures(fixtures_directory, fixture_set_names, class_names = nil, config = nil); end
|
3307
|
-
def self.default_fixture_model_name(fixture_set_name, config = nil); end
|
3308
|
-
def self.default_fixture_table_name(fixture_set_name, config = nil); end
|
3309
|
-
def self.fixture_is_cached?(connection, table_name); end
|
3310
|
-
def self.identify(label, column_type = nil); end
|
3311
|
-
def self.instantiate_all_loaded_fixtures(object, load_instances = nil); end
|
3312
|
-
def self.instantiate_fixtures(object, fixture_set, load_instances = nil); end
|
3313
|
-
def self.reset_cache; end
|
3314
|
-
def self.update_all_loaded_fixtures(fixtures_map); end
|
3315
|
-
def size; end
|
3316
|
-
def table_name; end
|
3317
|
-
def table_rows; end
|
3318
|
-
def timestamp_column_names; end
|
3319
|
-
def yaml_file_path(path); end
|
3320
|
-
end
|
3321
|
-
class ActiveRecord::FixtureSet::File
|
3322
|
-
def each(&block); end
|
3323
|
-
def initialize(file); end
|
3324
|
-
def render(content); end
|
3325
|
-
def rows; end
|
3326
|
-
def self.open(file); end
|
3327
|
-
def validate(data); end
|
3328
|
-
include Enumerable
|
3329
|
-
end
|
3330
|
-
class ActiveRecord::FixtureClassNotFound < ActiveRecord::ActiveRecordError
|
3331
|
-
end
|
3332
|
-
class ActiveRecord::FixtureSet::ClassCache
|
3333
|
-
def [](fs_name); end
|
3334
|
-
def default_fixture_model(fs_name, config); end
|
3335
|
-
def initialize(class_names, config); end
|
3336
|
-
def insert_class(class_names, name, klass); end
|
3337
|
-
end
|
3338
|
-
class ActiveRecord::FixtureSet::ReflectionProxy
|
3339
|
-
def initialize(association); end
|
3340
|
-
def join_table; end
|
3341
|
-
def name; end
|
3342
|
-
def primary_key_type; end
|
3343
|
-
end
|
3344
|
-
class ActiveRecord::FixtureSet::HasManyThroughProxy < ActiveRecord::FixtureSet::ReflectionProxy
|
3345
|
-
def join_table; end
|
3346
|
-
def lhs_key; end
|
3347
|
-
def rhs_key; end
|
3348
|
-
end
|
3349
|
-
class ActiveRecord::Fixture
|
3350
|
-
def [](key); end
|
3351
|
-
def class_name; end
|
3352
|
-
def each; end
|
3353
|
-
def find; end
|
3354
|
-
def fixture; end
|
3355
|
-
def initialize(fixture, model_class); end
|
3356
|
-
def model_class; end
|
3357
|
-
def to_hash; end
|
3358
|
-
include Enumerable
|
3359
|
-
end
|
3360
|
-
class ActiveRecord::Fixture::FixtureError < StandardError
|
3361
|
-
end
|
3362
|
-
class ActiveRecord::Fixture::FormatError < ActiveRecord::Fixture::FixtureError
|
3363
|
-
end
|
3364
|
-
module ActiveRecord::TestFixtures
|
3365
|
-
def after_teardown; end
|
3366
|
-
def before_setup; end
|
3367
|
-
def enlist_fixture_connections; end
|
3368
|
-
def instantiate_fixtures; end
|
3369
|
-
def load_fixtures(config); end
|
3370
|
-
def load_instances?; end
|
3371
|
-
def run_in_transaction?; end
|
3372
|
-
def setup_fixtures(config = nil); end
|
3373
|
-
def teardown_fixtures; end
|
3374
|
-
extend ActiveSupport::Concern
|
3375
|
-
end
|
3376
|
-
module ActiveRecord::TestFixtures::ClassMethods
|
3377
|
-
def fixtures(*fixture_set_names); end
|
3378
|
-
def set_fixture_class(class_names = nil); end
|
3379
|
-
def setup_fixture_accessors(fixture_set_names = nil); end
|
3380
|
-
def uses_transaction(*methods); end
|
3381
|
-
def uses_transaction?(method); end
|
3382
|
-
end
|
3383
|
-
class ActiveRecord::FixtureSet::RenderContext
|
3384
|
-
def self.create_subclass; end
|
3385
|
-
end
|