sorbet-rails 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +6 -1
- data/.travis.yml +1 -1
- data/CONTRIBUTING.md +21 -12
- data/Rakefile +81 -0
- data/lib/sorbet-rails/gem_plugins/kaminari_plugin.rb +21 -0
- data/lib/sorbet-rails/tasks/rails_rbi.rake +10 -6
- data/sorbet-rails.gemspec +1 -1
- data/spec/bin/run_spec.sh +2 -2
- data/spec/generators/rails-template.rb +268 -0
- data/spec/{support/rails_shared → generators}/sorbet_test_cases.rb +0 -0
- data/spec/helper_rbi_formatter_spec.rb +1 -1
- data/spec/support/v4.2/Gemfile +3 -14
- data/spec/support/v4.2/Gemfile.lock +8 -23
- data/spec/support/v4.2/app/controllers/application_controller.rb +1 -1
- data/spec/support/v4.2/app/helpers/application_helper.rb +3 -0
- data/spec/support/v4.2/app/helpers/bar_helper.rb +3 -0
- data/spec/support/v4.2/app/helpers/baz_helper.rb +3 -0
- data/spec/support/v4.2/app/helpers/foo_helper.rb +3 -0
- data/spec/support/{rails_shared/app/controllers/concerns → v4.2/app/models}/.keep +0 -0
- data/spec/support/v4.2/app/models/application_record.rb +5 -0
- data/spec/support/{v5.0/test/controllers → v4.2/app/models/concerns}/.keep +0 -0
- data/spec/support/v4.2/app/models/concerns/mythical.rb +11 -0
- data/spec/support/v4.2/app/models/potion.rb +5 -0
- data/spec/support/v4.2/app/models/spell_book.rb +5 -0
- data/spec/support/v4.2/app/models/wand.rb +17 -0
- data/spec/support/v4.2/app/models/wizard.rb +14 -0
- data/spec/support/v4.2/config/initializers/sorbet_rails.rb +3 -0
- data/spec/support/v4.2/config/routes.rb +55 -2
- data/spec/support/v4.2/db/migrate/{20190620001234_create_wizards.rb → 20190620000001_create_wizards.rb} +0 -0
- data/spec/support/v4.2/db/migrate/{20190620003037_create_wands.rb → 20190620000002_create_wands.rb} +0 -0
- data/spec/support/v4.2/db/migrate/{20190620003739_create_spell_books.rb → 20190620000003_create_spell_books.rb} +0 -0
- data/spec/support/{rails_shared/db/migrate/20190622000000_add_more_column_types_to_wands.rb → v4.2/db/migrate/20190620000004_add_more_column_types_to_wands.rb} +4 -5
- data/spec/support/v4.2/db/schema.rb +1 -1
- data/spec/support/v4.2/lib/mythical_rbi_plugin.rb +16 -0
- data/spec/support/v4.2/sorbet/rbi/gems/actionpack.rbi +277 -279
- data/spec/support/v4.2/sorbet/rbi/gems/actionview.rbi +18 -18
- data/spec/support/v4.2/sorbet/rbi/gems/activemodel.rbi +46 -46
- data/spec/support/v4.2/sorbet/rbi/gems/activerecord.rbi +413 -410
- data/spec/support/v4.2/sorbet/rbi/gems/activesupport.rbi +58 -58
- data/spec/support/v4.2/sorbet/rbi/gems/byebug.rbi +22 -22
- data/spec/support/v4.2/sorbet/rbi/gems/mail.rbi +2 -2
- data/spec/support/v4.2/sorbet/rbi/gems/mini_mime.rbi +8 -2
- data/spec/support/v4.2/sorbet/rbi/gems/parlour.rbi +214 -0
- data/spec/support/v4.2/sorbet/rbi/gems/rails-html-sanitizer.rbi +3 -2
- data/spec/support/v4.2/sorbet/rbi/gems/railties.rbi +0 -6
- data/spec/support/v4.2/sorbet/rbi/gems/thor.rbi +2 -2
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +457 -2
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +422 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1229 -17
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +360 -9
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +32 -4
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +99 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +14 -14
- data/spec/support/v4.2/sorbet/rbi/todo.rbi +59 -1
- data/spec/support/v4.2/sorbet_test_cases.rb +123 -0
- data/spec/support/v4.2/typed-override.yaml +2 -0
- data/spec/support/v5.0/Gemfile +6 -19
- data/spec/support/v5.0/Gemfile.lock +12 -9
- data/spec/support/v5.0/app/assets/config/manifest.js +2 -0
- data/spec/support/v5.0/{test/fixtures → app/assets/images}/.keep +0 -0
- data/spec/support/v5.0/app/assets/stylesheets/application.css +15 -0
- data/spec/support/v5.0/app/controllers/application_controller.rb +4 -0
- data/spec/support/v5.0/{test/fixtures/files → app/controllers/concerns}/.keep +0 -0
- data/spec/support/v5.0/app/helpers/application_helper.rb +3 -0
- data/spec/support/v5.0/app/helpers/bar_helper.rb +3 -0
- data/spec/support/v5.0/app/helpers/baz_helper.rb +3 -0
- data/spec/support/v5.0/app/helpers/foo_helper.rb +3 -0
- data/spec/support/v5.0/app/models/application_record.rb +5 -0
- data/spec/support/v5.0/{test/integration → app/models/concerns}/.keep +0 -0
- data/spec/support/v5.0/app/models/concerns/mythical.rb +11 -0
- data/spec/support/v5.0/app/models/potion.rb +5 -0
- data/spec/support/v5.0/app/models/spell_book.rb +5 -0
- data/spec/support/v5.0/app/models/wand.rb +17 -0
- data/spec/support/v5.0/app/models/wizard.rb +14 -0
- data/spec/support/v5.0/app/views/layouts/application.html.erb +13 -0
- data/spec/support/v5.0/config/application.rb +2 -7
- data/spec/support/v5.0/config/environments/production.rb +0 -4
- data/spec/support/v5.0/config/initializers/cookies_serializer.rb +6 -0
- data/spec/support/v5.0/config/initializers/new_framework_defaults.rb +8 -0
- data/spec/support/v5.0/config/initializers/session_store.rb +4 -0
- data/spec/support/v5.0/config/initializers/sorbet_rails.rb +3 -0
- data/spec/support/v5.0/config/routes.rb +2 -2
- data/spec/support/{rails_shared/db/migrate/20190620001234_create_wizards.rb → v5.0/db/migrate/20190620000001_create_wizards.rb} +2 -1
- data/spec/support/{rails_shared/db/migrate/20190620003037_create_wands.rb → v5.0/db/migrate/20190620000002_create_wands.rb} +2 -1
- data/spec/support/{rails_shared/db/migrate/20190620003739_create_spell_books.rb → v5.0/db/migrate/20190620000003_create_spell_books.rb} +2 -1
- data/spec/support/v5.0/db/migrate/20190620000004_add_more_column_types_to_wands.rb +16 -0
- data/spec/support/v5.0/db/schema.rb +1 -1
- data/spec/support/v5.0/{test/mailers → lib/assets}/.keep +0 -0
- data/spec/support/v5.0/lib/mythical_rbi_plugin.rb +16 -0
- data/spec/support/v5.0/sorbet/rbi/gems/actionmailer.rbi +2 -50
- data/spec/support/v5.0/sorbet/rbi/gems/actionpack.rbi +533 -696
- data/spec/support/v5.0/sorbet/rbi/gems/actionview.rbi +56 -57
- data/spec/support/v5.0/sorbet/rbi/gems/activejob.rbi +0 -22
- data/spec/support/v5.0/sorbet/rbi/gems/activemodel.rbi +75 -75
- data/spec/support/v5.0/sorbet/rbi/gems/activerecord.rbi +644 -1020
- data/spec/support/v5.0/sorbet/rbi/gems/activesupport.rbi +81 -216
- data/spec/support/v5.0/sorbet/rbi/gems/arel.rbi +6 -6
- data/spec/support/v5.0/sorbet/rbi/gems/byebug.rbi +22 -22
- data/spec/support/v5.0/sorbet/rbi/gems/jbuilder.rbi +99 -0
- data/spec/support/v5.0/sorbet/rbi/gems/mail.rbi +2 -2
- data/spec/support/v5.0/sorbet/rbi/gems/mini_mime.rbi +8 -2
- data/spec/support/v5.0/sorbet/rbi/gems/nokogiri.rbi +6 -6
- data/spec/support/v5.0/sorbet/rbi/gems/parlour.rbi +214 -0
- data/spec/support/v5.0/sorbet/rbi/gems/rack.rbi +53 -98
- data/spec/support/v5.0/sorbet/rbi/gems/rails-html-sanitizer.rbi +3 -2
- data/spec/support/v5.0/sorbet/rbi/gems/railties.rbi +0 -210
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +457 -2
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +422 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1229 -17
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +360 -9
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +32 -4
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +99 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +14 -14
- data/spec/support/v5.0/sorbet/rbi/todo.rbi +62 -4
- data/spec/support/v5.0/sorbet_test_cases.rb +123 -0
- data/spec/support/v5.0/typed-override.yaml +2 -0
- data/spec/support/v5.0/{test/models → vendor/assets/stylesheets}/.keep +0 -0
- data/spec/support/v5.1/.gitignore +23 -0
- data/spec/support/v5.1/Gemfile +9 -25
- data/spec/support/v5.1/Gemfile.lock +22 -11
- data/spec/support/v5.1/app/assets/config/manifest.js +2 -0
- data/spec/support/v5.1/{test/controllers → app/assets/images}/.keep +0 -0
- data/spec/support/v5.1/app/assets/stylesheets/application.css +15 -0
- data/spec/support/v5.1/app/controllers/application_controller.rb +4 -0
- data/spec/support/v5.1/{test/fixtures → app/controllers/concerns}/.keep +0 -0
- data/spec/support/v5.1/app/helpers/application_helper.rb +3 -0
- data/spec/support/v5.1/app/helpers/bar_helper.rb +3 -0
- data/spec/support/v5.1/app/helpers/baz_helper.rb +3 -0
- data/spec/support/v5.1/app/helpers/foo_helper.rb +3 -0
- data/spec/support/v5.1/app/models/application_record.rb +5 -0
- data/spec/support/v5.1/{test/fixtures/files → app/models/concerns}/.keep +0 -0
- data/spec/support/v5.1/app/models/concerns/mythical.rb +11 -0
- data/spec/support/v5.1/app/models/potion.rb +5 -0
- data/spec/support/v5.1/app/models/spell_book.rb +5 -0
- data/spec/support/v5.1/app/models/wand.rb +17 -0
- data/spec/support/v5.1/app/models/wizard.rb +14 -0
- data/spec/support/v5.1/app/views/layouts/application.html.erb +13 -0
- data/spec/support/v5.1/bin/setup +3 -0
- data/spec/support/v5.1/bin/yarn +11 -0
- data/spec/support/v5.1/config/application.rb +5 -7
- data/spec/support/v5.1/config/environments/production.rb +1 -5
- data/spec/support/v5.1/config/initializers/cookies_serializer.rb +6 -0
- data/spec/support/v5.1/config/initializers/sorbet_rails.rb +3 -0
- data/spec/support/v5.1/config/routes.rb +5 -0
- data/spec/support/v5.1/db/migrate/20190620000001_create_wizards.rb +13 -0
- data/spec/support/v5.1/db/migrate/20190620000002_create_wands.rb +12 -0
- data/spec/support/v5.1/db/migrate/20190620000003_create_spell_books.rb +9 -0
- data/spec/support/v5.1/db/migrate/20190620000004_add_more_column_types_to_wands.rb +16 -0
- data/spec/support/v5.1/db/schema.rb +1 -1
- data/spec/support/v5.1/{test/integration → lib/assets}/.keep +0 -0
- data/spec/support/v5.1/lib/mythical_rbi_plugin.rb +16 -0
- data/spec/support/v5.1/package.json +5 -0
- data/spec/support/v5.1/sorbet/rbi/gems/actionmailer.rbi +2 -49
- data/spec/support/v5.1/sorbet/rbi/gems/actionpack.rbi +588 -732
- data/spec/support/v5.1/sorbet/rbi/gems/actionview.rbi +123 -124
- data/spec/support/v5.1/sorbet/rbi/gems/activejob.rbi +0 -35
- data/spec/support/v5.1/sorbet/rbi/gems/activemodel.rbi +68 -68
- data/spec/support/v5.1/sorbet/rbi/gems/activerecord.rbi +501 -651
- data/spec/support/v5.1/sorbet/rbi/gems/activesupport.rbi +80 -218
- data/spec/support/v5.1/sorbet/rbi/gems/bindex.rbi +36 -0
- data/spec/support/v5.1/sorbet/rbi/gems/byebug.rbi +22 -22
- data/spec/support/v5.1/sorbet/rbi/gems/jbuilder.rbi +99 -0
- data/spec/support/v5.1/sorbet/rbi/gems/mail.rbi +2 -2
- data/spec/support/v5.1/sorbet/rbi/gems/mini_mime.rbi +8 -2
- data/spec/support/v5.1/sorbet/rbi/gems/nokogiri.rbi +6 -6
- data/spec/support/v5.1/sorbet/rbi/gems/parlour.rbi +214 -0
- data/spec/support/v5.1/sorbet/rbi/gems/rack.rbi +53 -98
- data/spec/support/v5.1/sorbet/rbi/gems/rails-html-sanitizer.rbi +3 -2
- data/spec/support/v5.1/sorbet/rbi/gems/railties.rbi +0 -209
- data/spec/support/v5.1/sorbet/rbi/gems/sqlite3.rbi +13 -5
- data/spec/support/{v4.2 → v5.1}/sorbet/rbi/gems/web-console.rbi +10 -73
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +457 -2
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +422 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1229 -17
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +360 -9
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +32 -4
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +99 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +14 -14
- data/spec/support/v5.1/sorbet/rbi/todo.rbi +59 -2
- data/spec/support/v5.1/sorbet_test_cases.rb +123 -0
- data/spec/support/v5.1/typed-override.yaml +2 -0
- data/spec/support/v5.2-no-sorbet/.gitignore +31 -0
- data/spec/support/v5.2-no-sorbet/Gemfile +12 -28
- data/spec/support/v5.2-no-sorbet/Gemfile.lock +24 -10
- data/spec/support/v5.2-no-sorbet/app/assets/config/manifest.js +2 -0
- data/spec/support/{v5.1/test/mailers → v5.2-no-sorbet/app/assets/images}/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/app/assets/stylesheets/application.css +15 -0
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/controllers/application_controller.rb +0 -0
- data/spec/support/{v5.1/test/models → v5.2-no-sorbet/app/controllers/concerns}/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/app/helpers/application_helper.rb +2 -0
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/helpers/bar_helper.rb +0 -0
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/helpers/baz_helper.rb +0 -0
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/helpers/foo_helper.rb +0 -0
- data/spec/support/v5.2-no-sorbet/app/jobs/application_job.rb +0 -1
- data/spec/support/v5.2-no-sorbet/app/mailers/application_mailer.rb +0 -1
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/models/application_record.rb +0 -1
- data/spec/support/v5.2-no-sorbet/{test/controllers → app/models/concerns}/.keep +0 -0
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/models/concerns/mythical.rb +1 -1
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/models/potion.rb +0 -1
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/models/spell_book.rb +0 -2
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/models/wand.rb +0 -0
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/models/wizard.rb +0 -1
- data/spec/support/v5.2-no-sorbet/app/views/layouts/application.html.erb +14 -0
- data/spec/support/v5.2-no-sorbet/bin/setup +3 -0
- data/spec/support/v5.2-no-sorbet/bin/update +3 -0
- data/spec/support/v5.2-no-sorbet/bin/yarn +11 -0
- data/spec/support/v5.2-no-sorbet/config/application.rb +5 -8
- data/spec/support/v5.2-no-sorbet/config/boot.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/environment.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/environments/development.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/environments/production.rb +1 -7
- data/spec/support/v5.2-no-sorbet/config/environments/test.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/initializers/application_controller_renderer.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/initializers/backtrace_silencers.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/initializers/content_security_policy.rb +25 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/cookies_serializer.rb +5 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/filter_parameter_logging.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/initializers/inflections.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/initializers/mime_types.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/initializers/sorbet_rails.rb +3 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/wrap_parameters.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/puma.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/routes.rb +4 -0
- data/spec/support/v5.2-no-sorbet/db/migrate/20190620000001_create_wizards.rb +12 -0
- data/spec/support/v5.2-no-sorbet/db/migrate/20190620000002_create_wands.rb +11 -0
- data/spec/support/v5.2-no-sorbet/db/migrate/20190620000003_create_spell_books.rb +8 -0
- data/spec/support/{v4.2/db/migrate/20190622000000_add_more_column_types_to_wands.rb → v5.2-no-sorbet/db/migrate/20190620000004_add_more_column_types_to_wands.rb} +6 -2
- data/spec/support/v5.2-no-sorbet/db/schema.rb +1 -2
- data/spec/support/v5.2-no-sorbet/db/seeds.rb +0 -1
- data/spec/support/v5.2-no-sorbet/{test/fixtures → lib/assets}/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/lib/mythical_rbi_plugin.rb +16 -0
- data/spec/support/v5.2-no-sorbet/package.json +5 -0
- data/spec/support/v5.2-no-sorbet/sorbet_test_cases.rb +123 -0
- data/spec/support/v5.2-no-sorbet/typed-override.yaml +2 -0
- data/spec/support/v5.2/.gitignore +31 -0
- data/spec/support/v5.2/Gemfile +12 -28
- data/spec/support/v5.2/Gemfile.lock +24 -10
- data/spec/support/v5.2/app/assets/config/manifest.js +2 -0
- data/spec/support/{v5.2-no-sorbet/test/fixtures/files → v5.2/app/assets/images}/.keep +0 -0
- data/spec/support/v5.2/app/assets/stylesheets/application.css +15 -0
- data/spec/support/v5.2/app/controllers/application_controller.rb +3 -0
- data/spec/support/{v5.2-no-sorbet/test/integration → v5.2/app/controllers/concerns}/.keep +0 -0
- data/spec/support/v5.2/app/helpers/application_helper.rb +3 -0
- data/spec/support/v5.2/app/helpers/bar_helper.rb +3 -0
- data/spec/support/v5.2/app/helpers/baz_helper.rb +3 -0
- data/spec/support/v5.2/app/helpers/foo_helper.rb +3 -0
- data/spec/support/v5.2/app/models/application_record.rb +5 -0
- data/spec/support/{v5.2-no-sorbet/test/mailers → v5.2/app/models/concerns}/.keep +0 -0
- data/spec/support/v5.2/app/models/concerns/mythical.rb +11 -0
- data/spec/support/v5.2/app/models/potion.rb +5 -0
- data/spec/support/v5.2/app/models/spell_book.rb +5 -0
- data/spec/support/v5.2/app/models/wand.rb +17 -0
- data/spec/support/v5.2/app/models/wizard.rb +14 -0
- data/spec/support/v5.2/app/views/layouts/application.html.erb +14 -0
- data/spec/support/v5.2/bin/setup +3 -0
- data/spec/support/v5.2/bin/update +3 -0
- data/spec/support/v5.2/bin/yarn +11 -0
- data/spec/support/v5.2/config/application.rb +5 -7
- data/spec/support/v5.2/config/environments/production.rb +1 -6
- data/spec/support/v5.2/config/initializers/content_security_policy.rb +26 -0
- data/spec/support/v5.2/config/initializers/cookies_serializer.rb +6 -0
- data/spec/support/v5.2/config/initializers/sorbet_rails.rb +3 -0
- data/spec/support/v5.2/config/routes.rb +5 -0
- data/spec/support/v5.2/db/migrate/20190620000001_create_wizards.rb +13 -0
- data/spec/support/v5.2/db/migrate/20190620000002_create_wands.rb +12 -0
- data/spec/support/v5.2/db/migrate/20190620000003_create_spell_books.rb +9 -0
- data/spec/support/v5.2/db/migrate/20190620000004_add_more_column_types_to_wands.rb +16 -0
- data/spec/support/v5.2/db/schema.rb +1 -1
- data/spec/support/{v5.2-no-sorbet/test/models → v5.2/lib/assets}/.keep +0 -0
- data/spec/support/v5.2/lib/mythical_rbi_plugin.rb +16 -0
- data/spec/support/v5.2/package.json +5 -0
- data/spec/support/v5.2/sorbet/rbi/gems/actionmailer.rbi +2 -50
- data/spec/support/v5.2/sorbet/rbi/gems/actionpack.rbi +504 -640
- data/spec/support/v5.2/sorbet/rbi/gems/actionview.rbi +123 -124
- data/spec/support/v5.2/sorbet/rbi/gems/activejob.rbi +0 -37
- data/spec/support/v5.2/sorbet/rbi/gems/activemodel.rbi +70 -69
- data/spec/support/v5.2/sorbet/rbi/gems/activerecord.rbi +521 -690
- data/spec/support/v5.2/sorbet/rbi/gems/activesupport.rbi +93 -235
- data/spec/support/v5.2/sorbet/rbi/gems/arel.rbi +4 -0
- data/spec/support/v5.2/sorbet/rbi/gems/bindex.rbi +36 -0
- data/spec/support/v5.2/sorbet/rbi/gems/byebug.rbi +22 -22
- data/spec/support/v5.2/sorbet/rbi/gems/concurrent-ruby.rbi +4 -0
- data/spec/support/v5.2/sorbet/rbi/gems/jbuilder.rbi +99 -0
- data/spec/support/v5.2/sorbet/rbi/gems/mail.rbi +2 -2
- data/spec/support/v5.2/sorbet/rbi/gems/mini_mime.rbi +8 -2
- data/spec/support/v5.2/sorbet/rbi/gems/nokogiri.rbi +10 -6
- data/spec/support/v5.2/sorbet/rbi/gems/parlour.rbi +214 -0
- data/spec/support/v5.2/sorbet/rbi/gems/rack.rbi +57 -98
- data/spec/support/v5.2/sorbet/rbi/gems/rails-html-sanitizer.rbi +3 -2
- data/spec/support/v5.2/sorbet/rbi/gems/railties.rbi +1 -215
- data/spec/support/v5.2/sorbet/rbi/gems/web-console.rbi +73 -0
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +457 -2
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +422 -0
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activerecord/>=5.2/activerecord.rbi +17 -0
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1229 -17
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activerecord/{~>5.2 → ~>5.2.0}/activerecord.rbi +1 -1
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +360 -9
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +32 -4
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +99 -0
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +14 -14
- data/spec/support/v5.2/sorbet/rbi/todo.rbi +59 -2
- data/spec/support/v5.2/sorbet_test_cases.rb +123 -0
- data/spec/support/v5.2/typed-override.yaml +2 -0
- data/spec/support/v6.0/.gitignore +2 -0
- data/spec/support/v6.0/Gemfile +8 -17
- data/spec/support/v6.0/Gemfile.lock +19 -6
- data/spec/support/v6.0/app/assets/config/manifest.js +2 -0
- data/spec/support/{v5.2/sorbet → v6.0/app/assets/images}/.keep +0 -0
- data/spec/support/v6.0/app/assets/stylesheets/application.css +15 -0
- data/spec/support/v6.0/app/controllers/application_controller.rb +3 -0
- data/spec/support/{v5.2/test/controllers → v6.0/app/controllers/concerns}/.keep +0 -0
- data/spec/support/v6.0/app/helpers/application_helper.rb +3 -0
- data/spec/support/v6.0/app/helpers/bar_helper.rb +3 -0
- data/spec/support/v6.0/app/helpers/baz_helper.rb +3 -0
- data/spec/support/v6.0/app/helpers/foo_helper.rb +3 -0
- data/spec/support/v6.0/app/models/application_record.rb +5 -0
- data/spec/support/{v5.2/test/fixtures → v6.0/app/models/concerns}/.keep +0 -0
- data/spec/support/v6.0/app/models/concerns/mythical.rb +11 -0
- data/spec/support/v6.0/app/models/potion.rb +5 -0
- data/spec/support/v6.0/app/models/spell_book.rb +5 -0
- data/spec/support/v6.0/app/models/wand.rb +17 -0
- data/spec/support/v6.0/app/models/wizard.rb +14 -0
- data/spec/support/v6.0/app/views/layouts/application.html.erb +14 -0
- data/spec/support/v6.0/config/application.rb +4 -6
- data/spec/support/v6.0/config/database.yml +1 -1
- data/spec/support/v6.0/config/environments/development.rb +3 -0
- data/spec/support/v6.0/config/environments/production.rb +1 -5
- data/spec/support/v6.0/config/initializers/content_security_policy.rb +29 -0
- data/spec/support/v6.0/config/initializers/cookies_serializer.rb +6 -0
- data/spec/support/v6.0/config/initializers/sorbet_rails.rb +3 -0
- data/spec/support/v6.0/config/routes.rb +2 -2
- data/spec/support/v6.0/db/migrate/20190620000001_create_wizards.rb +13 -0
- data/spec/support/v6.0/db/migrate/20190620000002_create_wands.rb +12 -0
- data/spec/support/v6.0/db/migrate/20190620000003_create_spell_books.rb +9 -0
- data/spec/support/v6.0/db/migrate/20190620000004_add_more_column_types_to_wands.rb +16 -0
- data/spec/support/v6.0/db/schema.rb +1 -1
- data/spec/support/{v5.2/test/fixtures/files → v6.0/lib/assets}/.keep +0 -0
- data/spec/support/v6.0/lib/mythical_rbi_plugin.rb +16 -0
- data/spec/support/v6.0/public/robots.txt +1 -1
- data/spec/support/v6.0/sorbet/rbi/gems/actionmailbox.rbi +1 -1
- data/spec/support/v6.0/sorbet/rbi/gems/actionmailer.rbi +1 -50
- data/spec/support/v6.0/sorbet/rbi/gems/actionpack.rbi +232 -479
- data/spec/support/v6.0/sorbet/rbi/gems/actiontext.rbi +1 -1
- data/spec/support/v6.0/sorbet/rbi/gems/actionview.rbi +179 -77
- data/spec/support/v6.0/sorbet/rbi/gems/activejob.rbi +1 -283
- data/spec/support/v6.0/sorbet/rbi/gems/activemodel.rbi +71 -70
- data/spec/support/v6.0/sorbet/rbi/gems/activerecord.rbi +705 -843
- data/spec/support/v6.0/sorbet/rbi/gems/activestorage.rbi +5 -1
- data/spec/support/v6.0/sorbet/rbi/gems/activesupport.rbi +121 -300
- data/spec/support/v6.0/sorbet/rbi/gems/bindex.rbi +36 -0
- data/spec/support/v6.0/sorbet/rbi/gems/byebug.rbi +22 -22
- data/spec/support/v6.0/sorbet/rbi/gems/jbuilder.rbi +99 -0
- data/spec/support/v6.0/sorbet/rbi/gems/mail.rbi +1 -1
- data/spec/support/v6.0/sorbet/rbi/gems/mini_mime.rbi +8 -2
- data/spec/support/v6.0/sorbet/rbi/gems/parlour.rbi +214 -0
- data/spec/support/v6.0/sorbet/rbi/gems/rack.rbi +54 -95
- data/spec/support/v6.0/sorbet/rbi/gems/rails-html-sanitizer.rbi +3 -2
- data/spec/support/v6.0/sorbet/rbi/gems/railties.rbi +9 -221
- data/spec/support/v6.0/sorbet/rbi/gems/web-console.rbi +72 -0
- data/spec/support/v6.0/sorbet/rbi/gems/zeitwerk.rbi +12 -4
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +457 -2
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +422 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activerecord/>=5.2/activerecord.rbi +17 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1229 -17
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activerecord/~>6.0.0.rc1/activerecord.rbi +10 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +23 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +361 -10
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +32 -4
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +99 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +14 -14
- data/spec/support/v6.0/sorbet/rbi/todo.rbi +59 -0
- data/spec/support/v6.0/sorbet_test_cases.rb +123 -0
- data/spec/support/v6.0/typed-override.yaml +2 -0
- data/spec/test_data/v4.2/expected_helpers.rbi +5 -0
- data/spec/test_data/v5.0/expected_helpers.rbi +5 -0
- data/spec/test_data/v5.1/expected_helpers.rbi +5 -0
- data/spec/test_data/v5.2-no-sorbet/expected_helpers.rbi +5 -0
- data/spec/test_data/v5.2/expected_helpers.rbi +5 -0
- data/spec/test_data/v6.0/expected_helpers.rbi +5 -0
- data/spec/test_data/v6.0/expected_routes.rbi +12 -0
- metadata +356 -317
- data/spec/support/rails_shared/config/initializers/sorbet_rails.rb +0 -3
- data/spec/support/rails_shared/config/routes.rb +0 -6
- data/spec/support/rails_shared/lib/mythical_rbi_plugin.rb +0 -16
- data/spec/support/rails_shared/typed-override.yaml +0 -2
- data/spec/support/rails_symlinks/app/controllers +0 -1
- data/spec/support/rails_symlinks/app/helpers +0 -1
- data/spec/support/rails_symlinks/app/models +0 -1
- data/spec/support/rails_symlinks/config/initializers/sorbet_rails.rb +0 -1
- data/spec/support/rails_symlinks/config/routes.rb +0 -5
- data/spec/support/rails_symlinks/db/migrate +0 -1
- data/spec/support/rails_symlinks/lib/mythical_rbi_plugin.rb +0 -1
- data/spec/support/rails_symlinks/sorbet_test_cases.rb +0 -1
- data/spec/support/rails_symlinks/typed-override.yaml +0 -1
- data/spec/support/v4.2/app/helpers +0 -1
- data/spec/support/v4.2/app/models +0 -1
- data/spec/support/v4.2/config/initializers/sorbet_rails.rb +0 -1
- data/spec/support/v4.2/config/secrets.yml +0 -22
- data/spec/support/v4.2/lib/mythical_rbi_plugin.rb +0 -1
- data/spec/support/v4.2/sorbet/rbi/gems/binding_of_caller.rbi +0 -22
- data/spec/support/v4.2/sorbet/rbi/gems/debug_inspector.rbi +0 -18
- data/spec/support/v4.2/sorbet/rbi/gems/rdoc.rbi +0 -1053
- data/spec/support/v4.2/sorbet/rbi/gems/sdoc.rbi +0 -73
- data/spec/support/v4.2/sorbet_test_cases.rb +0 -1
- data/spec/support/v4.2/typed-override.yaml +0 -1
- data/spec/support/v5.0/app/channels/application_cable/channel.rb +0 -5
- data/spec/support/v5.0/app/channels/application_cable/connection.rb +0 -5
- data/spec/support/v5.0/app/controllers +0 -1
- data/spec/support/v5.0/app/helpers +0 -1
- data/spec/support/v5.0/app/models +0 -1
- data/spec/support/v5.0/config/cable.yml +0 -9
- data/spec/support/v5.0/config/initializers/cors.rb +0 -17
- data/spec/support/v5.0/config/initializers/sorbet_rails.rb +0 -1
- data/spec/support/v5.0/config/secrets.yml +0 -22
- data/spec/support/v5.0/db/migrate +0 -1
- data/spec/support/v5.0/lib/mythical_rbi_plugin.rb +0 -1
- data/spec/support/v5.0/rails_symlinks/app/controllers +0 -1
- data/spec/support/v5.0/rails_symlinks/app/models +0 -1
- data/spec/support/v5.0/rails_symlinks/config/routes.rb +0 -6
- data/spec/support/v5.0/rails_symlinks/db/migrate +0 -1
- data/spec/support/v5.0/sorbet/rbi/gems/actioncable.rbi +0 -309
- data/spec/support/v5.0/sorbet/rbi/gems/method_source.rbi +0 -63
- data/spec/support/v5.0/sorbet/rbi/gems/minitest.rbi +0 -276
- data/spec/support/v5.0/sorbet/rbi/gems/rails-dom-testing.rbi +0 -67
- data/spec/support/v5.0/sorbet/rbi/gems/rake.rbi +0 -255
- data/spec/support/v5.0/sorbet/rbi/gems/thor.rbi +0 -401
- data/spec/support/v5.0/sorbet_test_cases.rb +0 -1
- data/spec/support/v5.0/test/test_helper.rb +0 -11
- data/spec/support/v5.0/typed-override.yaml +0 -1
- data/spec/support/v5.1/app/channels/application_cable/channel.rb +0 -5
- data/spec/support/v5.1/app/channels/application_cable/connection.rb +0 -5
- data/spec/support/v5.1/app/controllers +0 -1
- data/spec/support/v5.1/app/helpers +0 -1
- data/spec/support/v5.1/app/models +0 -1
- data/spec/support/v5.1/bin/spring +0 -17
- data/spec/support/v5.1/config/cable.yml +0 -10
- data/spec/support/v5.1/config/initializers/cors.rb +0 -17
- data/spec/support/v5.1/config/initializers/sorbet_rails.rb +0 -1
- data/spec/support/v5.1/config/routes.rb +0 -1
- data/spec/support/v5.1/config/secrets.yml +0 -32
- data/spec/support/v5.1/config/spring.rb +0 -7
- data/spec/support/v5.1/db/migrate +0 -1
- data/spec/support/v5.1/lib/mythical_rbi_plugin.rb +0 -1
- data/spec/support/v5.1/sorbet/rbi/gems/actioncable.rbi +0 -309
- data/spec/support/v5.1/sorbet/rbi/gems/method_source.rbi +0 -63
- data/spec/support/v5.1/sorbet/rbi/gems/minitest.rbi +0 -276
- data/spec/support/v5.1/sorbet/rbi/gems/rails-dom-testing.rbi +0 -67
- data/spec/support/v5.1/sorbet/rbi/gems/rake.rbi +0 -255
- data/spec/support/v5.1/sorbet/rbi/gems/thor.rbi +0 -450
- data/spec/support/v5.1/sorbet_test_cases.rb +0 -1
- data/spec/support/v5.1/test/test_helper.rb +0 -11
- data/spec/support/v5.1/typed-override.yaml +0 -1
- data/spec/support/v5.2-no-sorbet/app/channels/application_cable/channel.rb +0 -5
- data/spec/support/v5.2-no-sorbet/app/channels/application_cable/connection.rb +0 -5
- data/spec/support/v5.2-no-sorbet/app/controllers +0 -1
- data/spec/support/v5.2-no-sorbet/app/helpers +0 -1
- data/spec/support/v5.2-no-sorbet/app/models +0 -1
- data/spec/support/v5.2-no-sorbet/bin/spring +0 -17
- data/spec/support/v5.2-no-sorbet/config/cable.yml +0 -10
- data/spec/support/v5.2-no-sorbet/config/credentials.yml.enc +0 -1
- data/spec/support/v5.2-no-sorbet/config/initializers/cors.rb +0 -17
- data/spec/support/v5.2-no-sorbet/config/initializers/sorbet_rails.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/routes.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/spring.rb +0 -7
- data/spec/support/v5.2-no-sorbet/db/migrate +0 -1
- data/spec/support/v5.2-no-sorbet/lib/mythical_rbi_plugin.rb +0 -1
- data/spec/support/v5.2-no-sorbet/sorbet_test_cases.rb +0 -1
- data/spec/support/v5.2-no-sorbet/test/test_helper.rb +0 -11
- data/spec/support/v5.2-no-sorbet/typed-override.yaml +0 -1
- data/spec/support/v5.2/app/channels/application_cable/channel.rb +0 -5
- data/spec/support/v5.2/app/channels/application_cable/connection.rb +0 -5
- data/spec/support/v5.2/app/controllers +0 -1
- data/spec/support/v5.2/app/helpers +0 -1
- data/spec/support/v5.2/app/models +0 -1
- data/spec/support/v5.2/bin/spring +0 -17
- data/spec/support/v5.2/config/cable.yml +0 -10
- data/spec/support/v5.2/config/credentials.yml.enc +0 -1
- data/spec/support/v5.2/config/initializers/cors.rb +0 -17
- data/spec/support/v5.2/config/initializers/sorbet_rails.rb +0 -1
- data/spec/support/v5.2/config/routes.rb +0 -1
- data/spec/support/v5.2/config/spring.rb +0 -7
- data/spec/support/v5.2/db/migrate +0 -1
- data/spec/support/v5.2/lib/mythical_rbi_plugin.rb +0 -1
- data/spec/support/v5.2/sorbet/rbi/gems/actioncable.rbi +0 -309
- data/spec/support/v5.2/sorbet/rbi/gems/method_source.rbi +0 -63
- data/spec/support/v5.2/sorbet/rbi/gems/minitest.rbi +0 -276
- data/spec/support/v5.2/sorbet/rbi/gems/rails-dom-testing.rbi +0 -67
- data/spec/support/v5.2/sorbet/rbi/gems/rake.rbi +0 -251
- data/spec/support/v5.2/sorbet/rbi/gems/thor.rbi +0 -449
- data/spec/support/v5.2/sorbet_test_cases.rb +0 -1
- data/spec/support/v5.2/test/integration/.keep +0 -0
- data/spec/support/v5.2/test/mailers/.keep +0 -0
- data/spec/support/v5.2/test/models/.keep +0 -0
- data/spec/support/v5.2/test/test_helper.rb +0 -11
- data/spec/support/v5.2/typed-override.yaml +0 -1
- data/spec/support/v6.0/app/channels/application_cable/channel.rb +0 -5
- data/spec/support/v6.0/app/channels/application_cable/connection.rb +0 -5
- data/spec/support/v6.0/app/controllers +0 -1
- data/spec/support/v6.0/app/helpers +0 -1
- data/spec/support/v6.0/app/models +0 -1
- data/spec/support/v6.0/config/cable.yml +0 -10
- data/spec/support/v6.0/config/credentials.yml.enc +0 -1
- data/spec/support/v6.0/config/initializers/cors.rb +0 -17
- data/spec/support/v6.0/config/initializers/sorbet_rails.rb +0 -1
- data/spec/support/v6.0/db/migrate +0 -1
- data/spec/support/v6.0/lib/mythical_rbi_plugin.rb +0 -1
- data/spec/support/v6.0/sorbet/rbi/gems/actioncable.rbi +0 -245
- data/spec/support/v6.0/sorbet/rbi/gems/method_source.rbi +0 -63
- data/spec/support/v6.0/sorbet/rbi/gems/minitest.rbi +0 -276
- data/spec/support/v6.0/sorbet/rbi/gems/rails-dom-testing.rbi +0 -67
- data/spec/support/v6.0/sorbet/rbi/gems/rake.rbi +0 -254
- data/spec/support/v6.0/sorbet/rbi/gems/thor.rbi +0 -450
- data/spec/support/v6.0/sorbet_test_cases.rb +0 -1
- data/spec/support/v6.0/test/channels/application_cable/connection_test.rb +0 -12
- data/spec/support/v6.0/test/controllers/.keep +0 -0
- data/spec/support/v6.0/test/fixtures/.keep +0 -0
- data/spec/support/v6.0/test/fixtures/files/.keep +0 -0
- data/spec/support/v6.0/test/integration/.keep +0 -0
- data/spec/support/v6.0/test/mailers/.keep +0 -0
- data/spec/support/v6.0/test/models/.keep +0 -0
- data/spec/support/v6.0/test/test_helper.rb +0 -14
- data/spec/support/v6.0/typed-override.yaml +0 -1
@@ -575,6 +575,7 @@ class ActiveRecord::Migration::ReversibleBlockHelper < Struct
|
|
575
575
|
def reverting; end
|
576
576
|
def reverting=(_); end
|
577
577
|
def self.[](*arg0); end
|
578
|
+
def self.inspect; end
|
578
579
|
def self.members; end
|
579
580
|
def self.new(*arg0); end
|
580
581
|
def up; end
|
@@ -595,6 +596,7 @@ class ActiveRecord::MigrationProxy < Struct
|
|
595
596
|
def scope; end
|
596
597
|
def scope=(_); end
|
597
598
|
def self.[](*arg0); end
|
599
|
+
def self.inspect; end
|
598
600
|
def self.members; end
|
599
601
|
def self.new(*arg0); end
|
600
602
|
def version; end
|
@@ -816,6 +818,7 @@ end
|
|
816
818
|
class ActiveRecord::Scoping::ScopeRegistry
|
817
819
|
def initialize; end
|
818
820
|
def raise_invalid_scope_type!(scope_type); end
|
821
|
+
def self.value_for(*args, &block); end
|
819
822
|
def set_value_for(scope_type, model, value); end
|
820
823
|
def value_for(scope_type, model, skip_inherited_scope = nil); end
|
821
824
|
extend ActiveSupport::PerThreadRegistry
|
@@ -887,6 +890,7 @@ class ActiveRecord::ExplainRegistry
|
|
887
890
|
def queries; end
|
888
891
|
def queries=(arg0); end
|
889
892
|
def reset; end
|
893
|
+
def self.collect?(*args, &block); end
|
890
894
|
extend ActiveSupport::PerThreadRegistry
|
891
895
|
end
|
892
896
|
class ActiveRecord::ExplainSubscriber
|
@@ -2091,6 +2095,7 @@ class ActiveRecord::Reflection::AbstractReflection::JoinKeys < Struct
|
|
2091
2095
|
def key; end
|
2092
2096
|
def key=(_); end
|
2093
2097
|
def self.[](*arg0); end
|
2098
|
+
def self.inspect; end
|
2094
2099
|
def self.members; end
|
2095
2100
|
def self.new(*arg0); end
|
2096
2101
|
end
|
@@ -2400,6 +2405,7 @@ class ActiveRecord::ConnectionAdapters::ColumnDefinition < Struct
|
|
2400
2405
|
def scale; end
|
2401
2406
|
def scale=(value); end
|
2402
2407
|
def self.[](*arg0); end
|
2408
|
+
def self.inspect; end
|
2403
2409
|
def self.members; end
|
2404
2410
|
def self.new(*arg0); end
|
2405
2411
|
def sql_type; end
|
@@ -2411,6 +2417,7 @@ class ActiveRecord::ConnectionAdapters::AddColumnDefinition < Struct
|
|
2411
2417
|
def column; end
|
2412
2418
|
def column=(_); end
|
2413
2419
|
def self.[](*arg0); end
|
2420
|
+
def self.inspect; end
|
2414
2421
|
def self.members; end
|
2415
2422
|
def self.new(*arg0); end
|
2416
2423
|
end
|
@@ -2420,6 +2427,7 @@ class ActiveRecord::ConnectionAdapters::ChangeColumnDefinition < Struct
|
|
2420
2427
|
def name; end
|
2421
2428
|
def name=(_); end
|
2422
2429
|
def self.[](*arg0); end
|
2430
|
+
def self.inspect; end
|
2423
2431
|
def self.members; end
|
2424
2432
|
def self.new(*arg0); end
|
2425
2433
|
end
|
@@ -2427,6 +2435,7 @@ class ActiveRecord::ConnectionAdapters::PrimaryKeyDefinition < Struct
|
|
2427
2435
|
def name; end
|
2428
2436
|
def name=(_); end
|
2429
2437
|
def self.[](*arg0); end
|
2438
|
+
def self.inspect; end
|
2430
2439
|
def self.members; end
|
2431
2440
|
def self.new(*arg0); end
|
2432
2441
|
end
|
@@ -2444,6 +2453,7 @@ class ActiveRecord::ConnectionAdapters::ForeignKeyDefinition < Struct
|
|
2444
2453
|
def options=(_); end
|
2445
2454
|
def primary_key; end
|
2446
2455
|
def self.[](*arg0); end
|
2456
|
+
def self.inspect; end
|
2447
2457
|
def self.members; end
|
2448
2458
|
def self.new(*arg0); end
|
2449
2459
|
def to_table; end
|
@@ -2640,381 +2650,6 @@ end
|
|
2640
2650
|
class ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer < ActiveModel::Type::Integer
|
2641
2651
|
def _limit; end
|
2642
2652
|
end
|
2643
|
-
class ActiveRecord::Base
|
2644
|
-
def __callbacks; end
|
2645
|
-
def __callbacks?; end
|
2646
|
-
def _before_commit_callbacks; end
|
2647
|
-
def _before_commit_without_transaction_enrollment_callbacks; end
|
2648
|
-
def _commit_callbacks; end
|
2649
|
-
def _commit_without_transaction_enrollment_callbacks; end
|
2650
|
-
def _create_callbacks; end
|
2651
|
-
def _destroy_callbacks; end
|
2652
|
-
def _find_callbacks; end
|
2653
|
-
def _initialize_callbacks; end
|
2654
|
-
def _reflections; end
|
2655
|
-
def _reflections?; end
|
2656
|
-
def _rollback_callbacks; end
|
2657
|
-
def _rollback_without_transaction_enrollment_callbacks; end
|
2658
|
-
def _run_before_commit_callbacks(&block); end
|
2659
|
-
def _run_before_commit_without_transaction_enrollment_callbacks(&block); end
|
2660
|
-
def _run_commit_callbacks(&block); end
|
2661
|
-
def _run_commit_without_transaction_enrollment_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_rollback_without_transaction_enrollment_callbacks(&block); end
|
2668
|
-
def _run_save_callbacks(&block); end
|
2669
|
-
def _run_touch_callbacks(&block); end
|
2670
|
-
def _run_update_callbacks(&block); end
|
2671
|
-
def _run_validate_callbacks(&block); end
|
2672
|
-
def _run_validation_callbacks(&block); end
|
2673
|
-
def _save_callbacks; end
|
2674
|
-
def _touch_callbacks; end
|
2675
|
-
def _update_callbacks; end
|
2676
|
-
def _validate_callbacks; end
|
2677
|
-
def _validation_callbacks; end
|
2678
|
-
def _validators; end
|
2679
|
-
def _validators?; end
|
2680
|
-
def aggregate_reflections; end
|
2681
|
-
def aggregate_reflections?; end
|
2682
|
-
def allow_unsafe_raw_sql; end
|
2683
|
-
def attribute_aliases; end
|
2684
|
-
def attribute_aliases?; end
|
2685
|
-
def attribute_method_matchers; end
|
2686
|
-
def attribute_method_matchers?; end
|
2687
|
-
def cache_timestamp_format; end
|
2688
|
-
def cache_timestamp_format?; end
|
2689
|
-
def cache_versioning; end
|
2690
|
-
def cache_versioning?; end
|
2691
|
-
def column_for_attribute(*args, &block); end
|
2692
|
-
def default_connection_handler; end
|
2693
|
-
def default_connection_handler?; end
|
2694
|
-
def default_scope_override; 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 dump_schemas; end
|
2701
|
-
def error_on_ignored_order; end
|
2702
|
-
def include_root_in_json; end
|
2703
|
-
def include_root_in_json?; end
|
2704
|
-
def index_nested_attribute_errors; 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 pluralize_table_names; end
|
2714
|
-
def pluralize_table_names?; end
|
2715
|
-
def primary_key_prefix_type; end
|
2716
|
-
def record_timestamps; end
|
2717
|
-
def record_timestamps=(val); end
|
2718
|
-
def record_timestamps?; end
|
2719
|
-
def schema_format; end
|
2720
|
-
def self.__callbacks; end
|
2721
|
-
def self.__callbacks=(val); end
|
2722
|
-
def self.__callbacks?; end
|
2723
|
-
def self._attr_readonly; end
|
2724
|
-
def self._attr_readonly=(val); end
|
2725
|
-
def self._attr_readonly?; end
|
2726
|
-
def self._before_commit_callbacks; end
|
2727
|
-
def self._before_commit_callbacks=(value); end
|
2728
|
-
def self._before_commit_without_transaction_enrollment_callbacks; end
|
2729
|
-
def self._before_commit_without_transaction_enrollment_callbacks=(value); end
|
2730
|
-
def self._commit_callbacks; end
|
2731
|
-
def self._commit_callbacks=(value); end
|
2732
|
-
def self._commit_without_transaction_enrollment_callbacks; end
|
2733
|
-
def self._commit_without_transaction_enrollment_callbacks=(value); end
|
2734
|
-
def self._create_callbacks; end
|
2735
|
-
def self._create_callbacks=(value); end
|
2736
|
-
def self._destroy_callbacks; end
|
2737
|
-
def self._destroy_callbacks=(value); end
|
2738
|
-
def self._find_callbacks; end
|
2739
|
-
def self._find_callbacks=(value); end
|
2740
|
-
def self._initialize_callbacks; end
|
2741
|
-
def self._initialize_callbacks=(value); end
|
2742
|
-
def self._reflections; end
|
2743
|
-
def self._reflections=(val); end
|
2744
|
-
def self._reflections?; end
|
2745
|
-
def self._rollback_callbacks; end
|
2746
|
-
def self._rollback_callbacks=(value); end
|
2747
|
-
def self._rollback_without_transaction_enrollment_callbacks; end
|
2748
|
-
def self._rollback_without_transaction_enrollment_callbacks=(value); end
|
2749
|
-
def self._save_callbacks; end
|
2750
|
-
def self._save_callbacks=(value); end
|
2751
|
-
def self._touch_callbacks; end
|
2752
|
-
def self._touch_callbacks=(value); end
|
2753
|
-
def self._update_callbacks; end
|
2754
|
-
def self._update_callbacks=(value); end
|
2755
|
-
def self._validate_callbacks; end
|
2756
|
-
def self._validate_callbacks=(value); end
|
2757
|
-
def self._validation_callbacks; end
|
2758
|
-
def self._validation_callbacks=(value); end
|
2759
|
-
def self._validators; end
|
2760
|
-
def self._validators=(val); end
|
2761
|
-
def self._validators?; end
|
2762
|
-
def self.after_create(*args, &block); end
|
2763
|
-
def self.after_destroy(*args, &block); end
|
2764
|
-
def self.after_find(*args, &block); end
|
2765
|
-
def self.after_initialize(*args, &block); end
|
2766
|
-
def self.after_save(*args, &block); end
|
2767
|
-
def self.after_touch(*args, &block); end
|
2768
|
-
def self.after_update(*args, &block); end
|
2769
|
-
def self.aggregate_reflections; end
|
2770
|
-
def self.aggregate_reflections=(val); end
|
2771
|
-
def self.aggregate_reflections?; end
|
2772
|
-
def self.allow_unsafe_raw_sql; end
|
2773
|
-
def self.allow_unsafe_raw_sql=(obj); 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.attributes_to_define_after_schema_loads; end
|
2788
|
-
def self.attributes_to_define_after_schema_loads=(val); end
|
2789
|
-
def self.attributes_to_define_after_schema_loads?; end
|
2790
|
-
def self.before_create(*args, &block); end
|
2791
|
-
def self.before_destroy(*args, &block); end
|
2792
|
-
def self.before_save(*args, &block); end
|
2793
|
-
def self.before_update(*args, &block); end
|
2794
|
-
def self.belongs_to_required_by_default; end
|
2795
|
-
def self.belongs_to_required_by_default=(obj); end
|
2796
|
-
def self.cache_timestamp_format; end
|
2797
|
-
def self.cache_timestamp_format=(val); end
|
2798
|
-
def self.cache_timestamp_format?; end
|
2799
|
-
def self.cache_versioning; end
|
2800
|
-
def self.cache_versioning=(val); end
|
2801
|
-
def self.cache_versioning?; end
|
2802
|
-
def self.configurations; end
|
2803
|
-
def self.configurations=(config); end
|
2804
|
-
def self.connection_handler; end
|
2805
|
-
def self.connection_handler=(handler); end
|
2806
|
-
def self.default_connection_handler; end
|
2807
|
-
def self.default_connection_handler=(val); end
|
2808
|
-
def self.default_connection_handler?; end
|
2809
|
-
def self.default_scope_override; end
|
2810
|
-
def self.default_scope_override=(val); end
|
2811
|
-
def self.default_scopes; end
|
2812
|
-
def self.default_scopes=(val); end
|
2813
|
-
def self.default_timezone; end
|
2814
|
-
def self.default_timezone=(obj); end
|
2815
|
-
def self.defined_enums; end
|
2816
|
-
def self.defined_enums=(val); end
|
2817
|
-
def self.defined_enums?; end
|
2818
|
-
def self.dump_schema_after_migration; end
|
2819
|
-
def self.dump_schema_after_migration=(obj); end
|
2820
|
-
def self.dump_schemas; end
|
2821
|
-
def self.dump_schemas=(obj); end
|
2822
|
-
def self.error_on_ignored_order; end
|
2823
|
-
def self.error_on_ignored_order=(obj); end
|
2824
|
-
def self.include_root_in_json; end
|
2825
|
-
def self.include_root_in_json=(val); end
|
2826
|
-
def self.include_root_in_json?; end
|
2827
|
-
def self.index_nested_attribute_errors; end
|
2828
|
-
def self.index_nested_attribute_errors=(obj); end
|
2829
|
-
def self.internal_metadata_table_name; end
|
2830
|
-
def self.internal_metadata_table_name=(val); end
|
2831
|
-
def self.internal_metadata_table_name?; end
|
2832
|
-
def self.local_stored_attributes; end
|
2833
|
-
def self.local_stored_attributes=(arg0); end
|
2834
|
-
def self.lock_optimistically; end
|
2835
|
-
def self.lock_optimistically=(val); end
|
2836
|
-
def self.lock_optimistically?; end
|
2837
|
-
def self.logger; end
|
2838
|
-
def self.logger=(obj); end
|
2839
|
-
def self.maintain_test_schema; end
|
2840
|
-
def self.maintain_test_schema=(obj); end
|
2841
|
-
def self.nested_attributes_options; end
|
2842
|
-
def self.nested_attributes_options=(val); end
|
2843
|
-
def self.nested_attributes_options?; end
|
2844
|
-
def self.partial_writes; end
|
2845
|
-
def self.partial_writes=(val); end
|
2846
|
-
def self.partial_writes?; end
|
2847
|
-
def self.pluralize_table_names; end
|
2848
|
-
def self.pluralize_table_names=(val); end
|
2849
|
-
def self.pluralize_table_names?; end
|
2850
|
-
def self.primary_key_prefix_type; end
|
2851
|
-
def self.primary_key_prefix_type=(obj); end
|
2852
|
-
def self.record_timestamps; end
|
2853
|
-
def self.record_timestamps=(val); end
|
2854
|
-
def self.record_timestamps?; end
|
2855
|
-
def self.schema_format; end
|
2856
|
-
def self.schema_format=(obj); end
|
2857
|
-
def self.schema_migrations_table_name; end
|
2858
|
-
def self.schema_migrations_table_name=(val); end
|
2859
|
-
def self.schema_migrations_table_name?; end
|
2860
|
-
def self.skip_time_zone_conversion_for_attributes; end
|
2861
|
-
def self.skip_time_zone_conversion_for_attributes=(val); end
|
2862
|
-
def self.skip_time_zone_conversion_for_attributes?; end
|
2863
|
-
def self.store_full_sti_class; end
|
2864
|
-
def self.store_full_sti_class=(val); end
|
2865
|
-
def self.store_full_sti_class?; end
|
2866
|
-
def self.table_name_prefix; end
|
2867
|
-
def self.table_name_prefix=(val); end
|
2868
|
-
def self.table_name_prefix?; end
|
2869
|
-
def self.table_name_suffix; end
|
2870
|
-
def self.table_name_suffix=(val); end
|
2871
|
-
def self.table_name_suffix?; end
|
2872
|
-
def self.time_zone_aware_attributes; end
|
2873
|
-
def self.time_zone_aware_attributes=(obj); end
|
2874
|
-
def self.time_zone_aware_types; end
|
2875
|
-
def self.time_zone_aware_types=(val); end
|
2876
|
-
def self.time_zone_aware_types?; end
|
2877
|
-
def self.timestamped_migrations; end
|
2878
|
-
def self.timestamped_migrations=(obj); end
|
2879
|
-
def self.verbose_query_logs; end
|
2880
|
-
def self.verbose_query_logs=(obj); end
|
2881
|
-
def self.warn_on_records_fetched_greater_than; end
|
2882
|
-
def self.warn_on_records_fetched_greater_than=(obj); end
|
2883
|
-
def skip_time_zone_conversion_for_attributes; end
|
2884
|
-
def skip_time_zone_conversion_for_attributes?; end
|
2885
|
-
def store_full_sti_class; end
|
2886
|
-
def store_full_sti_class?; end
|
2887
|
-
def table_name_prefix; end
|
2888
|
-
def table_name_prefix?; end
|
2889
|
-
def table_name_suffix; end
|
2890
|
-
def table_name_suffix?; end
|
2891
|
-
def time_zone_aware_attributes; end
|
2892
|
-
def time_zone_aware_types; end
|
2893
|
-
def time_zone_aware_types?; end
|
2894
|
-
def timestamped_migrations; end
|
2895
|
-
def type_for_attribute(*args, &block); end
|
2896
|
-
def validation_context; end
|
2897
|
-
def validation_context=(arg0); end
|
2898
|
-
def verbose_query_logs; end
|
2899
|
-
def warn_on_records_fetched_greater_than; end
|
2900
|
-
extend ActiveModel::AttributeMethods::ClassMethods
|
2901
|
-
extend ActiveModel::Callbacks
|
2902
|
-
extend ActiveModel::Conversion::ClassMethods
|
2903
|
-
extend ActiveModel::Naming
|
2904
|
-
extend ActiveModel::Naming
|
2905
|
-
extend ActiveModel::Naming
|
2906
|
-
extend ActiveModel::SecurePassword::ClassMethods
|
2907
|
-
extend ActiveModel::Translation
|
2908
|
-
extend ActiveModel::Validations::Callbacks::ClassMethods
|
2909
|
-
extend ActiveModel::Validations::ClassMethods
|
2910
|
-
extend ActiveModel::Validations::HelperMethods
|
2911
|
-
extend ActiveRecord::Aggregations::ClassMethods
|
2912
|
-
extend ActiveRecord::Associations::ClassMethods
|
2913
|
-
extend ActiveRecord::AttributeDecorators::ClassMethods
|
2914
|
-
extend ActiveRecord::AttributeMethods::ClassMethods
|
2915
|
-
extend ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods
|
2916
|
-
extend ActiveRecord::AttributeMethods::Read::ClassMethods
|
2917
|
-
extend ActiveRecord::AttributeMethods::Serialization::ClassMethods
|
2918
|
-
extend ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods
|
2919
|
-
extend ActiveRecord::AttributeMethods::Write::ClassMethods
|
2920
|
-
extend ActiveRecord::Attributes::ClassMethods
|
2921
|
-
extend ActiveRecord::AutosaveAssociation::ClassMethods
|
2922
|
-
extend ActiveRecord::CollectionCacheKey
|
2923
|
-
extend ActiveRecord::ConnectionHandling
|
2924
|
-
extend ActiveRecord::Core::ClassMethods
|
2925
|
-
extend ActiveRecord::CounterCache::ClassMethods
|
2926
|
-
extend ActiveRecord::DefineCallbacks::ClassMethods
|
2927
|
-
extend ActiveRecord::Delegation::DelegateCache
|
2928
|
-
extend ActiveRecord::DynamicMatchers
|
2929
|
-
extend ActiveRecord::Enum
|
2930
|
-
extend ActiveRecord::Explain
|
2931
|
-
extend ActiveRecord::Inheritance::ClassMethods
|
2932
|
-
extend ActiveRecord::Integration::ClassMethods
|
2933
|
-
extend ActiveRecord::Locking::Optimistic::ClassMethods
|
2934
|
-
extend ActiveRecord::ModelSchema::ClassMethods
|
2935
|
-
extend ActiveRecord::NestedAttributes::ClassMethods
|
2936
|
-
extend ActiveRecord::NoTouching::ClassMethods
|
2937
|
-
extend ActiveRecord::Persistence::ClassMethods
|
2938
|
-
extend ActiveRecord::QueryCache::ClassMethods
|
2939
|
-
extend ActiveRecord::Querying
|
2940
|
-
extend ActiveRecord::ReadonlyAttributes::ClassMethods
|
2941
|
-
extend ActiveRecord::Reflection::ClassMethods
|
2942
|
-
extend ActiveRecord::Sanitization::ClassMethods
|
2943
|
-
extend ActiveRecord::Scoping::ClassMethods
|
2944
|
-
extend ActiveRecord::Scoping::Default::ClassMethods
|
2945
|
-
extend ActiveRecord::Scoping::Named::ClassMethods
|
2946
|
-
extend ActiveRecord::SecureToken::ClassMethods
|
2947
|
-
extend ActiveRecord::Store::ClassMethods
|
2948
|
-
extend ActiveRecord::Suppressor::ClassMethods
|
2949
|
-
extend ActiveRecord::Timestamp::ClassMethods
|
2950
|
-
extend ActiveRecord::Transactions::ClassMethods
|
2951
|
-
extend ActiveRecord::Translation
|
2952
|
-
extend ActiveRecord::Validations::ClassMethods
|
2953
|
-
extend ActiveStorage::Attached::Macros
|
2954
|
-
extend ActiveSupport::Benchmarkable
|
2955
|
-
extend ActiveSupport::Callbacks::ClassMethods
|
2956
|
-
extend ActiveSupport::DescendantsTracker
|
2957
|
-
extend ActiveSupport::DescendantsTracker
|
2958
|
-
include ActiveModel::AttributeMethods
|
2959
|
-
include ActiveModel::AttributeMethods
|
2960
|
-
include ActiveModel::Conversion
|
2961
|
-
include ActiveModel::Dirty
|
2962
|
-
include ActiveModel::SecurePassword
|
2963
|
-
include ActiveModel::Serializers::JSON
|
2964
|
-
include ActiveModel::Validations
|
2965
|
-
include ActiveModel::Validations::Callbacks
|
2966
|
-
include ActiveModel::Validations::HelperMethods
|
2967
|
-
include ActiveRecord::Aggregations
|
2968
|
-
include ActiveRecord::Associations
|
2969
|
-
include ActiveRecord::AttributeAssignment
|
2970
|
-
include ActiveRecord::AttributeDecorators
|
2971
|
-
include ActiveRecord::AttributeMethods
|
2972
|
-
include ActiveRecord::AttributeMethods::BeforeTypeCast
|
2973
|
-
include ActiveRecord::AttributeMethods::Dirty
|
2974
|
-
include ActiveRecord::AttributeMethods::PrimaryKey
|
2975
|
-
include ActiveRecord::AttributeMethods::Query
|
2976
|
-
include ActiveRecord::AttributeMethods::Read
|
2977
|
-
include ActiveRecord::AttributeMethods::Serialization
|
2978
|
-
include ActiveRecord::AttributeMethods::TimeZoneConversion
|
2979
|
-
include ActiveRecord::AttributeMethods::Write
|
2980
|
-
include ActiveRecord::Attributes
|
2981
|
-
include ActiveRecord::AutosaveAssociation
|
2982
|
-
include ActiveRecord::Base::GeneratedAssociationMethods
|
2983
|
-
include ActiveRecord::Callbacks
|
2984
|
-
include ActiveRecord::Core
|
2985
|
-
include ActiveRecord::CounterCache
|
2986
|
-
include ActiveRecord::DefineCallbacks
|
2987
|
-
include ActiveRecord::Inheritance
|
2988
|
-
include ActiveRecord::Integration
|
2989
|
-
include ActiveRecord::Locking::Optimistic
|
2990
|
-
include ActiveRecord::Locking::Pessimistic
|
2991
|
-
include ActiveRecord::ModelSchema
|
2992
|
-
include ActiveRecord::NestedAttributes
|
2993
|
-
include ActiveRecord::NoTouching
|
2994
|
-
include ActiveRecord::Persistence
|
2995
|
-
include ActiveRecord::ReadonlyAttributes
|
2996
|
-
include ActiveRecord::Reflection
|
2997
|
-
include ActiveRecord::Sanitization
|
2998
|
-
include ActiveRecord::Scoping
|
2999
|
-
include ActiveRecord::Scoping::Default
|
3000
|
-
include ActiveRecord::Scoping::Named
|
3001
|
-
include ActiveRecord::SecureToken
|
3002
|
-
include ActiveRecord::Serialization
|
3003
|
-
include ActiveRecord::Store
|
3004
|
-
include ActiveRecord::Suppressor
|
3005
|
-
include ActiveRecord::Timestamp
|
3006
|
-
include ActiveRecord::TouchLater
|
3007
|
-
include ActiveRecord::Transactions
|
3008
|
-
include ActiveRecord::Validations
|
3009
|
-
include ActiveSupport::Callbacks
|
3010
|
-
include ActiveSupport::Callbacks
|
3011
|
-
include Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_15
|
3012
|
-
include GlobalID::Identification
|
3013
|
-
end
|
3014
|
-
module Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_15
|
3015
|
-
end
|
3016
|
-
module ActiveRecord::Base::GeneratedAssociationMethods
|
3017
|
-
end
|
3018
2653
|
module ActiveRecord::FinderMethods
|
3019
2654
|
def apply_join_dependency(eager_loading: nil); end
|
3020
2655
|
def construct_join_dependency; end
|
@@ -3147,6 +2782,7 @@ class ActiveRecord::Relation
|
|
3147
2782
|
extend ActiveRecord::Delegation::ClassMethods
|
3148
2783
|
include ActiveRecord::FinderMethods
|
3149
2784
|
include Enumerable
|
2785
|
+
include SorbetRails::CustomFinderMethods
|
3150
2786
|
end
|
3151
2787
|
class ActiveRecord::Relation::HashMerger
|
3152
2788
|
def hash; end
|
@@ -3358,22 +2994,398 @@ class ActiveRecord::QueryMethods::WhereChain
|
|
3358
2994
|
def not(opts, *rest); end
|
3359
2995
|
include ActiveModel::ForbiddenAttributesProtection
|
3360
2996
|
end
|
3361
|
-
module ActiveRecord::Batches
|
3362
|
-
def act_on_ignored_order(error_on_ignore); end
|
3363
|
-
def apply_limits(relation, start, finish); end
|
3364
|
-
def batch_order; end
|
3365
|
-
def find_each(start: nil, finish: nil, batch_size: nil, error_on_ignore: nil); end
|
3366
|
-
def find_in_batches(start: nil, finish: nil, batch_size: nil, error_on_ignore: nil); end
|
3367
|
-
def in_batches(of: nil, start: nil, finish: nil, load: nil, error_on_ignore: nil); end
|
2997
|
+
module ActiveRecord::Batches
|
2998
|
+
def act_on_ignored_order(error_on_ignore); end
|
2999
|
+
def apply_limits(relation, start, finish); end
|
3000
|
+
def batch_order; end
|
3001
|
+
def find_each(start: nil, finish: nil, batch_size: nil, error_on_ignore: nil); end
|
3002
|
+
def find_in_batches(start: nil, finish: nil, batch_size: nil, error_on_ignore: nil); end
|
3003
|
+
def in_batches(of: nil, start: nil, finish: nil, load: nil, error_on_ignore: nil); end
|
3004
|
+
end
|
3005
|
+
class ActiveRecord::Batches::BatchEnumerator
|
3006
|
+
def delete_all(*args, &block); end
|
3007
|
+
def destroy_all(*args, &block); end
|
3008
|
+
def each; end
|
3009
|
+
def each_record; end
|
3010
|
+
def initialize(relation:, of: nil, start: nil, finish: nil); end
|
3011
|
+
def update_all(*args, &block); end
|
3012
|
+
include Enumerable
|
3013
|
+
end
|
3014
|
+
class ActiveRecord::Base
|
3015
|
+
def __callbacks; end
|
3016
|
+
def __callbacks?; end
|
3017
|
+
def _before_commit_callbacks; end
|
3018
|
+
def _before_commit_without_transaction_enrollment_callbacks; end
|
3019
|
+
def _commit_callbacks; end
|
3020
|
+
def _commit_without_transaction_enrollment_callbacks; end
|
3021
|
+
def _create_callbacks; end
|
3022
|
+
def _destroy_callbacks; end
|
3023
|
+
def _find_callbacks; end
|
3024
|
+
def _initialize_callbacks; end
|
3025
|
+
def _reflections; end
|
3026
|
+
def _reflections?; end
|
3027
|
+
def _rollback_callbacks; end
|
3028
|
+
def _rollback_without_transaction_enrollment_callbacks; end
|
3029
|
+
def _run_before_commit_callbacks(&block); end
|
3030
|
+
def _run_before_commit_without_transaction_enrollment_callbacks(&block); end
|
3031
|
+
def _run_commit_callbacks(&block); end
|
3032
|
+
def _run_commit_without_transaction_enrollment_callbacks(&block); end
|
3033
|
+
def _run_create_callbacks(&block); end
|
3034
|
+
def _run_destroy_callbacks(&block); end
|
3035
|
+
def _run_find_callbacks(&block); end
|
3036
|
+
def _run_initialize_callbacks(&block); end
|
3037
|
+
def _run_rollback_callbacks(&block); end
|
3038
|
+
def _run_rollback_without_transaction_enrollment_callbacks(&block); end
|
3039
|
+
def _run_save_callbacks(&block); end
|
3040
|
+
def _run_touch_callbacks(&block); end
|
3041
|
+
def _run_update_callbacks(&block); end
|
3042
|
+
def _run_validate_callbacks(&block); end
|
3043
|
+
def _run_validation_callbacks(&block); end
|
3044
|
+
def _save_callbacks; end
|
3045
|
+
def _touch_callbacks; end
|
3046
|
+
def _update_callbacks; end
|
3047
|
+
def _validate_callbacks; end
|
3048
|
+
def _validation_callbacks; end
|
3049
|
+
def _validators; end
|
3050
|
+
def _validators?; end
|
3051
|
+
def aggregate_reflections; end
|
3052
|
+
def aggregate_reflections?; end
|
3053
|
+
def allow_unsafe_raw_sql; end
|
3054
|
+
def attribute_aliases; end
|
3055
|
+
def attribute_aliases?; end
|
3056
|
+
def attribute_method_matchers; end
|
3057
|
+
def attribute_method_matchers?; end
|
3058
|
+
def cache_timestamp_format; end
|
3059
|
+
def cache_timestamp_format?; end
|
3060
|
+
def cache_versioning; end
|
3061
|
+
def cache_versioning?; end
|
3062
|
+
def column_for_attribute(*args, &block); end
|
3063
|
+
def default_connection_handler; end
|
3064
|
+
def default_connection_handler?; end
|
3065
|
+
def default_scope_override; end
|
3066
|
+
def default_scopes; end
|
3067
|
+
def default_timezone; end
|
3068
|
+
def defined_enums; end
|
3069
|
+
def defined_enums?; end
|
3070
|
+
def dump_schema_after_migration; end
|
3071
|
+
def dump_schemas; end
|
3072
|
+
def error_on_ignored_order; end
|
3073
|
+
def include_root_in_json; end
|
3074
|
+
def include_root_in_json?; end
|
3075
|
+
def index_nested_attribute_errors; end
|
3076
|
+
def lock_optimistically; end
|
3077
|
+
def lock_optimistically?; end
|
3078
|
+
def logger; end
|
3079
|
+
def model_name(*args, &block); end
|
3080
|
+
def nested_attributes_options; end
|
3081
|
+
def nested_attributes_options?; end
|
3082
|
+
def partial_writes; end
|
3083
|
+
def partial_writes?; end
|
3084
|
+
def pluralize_table_names; end
|
3085
|
+
def pluralize_table_names?; end
|
3086
|
+
def primary_key_prefix_type; end
|
3087
|
+
def record_timestamps; end
|
3088
|
+
def record_timestamps=(val); end
|
3089
|
+
def record_timestamps?; end
|
3090
|
+
def schema_format; end
|
3091
|
+
def self.__callbacks; end
|
3092
|
+
def self.__callbacks=(val); end
|
3093
|
+
def self.__callbacks?; end
|
3094
|
+
def self._attr_readonly; end
|
3095
|
+
def self._attr_readonly=(val); end
|
3096
|
+
def self._attr_readonly?; end
|
3097
|
+
def self._before_commit_callbacks; end
|
3098
|
+
def self._before_commit_callbacks=(value); end
|
3099
|
+
def self._before_commit_without_transaction_enrollment_callbacks; end
|
3100
|
+
def self._before_commit_without_transaction_enrollment_callbacks=(value); end
|
3101
|
+
def self._commit_callbacks; end
|
3102
|
+
def self._commit_callbacks=(value); end
|
3103
|
+
def self._commit_without_transaction_enrollment_callbacks; end
|
3104
|
+
def self._commit_without_transaction_enrollment_callbacks=(value); end
|
3105
|
+
def self._create_callbacks; end
|
3106
|
+
def self._create_callbacks=(value); end
|
3107
|
+
def self._destroy_callbacks; end
|
3108
|
+
def self._destroy_callbacks=(value); end
|
3109
|
+
def self._find_callbacks; end
|
3110
|
+
def self._find_callbacks=(value); end
|
3111
|
+
def self._initialize_callbacks; end
|
3112
|
+
def self._initialize_callbacks=(value); end
|
3113
|
+
def self._reflections; end
|
3114
|
+
def self._reflections=(val); end
|
3115
|
+
def self._reflections?; end
|
3116
|
+
def self._rollback_callbacks; end
|
3117
|
+
def self._rollback_callbacks=(value); end
|
3118
|
+
def self._rollback_without_transaction_enrollment_callbacks; end
|
3119
|
+
def self._rollback_without_transaction_enrollment_callbacks=(value); end
|
3120
|
+
def self._save_callbacks; end
|
3121
|
+
def self._save_callbacks=(value); end
|
3122
|
+
def self._touch_callbacks; end
|
3123
|
+
def self._touch_callbacks=(value); end
|
3124
|
+
def self._update_callbacks; end
|
3125
|
+
def self._update_callbacks=(value); end
|
3126
|
+
def self._validate_callbacks; end
|
3127
|
+
def self._validate_callbacks=(value); end
|
3128
|
+
def self._validation_callbacks; end
|
3129
|
+
def self._validation_callbacks=(value); end
|
3130
|
+
def self._validators; end
|
3131
|
+
def self._validators=(val); end
|
3132
|
+
def self._validators?; end
|
3133
|
+
def self.after_create(*args, &block); end
|
3134
|
+
def self.after_destroy(*args, &block); end
|
3135
|
+
def self.after_find(*args, &block); end
|
3136
|
+
def self.after_initialize(*args, &block); end
|
3137
|
+
def self.after_save(*args, &block); end
|
3138
|
+
def self.after_touch(*args, &block); end
|
3139
|
+
def self.after_update(*args, &block); end
|
3140
|
+
def self.aggregate_reflections; end
|
3141
|
+
def self.aggregate_reflections=(val); end
|
3142
|
+
def self.aggregate_reflections?; end
|
3143
|
+
def self.allow_unsafe_raw_sql; end
|
3144
|
+
def self.allow_unsafe_raw_sql=(obj); end
|
3145
|
+
def self.around_create(*args, &block); end
|
3146
|
+
def self.around_destroy(*args, &block); end
|
3147
|
+
def self.around_save(*args, &block); end
|
3148
|
+
def self.around_update(*args, &block); end
|
3149
|
+
def self.attribute_aliases; end
|
3150
|
+
def self.attribute_aliases=(val); end
|
3151
|
+
def self.attribute_aliases?; end
|
3152
|
+
def self.attribute_method_matchers; end
|
3153
|
+
def self.attribute_method_matchers=(val); end
|
3154
|
+
def self.attribute_method_matchers?; end
|
3155
|
+
def self.attribute_type_decorations; end
|
3156
|
+
def self.attribute_type_decorations=(val); end
|
3157
|
+
def self.attribute_type_decorations?; end
|
3158
|
+
def self.attributes_to_define_after_schema_loads; end
|
3159
|
+
def self.attributes_to_define_after_schema_loads=(val); end
|
3160
|
+
def self.attributes_to_define_after_schema_loads?; end
|
3161
|
+
def self.before_create(*args, &block); end
|
3162
|
+
def self.before_destroy(*args, &block); end
|
3163
|
+
def self.before_save(*args, &block); end
|
3164
|
+
def self.before_update(*args, &block); end
|
3165
|
+
def self.belongs_to_required_by_default; end
|
3166
|
+
def self.belongs_to_required_by_default=(obj); end
|
3167
|
+
def self.cache_timestamp_format; end
|
3168
|
+
def self.cache_timestamp_format=(val); end
|
3169
|
+
def self.cache_timestamp_format?; end
|
3170
|
+
def self.cache_versioning; end
|
3171
|
+
def self.cache_versioning=(val); end
|
3172
|
+
def self.cache_versioning?; end
|
3173
|
+
def self.configurations; end
|
3174
|
+
def self.configurations=(config); end
|
3175
|
+
def self.connection_handler; end
|
3176
|
+
def self.connection_handler=(handler); end
|
3177
|
+
def self.default_connection_handler; end
|
3178
|
+
def self.default_connection_handler=(val); end
|
3179
|
+
def self.default_connection_handler?; end
|
3180
|
+
def self.default_scope_override; end
|
3181
|
+
def self.default_scope_override=(val); end
|
3182
|
+
def self.default_scopes; end
|
3183
|
+
def self.default_scopes=(val); end
|
3184
|
+
def self.default_timezone; end
|
3185
|
+
def self.default_timezone=(obj); end
|
3186
|
+
def self.defined_enums; end
|
3187
|
+
def self.defined_enums=(val); end
|
3188
|
+
def self.defined_enums?; end
|
3189
|
+
def self.dump_schema_after_migration; end
|
3190
|
+
def self.dump_schema_after_migration=(obj); end
|
3191
|
+
def self.dump_schemas; end
|
3192
|
+
def self.dump_schemas=(obj); end
|
3193
|
+
def self.error_on_ignored_order; end
|
3194
|
+
def self.error_on_ignored_order=(obj); end
|
3195
|
+
def self.include_root_in_json; end
|
3196
|
+
def self.include_root_in_json=(val); end
|
3197
|
+
def self.include_root_in_json?; end
|
3198
|
+
def self.index_nested_attribute_errors; end
|
3199
|
+
def self.index_nested_attribute_errors=(obj); end
|
3200
|
+
def self.internal_metadata_table_name; end
|
3201
|
+
def self.internal_metadata_table_name=(val); end
|
3202
|
+
def self.internal_metadata_table_name?; end
|
3203
|
+
def self.local_stored_attributes; end
|
3204
|
+
def self.local_stored_attributes=(arg0); end
|
3205
|
+
def self.lock_optimistically; end
|
3206
|
+
def self.lock_optimistically=(val); end
|
3207
|
+
def self.lock_optimistically?; end
|
3208
|
+
def self.logger; end
|
3209
|
+
def self.logger=(obj); end
|
3210
|
+
def self.maintain_test_schema; end
|
3211
|
+
def self.maintain_test_schema=(obj); end
|
3212
|
+
def self.nested_attributes_options; end
|
3213
|
+
def self.nested_attributes_options=(val); end
|
3214
|
+
def self.nested_attributes_options?; end
|
3215
|
+
def self.partial_writes; end
|
3216
|
+
def self.partial_writes=(val); end
|
3217
|
+
def self.partial_writes?; end
|
3218
|
+
def self.pluralize_table_names; end
|
3219
|
+
def self.pluralize_table_names=(val); end
|
3220
|
+
def self.pluralize_table_names?; end
|
3221
|
+
def self.primary_key_prefix_type; end
|
3222
|
+
def self.primary_key_prefix_type=(obj); end
|
3223
|
+
def self.record_timestamps; end
|
3224
|
+
def self.record_timestamps=(val); end
|
3225
|
+
def self.record_timestamps?; end
|
3226
|
+
def self.schema_format; end
|
3227
|
+
def self.schema_format=(obj); end
|
3228
|
+
def self.schema_migrations_table_name; end
|
3229
|
+
def self.schema_migrations_table_name=(val); end
|
3230
|
+
def self.schema_migrations_table_name?; end
|
3231
|
+
def self.skip_time_zone_conversion_for_attributes; end
|
3232
|
+
def self.skip_time_zone_conversion_for_attributes=(val); end
|
3233
|
+
def self.skip_time_zone_conversion_for_attributes?; end
|
3234
|
+
def self.store_full_sti_class; end
|
3235
|
+
def self.store_full_sti_class=(val); end
|
3236
|
+
def self.store_full_sti_class?; end
|
3237
|
+
def self.table_name_prefix; end
|
3238
|
+
def self.table_name_prefix=(val); end
|
3239
|
+
def self.table_name_prefix?; end
|
3240
|
+
def self.table_name_suffix; end
|
3241
|
+
def self.table_name_suffix=(val); end
|
3242
|
+
def self.table_name_suffix?; end
|
3243
|
+
def self.time_zone_aware_attributes; end
|
3244
|
+
def self.time_zone_aware_attributes=(obj); end
|
3245
|
+
def self.time_zone_aware_types; end
|
3246
|
+
def self.time_zone_aware_types=(val); end
|
3247
|
+
def self.time_zone_aware_types?; end
|
3248
|
+
def self.timestamped_migrations; end
|
3249
|
+
def self.timestamped_migrations=(obj); end
|
3250
|
+
def self.verbose_query_logs; end
|
3251
|
+
def self.verbose_query_logs=(obj); end
|
3252
|
+
def self.warn_on_records_fetched_greater_than; end
|
3253
|
+
def self.warn_on_records_fetched_greater_than=(obj); end
|
3254
|
+
def skip_time_zone_conversion_for_attributes; end
|
3255
|
+
def skip_time_zone_conversion_for_attributes?; end
|
3256
|
+
def store_full_sti_class; end
|
3257
|
+
def store_full_sti_class?; end
|
3258
|
+
def table_name_prefix; end
|
3259
|
+
def table_name_prefix?; end
|
3260
|
+
def table_name_suffix; end
|
3261
|
+
def table_name_suffix?; end
|
3262
|
+
def time_zone_aware_attributes; end
|
3263
|
+
def time_zone_aware_types; end
|
3264
|
+
def time_zone_aware_types?; end
|
3265
|
+
def timestamped_migrations; end
|
3266
|
+
def type_for_attribute(*args, &block); end
|
3267
|
+
def validation_context; end
|
3268
|
+
def validation_context=(arg0); end
|
3269
|
+
def verbose_query_logs; end
|
3270
|
+
def warn_on_records_fetched_greater_than; end
|
3271
|
+
extend ActiveModel::AttributeMethods::ClassMethods
|
3272
|
+
extend ActiveModel::Callbacks
|
3273
|
+
extend ActiveModel::Conversion::ClassMethods
|
3274
|
+
extend ActiveModel::Naming
|
3275
|
+
extend ActiveModel::Naming
|
3276
|
+
extend ActiveModel::Naming
|
3277
|
+
extend ActiveModel::SecurePassword::ClassMethods
|
3278
|
+
extend ActiveModel::Translation
|
3279
|
+
extend ActiveModel::Validations::Callbacks::ClassMethods
|
3280
|
+
extend ActiveModel::Validations::ClassMethods
|
3281
|
+
extend ActiveModel::Validations::HelperMethods
|
3282
|
+
extend ActiveRecord::Aggregations::ClassMethods
|
3283
|
+
extend ActiveRecord::Associations::ClassMethods
|
3284
|
+
extend ActiveRecord::AttributeDecorators::ClassMethods
|
3285
|
+
extend ActiveRecord::AttributeMethods::ClassMethods
|
3286
|
+
extend ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods
|
3287
|
+
extend ActiveRecord::AttributeMethods::Read::ClassMethods
|
3288
|
+
extend ActiveRecord::AttributeMethods::Serialization::ClassMethods
|
3289
|
+
extend ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods
|
3290
|
+
extend ActiveRecord::AttributeMethods::Write::ClassMethods
|
3291
|
+
extend ActiveRecord::Attributes::ClassMethods
|
3292
|
+
extend ActiveRecord::AutosaveAssociation::ClassMethods
|
3293
|
+
extend ActiveRecord::CollectionCacheKey
|
3294
|
+
extend ActiveRecord::ConnectionHandling
|
3295
|
+
extend ActiveRecord::Core::ClassMethods
|
3296
|
+
extend ActiveRecord::CounterCache::ClassMethods
|
3297
|
+
extend ActiveRecord::DefineCallbacks::ClassMethods
|
3298
|
+
extend ActiveRecord::Delegation::DelegateCache
|
3299
|
+
extend ActiveRecord::DynamicMatchers
|
3300
|
+
extend ActiveRecord::Enum
|
3301
|
+
extend ActiveRecord::Explain
|
3302
|
+
extend ActiveRecord::Inheritance::ClassMethods
|
3303
|
+
extend ActiveRecord::Integration::ClassMethods
|
3304
|
+
extend ActiveRecord::Locking::Optimistic::ClassMethods
|
3305
|
+
extend ActiveRecord::ModelSchema::ClassMethods
|
3306
|
+
extend ActiveRecord::NestedAttributes::ClassMethods
|
3307
|
+
extend ActiveRecord::NoTouching::ClassMethods
|
3308
|
+
extend ActiveRecord::Persistence::ClassMethods
|
3309
|
+
extend ActiveRecord::QueryCache::ClassMethods
|
3310
|
+
extend ActiveRecord::Querying
|
3311
|
+
extend ActiveRecord::ReadonlyAttributes::ClassMethods
|
3312
|
+
extend ActiveRecord::Reflection::ClassMethods
|
3313
|
+
extend ActiveRecord::Sanitization::ClassMethods
|
3314
|
+
extend ActiveRecord::Scoping::ClassMethods
|
3315
|
+
extend ActiveRecord::Scoping::Default::ClassMethods
|
3316
|
+
extend ActiveRecord::Scoping::Named::ClassMethods
|
3317
|
+
extend ActiveRecord::SecureToken::ClassMethods
|
3318
|
+
extend ActiveRecord::Store::ClassMethods
|
3319
|
+
extend ActiveRecord::Suppressor::ClassMethods
|
3320
|
+
extend ActiveRecord::Timestamp::ClassMethods
|
3321
|
+
extend ActiveRecord::Transactions::ClassMethods
|
3322
|
+
extend ActiveRecord::Translation
|
3323
|
+
extend ActiveRecord::Validations::ClassMethods
|
3324
|
+
extend ActiveStorage::Attached::Macros
|
3325
|
+
extend ActiveSupport::Benchmarkable
|
3326
|
+
extend ActiveSupport::Callbacks::ClassMethods
|
3327
|
+
extend ActiveSupport::DescendantsTracker
|
3328
|
+
extend ActiveSupport::DescendantsTracker
|
3329
|
+
extend SorbetRails::CustomFinderMethods
|
3330
|
+
include ActiveModel::AttributeMethods
|
3331
|
+
include ActiveModel::AttributeMethods
|
3332
|
+
include ActiveModel::Conversion
|
3333
|
+
include ActiveModel::Dirty
|
3334
|
+
include ActiveModel::SecurePassword
|
3335
|
+
include ActiveModel::Serializers::JSON
|
3336
|
+
include ActiveModel::Validations
|
3337
|
+
include ActiveModel::Validations::Callbacks
|
3338
|
+
include ActiveModel::Validations::HelperMethods
|
3339
|
+
include ActiveRecord::Aggregations
|
3340
|
+
include ActiveRecord::Associations
|
3341
|
+
include ActiveRecord::AttributeAssignment
|
3342
|
+
include ActiveRecord::AttributeDecorators
|
3343
|
+
include ActiveRecord::AttributeMethods
|
3344
|
+
include ActiveRecord::AttributeMethods::BeforeTypeCast
|
3345
|
+
include ActiveRecord::AttributeMethods::Dirty
|
3346
|
+
include ActiveRecord::AttributeMethods::PrimaryKey
|
3347
|
+
include ActiveRecord::AttributeMethods::Query
|
3348
|
+
include ActiveRecord::AttributeMethods::Read
|
3349
|
+
include ActiveRecord::AttributeMethods::Serialization
|
3350
|
+
include ActiveRecord::AttributeMethods::TimeZoneConversion
|
3351
|
+
include ActiveRecord::AttributeMethods::Write
|
3352
|
+
include ActiveRecord::Attributes
|
3353
|
+
include ActiveRecord::AutosaveAssociation
|
3354
|
+
include ActiveRecord::Base::GeneratedAssociationMethods
|
3355
|
+
include ActiveRecord::Callbacks
|
3356
|
+
include ActiveRecord::Core
|
3357
|
+
include ActiveRecord::CounterCache
|
3358
|
+
include ActiveRecord::DefineCallbacks
|
3359
|
+
include ActiveRecord::Inheritance
|
3360
|
+
include ActiveRecord::Integration
|
3361
|
+
include ActiveRecord::Locking::Optimistic
|
3362
|
+
include ActiveRecord::Locking::Pessimistic
|
3363
|
+
include ActiveRecord::ModelSchema
|
3364
|
+
include ActiveRecord::NestedAttributes
|
3365
|
+
include ActiveRecord::NoTouching
|
3366
|
+
include ActiveRecord::Persistence
|
3367
|
+
include ActiveRecord::ReadonlyAttributes
|
3368
|
+
include ActiveRecord::Reflection
|
3369
|
+
include ActiveRecord::Sanitization
|
3370
|
+
include ActiveRecord::Scoping
|
3371
|
+
include ActiveRecord::Scoping::Default
|
3372
|
+
include ActiveRecord::Scoping::Named
|
3373
|
+
include ActiveRecord::SecureToken
|
3374
|
+
include ActiveRecord::Serialization
|
3375
|
+
include ActiveRecord::Store
|
3376
|
+
include ActiveRecord::Suppressor
|
3377
|
+
include ActiveRecord::Timestamp
|
3378
|
+
include ActiveRecord::TouchLater
|
3379
|
+
include ActiveRecord::Transactions
|
3380
|
+
include ActiveRecord::Validations
|
3381
|
+
include ActiveSupport::Callbacks
|
3382
|
+
include ActiveSupport::Callbacks
|
3383
|
+
include Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_15
|
3384
|
+
include GlobalID::Identification
|
3385
|
+
end
|
3386
|
+
module Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_15
|
3368
3387
|
end
|
3369
|
-
|
3370
|
-
def delete_all(*args, &block); end
|
3371
|
-
def destroy_all(*args, &block); end
|
3372
|
-
def each; end
|
3373
|
-
def each_record; end
|
3374
|
-
def initialize(relation:, of: nil, start: nil, finish: nil); end
|
3375
|
-
def update_all(*args, &block); end
|
3376
|
-
include Enumerable
|
3388
|
+
module ActiveRecord::Base::GeneratedAssociationMethods
|
3377
3389
|
end
|
3378
3390
|
class ActiveRecord::Associations::CollectionProxy < ActiveRecord::Relation
|
3379
3391
|
def <<(*records); end
|
@@ -3571,125 +3583,42 @@ class ActiveRecord::Associations::Builder::HasMany < ActiveRecord::Associations:
|
|
3571
3583
|
def self.valid_dependent_options; end
|
3572
3584
|
def self.valid_options(options); end
|
3573
3585
|
end
|
3574
|
-
|
3575
|
-
def
|
3576
|
-
def commit!; end
|
3577
|
-
def committed?; end
|
3578
|
-
def completed?; end
|
3579
|
-
def finalized?; end
|
3580
|
-
def full_commit!; end
|
3581
|
-
def full_rollback!; end
|
3582
|
-
def fully_committed?; end
|
3583
|
-
def fully_completed?; end
|
3584
|
-
def fully_rolledback?; end
|
3585
|
-
def initialize(state = nil); end
|
3586
|
-
def nullify!; end
|
3587
|
-
def rollback!; end
|
3588
|
-
def rolledback?; end
|
3589
|
-
def set_state(state); end
|
3590
|
-
end
|
3591
|
-
class ActiveRecord::ConnectionAdapters::NullTransaction
|
3592
|
-
def add_record(record); end
|
3593
|
-
def closed?; end
|
3594
|
-
def initialize; end
|
3595
|
-
def joinable?; end
|
3596
|
-
def open?; end
|
3597
|
-
def state; end
|
3598
|
-
end
|
3599
|
-
class ActiveRecord::ConnectionAdapters::Transaction
|
3600
|
-
def add_record(record); end
|
3601
|
-
def before_commit_records; end
|
3602
|
-
def closed?; end
|
3603
|
-
def commit_records; end
|
3604
|
-
def connection; end
|
3605
|
-
def full_rollback?; end
|
3606
|
-
def initialize(connection, options, run_commit_callbacks: nil); end
|
3607
|
-
def joinable=(arg0); end
|
3608
|
-
def joinable?; end
|
3609
|
-
def open?; end
|
3610
|
-
def records; end
|
3611
|
-
def rollback_records; end
|
3612
|
-
def savepoint_name; end
|
3613
|
-
def state; end
|
3614
|
-
end
|
3615
|
-
class ActiveRecord::ConnectionAdapters::SavepointTransaction < ActiveRecord::ConnectionAdapters::Transaction
|
3616
|
-
def commit; end
|
3617
|
-
def full_rollback?; end
|
3618
|
-
def initialize(connection, savepoint_name, parent_transaction, options, *args); end
|
3619
|
-
def rollback; end
|
3620
|
-
end
|
3621
|
-
class ActiveRecord::ConnectionAdapters::RealTransaction < ActiveRecord::ConnectionAdapters::Transaction
|
3622
|
-
def commit; end
|
3623
|
-
def initialize(connection, options, *args); end
|
3624
|
-
def rollback; end
|
3625
|
-
end
|
3626
|
-
class ActiveRecord::ConnectionAdapters::TransactionManager
|
3627
|
-
def after_failure_actions(transaction, error); end
|
3628
|
-
def begin_transaction(options = nil); end
|
3629
|
-
def commit_transaction; end
|
3630
|
-
def current_transaction; end
|
3631
|
-
def initialize(connection); end
|
3632
|
-
def open_transactions; end
|
3633
|
-
def rollback_transaction(transaction = nil); end
|
3634
|
-
def within_new_transaction(options = nil); end
|
3635
|
-
end
|
3636
|
-
module Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_16
|
3637
|
-
end
|
3638
|
-
class ActiveRecord::SchemaMigration < ActiveRecord::Base
|
3639
|
-
def self._validators; end
|
3640
|
-
def self.all_versions; end
|
3641
|
-
def self.attribute_type_decorations; end
|
3642
|
-
def self.create_table; end
|
3643
|
-
def self.defined_enums; end
|
3644
|
-
def self.drop_table; end
|
3645
|
-
def self.normalize_migration_number(number); end
|
3646
|
-
def self.normalized_versions; end
|
3647
|
-
def self.primary_key; end
|
3648
|
-
def self.table_exists?; end
|
3649
|
-
def self.table_name; end
|
3650
|
-
def version; end
|
3651
|
-
include ActiveRecord::SchemaMigration::GeneratedAssociationMethods
|
3652
|
-
include Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_16
|
3586
|
+
module ActiveRecord::Migration::Compatibility
|
3587
|
+
def self.find(version); end
|
3653
3588
|
end
|
3654
|
-
|
3655
|
-
end
|
3656
|
-
|
3657
|
-
extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
|
3658
|
-
include ActiveRecord::Delegation::ClassSpecificRelation
|
3659
|
-
include ActiveRecord::SchemaMigration::GeneratedRelationMethods
|
3589
|
+
class ActiveRecord::Migration::Compatibility::V5_1 < ActiveRecord::Migration::Current
|
3590
|
+
def change_column(table_name, column_name, type, options = nil); end
|
3591
|
+
def create_table(table_name, options = nil); end
|
3660
3592
|
end
|
3661
|
-
|
3593
|
+
class ActiveRecord::Migration::Compatibility::V5_0 < ActiveRecord::Migration::Compatibility::V5_1
|
3594
|
+
def add_belongs_to(table_name, ref_name, **options); end
|
3595
|
+
def add_column(table_name, column_name, type, options = nil); end
|
3596
|
+
def add_reference(table_name, ref_name, **options); end
|
3597
|
+
def change_table(table_name, options = nil); end
|
3598
|
+
def compatible_table_definition(t); end
|
3599
|
+
def create_join_table(table_1, table_2, column_options: nil, **options); end
|
3600
|
+
def create_table(table_name, options = nil); end
|
3662
3601
|
end
|
3663
|
-
|
3664
|
-
|
3665
|
-
|
3666
|
-
|
3602
|
+
module ActiveRecord::Migration::Compatibility::V5_0::TableDefinition
|
3603
|
+
def belongs_to(*args, **options); end
|
3604
|
+
def primary_key(name, type = nil, **options); end
|
3605
|
+
def references(*args, **options); end
|
3667
3606
|
end
|
3668
|
-
class ActiveRecord::
|
3669
|
-
|
3670
|
-
|
3671
|
-
|
3607
|
+
class ActiveRecord::Migration::Compatibility::V4_2 < ActiveRecord::Migration::Compatibility::V5_0
|
3608
|
+
def add_belongs_to(*arg0, **options); end
|
3609
|
+
def add_reference(*arg0, **options); end
|
3610
|
+
def add_timestamps(_, **options); end
|
3611
|
+
def change_table(table_name, options = nil); end
|
3612
|
+
def compatible_table_definition(t); end
|
3613
|
+
def create_table(table_name, options = nil); end
|
3614
|
+
def index_exists?(table_name, column_name, options = nil); end
|
3615
|
+
def index_name_for_remove(table_name, options = nil); end
|
3616
|
+
def remove_index(table_name, options = nil); end
|
3672
3617
|
end
|
3673
|
-
|
3674
|
-
def
|
3675
|
-
def
|
3676
|
-
def
|
3677
|
-
def column_type(name, type_overrides = nil); end
|
3678
|
-
def column_types; end
|
3679
|
-
def columns; end
|
3680
|
-
def each; end
|
3681
|
-
def empty?; end
|
3682
|
-
def first; end
|
3683
|
-
def hash_rows; end
|
3684
|
-
def initialize(columns, rows, column_types = nil); end
|
3685
|
-
def initialize_copy(other); end
|
3686
|
-
def last; end
|
3687
|
-
def length; end
|
3688
|
-
def map!; end
|
3689
|
-
def rows; end
|
3690
|
-
def to_ary; end
|
3691
|
-
def to_hash; end
|
3692
|
-
include Enumerable
|
3618
|
+
module ActiveRecord::Migration::Compatibility::V4_2::TableDefinition
|
3619
|
+
def belongs_to(*arg0, **options); end
|
3620
|
+
def references(*arg0, **options); end
|
3621
|
+
def timestamps(**options); end
|
3693
3622
|
end
|
3694
3623
|
class ActiveRecord::PredicateBuilder
|
3695
3624
|
def associated_predicate_builder(association_name); end
|
@@ -3728,16 +3657,17 @@ class ActiveRecord::PredicateBuilder::RangeHandler
|
|
3728
3657
|
def initialize(predicate_builder); end
|
3729
3658
|
def predicate_builder; end
|
3730
3659
|
end
|
3731
|
-
class
|
3660
|
+
class Anonymous_Struct_16 < Struct
|
3732
3661
|
def begin; end
|
3733
3662
|
def begin=(_); end
|
3734
3663
|
def end; end
|
3735
3664
|
def end=(_); end
|
3736
3665
|
def self.[](*arg0); end
|
3666
|
+
def self.inspect; end
|
3737
3667
|
def self.members; end
|
3738
3668
|
def self.new(*arg0); end
|
3739
3669
|
end
|
3740
|
-
class ActiveRecord::PredicateBuilder::RangeHandler::RangeWithBinds <
|
3670
|
+
class ActiveRecord::PredicateBuilder::RangeHandler::RangeWithBinds < Anonymous_Struct_16
|
3741
3671
|
def exclude_end?; end
|
3742
3672
|
end
|
3743
3673
|
class ActiveRecord::PredicateBuilder::RelationHandler
|
@@ -3781,6 +3711,89 @@ class ActiveRecord::TableMetadata
|
|
3781
3711
|
def resolve_column_aliases(hash); end
|
3782
3712
|
def type(column_name); end
|
3783
3713
|
end
|
3714
|
+
class ActiveRecord::ConnectionAdapters::TransactionState
|
3715
|
+
def add_child(state); end
|
3716
|
+
def commit!; end
|
3717
|
+
def committed?; end
|
3718
|
+
def completed?; end
|
3719
|
+
def finalized?; end
|
3720
|
+
def full_commit!; end
|
3721
|
+
def full_rollback!; end
|
3722
|
+
def fully_committed?; end
|
3723
|
+
def fully_completed?; end
|
3724
|
+
def fully_rolledback?; end
|
3725
|
+
def initialize(state = nil); end
|
3726
|
+
def nullify!; end
|
3727
|
+
def rollback!; end
|
3728
|
+
def rolledback?; end
|
3729
|
+
def set_state(state); end
|
3730
|
+
end
|
3731
|
+
class ActiveRecord::ConnectionAdapters::NullTransaction
|
3732
|
+
def add_record(record); end
|
3733
|
+
def closed?; end
|
3734
|
+
def initialize; end
|
3735
|
+
def joinable?; end
|
3736
|
+
def open?; end
|
3737
|
+
def state; end
|
3738
|
+
end
|
3739
|
+
class ActiveRecord::ConnectionAdapters::Transaction
|
3740
|
+
def add_record(record); end
|
3741
|
+
def before_commit_records; end
|
3742
|
+
def closed?; end
|
3743
|
+
def commit_records; end
|
3744
|
+
def connection; end
|
3745
|
+
def full_rollback?; end
|
3746
|
+
def initialize(connection, options, run_commit_callbacks: nil); end
|
3747
|
+
def joinable=(arg0); end
|
3748
|
+
def joinable?; end
|
3749
|
+
def open?; end
|
3750
|
+
def records; end
|
3751
|
+
def rollback_records; end
|
3752
|
+
def savepoint_name; end
|
3753
|
+
def state; end
|
3754
|
+
end
|
3755
|
+
class ActiveRecord::ConnectionAdapters::SavepointTransaction < ActiveRecord::ConnectionAdapters::Transaction
|
3756
|
+
def commit; end
|
3757
|
+
def full_rollback?; end
|
3758
|
+
def initialize(connection, savepoint_name, parent_transaction, options, *args); end
|
3759
|
+
def rollback; end
|
3760
|
+
end
|
3761
|
+
class ActiveRecord::ConnectionAdapters::RealTransaction < ActiveRecord::ConnectionAdapters::Transaction
|
3762
|
+
def commit; end
|
3763
|
+
def initialize(connection, options, *args); end
|
3764
|
+
def rollback; end
|
3765
|
+
end
|
3766
|
+
class ActiveRecord::ConnectionAdapters::TransactionManager
|
3767
|
+
def after_failure_actions(transaction, error); end
|
3768
|
+
def begin_transaction(options = nil); end
|
3769
|
+
def commit_transaction; end
|
3770
|
+
def current_transaction; end
|
3771
|
+
def initialize(connection); end
|
3772
|
+
def open_transactions; end
|
3773
|
+
def rollback_transaction(transaction = nil); end
|
3774
|
+
def within_new_transaction(options = nil); end
|
3775
|
+
end
|
3776
|
+
class ActiveRecord::Result
|
3777
|
+
def [](idx); end
|
3778
|
+
def cast_values(type_overrides = nil); end
|
3779
|
+
def collect!; end
|
3780
|
+
def column_type(name, type_overrides = nil); end
|
3781
|
+
def column_types; end
|
3782
|
+
def columns; end
|
3783
|
+
def each; end
|
3784
|
+
def empty?; end
|
3785
|
+
def first; end
|
3786
|
+
def hash_rows; end
|
3787
|
+
def initialize(columns, rows, column_types = nil); end
|
3788
|
+
def initialize_copy(other); end
|
3789
|
+
def last; end
|
3790
|
+
def length; end
|
3791
|
+
def map!; end
|
3792
|
+
def rows; end
|
3793
|
+
def to_ary; end
|
3794
|
+
def to_hash; end
|
3795
|
+
include Enumerable
|
3796
|
+
end
|
3784
3797
|
class ActiveRecord::ConnectionAdapters::Column
|
3785
3798
|
def ==(other); end
|
3786
3799
|
def attributes_for_hash; end
|
@@ -3809,188 +3822,6 @@ end
|
|
3809
3822
|
class ActiveRecord::ConnectionAdapters::NullColumn < ActiveRecord::ConnectionAdapters::Column
|
3810
3823
|
def initialize(name); end
|
3811
3824
|
end
|
3812
|
-
class
|
3813
|
-
def
|
3814
|
-
def []=(k, v); end
|
3815
|
-
def add_join_records(rows, row, association); end
|
3816
|
-
def all_loaded_fixtures; end
|
3817
|
-
def all_loaded_fixtures=(obj); end
|
3818
|
-
def column_names; end
|
3819
|
-
def config; end
|
3820
|
-
def each(&block); end
|
3821
|
-
def fixtures; end
|
3822
|
-
def has_primary_key_column?; end
|
3823
|
-
def inheritance_column_name; end
|
3824
|
-
def initialize(connection, name, class_name, path, config = nil); end
|
3825
|
-
def model_class; end
|
3826
|
-
def model_class=(class_name); end
|
3827
|
-
def name; end
|
3828
|
-
def primary_key_name; end
|
3829
|
-
def primary_key_type; end
|
3830
|
-
def read_fixture_files(path); end
|
3831
|
-
def self.all_loaded_fixtures; end
|
3832
|
-
def self.all_loaded_fixtures=(obj); end
|
3833
|
-
def self.cache_fixtures(connection, fixtures_map); end
|
3834
|
-
def self.cache_for_connection(connection); end
|
3835
|
-
def self.cached_fixtures(connection, keys_to_fetch = nil); end
|
3836
|
-
def self.context_class; end
|
3837
|
-
def self.create_fixtures(fixtures_directory, fixture_set_names, class_names = nil, config = nil); end
|
3838
|
-
def self.default_fixture_model_name(fixture_set_name, config = nil); end
|
3839
|
-
def self.default_fixture_table_name(fixture_set_name, config = nil); end
|
3840
|
-
def self.fixture_is_cached?(connection, table_name); end
|
3841
|
-
def self.identify(label, column_type = nil); end
|
3842
|
-
def self.instantiate_all_loaded_fixtures(object, load_instances = nil); end
|
3843
|
-
def self.instantiate_fixtures(object, fixture_set, load_instances = nil); end
|
3844
|
-
def self.reset_cache; end
|
3845
|
-
def self.update_all_loaded_fixtures(fixtures_map); end
|
3846
|
-
def size; end
|
3847
|
-
def table_name; end
|
3848
|
-
def table_rows; end
|
3849
|
-
def timestamp_column_names; end
|
3850
|
-
def yaml_file_path(path); end
|
3851
|
-
end
|
3852
|
-
class ActiveRecord::FixtureSet::File
|
3853
|
-
def config_row; end
|
3854
|
-
def each(&block); end
|
3855
|
-
def initialize(file); end
|
3856
|
-
def model_class; end
|
3857
|
-
def prepare_erb(content); end
|
3858
|
-
def raw_rows; end
|
3859
|
-
def render(content); end
|
3860
|
-
def rows; end
|
3861
|
-
def self.open(file); end
|
3862
|
-
def validate(data); end
|
3863
|
-
include Enumerable
|
3864
|
-
end
|
3865
|
-
class ActiveRecord::FixtureClassNotFound < ActiveRecord::ActiveRecordError
|
3866
|
-
end
|
3867
|
-
class ActiveRecord::FixtureSet::ClassCache
|
3868
|
-
def [](fs_name); end
|
3869
|
-
def default_fixture_model(fs_name, config); end
|
3870
|
-
def initialize(class_names, config); end
|
3871
|
-
def insert_class(class_names, name, klass); end
|
3872
|
-
end
|
3873
|
-
class ActiveRecord::FixtureSet::ReflectionProxy
|
3874
|
-
def initialize(association); end
|
3875
|
-
def join_table; end
|
3876
|
-
def name; end
|
3877
|
-
def primary_key_type; end
|
3878
|
-
end
|
3879
|
-
class ActiveRecord::FixtureSet::HasManyThroughProxy < ActiveRecord::FixtureSet::ReflectionProxy
|
3880
|
-
def join_table; end
|
3881
|
-
def lhs_key; end
|
3882
|
-
def rhs_key; end
|
3883
|
-
end
|
3884
|
-
class ActiveRecord::Fixture
|
3885
|
-
def [](key); end
|
3886
|
-
def class_name; end
|
3887
|
-
def each; end
|
3888
|
-
def find; end
|
3889
|
-
def fixture; end
|
3890
|
-
def initialize(fixture, model_class); end
|
3891
|
-
def model_class; end
|
3892
|
-
def to_hash; end
|
3893
|
-
include Enumerable
|
3894
|
-
end
|
3895
|
-
class ActiveRecord::Fixture::FixtureError < StandardError
|
3896
|
-
end
|
3897
|
-
class ActiveRecord::Fixture::FormatError < ActiveRecord::Fixture::FixtureError
|
3898
|
-
end
|
3899
|
-
module ActiveRecord::TestFixtures
|
3900
|
-
def after_teardown; end
|
3901
|
-
def before_setup; end
|
3902
|
-
def enlist_fixture_connections; end
|
3903
|
-
def instantiate_fixtures; end
|
3904
|
-
def load_fixtures(config); end
|
3905
|
-
def load_instances?; end
|
3906
|
-
def run_in_transaction?; end
|
3907
|
-
def setup_fixtures(config = nil); end
|
3908
|
-
def teardown_fixtures; end
|
3909
|
-
extend ActiveSupport::Concern
|
3910
|
-
end
|
3911
|
-
module ActiveRecord::TestFixtures::ClassMethods
|
3912
|
-
def fixtures(*fixture_set_names); end
|
3913
|
-
def set_fixture_class(class_names = nil); end
|
3914
|
-
def setup_fixture_accessors(fixture_set_names = nil); end
|
3915
|
-
def uses_transaction(*methods); end
|
3916
|
-
def uses_transaction?(method); end
|
3917
|
-
end
|
3918
|
-
class ActiveRecord::FixtureSet::RenderContext
|
3919
|
-
def self.create_subclass; end
|
3920
|
-
end
|
3921
|
-
class ActiveRecord::Schema < ActiveRecord::Migration::Current
|
3922
|
-
def define(info, &block); end
|
3923
|
-
def migrations_paths; end
|
3924
|
-
def self.define(info = nil, &block); end
|
3925
|
-
end
|
3926
|
-
module Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_18
|
3927
|
-
end
|
3928
|
-
class ActiveRecord::InternalMetadata < ActiveRecord::Base
|
3929
|
-
def self.[](key); end
|
3930
|
-
def self.[]=(key, value); end
|
3931
|
-
def self._validators; end
|
3932
|
-
def self.attribute_type_decorations; end
|
3933
|
-
def self.create_table; end
|
3934
|
-
def self.defined_enums; end
|
3935
|
-
def self.primary_key; end
|
3936
|
-
def self.table_exists?; end
|
3937
|
-
def self.table_name; end
|
3938
|
-
include ActiveRecord::InternalMetadata::GeneratedAssociationMethods
|
3939
|
-
include Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_18
|
3940
|
-
end
|
3941
|
-
module ActiveRecord::InternalMetadata::GeneratedAssociationMethods
|
3942
|
-
end
|
3943
|
-
class ActiveRecord::InternalMetadata::ActiveRecord_Relation < ActiveRecord::Relation
|
3944
|
-
extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
|
3945
|
-
include ActiveRecord::Delegation::ClassSpecificRelation
|
3946
|
-
include ActiveRecord::InternalMetadata::GeneratedRelationMethods
|
3947
|
-
end
|
3948
|
-
module ActiveRecord::InternalMetadata::GeneratedRelationMethods
|
3949
|
-
end
|
3950
|
-
class ActiveRecord::InternalMetadata::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associations::CollectionProxy
|
3951
|
-
extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
|
3952
|
-
include ActiveRecord::Delegation::ClassSpecificRelation
|
3953
|
-
include ActiveRecord::InternalMetadata::GeneratedRelationMethods
|
3954
|
-
end
|
3955
|
-
class ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelation
|
3956
|
-
extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
|
3957
|
-
include ActiveRecord::Delegation::ClassSpecificRelation
|
3958
|
-
include ActiveRecord::InternalMetadata::GeneratedRelationMethods
|
3959
|
-
end
|
3960
|
-
class ActiveRecord::StatementCache
|
3961
|
-
def bind_map; end
|
3962
|
-
def execute(params, connection, &block); end
|
3963
|
-
def initialize(query_builder, bind_map, klass); end
|
3964
|
-
def klass; end
|
3965
|
-
def query_builder; end
|
3966
|
-
def self.create(connection, block = nil); end
|
3967
|
-
def self.partial_query(values); end
|
3968
|
-
def self.query(sql); end
|
3969
|
-
def self.unsupported_value?(value); end
|
3970
|
-
end
|
3971
|
-
class ActiveRecord::StatementCache::Substitute
|
3972
|
-
end
|
3973
|
-
class ActiveRecord::StatementCache::Query
|
3974
|
-
def initialize(sql); end
|
3975
|
-
def sql_for(binds, connection); end
|
3976
|
-
end
|
3977
|
-
class ActiveRecord::StatementCache::PartialQuery < ActiveRecord::StatementCache::Query
|
3978
|
-
def initialize(values); end
|
3979
|
-
def sql_for(binds, connection); end
|
3980
|
-
end
|
3981
|
-
class ActiveRecord::StatementCache::Params
|
3982
|
-
def bind; end
|
3983
|
-
end
|
3984
|
-
class ActiveRecord::StatementCache::BindMap
|
3985
|
-
def bind(values); end
|
3986
|
-
def initialize(bound_attributes); end
|
3987
|
-
end
|
3988
|
-
module ActiveRecord::LegacyYamlAdapter
|
3989
|
-
def self.convert(klass, coder); end
|
3990
|
-
end
|
3991
|
-
module ActiveRecord::LegacyYamlAdapter::Rails420
|
3992
|
-
def self.convert(klass, coder); end
|
3993
|
-
end
|
3994
|
-
module ActiveRecord::LegacyYamlAdapter::Rails41
|
3995
|
-
def self.convert(klass, coder); end
|
3825
|
+
class Wizard < ApplicationRecord
|
3826
|
+
def self.default_scope_override; end
|
3996
3827
|
end
|