sorbet-rails 0.2.0 → 0.3.0

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