sorbet-rails 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (431) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +5 -2
  3. data/.travis.yml +7 -1
  4. data/CONTRIBUTING.md +3 -1
  5. data/Gemfile +11 -0
  6. data/README.md +0 -2
  7. data/{rbi → lib/sorbet-rails/rbi}/activerecord.rbi +118 -86
  8. data/lib/sorbet-rails/tasks/rails_rbi.rake +15 -6
  9. data/lib/sorbet-rails/utils.rb +11 -0
  10. data/sorbet-rails.gemspec +1 -1
  11. data/spec/bin/run_all_specs.sh +3 -2
  12. data/spec/bin/run_spec.sh +33 -26
  13. data/spec/model_rbi_formatter_spec.rb +0 -15
  14. data/spec/rails_helper.rb +12 -7
  15. data/spec/rake_rails_rbi_models_spec.rb +22 -5
  16. data/spec/rake_rails_rbi_routes_spec.rb +0 -1
  17. data/spec/sorbet_spec.rb +80 -0
  18. data/spec/support/rails_shared/config/routes.rb +1 -0
  19. data/spec/support/rails_shared/sorbet_test_cases.rb +120 -0
  20. data/spec/support/rails_symlinks/sorbet_test_cases.rb +1 -0
  21. data/spec/support/v4.2/Gemfile +13 -0
  22. data/spec/support/v4.2/Gemfile.lock +138 -0
  23. data/spec/support/v4.2/app/controllers/application_controller.rb +1 -0
  24. data/spec/support/v4.2/app/helpers/application_helper.rb +1 -0
  25. data/spec/support/v4.2/config/application.rb +1 -0
  26. data/spec/support/v4.2/config/boot.rb +1 -0
  27. data/spec/support/v4.2/config/environment.rb +1 -0
  28. data/spec/support/v4.2/config/environments/development.rb +1 -0
  29. data/spec/support/v4.2/config/environments/production.rb +1 -0
  30. data/spec/support/v4.2/config/environments/test.rb +1 -0
  31. data/spec/support/v4.2/config/initializers/backtrace_silencers.rb +1 -0
  32. data/spec/support/v4.2/config/initializers/cookies_serializer.rb +1 -0
  33. data/spec/support/v4.2/config/initializers/filter_parameter_logging.rb +1 -0
  34. data/spec/support/v4.2/config/initializers/inflections.rb +1 -0
  35. data/spec/support/v4.2/config/initializers/mime_types.rb +1 -0
  36. data/spec/support/v4.2/config/initializers/session_store.rb +1 -0
  37. data/spec/support/v4.2/config/initializers/to_time_preserves_timezone.rb +1 -0
  38. data/spec/support/v4.2/config/initializers/wrap_parameters.rb +1 -0
  39. data/spec/support/v4.2/config/routes.rb +1 -0
  40. data/spec/support/v4.2/db/migrate/20190620001234_create_wizards.rb +1 -0
  41. data/spec/support/v4.2/db/migrate/20190620003037_create_wands.rb +1 -0
  42. data/spec/support/v4.2/db/migrate/20190620003739_create_spell_books.rb +1 -0
  43. data/spec/support/v4.2/db/migrate/20190622000000_add_more_column_types_to_wands.rb +1 -0
  44. data/spec/support/v4.2/db/schema.rb +1 -0
  45. data/spec/support/v4.2/db/seeds.rb +1 -0
  46. data/spec/support/v4.2/sorbet/config +2 -0
  47. data/spec/support/v4.2/sorbet/rbi/gems/actionmailer.rbi +267 -0
  48. data/spec/support/v4.2/sorbet/rbi/gems/actionpack.rbi +2885 -0
  49. data/spec/support/v4.2/sorbet/rbi/gems/actionview.rbi +978 -0
  50. data/spec/support/v4.2/sorbet/rbi/gems/activejob.rbi +19 -0
  51. data/spec/support/v4.2/sorbet/rbi/gems/activemodel.rbi +335 -0
  52. data/spec/support/v4.2/sorbet/rbi/gems/activerecord.rbi +3382 -0
  53. data/spec/support/v4.2/sorbet/rbi/gems/activesupport.rbi +1892 -0
  54. data/spec/support/v4.2/sorbet/rbi/gems/arel.rbi +1109 -0
  55. data/spec/support/v4.2/sorbet/rbi/gems/binding_of_caller.rbi +22 -0
  56. data/spec/support/v4.2/sorbet/rbi/gems/byebug.rbi +1039 -0
  57. data/spec/support/v4.2/sorbet/rbi/gems/concurrent-ruby.rbi +218 -0
  58. data/spec/support/v4.2/sorbet/rbi/gems/crass.rbi +92 -0
  59. data/spec/support/v4.2/sorbet/rbi/gems/debug_inspector.rbi +18 -0
  60. data/spec/support/v4.2/sorbet/rbi/gems/erubis.rbi +265 -0
  61. data/spec/support/v4.2/sorbet/rbi/gems/globalid.rbi +98 -0
  62. data/spec/support/v4.2/sorbet/rbi/gems/i18n.rbi +186 -0
  63. data/spec/support/v4.2/sorbet/rbi/gems/jbuilder.rbi +99 -0
  64. data/spec/support/v4.2/sorbet/rbi/gems/loofah.rbi +129 -0
  65. data/spec/support/v4.2/sorbet/rbi/gems/mail.rbi +1091 -0
  66. data/spec/support/v4.2/sorbet/rbi/gems/mini_mime.rbi +45 -0
  67. data/spec/support/v4.2/sorbet/rbi/gems/minitest.rbi +276 -0
  68. data/spec/support/v4.2/sorbet/rbi/gems/nokogiri.rbi +1010 -0
  69. data/spec/support/v4.2/sorbet/rbi/gems/rack-test.rbi +145 -0
  70. data/spec/support/v4.2/sorbet/rbi/gems/rack.rbi +490 -0
  71. data/spec/support/v4.2/sorbet/rbi/gems/rails-deprecated_sanitizer.rbi +13 -0
  72. data/spec/support/v4.2/sorbet/rbi/gems/rails-dom-testing.rbi +76 -0
  73. data/spec/support/v4.2/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
  74. data/spec/support/v4.2/sorbet/rbi/gems/railties.rbi +623 -0
  75. data/spec/support/v4.2/sorbet/rbi/gems/rdoc.rbi +1053 -0
  76. data/spec/support/v4.2/sorbet/rbi/gems/sdoc.rbi +73 -0
  77. data/spec/support/v4.2/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
  78. data/spec/support/v4.2/sorbet/rbi/gems/sqlite3.rbi +345 -0
  79. data/spec/support/v4.2/sorbet/rbi/gems/thor.rbi +401 -0
  80. data/spec/support/v4.2/sorbet/rbi/gems/thread_safe.rbi +81 -0
  81. data/spec/support/v4.2/sorbet/rbi/gems/tzinfo.rbi +407 -0
  82. data/spec/support/v4.2/sorbet/rbi/gems/web-console.rbi +136 -0
  83. data/spec/support/v4.2/sorbet/rbi/hidden-definitions/errors.txt +11998 -0
  84. data/spec/support/v4.2/sorbet/rbi/hidden-definitions/hidden.rbi +27774 -0
  85. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
  86. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
  87. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
  88. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
  89. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
  90. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
  91. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  92. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  93. data/spec/support/v4.2/sorbet/rbi/todo.rbi +8 -0
  94. data/spec/support/v4.2/sorbet_test_cases.rb +1 -0
  95. data/spec/support/v4.2/test/test_helper.rb +1 -0
  96. data/spec/support/v5.0/Gemfile +13 -0
  97. data/spec/support/v5.0/Gemfile.lock +130 -0
  98. data/spec/support/v5.0/app/channels/application_cable/channel.rb +1 -0
  99. data/spec/support/v5.0/app/channels/application_cable/connection.rb +1 -0
  100. data/spec/support/v5.0/app/jobs/application_job.rb +1 -0
  101. data/spec/support/v5.0/app/mailers/application_mailer.rb +1 -0
  102. data/spec/support/v5.0/config/application.rb +1 -0
  103. data/spec/support/v5.0/config/boot.rb +1 -0
  104. data/spec/support/v5.0/config/environment.rb +1 -0
  105. data/spec/support/v5.0/config/environments/development.rb +1 -0
  106. data/spec/support/v5.0/config/environments/production.rb +1 -0
  107. data/spec/support/v5.0/config/environments/test.rb +1 -0
  108. data/spec/support/v5.0/config/initializers/application_controller_renderer.rb +1 -0
  109. data/spec/support/v5.0/config/initializers/backtrace_silencers.rb +1 -0
  110. data/spec/support/v5.0/config/initializers/cors.rb +1 -0
  111. data/spec/support/v5.0/config/initializers/filter_parameter_logging.rb +1 -0
  112. data/spec/support/v5.0/config/initializers/inflections.rb +1 -0
  113. data/spec/support/v5.0/config/initializers/mime_types.rb +1 -0
  114. data/spec/support/v5.0/config/initializers/new_framework_defaults.rb +1 -0
  115. data/spec/support/v5.0/config/initializers/wrap_parameters.rb +1 -0
  116. data/spec/support/v5.0/config/puma.rb +1 -0
  117. data/spec/support/v5.0/config/routes.rb +1 -0
  118. data/spec/support/v5.0/db/schema.rb +1 -0
  119. data/spec/support/v5.0/db/seeds.rb +1 -0
  120. data/spec/support/v5.0/rails_symlinks/config/routes.rb +1 -0
  121. data/spec/support/v5.0/sorbet/config +2 -0
  122. data/spec/support/v5.0/sorbet/rbi/gems/actioncable.rbi +309 -0
  123. data/spec/support/v5.0/sorbet/rbi/gems/actionmailer.rbi +379 -0
  124. data/spec/support/v5.0/sorbet/rbi/gems/actionpack.rbi +3150 -0
  125. data/spec/support/v5.0/sorbet/rbi/gems/actionview.rbi +1093 -0
  126. data/spec/support/v5.0/sorbet/rbi/gems/activejob.rbi +252 -0
  127. data/spec/support/v5.0/sorbet/rbi/gems/activemodel.rbi +562 -0
  128. data/spec/support/v5.0/sorbet/rbi/gems/activerecord.rbi +4060 -0
  129. data/spec/support/v5.0/sorbet/rbi/gems/activesupport.rbi +2078 -0
  130. data/spec/support/v5.0/sorbet/rbi/gems/arel.rbi +1222 -0
  131. data/spec/support/v5.0/sorbet/rbi/gems/byebug.rbi +1039 -0
  132. data/spec/support/v5.0/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
  133. data/spec/support/v5.0/sorbet/rbi/gems/crass.rbi +92 -0
  134. data/spec/support/v5.0/sorbet/rbi/gems/erubis.rbi +265 -0
  135. data/spec/support/v5.0/sorbet/rbi/gems/globalid.rbi +98 -0
  136. data/spec/support/v5.0/sorbet/rbi/gems/i18n.rbi +191 -0
  137. data/spec/support/v5.0/sorbet/rbi/gems/loofah.rbi +129 -0
  138. data/spec/support/v5.0/sorbet/rbi/gems/mail.rbi +1091 -0
  139. data/spec/support/v5.0/sorbet/rbi/gems/method_source.rbi +63 -0
  140. data/spec/support/v5.0/sorbet/rbi/gems/mini_mime.rbi +45 -0
  141. data/spec/support/v5.0/sorbet/rbi/gems/minitest.rbi +276 -0
  142. data/spec/support/v5.0/sorbet/rbi/gems/nokogiri.rbi +1010 -0
  143. data/spec/support/v5.0/sorbet/rbi/gems/puma.rbi +570 -0
  144. data/spec/support/v5.0/sorbet/rbi/gems/rack-test.rbi +145 -0
  145. data/spec/support/v5.0/sorbet/rbi/gems/rack.rbi +534 -0
  146. data/spec/support/v5.0/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
  147. data/spec/support/v5.0/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
  148. data/spec/support/v5.0/sorbet/rbi/gems/railties.rbi +682 -0
  149. data/spec/support/v5.0/sorbet/rbi/gems/rake.rbi +255 -0
  150. data/spec/support/v5.0/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
  151. data/spec/support/v5.0/sorbet/rbi/gems/sqlite3.rbi +345 -0
  152. data/spec/support/v5.0/sorbet/rbi/gems/thor.rbi +401 -0
  153. data/spec/support/v5.0/sorbet/rbi/gems/thread_safe.rbi +81 -0
  154. data/spec/support/v5.0/sorbet/rbi/gems/tzinfo.rbi +407 -0
  155. data/spec/support/v5.0/sorbet/rbi/hidden-definitions/errors.txt +10523 -0
  156. data/spec/support/v5.0/sorbet/rbi/hidden-definitions/hidden.rbi +24969 -0
  157. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
  158. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
  159. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
  160. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
  161. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
  162. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
  163. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  164. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  165. data/spec/support/v5.0/sorbet/rbi/todo.rbi +10 -0
  166. data/spec/support/v5.0/sorbet_test_cases.rb +1 -0
  167. data/spec/support/v5.0/test/test_helper.rb +1 -0
  168. data/spec/support/v5.1/Gemfile +13 -0
  169. data/spec/support/v5.1/Gemfile.lock +15 -20
  170. data/spec/support/v5.1/app/channels/application_cable/channel.rb +1 -0
  171. data/spec/support/v5.1/app/channels/application_cable/connection.rb +1 -0
  172. data/spec/support/v5.1/app/jobs/application_job.rb +1 -0
  173. data/spec/support/v5.1/app/mailers/application_mailer.rb +1 -0
  174. data/spec/support/v5.1/bin/rails +0 -5
  175. data/spec/support/v5.1/bin/rake +0 -5
  176. data/spec/support/v5.1/config/application.rb +1 -0
  177. data/spec/support/v5.1/config/boot.rb +1 -0
  178. data/spec/support/v5.1/config/environment.rb +1 -0
  179. data/spec/support/v5.1/config/environments/development.rb +2 -1
  180. data/spec/support/v5.1/config/environments/production.rb +1 -0
  181. data/spec/support/v5.1/config/environments/test.rb +1 -0
  182. data/spec/support/v5.1/config/initializers/application_controller_renderer.rb +1 -0
  183. data/spec/support/v5.1/config/initializers/backtrace_silencers.rb +1 -0
  184. data/spec/support/v5.1/config/initializers/cors.rb +1 -0
  185. data/spec/support/v5.1/config/initializers/filter_parameter_logging.rb +1 -0
  186. data/spec/support/v5.1/config/initializers/inflections.rb +1 -0
  187. data/spec/support/v5.1/config/initializers/mime_types.rb +1 -0
  188. data/spec/support/v5.1/config/initializers/wrap_parameters.rb +1 -0
  189. data/spec/support/v5.1/config/puma.rb +1 -0
  190. data/spec/support/v5.1/config/spring.rb +1 -0
  191. data/spec/support/v5.1/db/schema.rb +1 -0
  192. data/spec/support/v5.1/db/seeds.rb +1 -0
  193. data/spec/support/v5.1/sorbet/config +2 -0
  194. data/spec/support/v5.1/sorbet/rbi/gems/actioncable.rbi +309 -0
  195. data/spec/support/v5.1/sorbet/rbi/gems/actionmailer.rbi +429 -0
  196. data/spec/support/v5.1/sorbet/rbi/gems/actionpack.rbi +3171 -0
  197. data/spec/support/v5.1/sorbet/rbi/gems/actionview.rbi +1115 -0
  198. data/spec/support/v5.1/sorbet/rbi/gems/activejob.rbi +273 -0
  199. data/spec/support/v5.1/sorbet/rbi/gems/activemodel.rbi +547 -0
  200. data/spec/support/v5.1/sorbet/rbi/gems/activerecord.rbi +4093 -0
  201. data/spec/support/v5.1/sorbet/rbi/gems/activesupport.rbi +2180 -0
  202. data/spec/support/v5.1/sorbet/rbi/gems/arel.rbi +1220 -0
  203. data/spec/support/v5.1/sorbet/rbi/gems/byebug.rbi +1039 -0
  204. data/spec/support/v5.1/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
  205. data/spec/support/v5.1/sorbet/rbi/gems/crass.rbi +92 -0
  206. data/spec/support/v5.1/sorbet/rbi/gems/erubi.rbi +26 -0
  207. data/spec/support/v5.1/sorbet/rbi/gems/globalid.rbi +98 -0
  208. data/spec/support/v5.1/sorbet/rbi/gems/i18n.rbi +191 -0
  209. data/spec/support/v5.1/sorbet/rbi/gems/loofah.rbi +129 -0
  210. data/spec/support/v5.1/sorbet/rbi/gems/mail.rbi +1091 -0
  211. data/spec/support/v5.1/sorbet/rbi/gems/method_source.rbi +63 -0
  212. data/spec/support/v5.1/sorbet/rbi/gems/mini_mime.rbi +45 -0
  213. data/spec/support/v5.1/sorbet/rbi/gems/minitest.rbi +276 -0
  214. data/spec/support/v5.1/sorbet/rbi/gems/nokogiri.rbi +1010 -0
  215. data/spec/support/v5.1/sorbet/rbi/gems/puma.rbi +570 -0
  216. data/spec/support/v5.1/sorbet/rbi/gems/rack-test.rbi +161 -0
  217. data/spec/support/v5.1/sorbet/rbi/gems/rack.rbi +534 -0
  218. data/spec/support/v5.1/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
  219. data/spec/support/v5.1/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
  220. data/spec/support/v5.1/sorbet/rbi/gems/railties.rbi +707 -0
  221. data/spec/support/v5.1/sorbet/rbi/gems/rake.rbi +255 -0
  222. data/spec/support/v5.1/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
  223. data/spec/support/v5.1/sorbet/rbi/gems/sqlite3.rbi +345 -0
  224. data/spec/support/v5.1/sorbet/rbi/gems/thor.rbi +450 -0
  225. data/spec/support/v5.1/sorbet/rbi/gems/thread_safe.rbi +81 -0
  226. data/spec/support/v5.1/sorbet/rbi/gems/tzinfo.rbi +407 -0
  227. data/spec/support/v5.1/sorbet/rbi/hidden-definitions/errors.txt +10226 -0
  228. data/spec/support/v5.1/sorbet/rbi/hidden-definitions/hidden.rbi +24635 -0
  229. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
  230. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
  231. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
  232. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
  233. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
  234. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
  235. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  236. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  237. data/spec/support/v5.1/sorbet/rbi/todo.rbi +11 -0
  238. data/spec/support/v5.1/sorbet_test_cases.rb +1 -0
  239. data/spec/support/v5.1/test/test_helper.rb +1 -0
  240. data/spec/support/v5.2/Gemfile +12 -0
  241. data/spec/support/v5.2/Gemfile.lock +12 -0
  242. data/spec/support/v5.2/app/channels/application_cable/channel.rb +1 -0
  243. data/spec/support/v5.2/app/channels/application_cable/connection.rb +1 -0
  244. data/spec/support/v5.2/app/jobs/application_job.rb +1 -0
  245. data/spec/support/v5.2/app/mailers/application_mailer.rb +1 -0
  246. data/spec/support/v5.2/bin/rails +0 -5
  247. data/spec/support/v5.2/bin/rake +0 -5
  248. data/spec/support/v5.2/config/application.rb +1 -0
  249. data/spec/support/v5.2/config/boot.rb +1 -0
  250. data/spec/support/v5.2/config/environment.rb +1 -0
  251. data/spec/support/v5.2/config/environments/development.rb +1 -0
  252. data/spec/support/v5.2/config/environments/production.rb +1 -0
  253. data/spec/support/v5.2/config/environments/test.rb +1 -0
  254. data/spec/support/v5.2/config/initializers/application_controller_renderer.rb +1 -0
  255. data/spec/support/v5.2/config/initializers/backtrace_silencers.rb +1 -0
  256. data/spec/support/v5.2/config/initializers/cors.rb +1 -0
  257. data/spec/support/v5.2/config/initializers/filter_parameter_logging.rb +1 -0
  258. data/spec/support/v5.2/config/initializers/inflections.rb +1 -0
  259. data/spec/support/v5.2/config/initializers/mime_types.rb +1 -0
  260. data/spec/support/v5.2/config/initializers/wrap_parameters.rb +1 -0
  261. data/spec/support/v5.2/config/puma.rb +1 -0
  262. data/spec/support/v5.2/config/spring.rb +1 -0
  263. data/spec/support/v5.2/db/schema.rb +1 -0
  264. data/spec/support/v5.2/db/seeds.rb +1 -0
  265. data/spec/support/v5.2/sorbet/rbi/gems/sorbet-runtime.rbi +644 -0
  266. data/spec/support/v5.2/sorbet/rbi/hidden-definitions/errors.txt +12 -6
  267. data/spec/support/v5.2/sorbet/rbi/hidden-definitions/hidden.rbi +57 -19
  268. data/spec/support/v5.2/sorbet_test_cases.rb +1 -0
  269. data/spec/support/v5.2/test/test_helper.rb +1 -0
  270. data/spec/support/v5.2-no-sorbet/Gemfile +57 -0
  271. data/spec/support/v5.2-no-sorbet/Gemfile.lock +140 -0
  272. data/spec/support/v5.2-no-sorbet/README.md +24 -0
  273. data/spec/support/v5.2-no-sorbet/Rakefile +6 -0
  274. data/spec/support/v5.2-no-sorbet/app/channels/application_cable/channel.rb +5 -0
  275. data/spec/support/v5.2-no-sorbet/app/channels/application_cable/connection.rb +5 -0
  276. data/spec/support/v5.2-no-sorbet/app/controllers +1 -0
  277. data/spec/support/v5.2-no-sorbet/app/jobs/application_job.rb +3 -0
  278. data/spec/support/v5.2-no-sorbet/app/mailers/application_mailer.rb +5 -0
  279. data/spec/support/v5.2-no-sorbet/app/models +1 -0
  280. data/spec/support/v5.2-no-sorbet/app/views/layouts/mailer.html.erb +13 -0
  281. data/spec/support/v5.2-no-sorbet/app/views/layouts/mailer.text.erb +1 -0
  282. data/spec/support/v5.2-no-sorbet/bin/bundle +3 -0
  283. data/spec/support/v5.2-no-sorbet/bin/rails +4 -0
  284. data/spec/support/v5.2-no-sorbet/bin/rake +4 -0
  285. data/spec/support/v5.2-no-sorbet/bin/setup +33 -0
  286. data/spec/support/v5.2-no-sorbet/bin/spring +17 -0
  287. data/spec/support/v5.2-no-sorbet/bin/update +28 -0
  288. data/spec/support/v5.2-no-sorbet/config/application.rb +36 -0
  289. data/spec/support/v5.2-no-sorbet/config/boot.rb +4 -0
  290. data/spec/support/v5.2-no-sorbet/config/cable.yml +10 -0
  291. data/spec/support/v5.2-no-sorbet/config/credentials.yml.enc +1 -0
  292. data/spec/support/v5.2-no-sorbet/config/database.yml +25 -0
  293. data/spec/support/v5.2-no-sorbet/config/environment.rb +6 -0
  294. data/spec/support/v5.2-no-sorbet/config/environments/development.rb +55 -0
  295. data/spec/support/v5.2-no-sorbet/config/environments/production.rb +86 -0
  296. data/spec/support/v5.2-no-sorbet/config/environments/test.rb +47 -0
  297. data/spec/support/v5.2-no-sorbet/config/initializers/application_controller_renderer.rb +9 -0
  298. data/spec/support/v5.2-no-sorbet/config/initializers/backtrace_silencers.rb +8 -0
  299. data/spec/support/v5.2-no-sorbet/config/initializers/cors.rb +17 -0
  300. data/spec/support/v5.2-no-sorbet/config/initializers/filter_parameter_logging.rb +5 -0
  301. data/spec/support/v5.2-no-sorbet/config/initializers/inflections.rb +17 -0
  302. data/spec/support/v5.2-no-sorbet/config/initializers/mime_types.rb +5 -0
  303. data/spec/support/v5.2-no-sorbet/config/initializers/wrap_parameters.rb +15 -0
  304. data/spec/support/v5.2-no-sorbet/config/locales/en.yml +33 -0
  305. data/spec/support/v5.2-no-sorbet/config/puma.rb +35 -0
  306. data/spec/support/v5.2-no-sorbet/config/routes.rb +1 -0
  307. data/spec/support/v5.2-no-sorbet/config/spring.rb +7 -0
  308. data/spec/support/v5.2-no-sorbet/config/storage.yml +34 -0
  309. data/spec/support/v5.2-no-sorbet/config.ru +5 -0
  310. data/spec/support/v5.2-no-sorbet/db/migrate +1 -0
  311. data/spec/support/v5.2-no-sorbet/db/schema.rb +48 -0
  312. data/spec/support/v5.2-no-sorbet/db/seeds.rb +8 -0
  313. data/spec/support/v5.2-no-sorbet/lib/tasks/.keep +0 -0
  314. data/spec/support/v5.2-no-sorbet/log/.keep +0 -0
  315. data/spec/support/v5.2-no-sorbet/public/robots.txt +1 -0
  316. data/spec/support/v5.2-no-sorbet/storage/.keep +0 -0
  317. data/spec/support/v5.2-no-sorbet/test/controllers/.keep +0 -0
  318. data/spec/support/v5.2-no-sorbet/test/fixtures/.keep +0 -0
  319. data/spec/support/v5.2-no-sorbet/test/fixtures/files/.keep +0 -0
  320. data/spec/support/v5.2-no-sorbet/test/integration/.keep +0 -0
  321. data/spec/support/v5.2-no-sorbet/test/mailers/.keep +0 -0
  322. data/spec/support/v5.2-no-sorbet/test/models/.keep +0 -0
  323. data/spec/support/v5.2-no-sorbet/test/test_helper.rb +11 -0
  324. data/spec/support/v5.2-no-sorbet/tmp/.keep +0 -0
  325. data/spec/support/v5.2-no-sorbet/vendor/.keep +0 -0
  326. data/spec/support/v6.0/Gemfile +12 -0
  327. data/spec/support/v6.0/Gemfile.lock +157 -0
  328. data/spec/support/v6.0/app/channels/application_cable/channel.rb +1 -0
  329. data/spec/support/v6.0/app/channels/application_cable/connection.rb +1 -0
  330. data/spec/support/v6.0/app/jobs/application_job.rb +1 -0
  331. data/spec/support/v6.0/app/mailers/application_mailer.rb +1 -0
  332. data/spec/support/v6.0/config/application.rb +1 -0
  333. data/spec/support/v6.0/config/boot.rb +1 -0
  334. data/spec/support/v6.0/config/environment.rb +1 -0
  335. data/spec/support/v6.0/config/environments/development.rb +1 -0
  336. data/spec/support/v6.0/config/environments/production.rb +1 -0
  337. data/spec/support/v6.0/config/environments/test.rb +1 -0
  338. data/spec/support/v6.0/config/initializers/application_controller_renderer.rb +1 -0
  339. data/spec/support/v6.0/config/initializers/backtrace_silencers.rb +1 -0
  340. data/spec/support/v6.0/config/initializers/cors.rb +1 -0
  341. data/spec/support/v6.0/config/initializers/filter_parameter_logging.rb +1 -0
  342. data/spec/support/v6.0/config/initializers/inflections.rb +1 -0
  343. data/spec/support/v6.0/config/initializers/mime_types.rb +1 -0
  344. data/spec/support/v6.0/config/initializers/wrap_parameters.rb +1 -0
  345. data/spec/support/v6.0/config/puma.rb +1 -0
  346. data/spec/support/v6.0/config/routes.rb +1 -0
  347. data/spec/support/v6.0/db/schema.rb +1 -0
  348. data/spec/support/v6.0/db/seeds.rb +1 -0
  349. data/spec/support/v6.0/sorbet/config +2 -0
  350. data/spec/support/v6.0/sorbet/rbi/gems/actioncable.rbi +245 -0
  351. data/spec/support/v6.0/sorbet/rbi/gems/actionmailbox.rbi +56 -0
  352. data/spec/support/v6.0/sorbet/rbi/gems/actionmailer.rbi +69 -0
  353. data/spec/support/v6.0/sorbet/rbi/gems/actionpack.rbi +2401 -0
  354. data/spec/support/v6.0/sorbet/rbi/gems/actiontext.rbi +32 -0
  355. data/spec/support/v6.0/sorbet/rbi/gems/actionview.rbi +1033 -0
  356. data/spec/support/v6.0/sorbet/rbi/gems/activejob.rbi +362 -0
  357. data/spec/support/v6.0/sorbet/rbi/gems/activemodel.rbi +750 -0
  358. data/spec/support/v6.0/sorbet/rbi/gems/activerecord.rbi +5552 -0
  359. data/spec/support/v6.0/sorbet/rbi/gems/activestorage.rbi +217 -0
  360. data/spec/support/v6.0/sorbet/rbi/gems/activesupport.rbi +2430 -0
  361. data/spec/support/v6.0/sorbet/rbi/gems/byebug.rbi +1039 -0
  362. data/spec/support/v6.0/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
  363. data/spec/support/v6.0/sorbet/rbi/gems/crass.rbi +92 -0
  364. data/spec/support/v6.0/sorbet/rbi/gems/erubi.rbi +26 -0
  365. data/spec/support/v6.0/sorbet/rbi/gems/globalid.rbi +98 -0
  366. data/spec/support/v6.0/sorbet/rbi/gems/i18n.rbi +191 -0
  367. data/spec/support/v6.0/sorbet/rbi/gems/loofah.rbi +129 -0
  368. data/spec/support/v6.0/sorbet/rbi/gems/mail.rbi +1542 -0
  369. data/spec/support/v6.0/sorbet/rbi/gems/marcel.rbi +12 -0
  370. data/spec/support/v6.0/sorbet/rbi/gems/method_source.rbi +63 -0
  371. data/spec/support/v6.0/sorbet/rbi/gems/mini_mime.rbi +45 -0
  372. data/spec/support/v6.0/sorbet/rbi/gems/minitest.rbi +276 -0
  373. data/spec/support/v6.0/sorbet/rbi/gems/nokogiri.rbi +1010 -0
  374. data/spec/support/v6.0/sorbet/rbi/gems/puma.rbi +570 -0
  375. data/spec/support/v6.0/sorbet/rbi/gems/rack-test.rbi +161 -0
  376. data/spec/support/v6.0/sorbet/rbi/gems/rack.rbi +522 -0
  377. data/spec/support/v6.0/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
  378. data/spec/support/v6.0/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
  379. data/spec/support/v6.0/sorbet/rbi/gems/railties.rbi +760 -0
  380. data/spec/support/v6.0/sorbet/rbi/gems/rake.rbi +254 -0
  381. data/spec/support/v6.0/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
  382. data/spec/support/v6.0/sorbet/rbi/gems/sqlite3.rbi +353 -0
  383. data/spec/support/v6.0/sorbet/rbi/gems/thor.rbi +450 -0
  384. data/spec/support/v6.0/sorbet/rbi/gems/thread_safe.rbi +81 -0
  385. data/spec/support/v6.0/sorbet/rbi/gems/tzinfo.rbi +407 -0
  386. data/spec/support/v6.0/sorbet/rbi/gems/zeitwerk.rbi +119 -0
  387. data/spec/support/v6.0/sorbet/rbi/hidden-definitions/errors.txt +12074 -0
  388. data/spec/support/v6.0/sorbet/rbi/hidden-definitions/hidden.rbi +28231 -0
  389. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
  390. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
  391. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
  392. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
  393. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
  394. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
  395. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  396. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  397. data/spec/support/v6.0/sorbet/rbi/todo.rbi +11 -0
  398. data/spec/support/v6.0/sorbet_test_cases.rb +1 -0
  399. data/spec/support/v6.0/test/channels/application_cable/connection_test.rb +1 -0
  400. data/spec/support/v6.0/test/test_helper.rb +1 -0
  401. data/spec/test_data/v4.2/expected_srb_tc_output.txt +178 -0
  402. data/spec/test_data/v5.0/expected_internal_metadata.rbi +155 -0
  403. data/spec/test_data/v5.0/expected_schema_migration.rbi +128 -0
  404. data/spec/test_data/v5.0/expected_srb_tc_output.txt +178 -0
  405. data/spec/test_data/v5.1/expected_internal_metadata.rbi +161 -0
  406. data/spec/test_data/v5.1/expected_schema_migration.rbi +134 -0
  407. data/spec/test_data/v5.1/expected_srb_tc_output.txt +160 -0
  408. data/spec/test_data/v5.2/expected_attachment.rbi +137 -0
  409. data/spec/test_data/v5.2/expected_blob.rbi +149 -0
  410. data/spec/test_data/v5.2/expected_internal_metadata.rbi +161 -0
  411. data/spec/test_data/v5.2/expected_schema_migration.rbi +134 -0
  412. data/spec/test_data/v5.2/expected_srb_tc_output.txt +160 -0
  413. data/spec/test_data/v5.2-no-sorbet/expected_attachment.rbi +137 -0
  414. data/spec/test_data/v5.2-no-sorbet/expected_blob.rbi +149 -0
  415. data/spec/test_data/v5.2-no-sorbet/expected_internal_metadata.rbi +161 -0
  416. data/spec/test_data/v5.2-no-sorbet/expected_no_routes.rbi +11 -0
  417. data/spec/test_data/v5.2-no-sorbet/expected_potion.rbi +128 -0
  418. data/spec/test_data/v5.2-no-sorbet/expected_routes.rbi +43 -0
  419. data/spec/test_data/v5.2-no-sorbet/expected_schema_migration.rbi +134 -0
  420. data/spec/test_data/v5.2-no-sorbet/expected_spell_book.rbi +161 -0
  421. data/spec/test_data/v5.2-no-sorbet/expected_srb_tc_output.txt +160 -0
  422. data/spec/test_data/v5.2-no-sorbet/expected_wand.rbi +311 -0
  423. data/spec/test_data/v5.2-no-sorbet/expected_wizard.rbi +254 -0
  424. data/spec/test_data/v5.2-no-sorbet/expected_wizard_wo_spellbook.rbi +254 -0
  425. data/spec/test_data/v6.0/expected_attachment.rbi +149 -0
  426. data/spec/test_data/v6.0/expected_blob.rbi +161 -0
  427. data/spec/test_data/v6.0/expected_internal_metadata.rbi +173 -0
  428. data/spec/test_data/v6.0/expected_schema_migration.rbi +146 -0
  429. data/spec/test_data/v6.0/expected_srb_tc_output.txt +160 -0
  430. data/spec/utils_spec.rb +24 -0
  431. metadata +573 -2
