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