sorbet-rails 0.5.1 → 0.5.2

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