@@ -0,0 +1,4093 @@
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 set_value_for(scope_type, model, value); end
993
+ def value_for(scope_type, model, skip_inherited_scope = nil); end
994
+ extend ActiveSupport::PerThreadRegistry
995
+ end
996
+ module ActiveRecord::Coders
997
+ end
998
+ module ActiveRecord::Locking
999
+ extend ActiveSupport::Autoload
1000
+ end
1001
+ module ActiveRecord::Tasks
1002
+ extend ActiveSupport::Autoload
1003
+ end
1004
+ class ActiveRecord::Railtie < Rails::Railtie
1005
+ end
1006
+ class ActiveRecord::LogSubscriber < ActiveSupport::LogSubscriber
1007
+ def self.reset_runtime; end
1008
+ def self.runtime; end
1009
+ def self.runtime=(value); end
1010
+ end
1011
+ module ActiveRecord::Railties
1012
+ end
1013
+ module ActiveRecord::Railties::ControllerRuntime
1014
+ def append_info_to_payload(payload); end
1015
+ def cleanup_view_runtime; end
1016
+ def db_runtime; end
1017
+ def db_runtime=(arg0); end
1018
+ def process_action(action, *args); end
1019
+ extend ActiveSupport::Concern
1020
+ end
1021
+ module ActiveRecord::Railties::ControllerRuntime::ClassMethods
1022
+ def log_process_action(payload); end
1023
+ end
1024
+ module ActiveRecord::AttributeDecorators
1025
+ extend ActiveSupport::Concern
1026
+ end
1027
+ module ActiveRecord::AttributeDecorators::ClassMethods
1028
+ def decorate_attribute_type(column_name, decorator_name, &block); end
1029
+ def decorate_matching_attribute_types(matcher, decorator_name, &block); end
1030
+ def load_schema!; end
1031
+ end
1032
+ class ActiveRecord::AttributeDecorators::TypeDecorator
1033
+ def apply(name, type); end
1034
+ def clear(*args, &block); end
1035
+ def decorators_for(name, type); end
1036
+ def initialize(decorations = nil); end
1037
+ def matching(name, type); end
1038
+ def merge(*args); end
1039
+ end
1040
+ module ActiveRecord::DefineCallbacks
1041
+ extend ActiveSupport::Concern
1042
+ end
1043
+ module ActiveRecord::DefineCallbacks::ClassMethods
1044
+ include ActiveModel::Callbacks
1045
+ end
1046
+ class ActiveRecord::ExplainRegistry
1047
+ def collect; end
1048
+ def collect=(arg0); end
1049
+ def collect?; end
1050
+ def initialize; end
1051
+ def queries; end
1052
+ def queries=(arg0); end
1053
+ def reset; end
1054
+ def self.collect?(*args, &block); end
1055
+ extend ActiveSupport::PerThreadRegistry
1056
+ end
1057
+ class ActiveRecord::ExplainSubscriber
1058
+ def finish(name, id, payload); end
1059
+ def ignore_payload?(payload); end
1060
+ def start(name, id, payload); end
1061
+ end
1062
+ module ActiveRecord::Delegation
1063
+ def &(*args, &block); end
1064
+ def +(*args, &block); end
1065
+ def -(*args, &block); end
1066
+ def [](*args, &block); end
1067
+ def as_json(*args, &block); end
1068
+ def columns_hash(*args, &block); end
1069
+ def compact(*args, &block); end
1070
+ def connection(*args, &block); end
1071
+ def each(*args, &block); end
1072
+ def encode_with(*args, &block); end
1073
+ def in_groups(*args, &block); end
1074
+ def in_groups_of(*args, &block); end
1075
+ def index(*args, &block); end
1076
+ def join(*args, &block); end
1077
+ def length(*args, &block); end
1078
+ def method_missing(method, *args, &block); end
1079
+ def primary_key(*args, &block); end
1080
+ def quoted_primary_key(*args, &block); end
1081
+ def quoted_table_name(*args, &block); end
1082
+ def respond_to_missing?(method, include_private = nil); end
1083
+ def reverse(*args, &block); end
1084
+ def sample(*args, &block); end
1085
+ def shuffle(*args, &block); end
1086
+ def split(*args, &block); end
1087
+ def table_name(*args, &block); end
1088
+ def to_ary(*args, &block); end
1089
+ def to_formatted_s(*args, &block); end
1090
+ def to_sentence(*args, &block); end
1091
+ def to_xml(*args, &block); end
1092
+ def uniq(*args, &block); end
1093
+ def |(*args, &block); end
1094
+ extend ActiveSupport::Concern
1095
+ end
1096
+ module ActiveRecord::Delegation::DelegateCache
1097
+ def inherited(child_class); end
1098
+ def initialize_relation_delegate_cache; end
1099
+ def relation_delegate_class(klass); end
1100
+ end
1101
+ module ActiveRecord::Delegation::ClassSpecificRelation
1102
+ def method_missing(method, *args, &block); end
1103
+ extend ActiveSupport::Concern
1104
+ end
1105
+ module ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
1106
+ def delegate(method, opts = nil); end
1107
+ def delegate_to_scoped_klass(method); end
1108
+ def name; end
1109
+ end
1110
+ module ActiveRecord::Delegation::ClassMethods
1111
+ def create(klass, *args); end
1112
+ def relation_class_for(klass); end
1113
+ end
1114
+ class ActiveRecord::Attribute::UserProvidedDefault < ActiveRecord::Attribute::FromUser
1115
+ def initialize(name, value, type, database_default); end
1116
+ def user_provided_value; end
1117
+ def value_before_type_cast; end
1118
+ def with_type(type); end
1119
+ end
1120
+ module ActiveRecord::Attributes
1121
+ extend ActiveSupport::Concern
1122
+ end
1123
+ module ActiveRecord::Attributes::ClassMethods
1124
+ def attribute(name, cast_type = nil, **options); end
1125
+ def define_attribute(name, cast_type, default: nil, user_provided_default: nil); end
1126
+ def define_default_attribute(name, value, type, from_user:); end
1127
+ def load_schema!; end
1128
+ end
1129
+ module ActiveRecord::TypeCaster
1130
+ end
1131
+ class ActiveRecord::TypeCaster::Map
1132
+ def initialize(types); end
1133
+ def type_cast_for_database(attr_name, value); end
1134
+ def types; end
1135
+ end
1136
+ class ActiveRecord::TypeCaster::Connection
1137
+ def column_for(attribute_name); end
1138
+ def connection(*args, &block); end
1139
+ def initialize(klass, table_name); end
1140
+ def table_name; end
1141
+ def type_cast_for_database(attribute_name, value); end
1142
+ end
1143
+ module ActiveRecord::ConnectionHandling
1144
+ def clear_active_connections!(*args, &block); end
1145
+ def clear_all_connections!(*args, &block); end
1146
+ def clear_cache!; end
1147
+ def clear_reloadable_connections!(*args, &block); end
1148
+ def connected?; end
1149
+ def connection; end
1150
+ def connection_config; end
1151
+ def connection_pool; end
1152
+ def connection_specification_name; end
1153
+ def connection_specification_name=(arg0); end
1154
+ def establish_connection(config = nil); end
1155
+ def remove_connection(name = nil); end
1156
+ def retrieve_connection; end
1157
+ def sqlite3_connection(config); end
1158
+ end
1159
+ class ActiveRecord::ConnectionHandling::MergeAndResolveDefaultUrlConfig
1160
+ def config; end
1161
+ def initialize(raw_configurations); end
1162
+ def resolve; end
1163
+ end
1164
+ class ActiveRecord::QueryCache
1165
+ def self.complete(arg0); end
1166
+ def self.install_executor_hooks(executor = nil); end
1167
+ def self.run; end
1168
+ end
1169
+ module ActiveRecord::QueryCache::ClassMethods
1170
+ def cache(&block); end
1171
+ def uncached(&block); end
1172
+ end
1173
+ module ActiveRecord::Querying
1174
+ def any?(*args, &block); end
1175
+ def average(*args, &block); end
1176
+ def calculate(*args, &block); end
1177
+ def count(*args, &block); end
1178
+ def count_by_sql(sql); end
1179
+ def create_with(*args, &block); end
1180
+ def delete(*args, &block); end
1181
+ def delete_all(*args, &block); end
1182
+ def destroy(*args, &block); end
1183
+ def destroy_all(*args, &block); end
1184
+ def distinct(*args, &block); end
1185
+ def eager_load(*args, &block); end
1186
+ def except(*args, &block); end
1187
+ def exists?(*args, &block); end
1188
+ def extending(*args, &block); end
1189
+ def fifth!(*args, &block); end
1190
+ def fifth(*args, &block); end
1191
+ def find(*args, &block); end
1192
+ def find_by!(*args, &block); end
1193
+ def find_by(*args, &block); end
1194
+ def find_by_sql(sql, binds = nil, preparable: nil, &block); end
1195
+ def find_each(*args, &block); end
1196
+ def find_in_batches(*args, &block); end
1197
+ def find_or_create_by!(*args, &block); end
1198
+ def find_or_create_by(*args, &block); end
1199
+ def find_or_initialize_by(*args, &block); end
1200
+ def first!(*args, &block); end
1201
+ def first(*args, &block); end
1202
+ def first_or_create!(*args, &block); end
1203
+ def first_or_create(*args, &block); end
1204
+ def first_or_initialize(*args, &block); end
1205
+ def forty_two!(*args, &block); end
1206
+ def forty_two(*args, &block); end
1207
+ def fourth!(*args, &block); end
1208
+ def fourth(*args, &block); end
1209
+ def from(*args, &block); end
1210
+ def group(*args, &block); end
1211
+ def having(*args, &block); end
1212
+ def ids(*args, &block); end
1213
+ def in_batches(*args, &block); end
1214
+ def includes(*args, &block); end
1215
+ def joins(*args, &block); end
1216
+ def last!(*args, &block); end
1217
+ def last(*args, &block); end
1218
+ def left_joins(*args, &block); end
1219
+ def left_outer_joins(*args, &block); end
1220
+ def limit(*args, &block); end
1221
+ def lock(*args, &block); end
1222
+ def many?(*args, &block); end
1223
+ def maximum(*args, &block); end
1224
+ def merge(*args, &block); end
1225
+ def minimum(*args, &block); end
1226
+ def none(*args, &block); end
1227
+ def none?(*args, &block); end
1228
+ def offset(*args, &block); end
1229
+ def one?(*args, &block); end
1230
+ def or(*args, &block); end
1231
+ def order(*args, &block); end
1232
+ def pluck(*args, &block); end
1233
+ def preload(*args, &block); end
1234
+ def readonly(*args, &block); end
1235
+ def references(*args, &block); end
1236
+ def reorder(*args, &block); end
1237
+ def rewhere(*args, &block); end
1238
+ def second!(*args, &block); end
1239
+ def second(*args, &block); end
1240
+ def second_to_last!(*args, &block); end
1241
+ def second_to_last(*args, &block); end
1242
+ def select(*args, &block); end
1243
+ def sum(*args, &block); end
1244
+ def take!(*args, &block); end
1245
+ def take(*args, &block); end
1246
+ def third!(*args, &block); end
1247
+ def third(*args, &block); end
1248
+ def third_to_last!(*args, &block); end
1249
+ def third_to_last(*args, &block); end
1250
+ def unscope(*args, &block); end
1251
+ def update(*args, &block); end
1252
+ def update_all(*args, &block); end
1253
+ def where(*args, &block); end
1254
+ end
1255
+ module ActiveRecord::Translation
1256
+ def i18n_scope; end
1257
+ def lookup_ancestors; end
1258
+ include ActiveModel::Translation
1259
+ end
1260
+ module ActiveRecord::DynamicMatchers
1261
+ def method_missing(name, *arguments, &block); end
1262
+ def respond_to_missing?(name, include_private = nil); end
1263
+ end
1264
+ class ActiveRecord::DynamicMatchers::Method
1265
+ def attribute_names; end
1266
+ def attributes_hash; end
1267
+ def body; end
1268
+ def define; end
1269
+ def finder; end
1270
+ def initialize(model, name); end
1271
+ def model; end
1272
+ def name; end
1273
+ def self.match(model, name); end
1274
+ def self.matchers; end
1275
+ def self.pattern; end
1276
+ def self.prefix; end
1277
+ def self.suffix; end
1278
+ def signature; end
1279
+ def valid?; end
1280
+ end
1281
+ class ActiveRecord::DynamicMatchers::FindBy < ActiveRecord::DynamicMatchers::Method
1282
+ def finder; end
1283
+ def self.prefix; end
1284
+ end
1285
+ class ActiveRecord::DynamicMatchers::FindByBang < ActiveRecord::DynamicMatchers::Method
1286
+ def finder; end
1287
+ def self.prefix; end
1288
+ def self.suffix; end
1289
+ end
1290
+ module ActiveRecord::Explain
1291
+ def collecting_queries_for_explain; end
1292
+ def exec_explain(queries); end
1293
+ def render_bind(attr); end
1294
+ end
1295
+ module ActiveRecord::Enum
1296
+ def _enum_methods_module; end
1297
+ def detect_enum_conflict!(enum_name, method_name, klass_method = nil); end
1298
+ def enum(definitions); end
1299
+ def inherited(base); end
1300
+ def raise_conflict_error(enum_name, method_name, type: nil, source: nil); end
1301
+ def self.extended(base); end
1302
+ end
1303
+ class ActiveRecord::Enum::EnumType < ActiveModel::Type::Value
1304
+ def assert_valid_value(value); end
1305
+ def cast(value); end
1306
+ def deserialize(value); end
1307
+ def initialize(name, mapping, subtype); end
1308
+ def mapping; end
1309
+ def name; end
1310
+ def serialize(value); end
1311
+ def subtype; end
1312
+ def type(*args, &block); end
1313
+ end
1314
+ module ActiveRecord::CollectionCacheKey
1315
+ def collection_cache_key(collection = nil, timestamp_column = nil); end
1316
+ end
1317
+ module ActiveRecord::Core
1318
+ def <=>(other_object); end
1319
+ def ==(comparison_object); end
1320
+ def connection_handler; end
1321
+ def custom_inspect_method_defined?; end
1322
+ def encode_with(coder); end
1323
+ def eql?(comparison_object); end
1324
+ def freeze; end
1325
+ def frozen?; end
1326
+ def hash; end
1327
+ def init_internals; end
1328
+ def init_with(coder); end
1329
+ def initialize(attributes = nil); end
1330
+ def initialize_dup(other); end
1331
+ def initialize_internals_callback; end
1332
+ def inspect; end
1333
+ def pretty_print(pp); end
1334
+ def readonly!; end
1335
+ def readonly?; end
1336
+ def slice(*methods); end
1337
+ def thaw; end
1338
+ def to_ary; end
1339
+ extend ActiveSupport::Concern
1340
+ end
1341
+ module ActiveRecord::Core::ClassMethods
1342
+ def ===(object); end
1343
+ def allocate; end
1344
+ def arel_attribute(name, table = nil); end
1345
+ def arel_engine; end
1346
+ def arel_table; end
1347
+ def cached_find_by_statement(key, &block); end
1348
+ def find(*ids); end
1349
+ def find_by!(*args); end
1350
+ def find_by(*args); end
1351
+ def generated_association_methods; end
1352
+ def inherited(child_class); end
1353
+ def initialize_find_by_cache; end
1354
+ def initialize_generated_modules; end
1355
+ def inspect; end
1356
+ def predicate_builder; end
1357
+ def relation; end
1358
+ def table_metadata; end
1359
+ def type_caster; end
1360
+ end
1361
+ class ActiveRecord::ConnectionAdapters::ConnectionSpecification
1362
+ def adapter_method; end
1363
+ def config; end
1364
+ def initialize(name, config, adapter_method); end
1365
+ def initialize_dup(original); end
1366
+ def name; end
1367
+ def to_hash; end
1368
+ end
1369
+ class ActiveRecord::ConnectionAdapters::ConnectionSpecification::ConnectionUrlResolver
1370
+ def database_from_path; end
1371
+ def initialize(url); end
1372
+ def query_hash; end
1373
+ def raw_config; end
1374
+ def to_hash; end
1375
+ def uri; end
1376
+ def uri_parser; end
1377
+ end
1378
+ class ActiveRecord::ConnectionAdapters::ConnectionSpecification::Resolver
1379
+ def configurations; end
1380
+ def initialize(configurations); end
1381
+ def resolve(config); end
1382
+ def resolve_all; end
1383
+ def resolve_connection(spec); end
1384
+ def resolve_hash_connection(spec); end
1385
+ def resolve_symbol_connection(spec); end
1386
+ def resolve_url_connection(url); end
1387
+ def spec(config); end
1388
+ end
1389
+ class ActiveRecord::ConnectionTimeoutError < ActiveRecord::ConnectionNotEstablished
1390
+ end
1391
+ class ActiveRecord::ExclusiveConnectionTimeoutError < ActiveRecord::ConnectionTimeoutError
1392
+ end
1393
+ class ActiveRecord::ConnectionAdapters::ConnectionPool
1394
+ def acquire_connection(checkout_timeout); end
1395
+ def active_connection?; end
1396
+ def adopt_connection(conn); end
1397
+ def attempt_to_checkout_all_existing_connections(raise_on_acquisition_timeout = nil); end
1398
+ def automatic_reconnect; end
1399
+ def automatic_reconnect=(arg0); end
1400
+ def bulk_make_new_connections(num_new_conns_needed); end
1401
+ def checkin(conn); end
1402
+ def checkout(checkout_timeout = nil); end
1403
+ def checkout_and_verify(c); end
1404
+ def checkout_for_exclusive_access(checkout_timeout); end
1405
+ def checkout_new_connection; end
1406
+ def checkout_timeout; end
1407
+ def checkout_timeout=(arg0); end
1408
+ def clear_reloadable_connections!; end
1409
+ def clear_reloadable_connections(raise_on_acquisition_timeout = nil); end
1410
+ def connected?; end
1411
+ def connection; end
1412
+ def connection_cache_key(thread); end
1413
+ def connections; end
1414
+ def disconnect!; end
1415
+ def disconnect(raise_on_acquisition_timeout = nil); end
1416
+ def initialize(spec); end
1417
+ def lock_thread=(lock_thread); end
1418
+ def new_connection; end
1419
+ def num_waiting_in_queue; end
1420
+ def reap; end
1421
+ def reaper; end
1422
+ def release(conn, owner_thread = nil); end
1423
+ def release_connection(owner_thread = nil); end
1424
+ def remove(conn); end
1425
+ def remove_connection_from_thread_cache(conn, owner_thread = nil); end
1426
+ def schema_cache; end
1427
+ def schema_cache=(arg0); end
1428
+ def size; end
1429
+ def spec; end
1430
+ def stat; end
1431
+ def try_to_checkout_new_connection; end
1432
+ def with_connection; end
1433
+ def with_exclusively_acquired_all_connections(raise_on_acquisition_timeout = nil); end
1434
+ def with_new_connections_blocked; end
1435
+ include ActiveRecord::ConnectionAdapters::QueryCache::ConnectionPoolConfiguration
1436
+ include MonitorMixin
1437
+ end
1438
+ class ActiveRecord::ConnectionAdapters::ConnectionPool::Queue
1439
+ def add(element); end
1440
+ def any?; end
1441
+ def any_waiting?; end
1442
+ def can_remove_no_wait?; end
1443
+ def clear; end
1444
+ def delete(element); end
1445
+ def initialize(lock = nil); end
1446
+ def internal_poll(timeout); end
1447
+ def no_wait_poll; end
1448
+ def num_waiting; end
1449
+ def poll(timeout = nil); end
1450
+ def remove; end
1451
+ def synchronize(&block); end
1452
+ def wait_poll(timeout); end
1453
+ end
1454
+ module ActiveRecord::ConnectionAdapters::ConnectionPool::BiasableQueue
1455
+ def with_a_bias_for(thread); end
1456
+ end
1457
+ class ActiveRecord::ConnectionAdapters::ConnectionPool::BiasableQueue::BiasedConditionVariable
1458
+ def broadcast; end
1459
+ def broadcast_on_biased; end
1460
+ def initialize(lock, other_cond, preferred_thread); end
1461
+ def signal; end
1462
+ def wait(timeout); end
1463
+ end
1464
+ class ActiveRecord::ConnectionAdapters::ConnectionPool::ConnectionLeasingQueue < ActiveRecord::ConnectionAdapters::ConnectionPool::Queue
1465
+ def internal_poll(timeout); end
1466
+ include ActiveRecord::ConnectionAdapters::ConnectionPool::BiasableQueue
1467
+ end
1468
+ class ActiveRecord::ConnectionAdapters::ConnectionPool::Reaper
1469
+ def frequency; end
1470
+ def initialize(pool, frequency); end
1471
+ def pool; end
1472
+ def run; end
1473
+ end
1474
+ class ActiveRecord::ConnectionAdapters::ConnectionHandler
1475
+ def active_connections?; end
1476
+ def clear_active_connections!; end
1477
+ def clear_all_connections!; end
1478
+ def clear_reloadable_connections!; end
1479
+ def connected?(spec_name); end
1480
+ def connection_pool_list; end
1481
+ def connection_pools; end
1482
+ def establish_connection(config); end
1483
+ def initialize; end
1484
+ def owner_to_pool; end
1485
+ def pool_from_any_process_for(spec_name); end
1486
+ def remove_connection(spec_name); end
1487
+ def retrieve_connection(spec_name); end
1488
+ def retrieve_connection_pool(spec_name); end
1489
+ end
1490
+ module ActiveRecord::Persistence
1491
+ def _create_record(attribute_names = nil); end
1492
+ def _raise_readonly_record_error; end
1493
+ def _raise_record_not_destroyed; end
1494
+ def _touch_row(attribute_names, time); end
1495
+ def _update_record(attribute_names = nil); end
1496
+ def _update_row(attribute_names, attempted_action = nil); end
1497
+ def becomes!(klass); end
1498
+ def becomes(klass); end
1499
+ def belongs_to_touch_method; end
1500
+ def create_or_update(*args, &block); end
1501
+ def decrement!(attribute, by = nil, touch: nil); end
1502
+ def decrement(attribute, by = nil); end
1503
+ def delete; end
1504
+ def destroy!; end
1505
+ def destroy; end
1506
+ def destroy_associations; end
1507
+ def destroy_row; end
1508
+ def destroyed?; end
1509
+ def increment!(attribute, by = nil, touch: nil); end
1510
+ def increment(attribute, by = nil); end
1511
+ def new_record?; end
1512
+ def persisted?; end
1513
+ def relation_for_destroy; end
1514
+ def reload(options = nil); end
1515
+ def save!(*args, &block); end
1516
+ def save(*args, &block); end
1517
+ def toggle!(attribute); end
1518
+ def toggle(attribute); end
1519
+ def touch(*names, time: nil); end
1520
+ def update!(attributes); end
1521
+ def update(attributes); end
1522
+ def update_attribute(name, value); end
1523
+ def update_attributes!(attributes); end
1524
+ def update_attributes(attributes); end
1525
+ def update_column(name, value); end
1526
+ def update_columns(attributes); end
1527
+ def verify_readonly_attribute(name); end
1528
+ extend ActiveSupport::Concern
1529
+ end
1530
+ module ActiveRecord::Persistence::ClassMethods
1531
+ def create!(attributes = nil, &block); end
1532
+ def create(attributes = nil, &block); end
1533
+ def discriminate_class_for_record(record); end
1534
+ def instantiate(attributes, column_types = nil, &block); end
1535
+ end
1536
+ module ActiveRecord::ReadonlyAttributes
1537
+ extend ActiveSupport::Concern
1538
+ end
1539
+ module ActiveRecord::ReadonlyAttributes::ClassMethods
1540
+ def attr_readonly(*attributes); end
1541
+ def readonly_attributes; end
1542
+ end
1543
+ module ActiveRecord::ModelSchema
1544
+ def self.derive_join_table_name(first_table, second_table); end
1545
+ extend ActiveSupport::Concern
1546
+ end
1547
+ module ActiveRecord::ModelSchema::ClassMethods
1548
+ def _default_attributes; end
1549
+ def attribute_types; end
1550
+ def attributes_builder; end
1551
+ def column_defaults; end
1552
+ def column_names; end
1553
+ def columns; end
1554
+ def columns_hash; end
1555
+ def compute_table_name; end
1556
+ def content_columns; end
1557
+ def full_table_name_prefix; end
1558
+ def full_table_name_suffix; end
1559
+ def ignored_columns; end
1560
+ def ignored_columns=(columns); end
1561
+ def inheritance_column; end
1562
+ def inheritance_column=(value); end
1563
+ def inherited(child_class); end
1564
+ def initialize_load_schema_monitor; end
1565
+ def load_schema!; end
1566
+ def load_schema; end
1567
+ def next_sequence_value; end
1568
+ def prefetch_primary_key?; end
1569
+ def protected_environments; end
1570
+ def protected_environments=(environments); end
1571
+ def quoted_table_name; end
1572
+ def reload_schema_from_cache; end
1573
+ def reset_column_information; end
1574
+ def reset_sequence_name; end
1575
+ def reset_table_name; end
1576
+ def schema_loaded?; end
1577
+ def sequence_name; end
1578
+ def sequence_name=(value); end
1579
+ def table_exists?; end
1580
+ def table_name; end
1581
+ def table_name=(value); end
1582
+ def type_for_attribute(attr_name, &block); end
1583
+ def undecorated_table_name(class_name = nil); end
1584
+ def yaml_encoder; end
1585
+ end
1586
+ module ActiveRecord::Inheritance
1587
+ def ensure_proper_type; end
1588
+ def initialize_dup(other); end
1589
+ def initialize_internals_callback; end
1590
+ extend ActiveSupport::Concern
1591
+ end
1592
+ module ActiveRecord::Inheritance::ClassMethods
1593
+ def abstract_class; end
1594
+ def abstract_class=(arg0); end
1595
+ def abstract_class?; end
1596
+ def base_class; end
1597
+ def compute_type(type_name); end
1598
+ def descends_from_active_record?; end
1599
+ def discriminate_class_for_record(record); end
1600
+ def find_sti_class(type_name); end
1601
+ def finder_needs_type_condition?; end
1602
+ def inherited(subclass); end
1603
+ def new(*args, &block); end
1604
+ def sti_name; end
1605
+ def subclass_from_attributes(attrs); end
1606
+ def type_condition(table = nil); end
1607
+ def using_single_table_inheritance?(record); end
1608
+ end
1609
+ module ActiveRecord::Scoping::Default
1610
+ extend ActiveSupport::Concern
1611
+ end
1612
+ module ActiveRecord::Scoping::Default::ClassMethods
1613
+ def before_remove_const; end
1614
+ def build_default_scope(base_rel = nil); end
1615
+ def default_scope(scope = nil); end
1616
+ def evaluate_default_scope; end
1617
+ def ignore_default_scope=(ignore); end
1618
+ def ignore_default_scope?; end
1619
+ def scope_attributes?; end
1620
+ def unscoped; end
1621
+ end
1622
+ module ActiveRecord::Scoping::Named
1623
+ extend ActiveSupport::Concern
1624
+ end
1625
+ module ActiveRecord::Scoping::Named::ClassMethods
1626
+ def all; end
1627
+ def default_extensions; end
1628
+ def default_scoped(scope = nil); end
1629
+ def scope(name, body, &block); end
1630
+ def scope_for_association(scope = nil); end
1631
+ def valid_scope_name?(name); end
1632
+ end
1633
+ module ActiveRecord::Sanitization
1634
+ def quoted_id(*args, &block); end
1635
+ extend ActiveSupport::Concern
1636
+ end
1637
+ module ActiveRecord::Sanitization::ClassMethods
1638
+ def expand_hash_conditions_for_aggregates(attrs); end
1639
+ def quote_bound_value(value, c = nil); end
1640
+ def raise_if_bind_arity_mismatch(statement, expected, provided); end
1641
+ def replace_bind_variable(value, c = nil); end
1642
+ def replace_bind_variables(statement, values); end
1643
+ def replace_named_bind_variables(statement, bind_vars); end
1644
+ def sanitize_conditions(*args, &block); end
1645
+ def sanitize_sql(condition); end
1646
+ def sanitize_sql_array(ary); end
1647
+ def sanitize_sql_for_assignment(assignments, default_table_name = nil); end
1648
+ def sanitize_sql_for_conditions(condition); end
1649
+ def sanitize_sql_for_order(condition); end
1650
+ def sanitize_sql_hash_for_assignment(attrs, table); end
1651
+ def sanitize_sql_like(string, escape_character = nil); end
1652
+ end
1653
+ module ActiveRecord::AttributeAssignment
1654
+ def _assign_attributes(attributes); end
1655
+ def assign_multiparameter_attributes(pairs); end
1656
+ def assign_nested_parameter_attributes(pairs); end
1657
+ def attributes=(attributes); end
1658
+ def execute_callstack_for_multiparameter_attributes(callstack); end
1659
+ def extract_callstack_for_multiparameter_attributes(pairs); end
1660
+ def find_parameter_position(multiparameter_name); end
1661
+ def type_cast_attribute_value(multiparameter_name, value); end
1662
+ extend ActiveSupport::Concern
1663
+ include ActiveModel::AttributeAssignment
1664
+ end
1665
+ module ActiveRecord::Integration
1666
+ def cache_key(*timestamp_names); end
1667
+ def to_param; end
1668
+ extend ActiveSupport::Concern
1669
+ end
1670
+ module ActiveRecord::Integration::ClassMethods
1671
+ def to_param(method_name = nil); end
1672
+ end
1673
+ module ActiveRecord::Validations
1674
+ def default_validation_context; end
1675
+ def perform_validations(options = nil); end
1676
+ def raise_validation_error; end
1677
+ def save!(options = nil); end
1678
+ def save(options = nil); end
1679
+ def valid?(context = nil); end
1680
+ def validate(context = nil); end
1681
+ extend ActiveSupport::Concern
1682
+ include ActiveModel::Validations
1683
+ end
1684
+ class ActiveRecord::Validations::AssociatedValidator < ActiveModel::EachValidator
1685
+ def valid_object?(record); end
1686
+ def validate_each(record, attribute, value); end
1687
+ end
1688
+ module ActiveRecord::Validations::ClassMethods
1689
+ def validates_absence_of(*attr_names); end
1690
+ def validates_associated(*attr_names); end
1691
+ def validates_length_of(*attr_names); end
1692
+ def validates_presence_of(*attr_names); end
1693
+ def validates_size_of(*attr_names); end
1694
+ def validates_uniqueness_of(*attr_names); end
1695
+ end
1696
+ class ActiveRecord::Validations::UniquenessValidator < ActiveModel::EachValidator
1697
+ def build_relation(klass, attribute, value); end
1698
+ def find_finder_class_for(record); end
1699
+ def initialize(options); end
1700
+ def map_enum_attribute(klass, attribute, value); end
1701
+ def scope_relation(record, relation); end
1702
+ def validate_each(record, attribute, value); end
1703
+ end
1704
+ class ActiveRecord::Validations::PresenceValidator < ActiveModel::Validations::PresenceValidator
1705
+ def validate_each(record, attribute, association_or_value); end
1706
+ end
1707
+ class ActiveRecord::Validations::AbsenceValidator < ActiveModel::Validations::AbsenceValidator
1708
+ def validate_each(record, attribute, association_or_value); end
1709
+ end
1710
+ class ActiveRecord::Validations::LengthValidator < ActiveModel::Validations::LengthValidator
1711
+ def validate_each(record, attribute, association_or_value); end
1712
+ end
1713
+ class ActiveRecord::RecordInvalid < ActiveRecord::ActiveRecordError
1714
+ def initialize(record = nil); end
1715
+ def record; end
1716
+ end
1717
+ module ActiveRecord::CounterCache
1718
+ def _create_record(*arg0); end
1719
+ def destroy_row; end
1720
+ def each_counter_cached_associations; end
1721
+ extend ActiveSupport::Concern
1722
+ end
1723
+ module ActiveRecord::CounterCache::ClassMethods
1724
+ def decrement_counter(counter_name, id, touch: nil); end
1725
+ def increment_counter(counter_name, id, touch: nil); end
1726
+ def reset_counters(id, *counters, touch: nil); end
1727
+ def update_counters(id, counters); end
1728
+ end
1729
+ module ActiveRecord::Locking::Optimistic
1730
+ def _create_record(attribute_names = nil, *arg1); end
1731
+ def _touch_row(attribute_names, time); end
1732
+ def _update_row(attribute_names, attempted_action = nil); end
1733
+ def destroy_row; end
1734
+ def locking_enabled?; end
1735
+ def relation_for_destroy; end
1736
+ extend ActiveSupport::Concern
1737
+ end
1738
+ module ActiveRecord::Locking::Optimistic::ClassMethods
1739
+ def inherited(subclass); end
1740
+ def locking_column; end
1741
+ def locking_column=(value); end
1742
+ def locking_enabled?; end
1743
+ def reset_locking_column; end
1744
+ def update_counters(id, counters); end
1745
+ end
1746
+ class ActiveRecord::Locking::LockingType < Anonymous_Delegator_13
1747
+ def deserialize(value); end
1748
+ def encode_with(coder); end
1749
+ def init_with(coder); end
1750
+ def serialize(value); end
1751
+ end
1752
+ module ActiveRecord::Locking::Pessimistic
1753
+ def lock!(lock = nil); end
1754
+ def with_lock(lock = nil); end
1755
+ end
1756
+ module ActiveRecord::AttributeMethods::Read
1757
+ def _read_attribute(attr_name); end
1758
+ def attribute(attr_name); end
1759
+ def read_attribute(attr_name, &block); end
1760
+ extend ActiveSupport::Concern
1761
+ end
1762
+ module ActiveRecord::AttributeMethods::Read::ClassMethods
1763
+ def define_method_attribute(name); end
1764
+ end
1765
+ module ActiveRecord::AttributeMethods::Write
1766
+ def attribute=(attribute_name, value); end
1767
+ def raw_write_attribute(attr_name, value); end
1768
+ def write_attribute(attr_name, value); end
1769
+ extend ActiveSupport::Concern
1770
+ end
1771
+ module ActiveRecord::AttributeMethods::Write::ClassMethods
1772
+ def define_method_attribute=(name); end
1773
+ end
1774
+ module ActiveRecord::AttributeMethods::BeforeTypeCast
1775
+ def attribute_before_type_cast(attribute_name); end
1776
+ def attribute_came_from_user?(attribute_name); end
1777
+ def attributes_before_type_cast; end
1778
+ def read_attribute_before_type_cast(attr_name); end
1779
+ extend ActiveSupport::Concern
1780
+ end
1781
+ module ActiveRecord::AttributeMethods::Query
1782
+ def attribute?(attribute_name); end
1783
+ def query_attribute(attr_name); end
1784
+ extend ActiveSupport::Concern
1785
+ end
1786
+ module ActiveRecord::AttributeMethods::PrimaryKey
1787
+ def attribute_method?(attr_name); end
1788
+ def id; end
1789
+ def id=(value); end
1790
+ def id?; end
1791
+ def id_before_type_cast; end
1792
+ def id_in_database; end
1793
+ def id_was; end
1794
+ def to_key; end
1795
+ extend ActiveSupport::Concern
1796
+ end
1797
+ module ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods
1798
+ def dangerous_attribute_method?(method_name); end
1799
+ def get_primary_key(base_name); end
1800
+ def instance_method_already_implemented?(method_name); end
1801
+ def primary_key; end
1802
+ def primary_key=(value); end
1803
+ def quoted_primary_key; end
1804
+ def reset_primary_key; end
1805
+ def suppress_composite_primary_key(pk); end
1806
+ end
1807
+ module ActiveRecord::AttributeMethods::TimeZoneConversion
1808
+ extend ActiveSupport::Concern
1809
+ end
1810
+ class ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter < Anonymous_Delegator_14
1811
+ def cast(value); end
1812
+ def convert_time_to_time_zone(value); end
1813
+ def deserialize(value); end
1814
+ def map_avoiding_infinite_recursion(value); end
1815
+ def set_time_zone_without_conversion(value); end
1816
+ end
1817
+ module ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods
1818
+ def create_time_zone_conversion_attribute?(name, cast_type); end
1819
+ def inherited(subclass); end
1820
+ end
1821
+ class ActiveRecord::AttributeMutationTracker
1822
+ def any_changes?; end
1823
+ def attr_names; end
1824
+ def attributes; end
1825
+ def change_to_attribute(attr_name); end
1826
+ def changed?(attr_name, from: nil, to: nil); end
1827
+ def changed_attribute_names; end
1828
+ def changed_in_place?(attr_name); end
1829
+ def changed_values; end
1830
+ def changes; end
1831
+ def deprecated_force_change(attr_name); end
1832
+ def deprecated_forced_changes; end
1833
+ def force_change(attr_name); end
1834
+ def forced_changes; end
1835
+ def forget_change(attr_name); end
1836
+ def initialize(attributes); end
1837
+ def original_value(attr_name); end
1838
+ end
1839
+ class ActiveRecord::NullMutationTracker
1840
+ def any_changes?(*arg0); end
1841
+ def change_to_attribute(attr_name); end
1842
+ def changed?(*arg0); end
1843
+ def changed_attribute_names(*arg0); end
1844
+ def changed_in_place?(*arg0); end
1845
+ def changed_values(*arg0); end
1846
+ def changes(*arg0); end
1847
+ def forget_change(*arg0); end
1848
+ def original_value(*arg0); end
1849
+ def self.allocate; end
1850
+ def self.instance; end
1851
+ def self.new(*arg0); end
1852
+ extend Singleton::SingletonClassMethods
1853
+ include Singleton
1854
+ end
1855
+ module ActiveRecord::AttributeMethods::Dirty
1856
+ def _create_record(*arg0); end
1857
+ def _update_record(*arg0); end
1858
+ def attribute_before_last_save(attr_name); end
1859
+ def attribute_change(*arg0); end
1860
+ def attribute_change_to_be_saved(attr_name); end
1861
+ def attribute_changed?(*arg0); end
1862
+ def attribute_changed_in_place?(attr_name); end
1863
+ def attribute_in_database(attr_name); end
1864
+ def attribute_was(*arg0); end
1865
+ def attribute_will_change!(attr_name); end
1866
+ def attributes_in_database; end
1867
+ def cache_changed_attributes; end
1868
+ def changed(*arg0); end
1869
+ def changed?(*arg0); end
1870
+ def changed_attribute_names_to_save; end
1871
+ def changed_attributes; end
1872
+ def changes; end
1873
+ def changes_applied; end
1874
+ def changes_include?(attr_name); end
1875
+ def changes_internally_applied; end
1876
+ def changes_to_save; end
1877
+ def clear_attribute_change(attr_name); end
1878
+ def clear_attribute_changes(attr_names); end
1879
+ def clear_changed_attributes_cache; end
1880
+ def clear_changes_information; end
1881
+ def clear_mutation_trackers; end
1882
+ def emit_warning_if_needed(method_name, new_method_name); end
1883
+ def forget_attribute_assignments; end
1884
+ def has_changes_to_save?; end
1885
+ def initialize_dup(other); end
1886
+ def keys_for_partial_write; end
1887
+ def mutation_tracker; end
1888
+ def mutations_before_last_save; end
1889
+ def mutations_from_database; end
1890
+ def previous_changes; end
1891
+ def previous_mutation_tracker; end
1892
+ def raw_write_attribute(attr_name, *arg1); end
1893
+ def reload(*arg0); end
1894
+ def save!(*arg0); end
1895
+ def save(*arg0); end
1896
+ def saved_change_to_attribute(attr_name); end
1897
+ def saved_change_to_attribute?(attr_name, **options); end
1898
+ def saved_changes; end
1899
+ def saved_changes?; end
1900
+ def will_save_change_to_attribute?(attr_name, **options); end
1901
+ extend ActiveSupport::Concern
1902
+ include ActiveModel::Dirty
1903
+ end
1904
+ module ActiveRecord::Timestamp
1905
+ def _create_record; end
1906
+ def _update_record(*args, touch: nil, **options); end
1907
+ def all_timestamp_attributes_in_model; end
1908
+ def clear_timestamp_attributes; end
1909
+ def current_time_from_proper_timezone; end
1910
+ def initialize_dup(other); end
1911
+ def max_updated_column_timestamp(timestamp_names = nil); end
1912
+ def should_record_timestamps?; end
1913
+ def timestamp_attributes_for_create_in_model; end
1914
+ def timestamp_attributes_for_update_in_model; end
1915
+ extend ActiveSupport::Concern
1916
+ end
1917
+ module ActiveRecord::Timestamp::ClassMethods
1918
+ def all_timestamp_attributes_in_model; end
1919
+ def current_time_from_proper_timezone; end
1920
+ def timestamp_attributes_for_create; end
1921
+ def timestamp_attributes_for_create_in_model; end
1922
+ def timestamp_attributes_for_update; end
1923
+ def timestamp_attributes_for_update_in_model; end
1924
+ def touch_attributes_with_time(*names, time: nil); end
1925
+ end
1926
+ module ActiveRecord::AttributeMethods::Serialization
1927
+ extend ActiveSupport::Concern
1928
+ end
1929
+ module ActiveRecord::AttributeMethods::Serialization::ClassMethods
1930
+ def serialize(attr_name, class_name_or_coder = nil); end
1931
+ end
1932
+ module ActiveRecord::Callbacks
1933
+ def _create_record; end
1934
+ def _update_record(*arg0); end
1935
+ def create_or_update(*arg0); end
1936
+ def destroy; end
1937
+ def increment!(attribute, by = nil, touch: nil); end
1938
+ def touch(*arg0); end
1939
+ extend ActiveSupport::Concern
1940
+ end
1941
+ class ActiveRecord::AssociationNotFoundError < ActiveRecord::ConfigurationError
1942
+ def initialize(record = nil, association_name = nil); end
1943
+ end
1944
+ class ActiveRecord::InverseOfAssociationNotFoundError < ActiveRecord::ActiveRecordError
1945
+ def initialize(reflection = nil, associated_class = nil); end
1946
+ end
1947
+ class ActiveRecord::HasManyThroughAssociationNotFoundError < ActiveRecord::ActiveRecordError
1948
+ def initialize(owner_class_name = nil, reflection = nil); end
1949
+ end
1950
+ class ActiveRecord::HasManyThroughAssociationPolymorphicSourceError < ActiveRecord::ActiveRecordError
1951
+ def initialize(owner_class_name = nil, reflection = nil, source_reflection = nil); end
1952
+ end
1953
+ class ActiveRecord::HasManyThroughAssociationPolymorphicThroughError < ActiveRecord::ActiveRecordError
1954
+ def initialize(owner_class_name = nil, reflection = nil); end
1955
+ end
1956
+ class ActiveRecord::HasManyThroughAssociationPointlessSourceTypeError < ActiveRecord::ActiveRecordError
1957
+ def initialize(owner_class_name = nil, reflection = nil, source_reflection = nil); end
1958
+ end
1959
+ class ActiveRecord::HasOneThroughCantAssociateThroughCollection < ActiveRecord::ActiveRecordError
1960
+ def initialize(owner_class_name = nil, reflection = nil, through_reflection = nil); end
1961
+ end
1962
+ class ActiveRecord::HasOneAssociationPolymorphicThroughError < ActiveRecord::ActiveRecordError
1963
+ def initialize(owner_class_name = nil, reflection = nil); end
1964
+ end
1965
+ class ActiveRecord::HasManyThroughSourceAssociationNotFoundError < ActiveRecord::ActiveRecordError
1966
+ def initialize(reflection = nil); end
1967
+ end
1968
+ class ActiveRecord::HasManyThroughOrderError < ActiveRecord::ActiveRecordError
1969
+ def initialize(owner_class_name = nil, reflection = nil, through_reflection = nil); end
1970
+ end
1971
+ class ActiveRecord::ThroughCantAssociateThroughHasOneOrManyReflection < ActiveRecord::ActiveRecordError
1972
+ def initialize(owner = nil, reflection = nil); end
1973
+ end
1974
+ class ActiveRecord::AmbiguousSourceReflectionForThroughAssociation < ActiveRecord::ActiveRecordError
1975
+ def initialize(klass, macro, association_name, options, possible_sources); end
1976
+ end
1977
+ class ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection < ActiveRecord::ThroughCantAssociateThroughHasOneOrManyReflection
1978
+ end
1979
+ class ActiveRecord::HasOneThroughCantAssociateThroughHasOneOrManyReflection < ActiveRecord::ThroughCantAssociateThroughHasOneOrManyReflection
1980
+ end
1981
+ class ActiveRecord::HasManyThroughCantAssociateNewRecords < ActiveRecord::ActiveRecordError
1982
+ def initialize(owner = nil, reflection = nil); end
1983
+ end
1984
+ class ActiveRecord::HasManyThroughCantDissociateNewRecords < ActiveRecord::ActiveRecordError
1985
+ def initialize(owner = nil, reflection = nil); end
1986
+ end
1987
+ class ActiveRecord::ThroughNestedAssociationsAreReadonly < ActiveRecord::ActiveRecordError
1988
+ def initialize(owner = nil, reflection = nil); end
1989
+ end
1990
+ class ActiveRecord::HasManyThroughNestedAssociationsAreReadonly < ActiveRecord::ThroughNestedAssociationsAreReadonly
1991
+ end
1992
+ class ActiveRecord::HasOneThroughNestedAssociationsAreReadonly < ActiveRecord::ThroughNestedAssociationsAreReadonly
1993
+ end
1994
+ class ActiveRecord::EagerLoadPolymorphicError < ActiveRecord::ActiveRecordError
1995
+ def initialize(reflection = nil); end
1996
+ end
1997
+ class ActiveRecord::ReadOnlyAssociation < ActiveRecord::ActiveRecordError
1998
+ def initialize(reflection = nil); end
1999
+ end
2000
+ class ActiveRecord::DeleteRestrictionError < ActiveRecord::ActiveRecordError
2001
+ def initialize(name = nil); end
2002
+ end
2003
+ module ActiveRecord::Associations
2004
+ def association(name); end
2005
+ def association_cached?(name); end
2006
+ def association_instance_get(name); end
2007
+ def association_instance_set(name, association); end
2008
+ def clear_association_cache; end
2009
+ def init_internals; end
2010
+ def initialize_dup(*arg0); end
2011
+ def reload(*arg0); end
2012
+ def self.eager_load!; end
2013
+ extend ActiveSupport::Autoload
2014
+ extend ActiveSupport::Concern
2015
+ end
2016
+ module ActiveRecord::Associations::Builder
2017
+ end
2018
+ module ActiveRecord::Associations::ClassMethods
2019
+ def belongs_to(name, scope = nil, options = nil); end
2020
+ def has_and_belongs_to_many(name, scope = nil, **options, &extension); end
2021
+ def has_many(name, scope = nil, options = nil, &extension); end
2022
+ def has_one(name, scope = nil, options = nil); end
2023
+ end
2024
+ module ActiveRecord::AutosaveAssociation
2025
+ def _ensure_no_duplicate_errors; end
2026
+ def after_save_collection_association; end
2027
+ def associated_records_to_validate_or_save(association, new_record, autosave); end
2028
+ def association_valid?(reflection, record, index = nil); end
2029
+ def before_save_collection_association; end
2030
+ def changed_for_autosave?; end
2031
+ def destroyed_by_association; end
2032
+ def destroyed_by_association=(reflection); end
2033
+ def mark_for_destruction; end
2034
+ def marked_for_destruction?; end
2035
+ def nested_records_changed_for_autosave?; end
2036
+ def normalize_reflection_attribute(indexed_attribute, reflection, index, attribute); end
2037
+ def record_changed?(reflection, record, key); end
2038
+ def reload(options = nil); end
2039
+ def save_belongs_to_association(reflection); end
2040
+ def save_collection_association(reflection); end
2041
+ def save_has_one_association(reflection); end
2042
+ def validate_collection_association(reflection); end
2043
+ def validate_single_association(reflection); end
2044
+ extend ActiveSupport::Concern
2045
+ end
2046
+ module ActiveRecord::AutosaveAssociation::AssociationBuilderExtension
2047
+ def self.build(model, reflection); end
2048
+ def self.valid_options; end
2049
+ end
2050
+ module ActiveRecord::AutosaveAssociation::ClassMethods
2051
+ def add_autosave_association_callbacks(reflection); end
2052
+ def define_autosave_validation_callbacks(reflection); end
2053
+ def define_non_cyclic_method(name, &block); end
2054
+ end
2055
+ class ActiveRecord::Associations::Builder::Association
2056
+ def self.add_destroy_callbacks(model, reflection); end
2057
+ def self.build(model, name, scope, options, &block); end
2058
+ def self.build_scope(scope, extension); end
2059
+ def self.check_dependent_options(dependent); end
2060
+ def self.create_reflection(model, name, scope, options, extension = nil); end
2061
+ def self.define_accessors(model, reflection); end
2062
+ def self.define_callbacks(model, reflection); end
2063
+ def self.define_extensions(model, name); end
2064
+ def self.define_readers(mixin, name); end
2065
+ def self.define_validations(model, reflection); end
2066
+ def self.define_writers(mixin, name); end
2067
+ def self.extensions; end
2068
+ def self.extensions=(arg0); end
2069
+ def self.macro; end
2070
+ def self.valid_dependent_options; end
2071
+ def self.valid_options(options); end
2072
+ def self.validate_options(options); end
2073
+ def self.wrap_scope(scope, extension); end
2074
+ end
2075
+ module ActiveRecord::NestedAttributes
2076
+ def _destroy; end
2077
+ def allow_destroy?(association_name); end
2078
+ def assign_nested_attributes_for_collection_association(association_name, attributes_collection); end
2079
+ def assign_nested_attributes_for_one_to_one_association(association_name, attributes); end
2080
+ def assign_to_or_mark_for_destruction(record, attributes, allow_destroy); end
2081
+ def call_reject_if(association_name, attributes); end
2082
+ def check_record_limit!(limit, attributes_collection); end
2083
+ def has_destroy_flag?(hash); end
2084
+ def raise_nested_attributes_record_not_found!(association_name, record_id); end
2085
+ def reject_new_record?(association_name, attributes); end
2086
+ def will_be_destroyed?(association_name, attributes); end
2087
+ extend ActiveSupport::Concern
2088
+ end
2089
+ class ActiveRecord::NestedAttributes::TooManyRecords < ActiveRecord::ActiveRecordError
2090
+ end
2091
+ module ActiveRecord::NestedAttributes::ClassMethods
2092
+ def accepts_nested_attributes_for(*attr_names); end
2093
+ def generate_association_writer(association_name, type); end
2094
+ end
2095
+ module ActiveRecord::Aggregations
2096
+ def clear_aggregation_cache; end
2097
+ def init_internals; end
2098
+ def initialize_dup(*arg0); end
2099
+ def reload(*arg0); end
2100
+ extend ActiveSupport::Concern
2101
+ end
2102
+ module ActiveRecord::Aggregations::ClassMethods
2103
+ def composed_of(part_id, options = nil); end
2104
+ def reader_method(name, class_name, mapping, allow_nil, constructor); end
2105
+ def writer_method(name, class_name, mapping, allow_nil, converter); end
2106
+ end
2107
+ module ActiveRecord::Transactions
2108
+ def add_to_transaction; end
2109
+ def before_committed!; end
2110
+ def clear_transaction_record_state; end
2111
+ def committed!(should_run_callbacks: nil); end
2112
+ def destroy; end
2113
+ def force_clear_transaction_record_state; end
2114
+ def has_transactional_callbacks?; end
2115
+ def remember_transaction_record_state; end
2116
+ def restore_transaction_record_state(force = nil); end
2117
+ def rollback_active_record_state!; end
2118
+ def rolledback!(force_restore_state: nil, should_run_callbacks: nil); end
2119
+ def save!(*arg0); end
2120
+ def save(*arg0); end
2121
+ def set_transaction_state(state); end
2122
+ def sync_with_transaction_state; end
2123
+ def touch(*arg0); end
2124
+ def transaction(options = nil, &block); end
2125
+ def transaction_include_any_action?(actions); end
2126
+ def transaction_record_state(state); end
2127
+ def update_attributes_from_transaction_state(transaction_state); end
2128
+ def with_transaction_returning_status; end
2129
+ extend ActiveSupport::Concern
2130
+ end
2131
+ module ActiveRecord::Transactions::ClassMethods
2132
+ def after_commit(*args, &block); end
2133
+ def after_commit_without_transaction_enrollment(*args, &block); end
2134
+ def after_create_commit(*args, &block); end
2135
+ def after_destroy_commit(*args, &block); end
2136
+ def after_rollback(*args, &block); end
2137
+ def after_rollback_without_transaction_enrollment(*args, &block); end
2138
+ def after_update_commit(*args, &block); end
2139
+ def assert_valid_transaction_action(actions); end
2140
+ def before_commit(*args, &block); end
2141
+ def before_commit_without_transaction_enrollment(*args, &block); end
2142
+ def set_options_for_callbacks!(args, enforced_options = nil); end
2143
+ def transaction(options = nil, &block); end
2144
+ end
2145
+ module ActiveRecord::TouchLater
2146
+ def belongs_to_touch_method; end
2147
+ def has_defer_touch_attrs?; end
2148
+ def surreptitiously_touch(attrs); end
2149
+ def touch(*names, time: nil); end
2150
+ def touch_deferred_attributes; end
2151
+ def touch_later(*names); end
2152
+ extend ActiveSupport::Concern
2153
+ end
2154
+ module ActiveRecord::NoTouching
2155
+ def no_touching?; end
2156
+ def self.applied_to?(klass); end
2157
+ def self.apply_to(klass); end
2158
+ def self.klasses; end
2159
+ def touch(*arg0); end
2160
+ def touch_later(*arg0); end
2161
+ extend ActiveSupport::Concern
2162
+ end
2163
+ module ActiveRecord::NoTouching::ClassMethods
2164
+ def no_touching(&block); end
2165
+ end
2166
+ module ActiveRecord::Reflection
2167
+ def self.add_aggregate_reflection(ar, name, reflection); end
2168
+ def self.add_reflection(ar, name, reflection); end
2169
+ def self.create(macro, name, scope, options, ar); end
2170
+ extend ActiveSupport::Concern
2171
+ end
2172
+ module ActiveRecord::Reflection::ClassMethods
2173
+ def _reflect_on_association(association); end
2174
+ def clear_reflections_cache; end
2175
+ def reflect_on_aggregation(aggregation); end
2176
+ def reflect_on_all_aggregations; end
2177
+ def reflect_on_all_associations(macro = nil); end
2178
+ def reflect_on_all_autosave_associations; end
2179
+ def reflect_on_association(association); end
2180
+ def reflections; end
2181
+ end
2182
+ class ActiveRecord::Reflection::AbstractReflection
2183
+ def alias_candidate(name); end
2184
+ def build_association(attributes, &block); end
2185
+ def build_scope(table, predicate_builder = nil); end
2186
+ def chain; end
2187
+ def check_validity_of_inverse!; end
2188
+ def class_name; end
2189
+ def constraints; end
2190
+ def counter_cache_column; end
2191
+ def counter_must_be_updated_by_has_many?; end
2192
+ def get_join_keys(association_klass); end
2193
+ def has_cached_counter?; end
2194
+ def inverse_of; end
2195
+ def inverse_updates_counter_cache?; end
2196
+ def inverse_updates_counter_in_memory?; end
2197
+ def inverse_which_updates_counter_cache; end
2198
+ def join_fk; end
2199
+ def join_keys; end
2200
+ def join_pk(_); end
2201
+ def join_scope(table); end
2202
+ def join_scopes(table, predicate_builder); end
2203
+ def klass_join_scope(table, predicate_builder); end
2204
+ def predicate_builder(table); end
2205
+ def primary_key_type; end
2206
+ def quoted_table_name; end
2207
+ def scope_chain(*args, &block); end
2208
+ def scopes; end
2209
+ def table_name; end
2210
+ def through_reflection?; end
2211
+ end
2212
+ class ActiveRecord::Reflection::AbstractReflection::JoinKeys < Struct
2213
+ def foreign_key; end
2214
+ def foreign_key=(_); end
2215
+ def key; end
2216
+ def key=(_); end
2217
+ def self.[](*arg0); end
2218
+ def self.inspect; end
2219
+ def self.members; end
2220
+ def self.new(*arg0); end
2221
+ end
2222
+ class ActiveRecord::Reflection::MacroReflection < ActiveRecord::Reflection::AbstractReflection
2223
+ def ==(other_aggregation); end
2224
+ def active_record; end
2225
+ def autosave=(autosave); end
2226
+ def compute_class(name); end
2227
+ def derive_class_name; end
2228
+ def initialize(name, scope, options, active_record); end
2229
+ def klass; end
2230
+ def name; end
2231
+ def options; end
2232
+ def plural_name; end
2233
+ def scope; end
2234
+ def scope_for(klass); end
2235
+ end
2236
+ class ActiveRecord::Reflection::AggregateReflection < ActiveRecord::Reflection::MacroReflection
2237
+ def mapping; end
2238
+ end
2239
+ class ActiveRecord::Reflection::AssociationReflection < ActiveRecord::Reflection::MacroReflection
2240
+ def active_record_primary_key; end
2241
+ def actual_source_reflection; end
2242
+ def add_as_polymorphic_through(reflection, seed); end
2243
+ def add_as_source(seed); end
2244
+ def add_as_through(seed); end
2245
+ def association_class; end
2246
+ def association_foreign_key; end
2247
+ def association_primary_key(klass = nil); end
2248
+ def association_primary_key_type; end
2249
+ def association_scope_cache(conn, owner); end
2250
+ def automatic_inverse_of; end
2251
+ def belongs_to?; end
2252
+ def calculate_constructable(macro, options); end
2253
+ def can_find_inverse_of_automatically?(reflection); end
2254
+ def check_eager_loadable!; end
2255
+ def check_preloadable!; end
2256
+ def check_validity!; end
2257
+ def clear_association_scope_cache; end
2258
+ def collect_join_chain; end
2259
+ def collection?; end
2260
+ def compute_class(name); end
2261
+ def constructable?; end
2262
+ def derive_class_name; end
2263
+ def derive_foreign_key; end
2264
+ def derive_join_table; end
2265
+ def extensions; end
2266
+ def foreign_key; end
2267
+ def foreign_type; end
2268
+ def has_inverse?; end
2269
+ def has_one?; end
2270
+ def has_scope?; end
2271
+ def initialize(name, scope, options, active_record); end
2272
+ def inverse_name; end
2273
+ def join_id_for(owner); end
2274
+ def join_table; end
2275
+ def klass; end
2276
+ def macro; end
2277
+ def nested?; end
2278
+ def parent_reflection; end
2279
+ def parent_reflection=(arg0); end
2280
+ def polymorphic?; end
2281
+ def polymorphic_inverse_of(associated_class); end
2282
+ def primary_key(klass); end
2283
+ def source_reflection; end
2284
+ def through_reflection; end
2285
+ def type; end
2286
+ def valid_inverse_reflection?(reflection); end
2287
+ def validate?; end
2288
+ end
2289
+ class ActiveRecord::Reflection::HasManyReflection < ActiveRecord::Reflection::AssociationReflection
2290
+ def association_class; end
2291
+ def association_primary_key(klass = nil); end
2292
+ def collection?; end
2293
+ def macro; end
2294
+ end
2295
+ class ActiveRecord::Reflection::HasOneReflection < ActiveRecord::Reflection::AssociationReflection
2296
+ def association_class; end
2297
+ def calculate_constructable(macro, options); end
2298
+ def has_one?; end
2299
+ def macro; end
2300
+ end
2301
+ class ActiveRecord::Reflection::BelongsToReflection < ActiveRecord::Reflection::AssociationReflection
2302
+ def association_class; end
2303
+ def belongs_to?; end
2304
+ def calculate_constructable(macro, options); end
2305
+ def join_fk; end
2306
+ def join_id_for(owner); end
2307
+ def join_pk(klass); end
2308
+ def macro; end
2309
+ end
2310
+ class ActiveRecord::Reflection::HasAndBelongsToManyReflection < ActiveRecord::Reflection::AssociationReflection
2311
+ def collection?; end
2312
+ def initialize(name, scope, options, active_record); end
2313
+ def macro; end
2314
+ end
2315
+ class ActiveRecord::Reflection::ThroughReflection < ActiveRecord::Reflection::AbstractReflection
2316
+ def active_record(*args, &block); end
2317
+ def active_record_primary_key(*args, &block); end
2318
+ def actual_source_reflection; end
2319
+ def add_as_polymorphic_through(reflection, seed); end
2320
+ def add_as_source(seed); end
2321
+ def add_as_through(seed); end
2322
+ def association_class(*args, &block); end
2323
+ def association_foreign_key(*args, &block); end
2324
+ def association_primary_key(klass = nil); end
2325
+ def association_primary_key_type; end
2326
+ def association_scope_cache(*args, &block); end
2327
+ def autosave=(arg); end
2328
+ def belongs_to?(*args, &block); end
2329
+ def check_eager_loadable!(*args, &block); end
2330
+ def check_preloadable!(*args, &block); end
2331
+ def check_validity!; end
2332
+ def clear_association_scope_cache; end
2333
+ def collect_join_chain; end
2334
+ def collect_join_reflections(seed); end
2335
+ def collection?(*args, &block); end
2336
+ def compute_class(*args, &block); end
2337
+ def constraints; end
2338
+ def constructable?(*args, &block); end
2339
+ def delegate_reflection; end
2340
+ def derive_class_name; end
2341
+ def extensions(*args, &block); end
2342
+ def foreign_key(*args, &block); end
2343
+ def foreign_type(*args, &block); end
2344
+ def get_join_keys(*args, &block); end
2345
+ def has_inverse?(*args, &block); end
2346
+ def has_one?(*args, &block); end
2347
+ def has_scope?; end
2348
+ def initialize(delegate_reflection); end
2349
+ def inverse_name; end
2350
+ def join_id_for(owner); end
2351
+ def join_scopes(table, predicate_builder); end
2352
+ def join_table(*args, &block); end
2353
+ def klass; end
2354
+ def macro(*args, &block); end
2355
+ def name(*args, &block); end
2356
+ def nested?; end
2357
+ def options(*args, &block); end
2358
+ def parent_reflection(*args, &block); end
2359
+ def parent_reflection=(arg); end
2360
+ def plural_name(*args, &block); end
2361
+ def polymorphic?(*args, &block); end
2362
+ def polymorphic_inverse_of(*args, &block); end
2363
+ def primary_key(klass); end
2364
+ def scope(*args, &block); end
2365
+ def scope_for(*args, &block); end
2366
+ def scopes; end
2367
+ def source_options; end
2368
+ def source_reflection; end
2369
+ def source_reflection_name; end
2370
+ def source_reflection_names; end
2371
+ def source_type_scope; end
2372
+ def through_options; end
2373
+ def through_reflection; end
2374
+ def through_reflection?; end
2375
+ def type(*args, &block); end
2376
+ def validate?(*args, &block); end
2377
+ end
2378
+ class ActiveRecord::Reflection::PolymorphicReflection < ActiveRecord::Reflection::AbstractReflection
2379
+ def constraints; end
2380
+ def get_join_keys(association_klass); end
2381
+ def initialize(reflection, previous_reflection); end
2382
+ def join_scopes(table, predicate_builder); end
2383
+ def klass; end
2384
+ def plural_name; end
2385
+ def scope; end
2386
+ def scopes; end
2387
+ def source_type_info; end
2388
+ def table_name; end
2389
+ def type; end
2390
+ end
2391
+ class ActiveRecord::Reflection::RuntimeReflection < ActiveRecord::Reflection::PolymorphicReflection
2392
+ def alias_candidate(name); end
2393
+ def alias_name; end
2394
+ def all_includes; end
2395
+ def constraints; end
2396
+ def initialize(reflection, association); end
2397
+ def klass; end
2398
+ def next; end
2399
+ def next=(arg0); end
2400
+ def source_type_info; end
2401
+ def table_name; end
2402
+ end
2403
+ module ActiveRecord::Serialization
2404
+ def serializable_hash(options = nil); end
2405
+ extend ActiveSupport::Concern
2406
+ include ActiveModel::Serializers::JSON
2407
+ end
2408
+ module ActiveRecord::Store
2409
+ def read_store_attribute(store_attribute, key); end
2410
+ def store_accessor_for(store_attribute); end
2411
+ def write_store_attribute(store_attribute, key, value); end
2412
+ extend ActiveSupport::Concern
2413
+ end
2414
+ module ActiveRecord::Store::ClassMethods
2415
+ def _store_accessors_module; end
2416
+ def store(store_attribute, options = nil); end
2417
+ def store_accessor(store_attribute, *keys); end
2418
+ def stored_attributes; end
2419
+ end
2420
+ class ActiveRecord::Store::HashAccessor
2421
+ def self.prepare(object, attribute); end
2422
+ def self.read(object, attribute, key); end
2423
+ def self.write(object, attribute, key, value); end
2424
+ end
2425
+ class ActiveRecord::Store::StringKeyedHashAccessor < ActiveRecord::Store::HashAccessor
2426
+ def self.read(object, attribute, key); end
2427
+ def self.write(object, attribute, key, value); end
2428
+ end
2429
+ class ActiveRecord::Store::IndifferentHashAccessor < ActiveRecord::Store::HashAccessor
2430
+ def self.prepare(object, store_attribute); end
2431
+ end
2432
+ class ActiveRecord::Store::IndifferentCoder
2433
+ def dump(obj); end
2434
+ def initialize(attr_name, coder_or_class_name); end
2435
+ def load(yaml); end
2436
+ def self.as_indifferent_hash(obj); end
2437
+ end
2438
+ module ActiveRecord::SecureToken
2439
+ extend ActiveSupport::Concern
2440
+ end
2441
+ module ActiveRecord::SecureToken::ClassMethods
2442
+ def generate_unique_secure_token; end
2443
+ def has_secure_token(attribute = nil); end
2444
+ end
2445
+ module ActiveRecord::Suppressor
2446
+ def save!(*arg0); end
2447
+ def save(*arg0); end
2448
+ extend ActiveSupport::Concern
2449
+ end
2450
+ module ActiveRecord::Suppressor::ClassMethods
2451
+ def suppress(&block); end
2452
+ end
2453
+ class ActiveRecord::SuppressorRegistry
2454
+ def initialize; end
2455
+ def suppressed; end
2456
+ extend ActiveSupport::PerThreadRegistry
2457
+ end
2458
+ class ActiveRecord::RuntimeRegistry
2459
+ def connection_handler; end
2460
+ def connection_handler=(arg0); end
2461
+ def self.connection_handler; end
2462
+ def self.connection_handler=(x); end
2463
+ def self.sql_runtime; end
2464
+ def self.sql_runtime=(x); end
2465
+ def sql_runtime; end
2466
+ def sql_runtime=(arg0); end
2467
+ extend ActiveSupport::PerThreadRegistry
2468
+ end
2469
+ class ActiveRecord::ConnectionAdapters::StatementPool
2470
+ def [](key); end
2471
+ def []=(sql, stmt); end
2472
+ def cache; end
2473
+ def clear; end
2474
+ def dealloc(stmt); end
2475
+ def delete(key); end
2476
+ def each(&block); end
2477
+ def initialize(statement_limit = nil); end
2478
+ def key?(key); end
2479
+ def length; end
2480
+ include Enumerable
2481
+ end
2482
+ module ActiveRecord::ConnectionAdapters::SQLite3
2483
+ end
2484
+ class ActiveRecord::ConnectionAdapters::SQLite3::ExplainPrettyPrinter
2485
+ def pp(result); end
2486
+ end
2487
+ module ActiveRecord::ConnectionAdapters::SQLite3::Quoting
2488
+ def _type_cast(value); end
2489
+ def quote_column_name(name); end
2490
+ def quote_string(s); end
2491
+ def quote_table_name_for_assignment(table, attr); end
2492
+ def quoted_binary(value); end
2493
+ def quoted_time(value); end
2494
+ end
2495
+ class ActiveRecord::ConnectionAdapters::SQLite3::SchemaCreation < ActiveRecord::ConnectionAdapters::AbstractAdapter::SchemaCreation
2496
+ def add_column_options!(sql, options); end
2497
+ end
2498
+ class ActiveRecord::ConnectionAdapters::IndexDefinition < Struct
2499
+ def columns; end
2500
+ def columns=(_); end
2501
+ def comment; end
2502
+ def comment=(_); end
2503
+ def lengths; end
2504
+ def lengths=(_); end
2505
+ def name; end
2506
+ def name=(_); end
2507
+ def orders; end
2508
+ def orders=(_); end
2509
+ def self.[](*arg0); end
2510
+ def self.inspect; end
2511
+ def self.members; end
2512
+ def self.new(*arg0); end
2513
+ def table; end
2514
+ def table=(_); end
2515
+ def type; end
2516
+ def type=(_); end
2517
+ def unique; end
2518
+ def unique=(_); end
2519
+ def using; end
2520
+ def using=(_); end
2521
+ def where; end
2522
+ def where=(_); end
2523
+ end
2524
+ class ActiveRecord::ConnectionAdapters::ColumnDefinition < Struct
2525
+ def collation; end
2526
+ def collation=(value); end
2527
+ def comment; end
2528
+ def comment=(value); end
2529
+ def default; end
2530
+ def default=(value); end
2531
+ def limit; end
2532
+ def limit=(value); end
2533
+ def name; end
2534
+ def name=(_); end
2535
+ def null; end
2536
+ def null=(value); end
2537
+ def options; end
2538
+ def options=(_); end
2539
+ def precision; end
2540
+ def precision=(value); end
2541
+ def primary_key?; end
2542
+ def scale; end
2543
+ def scale=(value); end
2544
+ def self.[](*arg0); end
2545
+ def self.inspect; end
2546
+ def self.members; end
2547
+ def self.new(*arg0); end
2548
+ def sql_type; end
2549
+ def sql_type=(_); end
2550
+ def type; end
2551
+ def type=(_); end
2552
+ end
2553
+ class ActiveRecord::ConnectionAdapters::AddColumnDefinition < Struct
2554
+ def column; end
2555
+ def column=(_); end
2556
+ def self.[](*arg0); end
2557
+ def self.inspect; end
2558
+ def self.members; end
2559
+ def self.new(*arg0); end
2560
+ end
2561
+ class ActiveRecord::ConnectionAdapters::ChangeColumnDefinition < Struct
2562
+ def column; end
2563
+ def column=(_); end
2564
+ def name; end
2565
+ def name=(_); end
2566
+ def self.[](*arg0); end
2567
+ def self.inspect; end
2568
+ def self.members; end
2569
+ def self.new(*arg0); end
2570
+ end
2571
+ class ActiveRecord::ConnectionAdapters::PrimaryKeyDefinition < Struct
2572
+ def name; end
2573
+ def name=(_); end
2574
+ def self.[](*arg0); end
2575
+ def self.inspect; end
2576
+ def self.members; end
2577
+ def self.new(*arg0); end
2578
+ end
2579
+ class ActiveRecord::ConnectionAdapters::ForeignKeyDefinition < Struct
2580
+ def column; end
2581
+ def custom_primary_key?; end
2582
+ def default_primary_key; end
2583
+ def defined_for?(to_table_ord = nil, to_table: nil, **options); end
2584
+ def from_table; end
2585
+ def from_table=(_); end
2586
+ def name; end
2587
+ def on_delete; end
2588
+ def on_update; end
2589
+ def options; end
2590
+ def options=(_); end
2591
+ def primary_key; end
2592
+ def self.[](*arg0); end
2593
+ def self.inspect; end
2594
+ def self.members; end
2595
+ def self.new(*arg0); end
2596
+ def to_table; end
2597
+ def to_table=(_); end
2598
+ end
2599
+ class ActiveRecord::ConnectionAdapters::ReferenceDefinition
2600
+ def add_to(table); end
2601
+ def as_options(value); end
2602
+ def column_name; end
2603
+ def column_names; end
2604
+ def columns; end
2605
+ def foreign_key; end
2606
+ def foreign_key_options; end
2607
+ def foreign_table_name; end
2608
+ def index; end
2609
+ def index_options; end
2610
+ def initialize(name, polymorphic: nil, index: nil, foreign_key: nil, type: nil, **options); end
2611
+ def name; end
2612
+ def options; end
2613
+ def polymorphic; end
2614
+ def polymorphic_options; end
2615
+ def type; end
2616
+ end
2617
+ module ActiveRecord::ConnectionAdapters::ColumnMethods
2618
+ def bigint(*args, **options); end
2619
+ def binary(*args, **options); end
2620
+ def boolean(*args, **options); end
2621
+ def date(*args, **options); end
2622
+ def datetime(*args, **options); end
2623
+ def decimal(*args, **options); end
2624
+ def float(*args, **options); end
2625
+ def integer(*args, **options); end
2626
+ def numeric(*args, **options); end
2627
+ def primary_key(name, type = nil, **options); end
2628
+ def string(*args, **options); end
2629
+ def text(*args, **options); end
2630
+ def time(*args, **options); end
2631
+ def timestamp(*args, **options); end
2632
+ def virtual(*args, **options); end
2633
+ end
2634
+ class ActiveRecord::ConnectionAdapters::TableDefinition
2635
+ def [](name); end
2636
+ def aliased_types(name, fallback); end
2637
+ def as; end
2638
+ def belongs_to(*args, **options); end
2639
+ def column(name, type, options = nil); end
2640
+ def columns; end
2641
+ def comment; end
2642
+ def create_column_definition(name, type, options); end
2643
+ def foreign_key(table_name, options = nil); end
2644
+ def foreign_keys; end
2645
+ def index(column_name, options = nil); end
2646
+ def indexes; end
2647
+ def indexes=(arg0); end
2648
+ def initialize(name, temporary = nil, options = nil, as = nil, comment: nil); end
2649
+ def name; end
2650
+ def new_column_definition(name, type, **options); end
2651
+ def options; end
2652
+ def primary_keys(name = nil); end
2653
+ def references(*args, **options); end
2654
+ def remove_column(name); end
2655
+ def temporary; end
2656
+ def timestamps(**options); end
2657
+ include ActiveRecord::ConnectionAdapters::ColumnMethods
2658
+ end
2659
+ class ActiveRecord::ConnectionAdapters::AlterTable
2660
+ def add_column(name, type, options); end
2661
+ def add_foreign_key(to_table, options); end
2662
+ def adds; end
2663
+ def drop_foreign_key(name); end
2664
+ def foreign_key_adds; end
2665
+ def foreign_key_drops; end
2666
+ def initialize(td); end
2667
+ def name; end
2668
+ end
2669
+ class ActiveRecord::ConnectionAdapters::Table
2670
+ def belongs_to(*args, **options); end
2671
+ def change(column_name, type, options = nil); end
2672
+ def change_default(column_name, default_or_changes); end
2673
+ def column(column_name, type, options = nil); end
2674
+ def column_exists?(column_name, type = nil, options = nil); end
2675
+ def foreign_key(*args); end
2676
+ def foreign_key_exists?(*args); end
2677
+ def index(column_name, options = nil); end
2678
+ def index_exists?(column_name, options = nil); end
2679
+ def initialize(table_name, base); end
2680
+ def name; end
2681
+ def references(*args, **options); end
2682
+ def remove(*column_names); end
2683
+ def remove_belongs_to(*args, **options); end
2684
+ def remove_index(options = nil); end
2685
+ def remove_references(*args, **options); end
2686
+ def remove_timestamps(options = nil); end
2687
+ def rename(column_name, new_column_name); end
2688
+ def rename_index(index_name, new_index_name); end
2689
+ def timestamps(options = nil); end
2690
+ include ActiveRecord::ConnectionAdapters::ColumnMethods
2691
+ end
2692
+ module ActiveRecord::ConnectionAdapters::SQLite3::ColumnMethods
2693
+ def primary_key(name, type = nil, **options); end
2694
+ end
2695
+ class ActiveRecord::ConnectionAdapters::SQLite3::TableDefinition < ActiveRecord::ConnectionAdapters::TableDefinition
2696
+ def belongs_to(*args, **options); end
2697
+ def references(*args, **options); end
2698
+ include ActiveRecord::ConnectionAdapters::SQLite3::ColumnMethods
2699
+ end
2700
+ class ActiveRecord::ConnectionAdapters::SQLite3::Table < ActiveRecord::ConnectionAdapters::Table
2701
+ include ActiveRecord::ConnectionAdapters::SQLite3::ColumnMethods
2702
+ end
2703
+ module ActiveRecord::ConnectionAdapters::SQLite3::ColumnDumper
2704
+ def default_primary_key?(column); end
2705
+ def explicit_primary_key_default?(column); end
2706
+ end
2707
+ module ActiveRecord::ConnectionAdapters::SQLite3::SchemaStatements
2708
+ def data_source_sql(name = nil, type: nil); end
2709
+ def quoted_scope(name = nil, type: nil); end
2710
+ end
2711
+ class ActiveRecord::ConnectionAdapters::SQLite3Adapter < ActiveRecord::ConnectionAdapters::AbstractAdapter
2712
+ def active?; end
2713
+ def add_belongs_to(table_name, ref_name, **options); end
2714
+ def add_column(table_name, column_name, type, options = nil); end
2715
+ def add_reference(table_name, ref_name, **options); end
2716
+ def allowed_index_name_length; end
2717
+ def alter_table(table_name, options = nil); end
2718
+ def arel_visitor; end
2719
+ def begin_db_transaction; end
2720
+ def change_column(table_name, column_name, type, options = nil); end
2721
+ def change_column_default(table_name, column_name, default_or_changes); end
2722
+ def change_column_null(table_name, column_name, null, default = nil); end
2723
+ def clear_cache!; end
2724
+ def column_definitions(table_name); end
2725
+ def commit_db_transaction; end
2726
+ def configure_connection; end
2727
+ def copy_table(from, to, options = nil); end
2728
+ def copy_table_contents(from, to, columns, rename = nil); end
2729
+ def copy_table_indexes(from, to, rename = nil); end
2730
+ def create_table_definition(*args); end
2731
+ def disable_referential_integrity; end
2732
+ def disconnect!; end
2733
+ def encoding; end
2734
+ def exec_delete(sql, name = nil, binds = nil); end
2735
+ def exec_query(sql, name = nil, binds = nil, prepare: nil); end
2736
+ def exec_rollback_db_transaction; end
2737
+ def exec_update(sql, name = nil, binds = nil); end
2738
+ def execute(sql, name = nil); end
2739
+ def explain(arel, binds = nil); end
2740
+ def extract_foreign_key_action(specifier); end
2741
+ def foreign_keys(table_name); end
2742
+ def indexes(table_name, name = nil); end
2743
+ def initialize(connection, logger, connection_options, config); end
2744
+ def last_inserted_id(result); end
2745
+ def move_table(from, to, options = nil, &block); end
2746
+ def native_database_types; end
2747
+ def new_column_from_field(table_name, field); end
2748
+ def primary_keys(table_name); end
2749
+ def remove_column(table_name, column_name, type = nil, options = nil); end
2750
+ def remove_index(table_name, options = nil); end
2751
+ def rename_column(table_name, column_name, new_column_name); end
2752
+ def rename_table(table_name, new_name); end
2753
+ def requires_reloading?; end
2754
+ def schema_creation; end
2755
+ def sqlite_version; end
2756
+ def supports_datetime_with_precision?; end
2757
+ def supports_ddl_transactions?; end
2758
+ def supports_explain?; end
2759
+ def supports_foreign_keys_in_create?; end
2760
+ def supports_index_sort_order?; end
2761
+ def supports_multi_insert?; end
2762
+ def supports_partial_index?; end
2763
+ def supports_savepoints?; end
2764
+ def supports_statement_cache?; end
2765
+ def supports_views?; end
2766
+ def table_structure(table_name); end
2767
+ def table_structure_with_collation(table_name, basic_structure); end
2768
+ def translate_exception(exception, message); end
2769
+ def update_table_definition(table_name, base); end
2770
+ def valid_alter_table_type?(type); end
2771
+ include ActiveRecord::ConnectionAdapters::SQLite3::ColumnDumper
2772
+ include ActiveRecord::ConnectionAdapters::SQLite3::Quoting
2773
+ include ActiveRecord::ConnectionAdapters::SQLite3::SchemaStatements
2774
+ end
2775
+ class ActiveRecord::ConnectionAdapters::SQLite3Adapter::StatementPool < ActiveRecord::ConnectionAdapters::StatementPool
2776
+ def dealloc(stmt); end
2777
+ end
2778
+ class ActiveRecord::Base
2779
+ def __callbacks; end
2780
+ def __callbacks?; end
2781
+ def _before_commit_callbacks; end
2782
+ def _before_commit_without_transaction_enrollment_callbacks; end
2783
+ def _commit_callbacks; end
2784
+ def _commit_without_transaction_enrollment_callbacks; end
2785
+ def _create_callbacks; end
2786
+ def _destroy_callbacks; end
2787
+ def _find_callbacks; end
2788
+ def _initialize_callbacks; end
2789
+ def _reflections; end
2790
+ def _reflections?; end
2791
+ def _rollback_callbacks; end
2792
+ def _rollback_without_transaction_enrollment_callbacks; end
2793
+ def _run_before_commit_callbacks(&block); end
2794
+ def _run_before_commit_without_transaction_enrollment_callbacks(&block); end
2795
+ def _run_commit_callbacks(&block); end
2796
+ def _run_commit_without_transaction_enrollment_callbacks(&block); end
2797
+ def _run_create_callbacks(&block); end
2798
+ def _run_destroy_callbacks(&block); end
2799
+ def _run_find_callbacks(&block); end
2800
+ def _run_initialize_callbacks(&block); end
2801
+ def _run_rollback_callbacks(&block); end
2802
+ def _run_rollback_without_transaction_enrollment_callbacks(&block); end
2803
+ def _run_save_callbacks(&block); end
2804
+ def _run_touch_callbacks(&block); end
2805
+ def _run_update_callbacks(&block); end
2806
+ def _run_validate_callbacks(&block); end
2807
+ def _run_validation_callbacks(&block); end
2808
+ def _save_callbacks; end
2809
+ def _touch_callbacks; end
2810
+ def _update_callbacks; end
2811
+ def _validate_callbacks; end
2812
+ def _validation_callbacks; end
2813
+ def _validators; end
2814
+ def _validators?; end
2815
+ def aggregate_reflections; end
2816
+ def aggregate_reflections?; end
2817
+ def attribute_aliases; end
2818
+ def attribute_aliases?; end
2819
+ def attribute_method_matchers; end
2820
+ def attribute_method_matchers?; end
2821
+ def cache_timestamp_format; end
2822
+ def cache_timestamp_format?; end
2823
+ def column_for_attribute(*args, &block); end
2824
+ def default_connection_handler; end
2825
+ def default_connection_handler?; end
2826
+ def default_scope_override; end
2827
+ def default_scopes; end
2828
+ def default_timezone; end
2829
+ def defined_enums; end
2830
+ def defined_enums?; end
2831
+ def dump_schema_after_migration; end
2832
+ def dump_schemas; end
2833
+ def error_on_ignored_order; end
2834
+ def error_on_ignored_order_or_limit; end
2835
+ def include_root_in_json; end
2836
+ def include_root_in_json?; end
2837
+ def index_nested_attribute_errors; end
2838
+ def lock_optimistically; end
2839
+ def lock_optimistically?; end
2840
+ def logger; end
2841
+ def model_name(*args, &block); end
2842
+ def nested_attributes_options; end
2843
+ def nested_attributes_options?; end
2844
+ def partial_writes; end
2845
+ def partial_writes?; end
2846
+ def pluralize_table_names; end
2847
+ def pluralize_table_names?; end
2848
+ def primary_key_prefix_type; end
2849
+ def record_timestamps; end
2850
+ def record_timestamps=(arg0); end
2851
+ def record_timestamps?; end
2852
+ def schema_format; end
2853
+ def self.__callbacks; end
2854
+ def self.__callbacks=(val); end
2855
+ def self.__callbacks?; end
2856
+ def self._attr_readonly; end
2857
+ def self._attr_readonly=(val); end
2858
+ def self._attr_readonly?; end
2859
+ def self._before_commit_callbacks; end
2860
+ def self._before_commit_callbacks=(value); end
2861
+ def self._before_commit_without_transaction_enrollment_callbacks; end
2862
+ def self._before_commit_without_transaction_enrollment_callbacks=(value); end
2863
+ def self._commit_callbacks; end
2864
+ def self._commit_callbacks=(value); end
2865
+ def self._commit_without_transaction_enrollment_callbacks; end
2866
+ def self._commit_without_transaction_enrollment_callbacks=(value); end
2867
+ def self._create_callbacks; end
2868
+ def self._create_callbacks=(value); end
2869
+ def self._destroy_callbacks; end
2870
+ def self._destroy_callbacks=(value); end
2871
+ def self._find_callbacks; end
2872
+ def self._find_callbacks=(value); end
2873
+ def self._initialize_callbacks; end
2874
+ def self._initialize_callbacks=(value); end
2875
+ def self._reflections; end
2876
+ def self._reflections=(val); end
2877
+ def self._reflections?; end
2878
+ def self._rollback_callbacks; end
2879
+ def self._rollback_callbacks=(value); end
2880
+ def self._rollback_without_transaction_enrollment_callbacks; end
2881
+ def self._rollback_without_transaction_enrollment_callbacks=(value); end
2882
+ def self._save_callbacks; end
2883
+ def self._save_callbacks=(value); end
2884
+ def self._touch_callbacks; end
2885
+ def self._touch_callbacks=(value); end
2886
+ def self._update_callbacks; end
2887
+ def self._update_callbacks=(value); end
2888
+ def self._validate_callbacks; end
2889
+ def self._validate_callbacks=(value); end
2890
+ def self._validation_callbacks; end
2891
+ def self._validation_callbacks=(value); end
2892
+ def self._validators; end
2893
+ def self._validators=(val); end
2894
+ def self._validators?; end
2895
+ def self.after_create(*args, &block); end
2896
+ def self.after_destroy(*args, &block); end
2897
+ def self.after_find(*args, &block); end
2898
+ def self.after_initialize(*args, &block); end
2899
+ def self.after_save(*args, &block); end
2900
+ def self.after_touch(*args, &block); end
2901
+ def self.after_update(*args, &block); end
2902
+ def self.aggregate_reflections; end
2903
+ def self.aggregate_reflections=(val); end
2904
+ def self.aggregate_reflections?; end
2905
+ def self.around_create(*args, &block); end
2906
+ def self.around_destroy(*args, &block); end
2907
+ def self.around_save(*args, &block); end
2908
+ def self.around_update(*args, &block); end
2909
+ def self.attribute_aliases; end
2910
+ def self.attribute_aliases=(val); end
2911
+ def self.attribute_aliases?; end
2912
+ def self.attribute_method_matchers; end
2913
+ def self.attribute_method_matchers=(val); end
2914
+ def self.attribute_method_matchers?; end
2915
+ def self.attribute_type_decorations; end
2916
+ def self.attribute_type_decorations=(val); end
2917
+ def self.attribute_type_decorations?; end
2918
+ def self.attributes_to_define_after_schema_loads; end
2919
+ def self.attributes_to_define_after_schema_loads=(val); end
2920
+ def self.attributes_to_define_after_schema_loads?; end
2921
+ def self.before_create(*args, &block); end
2922
+ def self.before_destroy(*args, &block); end
2923
+ def self.before_save(*args, &block); end
2924
+ def self.before_update(*args, &block); end
2925
+ def self.belongs_to_required_by_default; end
2926
+ def self.belongs_to_required_by_default=(obj); end
2927
+ def self.cache_timestamp_format; end
2928
+ def self.cache_timestamp_format=(val); end
2929
+ def self.cache_timestamp_format?; end
2930
+ def self.configurations; end
2931
+ def self.configurations=(config); end
2932
+ def self.connection_handler; end
2933
+ def self.connection_handler=(handler); end
2934
+ def self.default_connection_handler; end
2935
+ def self.default_connection_handler=(val); end
2936
+ def self.default_connection_handler?; end
2937
+ def self.default_scope_override; end
2938
+ def self.default_scope_override=(val); end
2939
+ def self.default_scopes; end
2940
+ def self.default_scopes=(val); end
2941
+ def self.default_timezone; end
2942
+ def self.default_timezone=(obj); end
2943
+ def self.defined_enums; end
2944
+ def self.defined_enums=(val); end
2945
+ def self.defined_enums?; end
2946
+ def self.dump_schema_after_migration; end
2947
+ def self.dump_schema_after_migration=(obj); end
2948
+ def self.dump_schemas; end
2949
+ def self.dump_schemas=(obj); end
2950
+ def self.error_on_ignored_order; end
2951
+ def self.error_on_ignored_order=(obj); end
2952
+ def self.error_on_ignored_order_or_limit; end
2953
+ def self.error_on_ignored_order_or_limit=(value); end
2954
+ def self.include_root_in_json; end
2955
+ def self.include_root_in_json=(val); end
2956
+ def self.include_root_in_json?; end
2957
+ def self.index_nested_attribute_errors; end
2958
+ def self.index_nested_attribute_errors=(obj); end
2959
+ def self.internal_metadata_table_name; end
2960
+ def self.internal_metadata_table_name=(val); end
2961
+ def self.internal_metadata_table_name?; end
2962
+ def self.local_stored_attributes; end
2963
+ def self.local_stored_attributes=(arg0); end
2964
+ def self.lock_optimistically; end
2965
+ def self.lock_optimistically=(val); end
2966
+ def self.lock_optimistically?; end
2967
+ def self.logger; end
2968
+ def self.logger=(obj); end
2969
+ def self.maintain_test_schema; end
2970
+ def self.maintain_test_schema=(obj); end
2971
+ def self.nested_attributes_options; end
2972
+ def self.nested_attributes_options=(val); end
2973
+ def self.nested_attributes_options?; end
2974
+ def self.partial_writes; end
2975
+ def self.partial_writes=(val); end
2976
+ def self.partial_writes?; end
2977
+ def self.pluralize_table_names; end
2978
+ def self.pluralize_table_names=(val); end
2979
+ def self.pluralize_table_names?; end
2980
+ def self.primary_key_prefix_type; end
2981
+ def self.primary_key_prefix_type=(obj); end
2982
+ def self.record_timestamps; end
2983
+ def self.record_timestamps=(val); end
2984
+ def self.record_timestamps?; end
2985
+ def self.schema_format; end
2986
+ def self.schema_format=(obj); end
2987
+ def self.schema_migrations_table_name; end
2988
+ def self.schema_migrations_table_name=(val); end
2989
+ def self.schema_migrations_table_name?; end
2990
+ def self.skip_time_zone_conversion_for_attributes; end
2991
+ def self.skip_time_zone_conversion_for_attributes=(val); end
2992
+ def self.skip_time_zone_conversion_for_attributes?; end
2993
+ def self.store_full_sti_class; end
2994
+ def self.store_full_sti_class=(val); end
2995
+ def self.store_full_sti_class?; end
2996
+ def self.table_name_prefix; end
2997
+ def self.table_name_prefix=(val); end
2998
+ def self.table_name_prefix?; end
2999
+ def self.table_name_suffix; end
3000
+ def self.table_name_suffix=(val); end
3001
+ def self.table_name_suffix?; end
3002
+ def self.time_zone_aware_attributes; end
3003
+ def self.time_zone_aware_attributes=(obj); end
3004
+ def self.time_zone_aware_types; end
3005
+ def self.time_zone_aware_types=(val); end
3006
+ def self.time_zone_aware_types?; end
3007
+ def self.timestamped_migrations; end
3008
+ def self.timestamped_migrations=(obj); end
3009
+ def self.warn_on_records_fetched_greater_than; end
3010
+ def self.warn_on_records_fetched_greater_than=(obj); end
3011
+ def skip_time_zone_conversion_for_attributes; end
3012
+ def skip_time_zone_conversion_for_attributes?; end
3013
+ def store_full_sti_class; end
3014
+ def store_full_sti_class?; end
3015
+ def table_name_prefix; end
3016
+ def table_name_prefix?; end
3017
+ def table_name_suffix; end
3018
+ def table_name_suffix?; end
3019
+ def time_zone_aware_attributes; end
3020
+ def time_zone_aware_types; end
3021
+ def time_zone_aware_types?; end
3022
+ def timestamped_migrations; end
3023
+ def type_for_attribute(*args, &block); end
3024
+ def validation_context; end
3025
+ def validation_context=(arg0); end
3026
+ def warn_on_records_fetched_greater_than; end
3027
+ extend ActiveModel::AttributeMethods::ClassMethods
3028
+ extend ActiveModel::Callbacks
3029
+ extend ActiveModel::Conversion::ClassMethods
3030
+ extend ActiveModel::Naming
3031
+ extend ActiveModel::Naming
3032
+ extend ActiveModel::Naming
3033
+ extend ActiveModel::SecurePassword::ClassMethods
3034
+ extend ActiveModel::Translation
3035
+ extend ActiveModel::Validations::Callbacks::ClassMethods
3036
+ extend ActiveModel::Validations::ClassMethods
3037
+ extend ActiveModel::Validations::HelperMethods
3038
+ extend ActiveRecord::Aggregations::ClassMethods
3039
+ extend ActiveRecord::Associations::ClassMethods
3040
+ extend ActiveRecord::AttributeDecorators::ClassMethods
3041
+ extend ActiveRecord::AttributeMethods::ClassMethods
3042
+ extend ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods
3043
+ extend ActiveRecord::AttributeMethods::Read::ClassMethods
3044
+ extend ActiveRecord::AttributeMethods::Serialization::ClassMethods
3045
+ extend ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods
3046
+ extend ActiveRecord::AttributeMethods::Write::ClassMethods
3047
+ extend ActiveRecord::Attributes::ClassMethods
3048
+ extend ActiveRecord::AutosaveAssociation::ClassMethods
3049
+ extend ActiveRecord::CollectionCacheKey
3050
+ extend ActiveRecord::ConnectionHandling
3051
+ extend ActiveRecord::Core::ClassMethods
3052
+ extend ActiveRecord::CounterCache::ClassMethods
3053
+ extend ActiveRecord::DefineCallbacks::ClassMethods
3054
+ extend ActiveRecord::Delegation::DelegateCache
3055
+ extend ActiveRecord::DynamicMatchers
3056
+ extend ActiveRecord::Enum
3057
+ extend ActiveRecord::Explain
3058
+ extend ActiveRecord::Inheritance::ClassMethods
3059
+ extend ActiveRecord::Integration::ClassMethods
3060
+ extend ActiveRecord::Locking::Optimistic::ClassMethods
3061
+ extend ActiveRecord::ModelSchema::ClassMethods
3062
+ extend ActiveRecord::NestedAttributes::ClassMethods
3063
+ extend ActiveRecord::NoTouching::ClassMethods
3064
+ extend ActiveRecord::Persistence::ClassMethods
3065
+ extend ActiveRecord::QueryCache::ClassMethods
3066
+ extend ActiveRecord::Querying
3067
+ extend ActiveRecord::ReadonlyAttributes::ClassMethods
3068
+ extend ActiveRecord::Reflection::ClassMethods
3069
+ extend ActiveRecord::Sanitization::ClassMethods
3070
+ extend ActiveRecord::Scoping::ClassMethods
3071
+ extend ActiveRecord::Scoping::Default::ClassMethods
3072
+ extend ActiveRecord::Scoping::Named::ClassMethods
3073
+ extend ActiveRecord::SecureToken::ClassMethods
3074
+ extend ActiveRecord::Store::ClassMethods
3075
+ extend ActiveRecord::Suppressor::ClassMethods
3076
+ extend ActiveRecord::Timestamp::ClassMethods
3077
+ extend ActiveRecord::Transactions::ClassMethods
3078
+ extend ActiveRecord::Translation
3079
+ extend ActiveRecord::Validations::ClassMethods
3080
+ extend ActiveSupport::Benchmarkable
3081
+ extend ActiveSupport::Callbacks::ClassMethods
3082
+ extend ActiveSupport::DescendantsTracker
3083
+ extend ActiveSupport::DescendantsTracker
3084
+ include ActiveModel::AttributeMethods
3085
+ include ActiveModel::AttributeMethods
3086
+ include ActiveModel::Conversion
3087
+ include ActiveModel::Dirty
3088
+ include ActiveModel::SecurePassword
3089
+ include ActiveModel::Serializers::JSON
3090
+ include ActiveModel::Validations
3091
+ include ActiveModel::Validations::Callbacks
3092
+ include ActiveModel::Validations::HelperMethods
3093
+ include ActiveRecord::Aggregations
3094
+ include ActiveRecord::Associations
3095
+ include ActiveRecord::AttributeAssignment
3096
+ include ActiveRecord::AttributeDecorators
3097
+ include ActiveRecord::AttributeMethods
3098
+ include ActiveRecord::AttributeMethods::BeforeTypeCast
3099
+ include ActiveRecord::AttributeMethods::Dirty
3100
+ include ActiveRecord::AttributeMethods::PrimaryKey
3101
+ include ActiveRecord::AttributeMethods::Query
3102
+ include ActiveRecord::AttributeMethods::Read
3103
+ include ActiveRecord::AttributeMethods::Serialization
3104
+ include ActiveRecord::AttributeMethods::TimeZoneConversion
3105
+ include ActiveRecord::AttributeMethods::Write
3106
+ include ActiveRecord::Attributes
3107
+ include ActiveRecord::AutosaveAssociation
3108
+ include ActiveRecord::Base::GeneratedAssociationMethods
3109
+ include ActiveRecord::Callbacks
3110
+ include ActiveRecord::Core
3111
+ include ActiveRecord::CounterCache
3112
+ include ActiveRecord::DefineCallbacks
3113
+ include ActiveRecord::Inheritance
3114
+ include ActiveRecord::Integration
3115
+ include ActiveRecord::Locking::Optimistic
3116
+ include ActiveRecord::Locking::Pessimistic
3117
+ include ActiveRecord::ModelSchema
3118
+ include ActiveRecord::NestedAttributes
3119
+ include ActiveRecord::NoTouching
3120
+ include ActiveRecord::Persistence
3121
+ include ActiveRecord::ReadonlyAttributes
3122
+ include ActiveRecord::Reflection
3123
+ include ActiveRecord::Sanitization
3124
+ include ActiveRecord::Scoping
3125
+ include ActiveRecord::Scoping::Default
3126
+ include ActiveRecord::Scoping::Named
3127
+ include ActiveRecord::SecureToken
3128
+ include ActiveRecord::Serialization
3129
+ include ActiveRecord::Store
3130
+ include ActiveRecord::Suppressor
3131
+ include ActiveRecord::Timestamp
3132
+ include ActiveRecord::TouchLater
3133
+ include ActiveRecord::Transactions
3134
+ include ActiveRecord::Validations
3135
+ include ActiveSupport::Callbacks
3136
+ include ActiveSupport::Callbacks
3137
+ include Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_15
3138
+ include GlobalID::Identification
3139
+ end
3140
+ module Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_15
3141
+ def self.lock; end
3142
+ def self.locked?; end
3143
+ def self.synchronize(&block); end
3144
+ def self.try_lock; end
3145
+ def self.unlock; end
3146
+ extend Mutex_m
3147
+ end
3148
+ module ActiveRecord::Base::GeneratedAssociationMethods
3149
+ end
3150
+ class ActiveSupport::Executor < ActiveSupport::ExecutionWrapper
3151
+ def self.__callbacks; end
3152
+ end
3153
+ module ActiveRecord::FinderMethods
3154
+ def apply_join_dependency(relation, join_dependency); end
3155
+ def construct_join_dependency(joins = nil, eager_loading: nil); end
3156
+ def construct_relation_for_association_calculations; end
3157
+ def construct_relation_for_exists(relation, conditions); end
3158
+ def exists?(conditions = nil); end
3159
+ def fifth!; end
3160
+ def fifth; end
3161
+ def find(*args); end
3162
+ def find_by!(arg, *args); end
3163
+ def find_by(arg, *args); end
3164
+ def find_last(limit); end
3165
+ def find_nth(index); end
3166
+ def find_nth_from_last(index); end
3167
+ def find_nth_with_limit(index, limit); end
3168
+ def find_one(id); end
3169
+ def find_some(ids); end
3170
+ def find_some_ordered(ids); end
3171
+ def find_take; end
3172
+ def find_take_with_limit(limit); end
3173
+ def find_with_associations; end
3174
+ def find_with_ids(*ids); end
3175
+ def first!; end
3176
+ def first(limit = nil); end
3177
+ def forty_two!; end
3178
+ def forty_two; end
3179
+ def fourth!; end
3180
+ def fourth; end
3181
+ def last!; end
3182
+ def last(limit = nil); end
3183
+ def limited_ids_for(relation); end
3184
+ def offset_index; end
3185
+ def raise_record_not_found_exception!(ids = nil, result_size = nil, expected_size = nil, key = nil); end
3186
+ def second!; end
3187
+ def second; end
3188
+ def second_to_last!; end
3189
+ def second_to_last; end
3190
+ def take!; end
3191
+ def take(limit = nil); end
3192
+ def third!; end
3193
+ def third; end
3194
+ def third_to_last!; end
3195
+ def third_to_last; end
3196
+ def using_limitable_reflections?(reflections); end
3197
+ end
3198
+ module ActiveRecord::Calculations
3199
+ def aggregate_column(column_name); end
3200
+ def average(column_name); end
3201
+ def build_count_subquery(relation, column_name, distinct); end
3202
+ def calculate(operation, column_name); end
3203
+ def column_alias_for(keys); end
3204
+ def count(column_name = nil); end
3205
+ def execute_grouped_calculation(operation, column_name, distinct); end
3206
+ def execute_simple_calculation(operation, column_name, distinct); end
3207
+ def has_include?(column_name); end
3208
+ def ids; end
3209
+ def maximum(column_name); end
3210
+ def minimum(column_name); end
3211
+ def operation_over_aggregate_column(column, operation, distinct); end
3212
+ def perform_calculation(operation, column_name); end
3213
+ def pluck(*column_names); end
3214
+ def select_for_count; end
3215
+ def sum(column_name = nil); end
3216
+ def type_cast_calculated_value(value, type, operation = nil); end
3217
+ def type_for(field, &block); end
3218
+ end
3219
+ class ActiveRecord::Relation
3220
+ def ==(other); end
3221
+ def _update_record(values, constraints); end
3222
+ def any?; end
3223
+ def arel_attribute(name); end
3224
+ def blank?; end
3225
+ def build(*args, &block); end
3226
+ def build_preloader; end
3227
+ def cache_key(timestamp_column = nil); end
3228
+ def create!(*args, &block); end
3229
+ def create(*args, &block); end
3230
+ def delete(id_or_array); end
3231
+ def delete_all; end
3232
+ def destroy(id); end
3233
+ def destroy_all; end
3234
+ def eager_loading?; end
3235
+ def empty?; end
3236
+ def empty_scope?; end
3237
+ def encode_with(coder); end
3238
+ def exec_queries(&block); end
3239
+ def explain; end
3240
+ def find_or_create_by!(attributes, &block); end
3241
+ def find_or_create_by(attributes, &block); end
3242
+ def find_or_initialize_by(attributes, &block); end
3243
+ def first_or_create!(attributes = nil, &block); end
3244
+ def first_or_create(attributes = nil, &block); end
3245
+ def first_or_initialize(attributes = nil, &block); end
3246
+ def has_join_values?; end
3247
+ def has_limit_or_offset?; end
3248
+ def initialize(klass, table, predicate_builder, values = nil); end
3249
+ def initialize_copy(other); end
3250
+ def insert(values); end
3251
+ def inspect; end
3252
+ def joined_includes_values; end
3253
+ def klass; end
3254
+ def load(&block); end
3255
+ def load_records(records); end
3256
+ def loaded; end
3257
+ def loaded?; end
3258
+ def many?; end
3259
+ def model; end
3260
+ def new(*args, &block); end
3261
+ def none?; end
3262
+ def one?; end
3263
+ def predicate_builder; end
3264
+ def pretty_print(q); end
3265
+ def records; end
3266
+ def references_eager_loaded_tables?; end
3267
+ def reload; end
3268
+ def reset; end
3269
+ def scope_for_create; end
3270
+ def scoping; end
3271
+ def size; end
3272
+ def substitute_values(values); end
3273
+ def table; end
3274
+ def tables_in_string(string); end
3275
+ def to_a; end
3276
+ def to_sql; end
3277
+ def update(id = nil, attributes); end
3278
+ def update_all(updates); end
3279
+ def values; end
3280
+ def where_values_hash(relation_table_name = nil); end
3281
+ extend ActiveRecord::Delegation::ClassMethods
3282
+ include ActiveRecord::FinderMethods
3283
+ include Enumerable
3284
+ end
3285
+ class ActiveRecord::Relation::HashMerger
3286
+ def hash; end
3287
+ def initialize(relation, hash); end
3288
+ def merge; end
3289
+ def other; end
3290
+ def relation; end
3291
+ end
3292
+ class ActiveRecord::Relation::Merger
3293
+ def initialize(relation, other); end
3294
+ def merge; end
3295
+ def merge_clauses; end
3296
+ def merge_joins; end
3297
+ def merge_multi_values; end
3298
+ def merge_preloads; end
3299
+ def merge_single_values; end
3300
+ def normal_values; end
3301
+ def other; end
3302
+ def relation; end
3303
+ def values; end
3304
+ end
3305
+ module ActiveRecord::SpawnMethods
3306
+ def except(*skips); end
3307
+ def merge!(other); end
3308
+ def merge(other); end
3309
+ def only(*onlies); end
3310
+ def relation_with(values); end
3311
+ def spawn; end
3312
+ end
3313
+ class ActiveRecord::Relation::FromClause
3314
+ def binds; end
3315
+ def empty?; end
3316
+ def initialize(value, name); end
3317
+ def merge(other); end
3318
+ def name; end
3319
+ def self.empty; end
3320
+ def value; end
3321
+ end
3322
+ class ActiveRecord::Relation::QueryAttribute < ActiveRecord::Attribute
3323
+ def type_cast(value); end
3324
+ def value_for_database; end
3325
+ def with_cast_value(value); end
3326
+ end
3327
+ class ActiveRecord::Relation::WhereClause
3328
+ def +(other); end
3329
+ def ==(other); end
3330
+ def any?(*args, &block); end
3331
+ def ast; end
3332
+ def binds; end
3333
+ def empty?(*args, &block); end
3334
+ def equality_node?(node); end
3335
+ def except(*columns); end
3336
+ def except_predicates_and_binds(columns); end
3337
+ def initialize(predicates, binds); end
3338
+ def invert; end
3339
+ def invert_predicate(node); end
3340
+ def inverted_predicates; end
3341
+ def merge(other); end
3342
+ def non_conflicting_binds(other); end
3343
+ def non_empty_predicates; end
3344
+ def or(other); end
3345
+ def predicates; end
3346
+ def predicates_unreferenced_by(other); end
3347
+ def predicates_with_wrapped_sql_literals; end
3348
+ def referenced_columns; end
3349
+ def self.empty; end
3350
+ def to_h(table_name = nil); end
3351
+ def wrap_sql_literal(node); end
3352
+ end
3353
+ class ActiveRecord::Relation::WhereClauseFactory
3354
+ def build(opts, other); end
3355
+ def build_for_case_sensitive(attributes, options); end
3356
+ def initialize(klass, predicate_builder); end
3357
+ def klass; end
3358
+ def perform_case_sensitive?(options); end
3359
+ def predicate_builder; end
3360
+ end
3361
+ module ActiveRecord::QueryMethods
3362
+ def _select!(*fields); end
3363
+ def arel; end
3364
+ def arel_columns(columns); end
3365
+ def assert_mutability!; end
3366
+ def bound_attributes; end
3367
+ def build_arel; end
3368
+ def build_from; end
3369
+ def build_join_query(manager, buckets, join_type); end
3370
+ def build_joins(manager, joins); end
3371
+ def build_left_outer_joins(manager, outer_joins); end
3372
+ def build_order(arel); end
3373
+ def build_select(arel); end
3374
+ def check_if_method_has_arguments!(method_name, args); end
3375
+ def convert_join_strings_to_ast(table, joins); end
3376
+ def create_with!(value); end
3377
+ def create_with(value); end
3378
+ def create_with_value; end
3379
+ def create_with_value=(value); end
3380
+ def default_value_for(name); end
3381
+ def distinct!(value = nil); end
3382
+ def distinct(value = nil); end
3383
+ def distinct_value; end
3384
+ def distinct_value=(value); end
3385
+ def does_not_support_reverse?(order); end
3386
+ def eager_load!(*args); end
3387
+ def eager_load(*args); end
3388
+ def eager_load_values; end
3389
+ def eager_load_values=(value); end
3390
+ def extending!(*modules, &block); end
3391
+ def extending(*modules, &block); end
3392
+ def extending_values; end
3393
+ def extending_values=(value); end
3394
+ def extensions; end
3395
+ def from!(value, subquery_name = nil); end
3396
+ def from(value, subquery_name = nil); end
3397
+ def from_clause; end
3398
+ def from_clause=(value); end
3399
+ def get_value(name); end
3400
+ def group!(*args); end
3401
+ def group(*args); end
3402
+ def group_values; end
3403
+ def group_values=(value); end
3404
+ def having!(opts, *rest); end
3405
+ def having(opts, *rest); end
3406
+ def having_clause; end
3407
+ def having_clause=(value); end
3408
+ def having_clause_factory; end
3409
+ def includes!(*args); end
3410
+ def includes(*args); end
3411
+ def includes_values; end
3412
+ def includes_values=(value); end
3413
+ def joins!(*args); end
3414
+ def joins(*args); end
3415
+ def joins_values; end
3416
+ def joins_values=(value); end
3417
+ def left_joins(*args); end
3418
+ def left_joins_values; end
3419
+ def left_joins_values=(value); end
3420
+ def left_outer_joins!(*args); end
3421
+ def left_outer_joins(*args); end
3422
+ def left_outer_joins_values; end
3423
+ def left_outer_joins_values=(value); end
3424
+ def limit!(value); end
3425
+ def limit(value); end
3426
+ def limit_value; end
3427
+ def limit_value=(value); end
3428
+ def lock!(locks = nil); end
3429
+ def lock(locks = nil); end
3430
+ def lock_value; end
3431
+ def lock_value=(value); end
3432
+ def none!; end
3433
+ def none; end
3434
+ def offset!(value); end
3435
+ def offset(value); end
3436
+ def offset_value; end
3437
+ def offset_value=(value); end
3438
+ def or!(other); end
3439
+ def or(other); end
3440
+ def order!(*args); end
3441
+ def order(*args); end
3442
+ def order_values; end
3443
+ def order_values=(value); end
3444
+ def preload!(*args); end
3445
+ def preload(*args); end
3446
+ def preload_values; end
3447
+ def preload_values=(value); end
3448
+ def preprocess_order_args(order_args); end
3449
+ def readonly!(value = nil); end
3450
+ def readonly(value = nil); end
3451
+ def readonly_value; end
3452
+ def readonly_value=(value); end
3453
+ def references!(*table_names); end
3454
+ def references(*table_names); end
3455
+ def references_values; end
3456
+ def references_values=(value); end
3457
+ def reorder!(*args); end
3458
+ def reorder(*args); end
3459
+ def reordering_value; end
3460
+ def reordering_value=(value); end
3461
+ def reverse_order!; end
3462
+ def reverse_order; end
3463
+ def reverse_order_value; end
3464
+ def reverse_order_value=(value); end
3465
+ def reverse_sql_order(order_query); end
3466
+ def rewhere(conditions); end
3467
+ def select(*fields); end
3468
+ def select_values; end
3469
+ def select_values=(value); end
3470
+ def set_value(name, value); end
3471
+ def structurally_incompatible_values_for_or(other); end
3472
+ def unscope!(*args); end
3473
+ def unscope(*args); end
3474
+ def unscope_values; end
3475
+ def unscope_values=(value); end
3476
+ def validate_order_args(args); end
3477
+ def where!(opts, *rest); end
3478
+ def where(opts = nil, *rest); end
3479
+ def where_clause; end
3480
+ def where_clause=(value); end
3481
+ def where_clause_factory; end
3482
+ extend ActiveSupport::Concern
3483
+ include ActiveModel::ForbiddenAttributesProtection
3484
+ end
3485
+ class ActiveRecord::QueryMethods::WhereChain
3486
+ def initialize(scope); end
3487
+ def not(opts, *rest); end
3488
+ include ActiveModel::ForbiddenAttributesProtection
3489
+ end
3490
+ module ActiveRecord::Batches
3491
+ def act_on_ignored_order(error_on_ignore); end
3492
+ def apply_limits(relation, start, finish); end
3493
+ def batch_order; end
3494
+ def find_each(start: nil, finish: nil, batch_size: nil, error_on_ignore: nil); end
3495
+ def find_in_batches(start: nil, finish: nil, batch_size: nil, error_on_ignore: nil); end
3496
+ def in_batches(of: nil, start: nil, finish: nil, load: nil, error_on_ignore: nil); end
3497
+ end
3498
+ class ActiveRecord::Batches::BatchEnumerator
3499
+ def delete_all(*args, &block); end
3500
+ def destroy_all(*args, &block); end
3501
+ def each; end
3502
+ def each_record; end
3503
+ def initialize(relation:, of: nil, start: nil, finish: nil); end
3504
+ def update_all(*args, &block); end
3505
+ include Enumerable
3506
+ end
3507
+ class ActiveRecord::Associations::CollectionProxy < ActiveRecord::Relation
3508
+ def <<(*records); end
3509
+ def ==(other); end
3510
+ def _select!(*args, &block); end
3511
+ def append(*records); end
3512
+ def arel(*args, &block); end
3513
+ def bound_attributes(*args, &block); end
3514
+ def build(attributes = nil, &block); end
3515
+ def calculate(operation, column_name); end
3516
+ def clear; end
3517
+ def concat(*records); end
3518
+ def create!(attributes = nil, &block); end
3519
+ def create(attributes = nil, &block); end
3520
+ def create_with!(*args, &block); end
3521
+ def create_with(*args, &block); end
3522
+ def create_with_value(*args, &block); end
3523
+ def create_with_value=(arg); end
3524
+ def delete(*records); end
3525
+ def delete_all(dependent = nil); end
3526
+ def destroy(*records); end
3527
+ def destroy_all; end
3528
+ def distinct!(*args, &block); end
3529
+ def distinct(*args, &block); end
3530
+ def distinct_value(*args, &block); end
3531
+ def distinct_value=(arg); end
3532
+ def eager_load!(*args, &block); end
3533
+ def eager_load(*args, &block); end
3534
+ def eager_load_values(*args, &block); end
3535
+ def eager_load_values=(arg); end
3536
+ def empty?; end
3537
+ def except(*args, &block); end
3538
+ def exec_queries; end
3539
+ def extending!(*args, &block); end
3540
+ def extending(*args, &block); end
3541
+ def extending_values(*args, &block); end
3542
+ def extending_values=(arg); end
3543
+ def extensions(*args, &block); end
3544
+ def find(*args, &block); end
3545
+ def find_from_target?; end
3546
+ def find_nth_from_last(index); end
3547
+ def find_nth_with_limit(index, limit); end
3548
+ def from!(*args, &block); end
3549
+ def from(*args, &block); end
3550
+ def from_clause(*args, &block); end
3551
+ def from_clause=(arg); end
3552
+ def get_value(*args, &block); end
3553
+ def group!(*args, &block); end
3554
+ def group(*args, &block); end
3555
+ def group_values(*args, &block); end
3556
+ def group_values=(arg); end
3557
+ def having!(*args, &block); end
3558
+ def having(*args, &block); end
3559
+ def having_clause(*args, &block); end
3560
+ def having_clause=(arg); end
3561
+ def include?(record); end
3562
+ def includes!(*args, &block); end
3563
+ def includes(*args, &block); end
3564
+ def includes_values(*args, &block); end
3565
+ def includes_values=(arg); end
3566
+ def initialize(klass, association); end
3567
+ def joins!(*args, &block); end
3568
+ def joins(*args, &block); end
3569
+ def joins_values(*args, &block); end
3570
+ def joins_values=(arg); end
3571
+ def last(limit = nil); end
3572
+ def left_joins(*args, &block); end
3573
+ def left_joins_values(*args, &block); end
3574
+ def left_joins_values=(arg); end
3575
+ def left_outer_joins!(*args, &block); end
3576
+ def left_outer_joins(*args, &block); end
3577
+ def left_outer_joins_values(*args, &block); end
3578
+ def left_outer_joins_values=(arg); end
3579
+ def limit!(*args, &block); end
3580
+ def limit(*args, &block); end
3581
+ def limit_value(*args, &block); end
3582
+ def limit_value=(arg); end
3583
+ def load_target; end
3584
+ def loaded?; end
3585
+ def lock!(*args, &block); end
3586
+ def lock(*args, &block); end
3587
+ def lock_value(*args, &block); end
3588
+ def lock_value=(arg); end
3589
+ def merge!(*args, &block); end
3590
+ def merge(*args, &block); end
3591
+ def new(attributes = nil, &block); end
3592
+ def none!(*args, &block); end
3593
+ def none(*args, &block); end
3594
+ def null_scope?; end
3595
+ def offset!(*args, &block); end
3596
+ def offset(*args, &block); end
3597
+ def offset_value(*args, &block); end
3598
+ def offset_value=(arg); end
3599
+ def only(*args, &block); end
3600
+ def or!(*args, &block); end
3601
+ def or(*args, &block); end
3602
+ def order!(*args, &block); end
3603
+ def order(*args, &block); end
3604
+ def order_values(*args, &block); end
3605
+ def order_values=(arg); end
3606
+ def pluck(*column_names); end
3607
+ def preload!(*args, &block); end
3608
+ def preload(*args, &block); end
3609
+ def preload_values(*args, &block); end
3610
+ def preload_values=(arg); end
3611
+ def prepend(*args); end
3612
+ def proxy_association; end
3613
+ def push(*records); end
3614
+ def readonly!(*args, &block); end
3615
+ def readonly(*args, &block); end
3616
+ def readonly_value(*args, &block); end
3617
+ def readonly_value=(arg); end
3618
+ def records; end
3619
+ def references!(*args, &block); end
3620
+ def references(*args, &block); end
3621
+ def references_values(*args, &block); end
3622
+ def references_values=(arg); end
3623
+ def reload; end
3624
+ def reorder!(*args, &block); end
3625
+ def reorder(*args, &block); end
3626
+ def reordering_value(*args, &block); end
3627
+ def reordering_value=(arg); end
3628
+ def replace(other_array); end
3629
+ def reset; end
3630
+ def reset_scope; end
3631
+ def reverse_order!(*args, &block); end
3632
+ def reverse_order(*args, &block); end
3633
+ def reverse_order_value(*args, &block); end
3634
+ def reverse_order_value=(arg); end
3635
+ def rewhere(*args, &block); end
3636
+ def scope; end
3637
+ def scoping(*args, &block); end
3638
+ def select_values(*args, &block); end
3639
+ def select_values=(arg); end
3640
+ def set_value(*args, &block); end
3641
+ def size; end
3642
+ def spawn(*args, &block); end
3643
+ def take(limit = nil); end
3644
+ def target; end
3645
+ def to_a; end
3646
+ def to_ary; end
3647
+ def uniq; end
3648
+ def unscope!(*args, &block); end
3649
+ def unscope(*args, &block); end
3650
+ def unscope_values(*args, &block); end
3651
+ def unscope_values=(arg); end
3652
+ def where!(*args, &block); end
3653
+ def where(*args, &block); end
3654
+ def where_clause(*args, &block); end
3655
+ def where_clause=(arg); end
3656
+ end
3657
+ class ActiveRecord::AssociationRelation < ActiveRecord::Relation
3658
+ def ==(other); end
3659
+ def build(*args, &block); end
3660
+ def create!(*args, &block); end
3661
+ def create(*args, &block); end
3662
+ def exec_queries; end
3663
+ def initialize(klass, table, predicate_builder, association); end
3664
+ def new(*args, &block); end
3665
+ def proxy_association; end
3666
+ end
3667
+ class ActiveRecord::Associations::Builder::SingularAssociation < ActiveRecord::Associations::Builder::Association
3668
+ def self.define_accessors(model, reflection); end
3669
+ def self.define_constructors(mixin, name); end
3670
+ def self.valid_options(options); end
3671
+ end
3672
+ class ActiveRecord::Associations::Builder::BelongsTo < ActiveRecord::Associations::Builder::SingularAssociation
3673
+ def self.add_counter_cache_callbacks(model, reflection); end
3674
+ def self.add_counter_cache_methods(mixin); end
3675
+ def self.add_default_callbacks(model, reflection); end
3676
+ def self.add_destroy_callbacks(model, reflection); end
3677
+ def self.add_touch_callbacks(model, reflection); end
3678
+ def self.define_accessors(mixin, reflection); end
3679
+ def self.define_callbacks(model, reflection); end
3680
+ def self.define_validations(model, reflection); end
3681
+ def self.macro; end
3682
+ def self.touch_record(o, changes, foreign_key, name, touch, touch_method); end
3683
+ def self.valid_dependent_options; end
3684
+ def self.valid_options(options); end
3685
+ end
3686
+ class ActiveRecord::Associations::Builder::HasOne < ActiveRecord::Associations::Builder::SingularAssociation
3687
+ def self.add_destroy_callbacks(model, reflection); end
3688
+ def self.define_validations(model, reflection); end
3689
+ def self.macro; end
3690
+ def self.valid_dependent_options; end
3691
+ def self.valid_options(options); end
3692
+ end
3693
+ class ActiveRecord::Associations::Builder::CollectionAssociation < ActiveRecord::Associations::Builder::Association
3694
+ def self.define_callback(model, callback_name, name, options); end
3695
+ def self.define_callbacks(model, reflection); end
3696
+ def self.define_extensions(model, name); end
3697
+ def self.define_readers(mixin, name); end
3698
+ def self.define_writers(mixin, name); end
3699
+ def self.valid_options(options); end
3700
+ def self.wrap_scope(scope, mod); end
3701
+ end
3702
+ class ActiveRecord::Associations::Builder::HasMany < ActiveRecord::Associations::Builder::CollectionAssociation
3703
+ def self.macro; end
3704
+ def self.valid_dependent_options; end
3705
+ def self.valid_options(options); end
3706
+ end
3707
+ class ActiveRecord::ConnectionAdapters::TransactionState
3708
+ def committed?; end
3709
+ def completed?; end
3710
+ def finalized?; end
3711
+ def initialize(state = nil); end
3712
+ def rolledback?; end
3713
+ def set_state(state); end
3714
+ end
3715
+ class ActiveRecord::ConnectionAdapters::NullTransaction
3716
+ def add_record(record); end
3717
+ def closed?; end
3718
+ def initialize; end
3719
+ def joinable?; end
3720
+ def open?; end
3721
+ def state; end
3722
+ end
3723
+ class ActiveRecord::ConnectionAdapters::Transaction
3724
+ def add_record(record); end
3725
+ def before_commit_records; end
3726
+ def closed?; end
3727
+ def commit; end
3728
+ def commit_records; end
3729
+ def connection; end
3730
+ def full_rollback?; end
3731
+ def initialize(connection, options, run_commit_callbacks: nil); end
3732
+ def joinable=(arg0); end
3733
+ def joinable?; end
3734
+ def open?; end
3735
+ def records; end
3736
+ def rollback; end
3737
+ def rollback_records; end
3738
+ def savepoint_name; end
3739
+ def state; end
3740
+ end
3741
+ class ActiveRecord::ConnectionAdapters::SavepointTransaction < ActiveRecord::ConnectionAdapters::Transaction
3742
+ def commit; end
3743
+ def full_rollback?; end
3744
+ def initialize(connection, savepoint_name, options, *args); end
3745
+ def rollback; end
3746
+ end
3747
+ class ActiveRecord::ConnectionAdapters::RealTransaction < ActiveRecord::ConnectionAdapters::Transaction
3748
+ def commit; end
3749
+ def initialize(connection, options, *args); end
3750
+ def rollback; end
3751
+ end
3752
+ class ActiveRecord::ConnectionAdapters::TransactionManager
3753
+ def after_failure_actions(transaction, error); end
3754
+ def begin_transaction(options = nil); end
3755
+ def commit_transaction; end
3756
+ def current_transaction; end
3757
+ def initialize(connection); end
3758
+ def open_transactions; end
3759
+ def rollback_transaction(transaction = nil); end
3760
+ def within_new_transaction(options = nil); end
3761
+ end
3762
+ module Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_16
3763
+ def self.lock; end
3764
+ def self.locked?; end
3765
+ def self.synchronize(&block); end
3766
+ def self.try_lock; end
3767
+ def self.unlock; end
3768
+ extend Mutex_m
3769
+ end
3770
+ class ActiveRecord::SchemaMigration < ActiveRecord::Base
3771
+ def self._validators; end
3772
+ def self.all_versions; end
3773
+ def self.attribute_type_decorations; end
3774
+ def self.create_table; end
3775
+ def self.defined_enums; end
3776
+ def self.drop_table; end
3777
+ def self.normalize_migration_number(number); end
3778
+ def self.normalized_versions; end
3779
+ def self.primary_key; end
3780
+ def self.table_exists?; end
3781
+ def self.table_name; end
3782
+ def version; end
3783
+ include ActiveRecord::SchemaMigration::GeneratedAssociationMethods
3784
+ include Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_16
3785
+ end
3786
+ module ActiveRecord::SchemaMigration::GeneratedAssociationMethods
3787
+ end
3788
+ class ActiveRecord::SchemaMigration::ActiveRecord_Relation < ActiveRecord::Relation
3789
+ extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
3790
+ include ActiveRecord::Delegation::ClassSpecificRelation
3791
+ end
3792
+ class ActiveRecord::SchemaMigration::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associations::CollectionProxy
3793
+ extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
3794
+ include ActiveRecord::Delegation::ClassSpecificRelation
3795
+ end
3796
+ class ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelation
3797
+ extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
3798
+ include ActiveRecord::Delegation::ClassSpecificRelation
3799
+ end
3800
+ class ActiveRecord::Result
3801
+ def [](idx); end
3802
+ def cast_values(type_overrides = nil); end
3803
+ def collect!; end
3804
+ def column_type(name, type_overrides = nil); end
3805
+ def column_types; end
3806
+ def columns; end
3807
+ def each; end
3808
+ def empty?; end
3809
+ def first; end
3810
+ def hash_rows; end
3811
+ def initialize(columns, rows, column_types = nil); end
3812
+ def initialize_copy(other); end
3813
+ def last; end
3814
+ def length; end
3815
+ def map!; end
3816
+ def rows; end
3817
+ def to_ary; end
3818
+ def to_hash; end
3819
+ include Enumerable
3820
+ end
3821
+ class ActiveRecord::Schema < ActiveRecord::Migration::Current
3822
+ def define(info, &block); end
3823
+ def migrations_paths; end
3824
+ def self.define(info = nil, &block); end
3825
+ end
3826
+ class ActiveRecord::PredicateBuilder
3827
+ def associated_predicate_builder(association_name); end
3828
+ def build(attribute, value); end
3829
+ def build_bind_param(column_name, value); end
3830
+ def build_from_hash(attributes); end
3831
+ def can_be_bound?(column_name, value); end
3832
+ def convert_dot_notation_to_hash(attributes); end
3833
+ def create_binds(attributes); end
3834
+ def create_binds_for_hash(attributes); end
3835
+ def expand_from_hash(attributes); end
3836
+ def handler_for(object); end
3837
+ def initialize(table); end
3838
+ def register_handler(klass, handler); end
3839
+ def resolve_column_aliases(*args, &block); end
3840
+ def self.references(attributes); end
3841
+ def table; end
3842
+ end
3843
+ class ActiveRecord::PredicateBuilder::ArrayHandler
3844
+ def call(attribute, value); end
3845
+ def initialize(predicate_builder); end
3846
+ def predicate_builder; end
3847
+ end
3848
+ module ActiveRecord::PredicateBuilder::ArrayHandler::NullPredicate
3849
+ def self.or(other); end
3850
+ end
3851
+ class ActiveRecord::PredicateBuilder::AssociationQueryHandler
3852
+ def call(attribute, value); end
3853
+ def initialize(predicate_builder); end
3854
+ def predicate_builder; end
3855
+ def self.value_for(table, column, value); end
3856
+ end
3857
+ class ActiveRecord::PredicateBuilder::AssociationQueryValue
3858
+ def associated_table; end
3859
+ def base_class; end
3860
+ def convert_to_id(value); end
3861
+ def ids; end
3862
+ def initialize(associated_table, value); end
3863
+ def polymorphic_base_class_from_value; end
3864
+ def primary_key; end
3865
+ def value; end
3866
+ end
3867
+ class ActiveRecord::PredicateBuilder::BaseHandler
3868
+ def call(attribute, value); end
3869
+ def initialize(predicate_builder); end
3870
+ def predicate_builder; end
3871
+ end
3872
+ class ActiveRecord::PredicateBuilder::BasicObjectHandler
3873
+ def call(attribute, value); end
3874
+ end
3875
+ class ActiveRecord::PredicateBuilder::PolymorphicArrayHandler
3876
+ def call(attribute, value); end
3877
+ def initialize(predicate_builder); end
3878
+ def predicate_builder; end
3879
+ end
3880
+ class ActiveRecord::PredicateBuilder::PolymorphicArrayValue
3881
+ def associated_table; end
3882
+ def base_class(value); end
3883
+ def convert_to_id(value); end
3884
+ def initialize(associated_table, values); end
3885
+ def primary_key(value); end
3886
+ def type_to_ids_mapping; end
3887
+ def values; end
3888
+ end
3889
+ class ActiveRecord::PredicateBuilder::RangeHandler
3890
+ def call(attribute, value); end
3891
+ end
3892
+ class ActiveRecord::PredicateBuilder::RangeHandler::RangeWithBinds < Struct
3893
+ def begin; end
3894
+ def begin=(_); end
3895
+ def end; end
3896
+ def end=(_); end
3897
+ def exclude_end?; end
3898
+ def self.[](*arg0); end
3899
+ def self.inspect; end
3900
+ def self.members; end
3901
+ def self.new(*arg0); end
3902
+ end
3903
+ class ActiveRecord::PredicateBuilder::RelationHandler
3904
+ def call(attribute, value); end
3905
+ end
3906
+ class ActiveRecord::TableMetadata
3907
+ def arel_attribute(column_name); end
3908
+ def arel_table; end
3909
+ def associated_table(table_name); end
3910
+ def associated_with?(association_name); end
3911
+ def association; end
3912
+ def association_foreign_key(*args, &block); end
3913
+ def association_foreign_type(*args, &block); end
3914
+ def association_primary_key(*args, &block); end
3915
+ def has_column?(column_name); end
3916
+ def initialize(klass, arel_table, association = nil); end
3917
+ def klass; end
3918
+ def polymorphic_association?; end
3919
+ def resolve_column_aliases(hash); end
3920
+ def type(column_name); end
3921
+ end
3922
+ class ActiveRecord::ConnectionAdapters::Column
3923
+ def ==(other); end
3924
+ def attributes_for_hash; end
3925
+ def bigint?; end
3926
+ def collation; end
3927
+ def comment; end
3928
+ def default; end
3929
+ def default_function; end
3930
+ def encode_with(coder); end
3931
+ def eql?(other); end
3932
+ def has_default?; end
3933
+ def hash; end
3934
+ def human_name; end
3935
+ def init_with(coder); end
3936
+ def initialize(name, default, sql_type_metadata = nil, null = nil, table_name = nil, default_function = nil, collation = nil, comment: nil, **arg8); end
3937
+ def limit(*args, &block); end
3938
+ def name; end
3939
+ def null; end
3940
+ def precision(*args, &block); end
3941
+ def scale(*args, &block); end
3942
+ def sql_type(*args, &block); end
3943
+ def sql_type_metadata; end
3944
+ def table_name; end
3945
+ def type(*args, &block); end
3946
+ end
3947
+ class ActiveRecord::ConnectionAdapters::NullColumn < ActiveRecord::ConnectionAdapters::Column
3948
+ def initialize(name); end
3949
+ end
3950
+ module Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_17
3951
+ def self.lock; end
3952
+ def self.locked?; end
3953
+ def self.synchronize(&block); end
3954
+ def self.try_lock; end
3955
+ def self.unlock; end
3956
+ extend Mutex_m
3957
+ end
3958
+ class ActiveRecord::InternalMetadata < ActiveRecord::Base
3959
+ def self.[](key); end
3960
+ def self.[]=(key, value); end
3961
+ def self._validators; end
3962
+ def self.attribute_type_decorations; end
3963
+ def self.create_table; end
3964
+ def self.defined_enums; end
3965
+ def self.primary_key; end
3966
+ def self.table_exists?; end
3967
+ def self.table_name; end
3968
+ include ActiveRecord::InternalMetadata::GeneratedAssociationMethods
3969
+ include Anonymous_ActiveRecord_AttributeMethods_GeneratedAttributeMethods_17
3970
+ end
3971
+ module ActiveRecord::InternalMetadata::GeneratedAssociationMethods
3972
+ end
3973
+ class ActiveRecord::InternalMetadata::ActiveRecord_Relation < ActiveRecord::Relation
3974
+ extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
3975
+ include ActiveRecord::Delegation::ClassSpecificRelation
3976
+ end
3977
+ class ActiveRecord::InternalMetadata::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associations::CollectionProxy
3978
+ extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
3979
+ include ActiveRecord::Delegation::ClassSpecificRelation
3980
+ end
3981
+ class ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelation
3982
+ extend ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
3983
+ include ActiveRecord::Delegation::ClassSpecificRelation
3984
+ end
3985
+ class ActiveRecord::FixtureSet
3986
+ def [](x); end
3987
+ def []=(k, v); end
3988
+ def add_join_records(rows, row, association); end
3989
+ def all_loaded_fixtures; end
3990
+ def all_loaded_fixtures=(obj); end
3991
+ def column_names; end
3992
+ def config; end
3993
+ def each(&block); end
3994
+ def fixtures; end
3995
+ def has_primary_key_column?; end
3996
+ def inheritance_column_name; end
3997
+ def initialize(connection, name, class_name, path, config = nil); end
3998
+ def model_class; end
3999
+ def model_class=(class_name); end
4000
+ def name; end
4001
+ def primary_key_name; end
4002
+ def primary_key_type; end
4003
+ def read_fixture_files(path); end
4004
+ def self.all_loaded_fixtures; end
4005
+ def self.all_loaded_fixtures=(obj); end
4006
+ def self.cache_fixtures(connection, fixtures_map); end
4007
+ def self.cache_for_connection(connection); end
4008
+ def self.cached_fixtures(connection, keys_to_fetch = nil); end
4009
+ def self.context_class; end
4010
+ def self.create_fixtures(fixtures_directory, fixture_set_names, class_names = nil, config = nil); end
4011
+ def self.default_fixture_model_name(fixture_set_name, config = nil); end
4012
+ def self.default_fixture_table_name(fixture_set_name, config = nil); end
4013
+ def self.fixture_is_cached?(connection, table_name); end
4014
+ def self.identify(label, column_type = nil); end
4015
+ def self.instantiate_all_loaded_fixtures(object, load_instances = nil); end
4016
+ def self.instantiate_fixtures(object, fixture_set, load_instances = nil); end
4017
+ def self.reset_cache; end
4018
+ def self.update_all_loaded_fixtures(fixtures_map); end
4019
+ def size; end
4020
+ def table_name; end
4021
+ def table_rows; end
4022
+ def timestamp_column_names; end
4023
+ def yaml_file_path(path); end
4024
+ end
4025
+ class ActiveRecord::FixtureSet::File
4026
+ def config_row; end
4027
+ def each(&block); end
4028
+ def initialize(file); end
4029
+ def model_class; end
4030
+ def prepare_erb(content); end
4031
+ def raw_rows; end
4032
+ def render(content); end
4033
+ def rows; end
4034
+ def self.open(file); end
4035
+ def validate(data); end
4036
+ include Enumerable
4037
+ end
4038
+ class ActiveRecord::FixtureClassNotFound < ActiveRecord::ActiveRecordError
4039
+ end
4040
+ class ActiveRecord::FixtureSet::ClassCache
4041
+ def [](fs_name); end
4042
+ def default_fixture_model(fs_name, config); end
4043
+ def initialize(class_names, config); end
4044
+ def insert_class(class_names, name, klass); end
4045
+ end
4046
+ class ActiveRecord::FixtureSet::ReflectionProxy
4047
+ def initialize(association); end
4048
+ def join_table; end
4049
+ def name; end
4050
+ def primary_key_type; end
4051
+ end
4052
+ class ActiveRecord::FixtureSet::HasManyThroughProxy < ActiveRecord::FixtureSet::ReflectionProxy
4053
+ def join_table; end
4054
+ def lhs_key; end
4055
+ def rhs_key; end
4056
+ end
4057
+ class ActiveRecord::Fixture
4058
+ def [](key); end
4059
+ def class_name; end
4060
+ def each; end
4061
+ def find; end
4062
+ def fixture; end
4063
+ def initialize(fixture, model_class); end
4064
+ def model_class; end
4065
+ def to_hash; end
4066
+ include Enumerable
4067
+ end
4068
+ class ActiveRecord::Fixture::FixtureError < StandardError
4069
+ end
4070
+ class ActiveRecord::Fixture::FormatError < ActiveRecord::Fixture::FixtureError
4071
+ end
4072
+ module ActiveRecord::TestFixtures
4073
+ def after_teardown; end
4074
+ def before_setup; end
4075
+ def enlist_fixture_connections; end
4076
+ def instantiate_fixtures; end
4077
+ def load_fixtures(config); end
4078
+ def load_instances?; end
4079
+ def run_in_transaction?; end
4080
+ def setup_fixtures(config = nil); end
4081
+ def teardown_fixtures; end
4082
+ extend ActiveSupport::Concern
4083
+ end
4084
+ module ActiveRecord::TestFixtures::ClassMethods
4085
+ def fixtures(*fixture_set_names); end
4086
+ def set_fixture_class(class_names = nil); end
4087
+ def setup_fixture_accessors(fixture_set_names = nil); end
4088
+ def uses_transaction(*methods); end
4089
+ def uses_transaction?(method); end
4090
+ end
4091
+ class ActiveRecord::FixtureSet::RenderContext
4092
+ def self.create_subclass; end
4093
+ end