has_helpers 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (748) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +38 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +10 -0
  5. data/.ruby-gemset +1 -0
  6. data/.ruby-version +1 -0
  7. data/.tekton/Chart.yaml +14 -0
  8. data/.tekton/templates/pipelinerun.yaml +44 -0
  9. data/.tekton/values-main.yaml +53 -0
  10. data/.tekton/values-pr.yaml +40 -0
  11. data/.tekton/values.yaml +17 -0
  12. data/.tool-versions +1 -0
  13. data/CHANGELOG.md +204 -0
  14. data/Gemfile +25 -0
  15. data/README.md +76 -0
  16. data/Rakefile +46 -0
  17. data/app/api/has_helpers/rack_api.rb +116 -0
  18. data/app/api/has_helpers/search_api.rb +173 -0
  19. data/app/assets/stylesheets/has_helpers/base.scss +5 -0
  20. data/app/assets/stylesheets/has_helpers/color_palette.scss +33 -0
  21. data/app/assets/stylesheets/has_helpers/color_palettes/default.scss +11 -0
  22. data/app/assets/stylesheets/has_helpers/components/dataset.scss +43 -0
  23. data/app/assets/stylesheets/has_helpers/mixins.scss +149 -0
  24. data/app/commands/has_helpers/cards/available_cards_command.rb +98 -0
  25. data/app/commands/has_helpers/cards/card_data_command.rb +1062 -0
  26. data/app/commands/reports/base_options.rb +79 -0
  27. data/app/commands/reports/belongs_to_options.rb +178 -0
  28. data/app/commands/reports/constant_options.rb +66 -0
  29. data/app/commands/reports/external_graphql_client.rb +116 -0
  30. data/app/commands/reports/fill_dates.rb +65 -0
  31. data/app/commands/reports/filter_option_generator.rb +186 -0
  32. data/app/commands/reports/generator.rb +310 -0
  33. data/app/commands/reports/has_many_options.rb +105 -0
  34. data/app/commands/reports/importer.rb +132 -0
  35. data/app/commands/reports/nested_attribute_options.rb +134 -0
  36. data/app/constants/color.rb +9 -0
  37. data/app/constants/file_format.rb +12 -0
  38. data/app/constants/has_helpers/cards/card_custom_field.rb +12 -0
  39. data/app/constants/has_helpers/cards/card_data_type.rb +11 -0
  40. data/app/constants/has_helpers/cards/card_identifier.rb +10 -0
  41. data/app/constants/has_helpers/cards/card_layout_type.rb +11 -0
  42. data/app/constants/has_helpers/cards/card_variant_type.rb +12 -0
  43. data/app/constants/has_helpers/link_type.rb +10 -0
  44. data/app/constants/has_helpers/notification_alert_status.rb +14 -0
  45. data/app/constants/has_helpers/notification_alert_type.rb +10 -0
  46. data/app/constants/has_helpers/operation.rb +11 -0
  47. data/app/constants/has_helpers/resource_type.rb +25 -0
  48. data/app/constants/icon.rb +22 -0
  49. data/app/constants/logical_operator.rb +7 -0
  50. data/app/constants/option.rb +10 -0
  51. data/app/constants/time_zone.rb +12 -0
  52. data/app/constructors/has_helpers/base_constructor.rb +62 -0
  53. data/app/controllers/concerns/has_helpers/service_trust/authenticated_as_service.rb +51 -0
  54. data/app/controllers/concerns/has_helpers/service_trust/graphql_authentication.rb +57 -0
  55. data/app/controllers/has_helpers/controller.rb +63 -0
  56. data/app/controllers/has_helpers/factory_controller.rb +261 -0
  57. data/app/controllers/has_helpers/graphql_extensions.rb +83 -0
  58. data/app/controllers/has_helpers/health_check_controller.rb +46 -0
  59. data/app/controllers/has_helpers/search_extensions.rb +92 -0
  60. data/app/controllers/has_helpers/service_trust/jwks_controller.rb +20 -0
  61. data/app/controllers/has_helpers/xlsx_export.rb +115 -0
  62. data/app/controllers/search_extensions.rb +5 -0
  63. data/app/graphql/has_helpers/base_type.rb +13 -0
  64. data/app/graphql/has_helpers/base_union.rb +9 -0
  65. data/app/graphql/has_helpers/enums/resource_enum.rb +24 -0
  66. data/app/graphql/has_helpers/middleware/application_access.rb +26 -0
  67. data/app/graphql/has_helpers/mutations/base.rb +27 -0
  68. data/app/graphql/has_helpers/mutations/external_data_sync.rb +72 -0
  69. data/app/graphql/has_helpers/mutations/mark_individual_alert_read.rb +31 -0
  70. data/app/graphql/has_helpers/mutations/mark_notifications_read.rb +50 -0
  71. data/app/graphql/has_helpers/mutations/toggle_favorite.rb +39 -0
  72. data/app/graphql/has_helpers/resolvers/app_nav.rb +107 -0
  73. data/app/graphql/has_helpers/resolvers/base.rb +27 -0
  74. data/app/graphql/has_helpers/resolvers/cards/available_cards.rb +31 -0
  75. data/app/graphql/has_helpers/resolvers/cards/card_data.rb +74 -0
  76. data/app/graphql/has_helpers/resolvers/cards/hover_card_data.rb +153 -0
  77. data/app/graphql/has_helpers/resolvers/favorite.rb +62 -0
  78. data/app/graphql/has_helpers/resolvers/internal/roles.rb +54 -0
  79. data/app/graphql/has_helpers/resolvers/is_favorite.rb +24 -0
  80. data/app/graphql/has_helpers/resolvers/list_notification_alerts.rb +47 -0
  81. data/app/graphql/has_helpers/resolvers/lookup.rb +36 -0
  82. data/app/graphql/has_helpers/resolvers/recently_viewed.rb +54 -0
  83. data/app/graphql/has_helpers/resolvers/resource_tab.rb +22 -0
  84. data/app/graphql/has_helpers/resolvers/search.rb +18 -0
  85. data/app/graphql/has_helpers/resolvers/search_query.rb +38 -0
  86. data/app/graphql/has_helpers/resolvers/user_application_order.rb +35 -0
  87. data/app/graphql/has_helpers/resources/organization_option_resource.rb +28 -0
  88. data/app/graphql/has_helpers/resources/organization_resource_resource.rb +18 -0
  89. data/app/graphql/has_helpers/resources/resource_group_resource.rb +10 -0
  90. data/app/graphql/has_helpers/resources/resource_resource.rb +21 -0
  91. data/app/graphql/has_helpers/resources/user_role_resource.rb +9 -0
  92. data/app/graphql/has_helpers/types/application_order_type.rb +18 -0
  93. data/app/graphql/has_helpers/types/cards/available_card_type.rb +20 -0
  94. data/app/graphql/has_helpers/types/cards/card_badge_type.rb +12 -0
  95. data/app/graphql/has_helpers/types/cards/card_config_type.rb +18 -0
  96. data/app/graphql/has_helpers/types/cards/card_data_type.rb +13 -0
  97. data/app/graphql/has_helpers/types/cards/card_entry_field_type.rb +21 -0
  98. data/app/graphql/has_helpers/types/cards/card_entry_type.rb +12 -0
  99. data/app/graphql/has_helpers/types/cards/card_field_config_type.rb +17 -0
  100. data/app/graphql/has_helpers/types/layouts/app_nav/link_section_type.rb +17 -0
  101. data/app/graphql/has_helpers/types/layouts/app_nav/link_type.rb +20 -0
  102. data/app/graphql/has_helpers/types/layouts/app_nav/sub_link_type.rb +17 -0
  103. data/app/graphql/has_helpers/types/layouts/app_nav/type.rb +16 -0
  104. data/app/graphql/has_helpers/types/lookup.rb +16 -0
  105. data/app/graphql/has_helpers/types/resource_tab/type.rb +15 -0
  106. data/app/graphql/has_helpers/types/role_type.rb +13 -0
  107. data/app/graphql/has_helpers/types/search/detail_badge_type.rb +15 -0
  108. data/app/graphql/has_helpers/types/search/detail_item_type.rb +14 -0
  109. data/app/graphql/has_helpers/types/search/detail_type.rb +16 -0
  110. data/app/graphql/has_helpers/types/search/filter_operation_enum.rb +19 -0
  111. data/app/graphql/has_helpers/types/search/input_type.rb +16 -0
  112. data/app/graphql/has_helpers/types/search/result_type.rb +72 -0
  113. data/app/graphql/has_helpers/types/search/search_filter_input_type.rb +17 -0
  114. data/app/graphql/has_helpers/types/search/type.rb +17 -0
  115. data/app/importers/has_helpers/cards/importer.rb +1223 -0
  116. data/app/lib/has_helpers/application_helper.rb +21 -0
  117. data/app/lib/has_helpers/dn/processor.rb +55 -0
  118. data/app/lib/has_helpers/dn/refresh.rb +13 -0
  119. data/app/lib/has_helpers/dn/utils/backfill_utils.rb +80 -0
  120. data/app/lib/has_helpers/dn/utils/query_utils.rb +216 -0
  121. data/app/lib/has_helpers/feature.rb +88 -0
  122. data/app/lib/has_helpers/hq_exception.rb +18 -0
  123. data/app/lib/has_helpers/index.rb +890 -0
  124. data/app/lib/has_helpers/organization_merge.rb +128 -0
  125. data/app/lib/has_helpers/query/elasticsearch.rb +20 -0
  126. data/app/lib/has_helpers/query/provider.rb +105 -0
  127. data/app/lib/has_helpers/query/sql.rb +133 -0
  128. data/app/lib/has_helpers/query.rb +14 -0
  129. data/app/lib/has_helpers/search/elasticsearch.rb +41 -0
  130. data/app/lib/has_helpers/search/elasticsearch_shared.rb +70 -0
  131. data/app/lib/has_helpers/search/provider.rb +149 -0
  132. data/app/lib/has_helpers/search/search_utils.rb +74 -0
  133. data/app/lib/has_helpers/search/sql_search.rb +219 -0
  134. data/app/lib/has_helpers/search.rb +46 -0
  135. data/app/models/ability.rb +233 -0
  136. data/app/models/has_helpers/application.rb +47 -0
  137. data/app/models/has_helpers/application_record.rb +7 -0
  138. data/app/models/has_helpers/cards/card_builder/base.rb +74 -0
  139. data/app/models/has_helpers/cards/card_builder/card_definition_builder.rb +486 -0
  140. data/app/models/has_helpers/cards/card_builder/definition_context.rb +82 -0
  141. data/app/models/has_helpers/cards/card_builder/field_builder.rb +142 -0
  142. data/app/models/has_helpers/cards/card_builder/resource_builder.rb +34 -0
  143. data/app/models/has_helpers/cards/card_definition.rb +41 -0
  144. data/app/models/has_helpers/cards/card_definition_resource.rb +19 -0
  145. data/app/models/has_helpers/cards/card_field.rb +39 -0
  146. data/app/models/has_helpers/cards/registry.rb +115 -0
  147. data/app/models/has_helpers/cards/role_card_field.rb +28 -0
  148. data/app/models/has_helpers/cards/role_resource_card.rb +41 -0
  149. data/app/models/has_helpers/dn_utils.rb +61 -0
  150. data/app/models/has_helpers/favorite.rb +20 -0
  151. data/app/models/has_helpers/master_record.rb +18 -0
  152. data/app/models/has_helpers/notification_alert.rb +52 -0
  153. data/app/models/has_helpers/organization.rb +16 -0
  154. data/app/models/has_helpers/organization_link.rb +92 -0
  155. data/app/models/has_helpers/organization_methods.rb +62 -0
  156. data/app/models/has_helpers/organization_option.rb +31 -0
  157. data/app/models/has_helpers/organization_resource.rb +45 -0
  158. data/app/models/has_helpers/pending_db_operation.rb +31 -0
  159. data/app/models/has_helpers/recently_viewed.rb +34 -0
  160. data/app/models/has_helpers/reindex_queue.rb +43 -0
  161. data/app/models/has_helpers/resource.rb +38 -0
  162. data/app/models/has_helpers/resource_group.rb +15 -0
  163. data/app/models/has_helpers/restriction.rb +15 -0
  164. data/app/models/has_helpers/restriction_operation.rb +13 -0
  165. data/app/models/has_helpers/role.rb +20 -0
  166. data/app/models/has_helpers/service_trust/audit_log.rb +20 -0
  167. data/app/models/has_helpers/service_trust/key.rb +56 -0
  168. data/app/models/has_helpers/stat.rb +13 -0
  169. data/app/models/has_helpers/user.rb +18 -0
  170. data/app/models/has_helpers/user_methods.rb +184 -0
  171. data/app/models/has_helpers/user_organization.rb +33 -0
  172. data/app/models/has_helpers/user_role.rb +27 -0
  173. data/app/models/has_helpers/user_session.rb +19 -0
  174. data/app/presenters/has_helpers/barcode_base_presenter.rb +113 -0
  175. data/app/presenters/has_helpers/base_presenter.rb +100 -0
  176. data/app/presenters/has_helpers/cacheable_item.rb +28 -0
  177. data/app/presenters/has_helpers/item_presenter.rb +52 -0
  178. data/app/presenters/has_helpers/items_presenter.rb +33 -0
  179. data/app/presenters/has_helpers/resource/action_presenter.rb +8 -0
  180. data/app/presenters/has_helpers/resource/cell_presenter.rb +52 -0
  181. data/app/presenters/has_helpers/resource/email_presenter.rb +34 -0
  182. data/app/presenters/has_helpers/resource/form_presenter.rb +76 -0
  183. data/app/presenters/has_helpers/resource/info_collection_presenter.rb +33 -0
  184. data/app/presenters/has_helpers/resource/info_presenter.rb +34 -0
  185. data/app/presenters/has_helpers/resource/list_presenter.rb +120 -0
  186. data/app/presenters/has_helpers/resource/note_presenter.rb +14 -0
  187. data/app/presenters/has_helpers/resource/row_presenter.rb +25 -0
  188. data/app/presenters/has_helpers/resource/tag_presenter.rb +31 -0
  189. data/app/presenters/has_helpers/search_presenter.rb +230 -0
  190. data/app/triggers/has_helpers/erase_denormalized_belongs_to_column_trigger.rb +85 -0
  191. data/app/triggers/has_helpers/limit_favorites.rb +97 -0
  192. data/app/utils/has_helpers/redis_configurable.rb +79 -0
  193. data/app/utils/has_helpers/sync_utils.rb +234 -0
  194. data/app/views/has_helpers/actions/_action.html.erb +31 -0
  195. data/app/views/has_helpers/alerts/_alert.html.erb +3 -0
  196. data/app/views/has_helpers/barcodes.html.erb +36 -0
  197. data/app/views/has_helpers/containers/_container.html.erb +3 -0
  198. data/app/views/has_helpers/email_notifier/system.html.erb +8 -0
  199. data/app/views/has_helpers/email_notifier/system.text.erb +7 -0
  200. data/app/views/has_helpers/enumerables/_enumerable.html.erb +1 -0
  201. data/app/views/has_helpers/icons/_icon.html.erb +1 -0
  202. data/app/views/has_helpers/render_objects/_render_object.html.erb +1 -0
  203. data/app/views/has_helpers/services/_service.html.erb +1 -0
  204. data/app/views/has_helpers/text_nodes/_text_node.html.erb +4 -0
  205. data/app/views/has_helpers/ui_attributes/_html_attrs.html.erb +1 -0
  206. data/app/workers/elasticsearch_process_queue.rb +11 -0
  207. data/app/workers/elasticsearch_reindex.rb +11 -0
  208. data/app/workers/elasticsearch_reindex_scheduler.rb +35 -0
  209. data/app/workers/good_job/configurable_backfill.rb +64 -0
  210. data/app/workers/good_job/cron_denormalization_stats_manager.rb +39 -0
  211. data/app/workers/good_job/denormalization_stats_worker.rb +57 -0
  212. data/app/workers/good_job/dn_update_worker.rb +30 -0
  213. data/app/workers/good_job/dn_worker.rb +47 -0
  214. data/app/workers/good_job/elasticsearch_old_index_cleaner_worker.rb +113 -0
  215. data/app/workers/good_job/elasticsearch_on_finish_reindex.rb +26 -0
  216. data/app/workers/good_job/elasticsearch_process_batch.rb +78 -0
  217. data/app/workers/good_job/elasticsearch_process_change_logs_master_worker.rb +27 -0
  218. data/app/workers/good_job/elasticsearch_process_change_logs_worker.rb +155 -0
  219. data/app/workers/good_job/elasticsearch_process_queue.rb +50 -0
  220. data/app/workers/good_job/elasticsearch_reindex.rb +31 -0
  221. data/app/workers/has_helpers/cards/orphan_card_sweeper.rb +28 -0
  222. data/app/workers/has_helpers/db_operations/clean_stats_worker.rb +42 -0
  223. data/app/workers/has_helpers/db_operations/helper_worker.rb +131 -0
  224. data/app/workers/has_helpers/db_operations/main_worker.rb +164 -0
  225. data/app/workers/has_helpers/db_operations/operations.rb +134 -0
  226. data/app/workers/has_helpers/db_operations/update_operations_stats_resume_worker.rb +35 -0
  227. data/app/workers/has_helpers/default_worker.rb +17 -0
  228. data/app/workers/has_helpers/good_job/notification_alert_cleanup_worker.rb +43 -0
  229. data/app/workers/has_helpers/service_trust/audit_log_cleanup_worker.rb +19 -0
  230. data/app/workers/sidekiq/elasticsearch_old_index_cleaner_worker.rb +112 -0
  231. data/app/workers/sidekiq/elasticsearch_process_batch.rb +87 -0
  232. data/app/workers/sidekiq/elasticsearch_process_queue.rb +40 -0
  233. data/app/workers/sidekiq/elasticsearch_reindex.rb +53 -0
  234. data/config/initializers/action_view.rb +7 -0
  235. data/config/initializers/inflections.rb +24 -0
  236. data/config/initializers/marginalia.rb +8 -0
  237. data/config/initializers/mime_types.rb +6 -0
  238. data/config/initializers/opentelemetry.rb +12 -0
  239. data/config/initializers/redis_conf.rb +40 -0
  240. data/config/initializers/searchkick.rb +9 -0
  241. data/config/initializers/will_paginate.rb +39 -0
  242. data/config/redis.yml +12 -0
  243. data/config/routes.rb +27 -0
  244. data/config/service_trust_routes.rb +5 -0
  245. data/config.ru +9 -0
  246. data/db/migrate/20230127194725_create_organization_table.rb +25 -0
  247. data/db/migrate/20230127194726_validate_organization_foreign_keys.rb +7 -0
  248. data/db/migrate/20230206141413_create_security_models.rb +42 -0
  249. data/db/migrate/20230206141513_create_restriction_model.rb +20 -0
  250. data/db/migrate/20230206142613_add_security_indexes.rb +14 -0
  251. data/db/migrate/20230206143513_security_model_constants_seed.rb +8 -0
  252. data/db/migrate/20230206161513_add_organization_to_security_models.rb +13 -0
  253. data/db/migrate/20230209121019_create_search_group_models.rb +36 -0
  254. data/db/migrate/20230209122919_add_search_group_indexes.rb +21 -0
  255. data/db/migrate/20230209181832_add_search_group_resources_type_constraint_trigger.rb +61 -0
  256. data/db/migrate/20230313220337_create_table_user_sessions.rb +31 -0
  257. data/db/migrate/20230517141106_update_resource_types.rb +12 -0
  258. data/db/migrate/20230518194611_add_resources_contraints.rb +17 -0
  259. data/db/migrate/20230518194642_create_nested_resource_model.rb +21 -0
  260. data/db/migrate/20230518194645_validate_security_models_constraints.rb +23 -0
  261. data/db/migrate/20230608125037_add_inactive_field_to_user_sessions.rb +7 -0
  262. data/db/migrate/20230919191525_add_parent_id_to_resources.rb +8 -0
  263. data/db/migrate/20230919191535_validate_parent_id_fk_resources.rb +7 -0
  264. data/db/migrate/20230919210456_drop_nested_resources.rb +7 -0
  265. data/db/migrate/20231222135620_add_user_role.rb +19 -0
  266. data/db/migrate/20240108172021_create_favorites_table.rb +20 -0
  267. data/db/migrate/20240108190209_create_organization_link_table_if_doesnt_exists.rb +31 -0
  268. data/db/migrate/20240109211445_validate_fks_org_links.rb +9 -0
  269. data/db/migrate/20240110135440_create_recently_vieweds.rb +20 -0
  270. data/db/migrate/20240112185312_link_type_options_seed.rb +7 -0
  271. data/db/migrate/20240116173201_organization_link_resource_tab_constraints.rb +19 -0
  272. data/db/migrate/20240131160949_add_user_organizations_table.rb +32 -0
  273. data/db/migrate/20240212132519_add_organization_in_user_sessions.rb +13 -0
  274. data/db/migrate/20240227135052_add_user_organization_composite_fks.rb +32 -0
  275. data/db/migrate/20240312193501_update_organization_links.rb +11 -0
  276. data/db/migrate/20240426185902_add_user_organizations_current_organization_column.rb +12 -0
  277. data/db/migrate/20240429214601_add_primary_trigger.rb +10 -0
  278. data/db/migrate/20241112131819_add_json_file_format_seed.rb +7 -0
  279. data/db/migrate/20250520133417_create_restriction_operations.rb +18 -0
  280. data/db/migrate/20250520133420_validate_create_restriction_operations.rb +8 -0
  281. data/db/migrate/20250520140642_add_indexes_to_restrictions.rb +9 -0
  282. data/db/migrate/20250529130741_create_notification_alerts_table.rb +28 -0
  283. data/db/migrate/20250530223332_create_data_migrations_table.rb +19 -0
  284. data/db/migrate/20250605121622_seed_notification_alert_status.rb +7 -0
  285. data/db/migrate/20250605131439_seed_notification_alert_types.rb +7 -0
  286. data/db/migrate/20250606173128_update_notification_alert_length_constraint.rb +18 -0
  287. data/db/migrate/20250606174043_validate_notification_alert_length_constraints.rb +8 -0
  288. data/db/migrate/20250624183000_add_data_import_alert_type.rb +11 -0
  289. data/db/migrate/20250722183935_create_organization_options_table.rb +38 -0
  290. data/db/migrate/20250722192724_validate_organization_options_fks_and_constraints.rb +32 -0
  291. data/db/migrate/20250722192936_add_indexes_to_organization_options_table.rb +15 -0
  292. data/db/migrate/20250915132448_add_column_restrictions_hash.rb +7 -0
  293. data/db/migrate/20250917143211_add_column_permissions_hash.rb +7 -0
  294. data/db/migrate/20251001145950_add_trust_this_device.rb +7 -0
  295. data/db/migrate/20251021130835_add_backend_urls_to_applications_table.rb +13 -0
  296. data/db/migrate/20251021172715_validate_backend_urls_constraints_in_applications.rb +9 -0
  297. data/db/migrate/20251030200020_create_card_definitions.rb +23 -0
  298. data/db/migrate/20251030201012_create_card_definition_resources.rb +24 -0
  299. data/db/migrate/20251030201236_create_card_fields.rb +34 -0
  300. data/db/migrate/20251103194317_create_role_resource_cards.rb +37 -0
  301. data/db/migrate/20251103194426_create_role_card_fields.rb +34 -0
  302. data/db/migrate/20251107173218_validate_columns_from_cards.rb +17 -0
  303. data/db/migrate/20251111173212_add_column_application_array.rb +7 -0
  304. data/db/migrate/20251112203326_add_card_types.rb +10 -0
  305. data/db/migrate/20251115120000_add_virtual_cards_support.rb +28 -0
  306. data/db/migrate/20251202231256_add_org_scoped_fk_role_resource_cards_to_roles.rb +14 -0
  307. data/db/migrate/20260105134504_add_accessor_field_resource_type.rb +7 -0
  308. data/db/migrate/20260115123000_add_default_visibility_to_card_definitions.rb +9 -0
  309. data/db/migrate/20260120175037_is_new_admin.rb +9 -0
  310. data/db/migrate/20260122392008_add_stats_table.rb +17 -0
  311. data/db/migrate/20260414204718_add_index_to_stats_table.rb +10 -0
  312. data/db/migrate/20260509120000_create_service_trust_keys.rb +25 -0
  313. data/db/migrate/20260509120001_create_service_trust_audit_logs.rb +26 -0
  314. data/db/migrate/20260511120000_add_direction_to_service_trust_audit_logs.rb +17 -0
  315. data/db/migrate/20260511121000_remove_role_fk_from_role_resource_cards.rb +19 -0
  316. data/db/migrate/20260511121001_add_disabled_at_to_role_resource_cards.rb +10 -0
  317. data/db/migrate/20260605120100_seed_hover_card_options.rb +8 -0
  318. data/db/migrate/20260608120000_seed_badge_list_card_data_type.rb +7 -0
  319. data/db/migrate/20260727000000_add_two_factor_trust_id_to_user_sessions.rb +11 -0
  320. data/db/seeds.rb +14 -0
  321. data/docs/Elasticsearch.md +23 -0
  322. data/docs/Search_API.md +126 -0
  323. data/docs/cards_role_proxy.md +107 -0
  324. data/docs/factory_api.md +135 -0
  325. data/has-helpers-pr-289-pipeline.yaml +16 -0
  326. data/has-helpers-pr-298-pipeline.yaml +15 -0
  327. data/has_helpers.gemspec +68 -0
  328. data/lib/active_record/migration/active_migration_patch.rb +123 -0
  329. data/lib/generators/has_helpers/install/USAGE +8 -0
  330. data/lib/generators/has_helpers/install/install_generator.rb +22 -0
  331. data/lib/generators/has_helpers/install/templates/migrate/has_helpers_initial_setup.rb +26 -0
  332. data/lib/has_helpers/active_record/base.rb +50 -0
  333. data/lib/has_helpers/active_record/date_range.rb +228 -0
  334. data/lib/has_helpers/active_record/nested_resource.rb +58 -0
  335. data/lib/has_helpers/active_record/validation.rb +63 -0
  336. data/lib/has_helpers/active_record.rb +520 -0
  337. data/lib/has_helpers/app/command.rb +107 -0
  338. data/lib/has_helpers/app.rb +10 -0
  339. data/lib/has_helpers/assets_precompile_helper.rb +20 -0
  340. data/lib/has_helpers/attributes.rb +196 -0
  341. data/lib/has_helpers/aws.rb +67 -0
  342. data/lib/has_helpers/cards/cache.rb +49 -0
  343. data/lib/has_helpers/cards/config.rb +42 -0
  344. data/lib/has_helpers/cards/remote_role.rb +27 -0
  345. data/lib/has_helpers/cards/remote_roles.rb +75 -0
  346. data/lib/has_helpers/cards/roles.rb +55 -0
  347. data/lib/has_helpers/cards.rb +34 -0
  348. data/lib/has_helpers/concerns/hydrate_concern.rb +76 -0
  349. data/lib/has_helpers/concerns/importable_accessors.rb +25 -0
  350. data/lib/has_helpers/concerns/restrictions_parseable.rb +51 -0
  351. data/lib/has_helpers/config.rb +11 -0
  352. data/lib/has_helpers/constant.rb +578 -0
  353. data/lib/has_helpers/constraints.rb +10 -0
  354. data/lib/has_helpers/core_ext/array.rb +28 -0
  355. data/lib/has_helpers/core_ext/date/infinity.rb +25 -0
  356. data/lib/has_helpers/core_ext/date.rb +39 -0
  357. data/lib/has_helpers/core_ext/enumerable.rb +20 -0
  358. data/lib/has_helpers/core_ext/false_class.rb +14 -0
  359. data/lib/has_helpers/core_ext/float.rb +18 -0
  360. data/lib/has_helpers/core_ext/hash.rb +71 -0
  361. data/lib/has_helpers/core_ext/integer.rb +18 -0
  362. data/lib/has_helpers/core_ext/nil_class.rb +30 -0
  363. data/lib/has_helpers/core_ext/object.rb +60 -0
  364. data/lib/has_helpers/core_ext/proc.rb +16 -0
  365. data/lib/has_helpers/core_ext/string.rb +81 -0
  366. data/lib/has_helpers/core_ext/symbol.rb +17 -0
  367. data/lib/has_helpers/core_ext/true_class.rb +14 -0
  368. data/lib/has_helpers/cursor.rb +46 -0
  369. data/lib/has_helpers/data_migration/base.rb +293 -0
  370. data/lib/has_helpers/data_migration/large_worker.rb +20 -0
  371. data/lib/has_helpers/data_migration/master_worker.rb +33 -0
  372. data/lib/has_helpers/data_migration/migrator.rb +83 -0
  373. data/lib/has_helpers/data_migration/model.rb +18 -0
  374. data/lib/has_helpers/data_migration/small_worker.rb +20 -0
  375. data/lib/has_helpers/data_migration.rb +8 -0
  376. data/lib/has_helpers/engine.rb +47 -0
  377. data/lib/has_helpers/extensions.rb +17 -0
  378. data/lib/has_helpers/factory_api.rb +47 -0
  379. data/lib/has_helpers/factory_scenario/definition.rb +33 -0
  380. data/lib/has_helpers/factory_scenario/dsl.rb +80 -0
  381. data/lib/has_helpers/factory_scenario/factory_bot_override.rb +53 -0
  382. data/lib/has_helpers/factory_scenario/registry.rb +31 -0
  383. data/lib/has_helpers/factory_scenario/runner.rb +285 -0
  384. data/lib/has_helpers/factory_scenario.rb +27 -0
  385. data/lib/has_helpers/fixed_expiration_time_cache_session_store.rb +20 -0
  386. data/lib/has_helpers/flattener/association.rb +140 -0
  387. data/lib/has_helpers/flattener/attribute.rb +42 -0
  388. data/lib/has_helpers/flattener/base.rb +428 -0
  389. data/lib/has_helpers/flattener/column/types.rb +71 -0
  390. data/lib/has_helpers/flattener/column.rb +97 -0
  391. data/lib/has_helpers/flattener/pivot.rb +49 -0
  392. data/lib/has_helpers/flattener/reset.rb +33 -0
  393. data/lib/has_helpers/flattener/resource.rb +114 -0
  394. data/lib/has_helpers/flattener/resource_generator.rb +21 -0
  395. data/lib/has_helpers/flattener/utils.rb +14 -0
  396. data/lib/has_helpers/flattener.rb +53 -0
  397. data/lib/has_helpers/hash_accessors.rb +62 -0
  398. data/lib/has_helpers/helpers/application.rb +291 -0
  399. data/lib/has_helpers/index/config.rb +15 -0
  400. data/lib/has_helpers/lazy_config.rb +61 -0
  401. data/lib/has_helpers/resource_importer.rb +260 -0
  402. data/lib/has_helpers/resources.rb +127 -0
  403. data/lib/has_helpers/rspec/constants.rb +61 -0
  404. data/lib/has_helpers/rspec/factories.rb +11 -0
  405. data/lib/has_helpers/rspec.rb +22 -0
  406. data/lib/has_helpers/sentry/graphql_trace.rb +37 -0
  407. data/lib/has_helpers/serializer.rb +41 -0
  408. data/lib/has_helpers/service_trust/audit.rb +45 -0
  409. data/lib/has_helpers/service_trust/authorization.rb +34 -0
  410. data/lib/has_helpers/service_trust/bearer_token.rb +23 -0
  411. data/lib/has_helpers/service_trust/capability.rb +32 -0
  412. data/lib/has_helpers/service_trust/client/response.rb +13 -0
  413. data/lib/has_helpers/service_trust/client/retry.rb +35 -0
  414. data/lib/has_helpers/service_trust/client.rb +128 -0
  415. data/lib/has_helpers/service_trust/configuration.rb +76 -0
  416. data/lib/has_helpers/service_trust/engine.rb +10 -0
  417. data/lib/has_helpers/service_trust/errors.rb +32 -0
  418. data/lib/has_helpers/service_trust/graphql/authorizable.rb +72 -0
  419. data/lib/has_helpers/service_trust/graphql_client.rb +54 -0
  420. data/lib/has_helpers/service_trust/jwks_client.rb +133 -0
  421. data/lib/has_helpers/service_trust/jwt_codec.rb +45 -0
  422. data/lib/has_helpers/service_trust/key_manager.rb +160 -0
  423. data/lib/has_helpers/service_trust/rate_limiter.rb +27 -0
  424. data/lib/has_helpers/service_trust/replay_cache.rb +26 -0
  425. data/lib/has_helpers/service_trust/signer.rb +47 -0
  426. data/lib/has_helpers/service_trust/test.rb +60 -0
  427. data/lib/has_helpers/service_trust/verifier.rb +85 -0
  428. data/lib/has_helpers/service_trust/verify_middleware.rb +55 -0
  429. data/lib/has_helpers/service_trust.rb +51 -0
  430. data/lib/has_helpers/test_helpers/factory_data/unit_addresses.rb +42 -0
  431. data/lib/has_helpers/test_helpers/factory_data/unit_advisors.rb +272 -0
  432. data/lib/has_helpers/test_helpers/factory_data/unit_emails.rb +37 -0
  433. data/lib/has_helpers/test_helpers/factory_data/unit_organizations.rb +48 -0
  434. data/lib/has_helpers/test_helpers/factory_data/unit_people.rb +34 -0
  435. data/lib/has_helpers/test_helpers/factory_data/unit_phones.rb +41 -0
  436. data/lib/has_helpers/test_helpers/factory_data/unit_states.rb +26 -0
  437. data/lib/has_helpers/test_helpers/factory_data/unit_webs.rb +31 -0
  438. data/lib/has_helpers/test_helpers/shoulda_helpers.rb +249 -0
  439. data/lib/has_helpers/ui_attributes.rb +39 -0
  440. data/lib/has_helpers/utils/action.rb +87 -0
  441. data/lib/has_helpers/utils/active_record_utils.rb +40 -0
  442. data/lib/has_helpers/utils/alert.rb +42 -0
  443. data/lib/has_helpers/utils/container.rb +46 -0
  444. data/lib/has_helpers/utils/dataset.rb +34 -0
  445. data/lib/has_helpers/utils/email_notifier.rb +15 -0
  446. data/lib/has_helpers/utils/icon.rb +66 -0
  447. data/lib/has_helpers/utils/input.rb +45 -0
  448. data/lib/has_helpers/utils/log_notifier.rb +79 -0
  449. data/lib/has_helpers/utils/render_object.rb +32 -0
  450. data/lib/has_helpers/utils/s3_utils.rb +37 -0
  451. data/lib/has_helpers/utils/service.rb +87 -0
  452. data/lib/has_helpers/utils/slack_conf.rb +31 -0
  453. data/lib/has_helpers/utils/slack_notifier.rb +42 -0
  454. data/lib/has_helpers/utils/text_node.rb +34 -0
  455. data/lib/has_helpers/utils/user_restrictions.rb +266 -0
  456. data/lib/has_helpers/utils.rb +19 -0
  457. data/lib/has_helpers/version.rb +6 -0
  458. data/lib/has_helpers/web_socket_publisher.rb +20 -0
  459. data/lib/has_helpers/webhook.rb +17 -0
  460. data/lib/has_helpers.rb +63 -0
  461. data/lib/hq/resource.rb +55 -0
  462. data/lib/hq/structure/inserts.rb +176 -0
  463. data/lib/hq/structure.rb +115 -0
  464. data/lib/tasks/has_helpers/service_trust.rake +39 -0
  465. data/script/rails +10 -0
  466. data/sorbet/config +5 -0
  467. data/sorbet/rbi/gems/actionpack.rbi +1361 -0
  468. data/sorbet/rbi/gems/activemodel.rbi +755 -0
  469. data/sorbet/rbi/gems/activerecord.rbi +4713 -0
  470. data/sorbet/rbi/gems/activesupport.rbi +1970 -0
  471. data/sorbet/rbi/gems/barby.rbi +129 -0
  472. data/sorbet/rbi/gems/better_errors.rbi +155 -0
  473. data/sorbet/rbi/gems/binding_of_caller.rbi +22 -0
  474. data/sorbet/rbi/gems/byebug.rbi +19 -0
  475. data/sorbet/rbi/gems/chronic.rbi +480 -0
  476. data/sorbet/rbi/gems/chunky_png.rbi +510 -0
  477. data/sorbet/rbi/gems/climate_control.rbi +45 -0
  478. data/sorbet/rbi/gems/coderay.rbi +91 -0
  479. data/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
  480. data/sorbet/rbi/gems/debug_inspector.rbi +18 -0
  481. data/sorbet/rbi/gems/erubi.rbi +26 -0
  482. data/sorbet/rbi/gems/holidays.rbi +362 -0
  483. data/sorbet/rbi/gems/i18n.rbi +132 -0
  484. data/sorbet/rbi/gems/method_source.rbi +63 -0
  485. data/sorbet/rbi/gems/mime-types-data.rbi +16 -0
  486. data/sorbet/rbi/gems/mime-types.rbi +217 -0
  487. data/sorbet/rbi/gems/mimemagic.rbi +36 -0
  488. data/sorbet/rbi/gems/minitest.rbi +282 -0
  489. data/sorbet/rbi/gems/mustache.rbi +151 -0
  490. data/sorbet/rbi/gems/paperclip.rbi +644 -0
  491. data/sorbet/rbi/gems/parallel.rbi +81 -0
  492. data/sorbet/rbi/gems/parallel_tests.rbi +27 -0
  493. data/sorbet/rbi/gems/pry-rails.rbi +71 -0
  494. data/sorbet/rbi/gems/pry.rbi +1964 -0
  495. data/sorbet/rbi/gems/rack.rbi +228 -0
  496. data/sorbet/rbi/gems/railties.rbi +364 -0
  497. data/sorbet/rbi/gems/rspec-core.rbi +1704 -0
  498. data/sorbet/rbi/gems/rspec-expectations.rbi +389 -0
  499. data/sorbet/rbi/gems/rspec-support.rbi +206 -0
  500. data/sorbet/rbi/gems/rspec.rbi +14 -0
  501. data/sorbet/rbi/gems/spreadsheet_architect.rbi +10 -0
  502. data/sorbet/rbi/gems/sprockets.rbi +659 -0
  503. data/sorbet/rbi/gems/terrapin.rbi +115 -0
  504. data/sorbet/rbi/gems/testhq.rbi +14 -0
  505. data/sorbet/rbi/gems/thor.rbi +482 -0
  506. data/sorbet/rbi/gems/thread_safe.rbi +81 -0
  507. data/sorbet/rbi/gems/tzinfo.rbi +407 -0
  508. data/sorbet/rbi/gems/zeitwerk.rbi +131 -0
  509. data/sorbet/rbi/hidden-definitions/errors.txt +35111 -0
  510. data/sorbet/rbi/hidden-definitions/hidden.rbi +59974 -0
  511. data/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
  512. data/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +855 -0
  513. data/sorbet/rbi/sorbet-typed/lib/actionview/all/actionview.rbi +314 -0
  514. data/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +423 -0
  515. data/sorbet/rbi/sorbet-typed/lib/activerecord/>=5.2/activerecord.rbi +17 -0
  516. data/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1415 -0
  517. data/sorbet/rbi/sorbet-typed/lib/activerecord/~>6.0.0/activerecord.rbi +475 -0
  518. data/sorbet/rbi/sorbet-typed/lib/activestorage/>=6.0.0/activestorage.rbi +19 -0
  519. data/sorbet/rbi/sorbet-typed/lib/activestorage/all/activestorage.rbi +173 -0
  520. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +23 -0
  521. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +625 -0
  522. data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8684 -0
  523. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +99 -0
  524. data/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +25 -0
  525. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +254 -0
  526. data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +4222 -0
  527. data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  528. data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  529. data/sorbet/rbi/todo.rbi +244 -0
  530. data/spec/commands/cards/available_cards_command_spec.rb +90 -0
  531. data/spec/commands/cards/card_data_command_spec.rb +1048 -0
  532. data/spec/constructors/has_helpers/base_constructor_spec.rb +49 -0
  533. data/spec/controllers/has_helpers/controller_spec.rb +71 -0
  534. data/spec/controllers/has_helpers/xlsx_export_spec.rb +96 -0
  535. data/spec/factories/advisors.rb +20 -0
  536. data/spec/factories/anonymous_cowards.rb +5 -0
  537. data/spec/factories/applications.rb +5 -0
  538. data/spec/factories/appointments.rb +6 -0
  539. data/spec/factories/attachment.rb +15 -0
  540. data/spec/factories/audits.rb +5 -0
  541. data/spec/factories/basic_schedules.rb +12 -0
  542. data/spec/factories/cards/card_definition_resources.rb +7 -0
  543. data/spec/factories/cards/card_definitions.rb +11 -0
  544. data/spec/factories/cards/card_fields.rb +22 -0
  545. data/spec/factories/cards/role_card_fields.rb +17 -0
  546. data/spec/factories/cards/role_resource_cards.rb +12 -0
  547. data/spec/factories/constant_definition.rb +7 -0
  548. data/spec/factories/contracts.rb +10 -0
  549. data/spec/factories/data_migration_models.rb +9 -0
  550. data/spec/factories/demographics.rb +22 -0
  551. data/spec/factories/events.rb +21 -0
  552. data/spec/factories/firms.rb +21 -0
  553. data/spec/factories/imports.rb +9 -0
  554. data/spec/factories/meetups.rb +13 -0
  555. data/spec/factories/organizations.rb +13 -0
  556. data/spec/factories/policies.rb +7 -0
  557. data/spec/factories/policy_notes.rb +9 -0
  558. data/spec/factories/read_only_values.rb +7 -0
  559. data/spec/factories/resources.rb +7 -0
  560. data/spec/factories/roles.rb +11 -0
  561. data/spec/factories/schedules.rb +13 -0
  562. data/spec/factories/shared/flattener/attributes.rb +10 -0
  563. data/spec/factories/shared/flattener/columns.rb +6 -0
  564. data/spec/factories/shared/flattener/resources.rb +5 -0
  565. data/spec/factories/templates.rb +12 -0
  566. data/spec/factories/user_organizations.rb +23 -0
  567. data/spec/factories/user_session.rb +11 -0
  568. data/spec/factories/users.rb +55 -0
  569. data/spec/fixtures/sample_config.yml +3 -0
  570. data/spec/graphql/has_helpers/mutations/external_data_sync_spec.rb +101 -0
  571. data/spec/graphql/has_helpers/resolvers/cards/available_cards_spec.rb +36 -0
  572. data/spec/graphql/has_helpers/resolvers/cards/card_data_spec.rb +42 -0
  573. data/spec/graphql/has_helpers/resolvers/cards/hover_card_data_spec.rb +59 -0
  574. data/spec/has_helpers/cards/cache_spec.rb +58 -0
  575. data/spec/has_helpers/cards/config_spec.rb +68 -0
  576. data/spec/has_helpers/cards/orphan_card_sweeper_spec.rb +97 -0
  577. data/spec/has_helpers/cards/remote_role_spec.rb +17 -0
  578. data/spec/has_helpers/cards/remote_roles_spec.rb +97 -0
  579. data/spec/has_helpers/cards/roles_spec.rb +52 -0
  580. data/spec/has_helpers/cards/smoke_spec.rb +168 -0
  581. data/spec/has_helpers/cards/support.rb +52 -0
  582. data/spec/has_helpers/resolvers/internal/roles_spec.rb +73 -0
  583. data/spec/has_helpers/service_trust/audit_log_cleanup_worker_spec.rb +33 -0
  584. data/spec/has_helpers/service_trust/audit_spec.rb +70 -0
  585. data/spec/has_helpers/service_trust/authenticated_as_service_spec.rb +65 -0
  586. data/spec/has_helpers/service_trust/authorization_spec.rb +37 -0
  587. data/spec/has_helpers/service_trust/capability_spec.rb +35 -0
  588. data/spec/has_helpers/service_trust/client_spec.rb +129 -0
  589. data/spec/has_helpers/service_trust/configuration_spec.rb +35 -0
  590. data/spec/has_helpers/service_trust/engine_spec.rb +13 -0
  591. data/spec/has_helpers/service_trust/errors_spec.rb +23 -0
  592. data/spec/has_helpers/service_trust/graphql_authentication_spec.rb +59 -0
  593. data/spec/has_helpers/service_trust/graphql_authorizable_spec.rb +91 -0
  594. data/spec/has_helpers/service_trust/graphql_client_spec.rb +47 -0
  595. data/spec/has_helpers/service_trust/jwks_client_spec.rb +85 -0
  596. data/spec/has_helpers/service_trust/jwks_controller_spec.rb +47 -0
  597. data/spec/has_helpers/service_trust/jwt_codec_spec.rb +30 -0
  598. data/spec/has_helpers/service_trust/key_manager_spec.rb +80 -0
  599. data/spec/has_helpers/service_trust/key_spec.rb +52 -0
  600. data/spec/has_helpers/service_trust/rake_tasks_spec.rb +58 -0
  601. data/spec/has_helpers/service_trust/rate_limiter_spec.rb +31 -0
  602. data/spec/has_helpers/service_trust/replay_cache_spec.rb +29 -0
  603. data/spec/has_helpers/service_trust/signer_verifier_spec.rb +159 -0
  604. data/spec/has_helpers/service_trust/smoke_spec.rb +216 -0
  605. data/spec/has_helpers/service_trust/support.rb +121 -0
  606. data/spec/has_helpers/service_trust/test_module_spec.rb +39 -0
  607. data/spec/has_helpers/service_trust/verify_middleware_spec.rb +82 -0
  608. data/spec/helpers/application_spec.rb +155 -0
  609. data/spec/importers/cards/importer_spec.rb +861 -0
  610. data/spec/internal/app/assets/config/manifest.js +0 -0
  611. data/spec/internal/app/constants/cat_egory.rb +33 -0
  612. data/spec/internal/app/constants/color.rb +19 -0
  613. data/spec/internal/app/constants/exclude_group_nil_constant.rb +5 -0
  614. data/spec/internal/app/constants/foo.rb +6 -0
  615. data/spec/internal/app/constants/fruit.rb +3 -0
  616. data/spec/internal/app/constants/generic_group_example.rb +12 -0
  617. data/spec/internal/app/constants/my_constant.rb +4 -0
  618. data/spec/internal/app/constants/product.rb +3 -0
  619. data/spec/internal/app/constants/shirt_size.rb +18 -0
  620. data/spec/internal/app/constants/simple_option.rb +14 -0
  621. data/spec/internal/app/constants/status.rb +5 -0
  622. data/spec/internal/app/constructors/organization_constructor.rb +4 -0
  623. data/spec/internal/app/controllers/application_controller.rb +27 -0
  624. data/spec/internal/app/controllers/search_extensions.rb +3 -0
  625. data/spec/internal/app/indices/advisor_index.rb +35 -0
  626. data/spec/internal/app/indices/contract_index.rb +52 -0
  627. data/spec/internal/app/indices/firm_index.rb +16 -0
  628. data/spec/internal/app/indices/policy_index.rb +20 -0
  629. data/spec/internal/app/models/advisor.rb +24 -0
  630. data/spec/internal/app/models/agency.rb +3 -0
  631. data/spec/internal/app/models/anonymous_coward.rb +5 -0
  632. data/spec/internal/app/models/another_event.rb +2 -0
  633. data/spec/internal/app/models/appointment.rb +3 -0
  634. data/spec/internal/app/models/attachment.rb +10 -0
  635. data/spec/internal/app/models/basic_schedule.rb +6 -0
  636. data/spec/internal/app/models/beneficiary.rb +6 -0
  637. data/spec/internal/app/models/client.rb +5 -0
  638. data/spec/internal/app/models/contract.rb +9 -0
  639. data/spec/internal/app/models/demographic.rb +4 -0
  640. data/spec/internal/app/models/division.rb +3 -0
  641. data/spec/internal/app/models/event.rb +10 -0
  642. data/spec/internal/app/models/event_template.rb +1 -0
  643. data/spec/internal/app/models/firm.rb +18 -0
  644. data/spec/internal/app/models/has_audits/audit.rb +15 -0
  645. data/spec/internal/app/models/import.rb +7 -0
  646. data/spec/internal/app/models/meetup.rb +8 -0
  647. data/spec/internal/app/models/organization.rb +17 -0
  648. data/spec/internal/app/models/organization_event.rb +5 -0
  649. data/spec/internal/app/models/policy.rb +16 -0
  650. data/spec/internal/app/models/policy_holder.rb +7 -0
  651. data/spec/internal/app/models/policy_note.rb +8 -0
  652. data/spec/internal/app/models/project.rb +3 -0
  653. data/spec/internal/app/models/read_only_value.rb +8 -0
  654. data/spec/internal/app/models/schedule.rb +12 -0
  655. data/spec/internal/app/models/template.rb +9 -0
  656. data/spec/internal/app/models/user.rb +31 -0
  657. data/spec/internal/app/models/user_organization.rb +17 -0
  658. data/spec/internal/app/views/has_lists/lists/_table.html.erb +1 -0
  659. data/spec/internal/config/database-standard.yml +24 -0
  660. data/spec/internal/config/initializers/resources.rb +19 -0
  661. data/spec/internal/config/routes.rb +19 -0
  662. data/spec/internal/config/storage.yml +3 -0
  663. data/spec/internal/db/good_job_schema.rb +141 -0
  664. data/spec/internal/db/schema.rb +334 -0
  665. data/spec/internal/log/.gitignore +1 -0
  666. data/spec/internal/public/favicon.ico +0 -0
  667. data/spec/lib/flattener/base_spec.rb +93 -0
  668. data/spec/lib/flattener/column/types_spec.rb +65 -0
  669. data/spec/lib/has_helpers/active_record/base_spec.rb +53 -0
  670. data/spec/lib/has_helpers/active_record/date_range_spec.rb +498 -0
  671. data/spec/lib/has_helpers/active_record/lookup_model_spec.rb +408 -0
  672. data/spec/lib/has_helpers/active_record/nested_resource_spec.rb +43 -0
  673. data/spec/lib/has_helpers/app/command/reports/generator_specs.rb +887 -0
  674. data/spec/lib/has_helpers/app/command_spec.rb +117 -0
  675. data/spec/lib/has_helpers/app/support/mocks/graphql_reports_helpers.rb +96 -0
  676. data/spec/lib/has_helpers/app/support/mocks/reports_api_mock.rb +47 -0
  677. data/spec/lib/has_helpers/attributes_spec.rb +220 -0
  678. data/spec/lib/has_helpers/aws_spec.rb +126 -0
  679. data/spec/lib/has_helpers/concerns/hydrate_concern_spec.rb +473 -0
  680. data/spec/lib/has_helpers/constant/definition_spec.rb +128 -0
  681. data/spec/lib/has_helpers/constant_spec.rb +432 -0
  682. data/spec/lib/has_helpers/core_ext/array_spec.rb +22 -0
  683. data/spec/lib/has_helpers/core_ext/date/infinity_spec.rb +67 -0
  684. data/spec/lib/has_helpers/core_ext/date_spec.rb +27 -0
  685. data/spec/lib/has_helpers/core_ext/false_class_spec.rb +7 -0
  686. data/spec/lib/has_helpers/core_ext/float_spec.rb +9 -0
  687. data/spec/lib/has_helpers/core_ext/hash_spec.rb +48 -0
  688. data/spec/lib/has_helpers/core_ext/integer_spec.rb +9 -0
  689. data/spec/lib/has_helpers/core_ext/nil_class_spec.rb +17 -0
  690. data/spec/lib/has_helpers/core_ext/object_spec.rb +54 -0
  691. data/spec/lib/has_helpers/core_ext/proc_spec.rb +24 -0
  692. data/spec/lib/has_helpers/core_ext/string_spec.rb +154 -0
  693. data/spec/lib/has_helpers/core_ext/true_class_spec.rb +7 -0
  694. data/spec/lib/has_helpers/data_migration/base_spec.rb +470 -0
  695. data/spec/lib/has_helpers/data_migration/large_worker_spec.rb +34 -0
  696. data/spec/lib/has_helpers/data_migration/master_worker_spec.rb +51 -0
  697. data/spec/lib/has_helpers/data_migration/migrator_spec.rb +113 -0
  698. data/spec/lib/has_helpers/data_migration/model_spec.rb +52 -0
  699. data/spec/lib/has_helpers/data_migration/small_worker_spec.rb +34 -0
  700. data/spec/lib/has_helpers/good_job/notification_alert_cleanup_worker_spec.rb +89 -0
  701. data/spec/lib/has_helpers/hash_accessors_spec.rb +66 -0
  702. data/spec/lib/has_helpers/index_spec.rb +442 -0
  703. data/spec/lib/has_helpers/lazy_config_spec.rb +31 -0
  704. data/spec/lib/has_helpers/organization_merge_spec.rb +88 -0
  705. data/spec/lib/has_helpers/resource_importer_spec.rb +119 -0
  706. data/spec/lib/has_helpers/rspec_spec.rb +16 -0
  707. data/spec/lib/has_helpers/search/provider_spec.rb +26 -0
  708. data/spec/lib/has_helpers/search/search_utils_spec.rb +134 -0
  709. data/spec/lib/has_helpers/sentry/graphql_trace_spec.rb +140 -0
  710. data/spec/lib/has_helpers/ui_attributes_spec.rb +42 -0
  711. data/spec/lib/has_helpers/utils/action_spec.rb +49 -0
  712. data/spec/lib/has_helpers/utils/alert_spec.rb +33 -0
  713. data/spec/lib/has_helpers/utils/dataset_spec.rb +10 -0
  714. data/spec/lib/has_helpers/utils/icon_spec.rb +23 -0
  715. data/spec/lib/has_helpers/utils/input_spec.rb +40 -0
  716. data/spec/lib/has_helpers/utils/log_notifier_spec.rb +25 -0
  717. data/spec/lib/has_helpers/utils/render_object_spec.rb +17 -0
  718. data/spec/lib/has_helpers/utils/s3_utils_spec.rb +78 -0
  719. data/spec/lib/has_helpers/utils/service_spec.rb +79 -0
  720. data/spec/lib/has_helpers/utils/slack_notifier_spec.rb +70 -0
  721. data/spec/lib/has_helpers/utils/user_restrictions_spec.rb +343 -0
  722. data/spec/lib/hq/structure/inserts_spec.rb +152 -0
  723. data/spec/lib/hq/structure_spec.rb +12 -0
  724. data/spec/models/cards/base_spec.rb +149 -0
  725. data/spec/models/cards/card_definition_resource_spec.rb +103 -0
  726. data/spec/models/cards/card_definition_spec.rb +50 -0
  727. data/spec/models/cards/card_field_spec.rb +46 -0
  728. data/spec/models/cards/field_builder_spec.rb +318 -0
  729. data/spec/models/cards/registry_spec.rb +147 -0
  730. data/spec/models/cards/role_card_field_spec.rb +111 -0
  731. data/spec/models/cards/role_resource_card_spec.rb +112 -0
  732. data/spec/models/has_helpers/master_record_spec.rb +20 -0
  733. data/spec/models/has_helpers/user_organization_spec.rb +28 -0
  734. data/spec/models/has_helpers/user_session_spec.rb +16 -0
  735. data/spec/presenters/base_presenter_spec.rb +166 -0
  736. data/spec/rails_helper.rb +119 -0
  737. data/spec/requests/has_helpers/factory_controller_spec.rb +159 -0
  738. data/spec/requests/has_helpers/health_check_controller_spec.rb +37 -0
  739. data/spec/scenarios/empty_setup.rb +6 -0
  740. data/spec/spec_helper.rb +22 -0
  741. data/spec/support/has_helpers/database_helpers.rb +12 -0
  742. data/spec/utils/sync_utils_spec.rb +233 -0
  743. data/spec/workers/goodjob/elasticsearch_process_batch_spec.rb +94 -0
  744. data/spec/workers/goodjob/elasticsearch_process_change_logs_master_worker_spec.rb +40 -0
  745. data/spec/workers/goodjob/elasticsearch_process_change_logs_worker_spec.rb +82 -0
  746. data/spec/workers/goodjob/elasticsearch_process_queue_spec.rb +89 -0
  747. data/spec/workers/goodjob/elasticsearch_reindex_spec.rb +49 -0
  748. metadata +1593 -0
@@ -0,0 +1,4713 @@
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-6.0.1
11
+ module Arel
12
+ def self.arel_node?(value); end
13
+ def self.fetch_attribute(value); end
14
+ def self.sql(raw_sql); end
15
+ def self.star; end
16
+ end
17
+ class Arel::ArelError < StandardError
18
+ end
19
+ class Arel::EmptyJoinError < Arel::ArelError
20
+ end
21
+ module Arel::Crud
22
+ def compile_delete; end
23
+ def compile_insert(values); end
24
+ def compile_update(values, pk); end
25
+ def create_insert; end
26
+ end
27
+ module Arel::FactoryMethods
28
+ def coalesce(*exprs); end
29
+ def create_and(clauses); end
30
+ def create_false; end
31
+ def create_join(to, constraint = nil, klass = nil); end
32
+ def create_on(expr); end
33
+ def create_string_join(to); end
34
+ def create_table_alias(relation, name); end
35
+ def create_true; end
36
+ def grouping(expr); end
37
+ def lower(column); end
38
+ end
39
+ module Arel::Expressions
40
+ def average; end
41
+ def count(distinct = nil); end
42
+ def extract(field); end
43
+ def maximum; end
44
+ def minimum; end
45
+ def sum; end
46
+ end
47
+ module Arel::Predications
48
+ def between(other); end
49
+ def concat(other); end
50
+ def does_not_match(other, escape = nil, case_sensitive = nil); end
51
+ def does_not_match_all(others, escape = nil); end
52
+ def does_not_match_any(others, escape = nil); end
53
+ def does_not_match_regexp(other, case_sensitive = nil); end
54
+ def eq(other); end
55
+ def eq_all(others); end
56
+ def eq_any(others); end
57
+ def grouping_all(method_id, others, *extras); end
58
+ def grouping_any(method_id, others, *extras); end
59
+ def gt(right); end
60
+ def gt_all(others); end
61
+ def gt_any(others); end
62
+ def gteq(right); end
63
+ def gteq_all(others); end
64
+ def gteq_any(others); end
65
+ def in(other); end
66
+ def in_all(others); end
67
+ def in_any(others); end
68
+ def infinity?(value); end
69
+ def is_distinct_from(other); end
70
+ def is_not_distinct_from(other); end
71
+ def lt(right); end
72
+ def lt_all(others); end
73
+ def lt_any(others); end
74
+ def lteq(right); end
75
+ def lteq_all(others); end
76
+ def lteq_any(others); end
77
+ def matches(other, escape = nil, case_sensitive = nil); end
78
+ def matches_all(others, escape = nil, case_sensitive = nil); end
79
+ def matches_any(others, escape = nil, case_sensitive = nil); end
80
+ def matches_regexp(other, case_sensitive = nil); end
81
+ def not_between(other); end
82
+ def not_eq(other); end
83
+ def not_eq_all(others); end
84
+ def not_eq_any(others); end
85
+ def not_in(other); end
86
+ def not_in_all(others); end
87
+ def not_in_any(others); end
88
+ def open_ended?(value); end
89
+ def quoted_array(others); end
90
+ def quoted_node(other); end
91
+ def unboundable?(value); end
92
+ def when(right); end
93
+ end
94
+ module Arel::WindowPredications
95
+ def over(expr = nil); end
96
+ end
97
+ module Arel::Math
98
+ def &(other); end
99
+ def *(other); end
100
+ def +(other); end
101
+ def -(other); end
102
+ def /(other); end
103
+ def <<(other); end
104
+ def >>(other); end
105
+ def ^(other); end
106
+ def |(other); end
107
+ def ~; end
108
+ end
109
+ module Arel::AliasPredication
110
+ def as(other); end
111
+ end
112
+ module Arel::OrderPredications
113
+ def asc; end
114
+ def desc; end
115
+ end
116
+ class Arel::Table
117
+ def ==(other); end
118
+ def [](name); end
119
+ def able_to_type_cast?; end
120
+ def alias(name = nil); end
121
+ def eql?(other); end
122
+ def from; end
123
+ def group(*columns); end
124
+ def hash; end
125
+ def having(expr); end
126
+ def initialize(name, as: nil, type_caster: nil); end
127
+ def join(relation, klass = nil); end
128
+ def name; end
129
+ def name=(arg0); end
130
+ def order(*expr); end
131
+ def outer_join(relation); end
132
+ def project(*things); end
133
+ def self.engine; end
134
+ def self.engine=(arg0); end
135
+ def skip(amount); end
136
+ def table_alias; end
137
+ def table_alias=(arg0); end
138
+ def table_name; end
139
+ def take(amount); end
140
+ def type_cast_for_database(attribute_name, value); end
141
+ def type_caster; end
142
+ def where(condition); end
143
+ include Arel::Crud
144
+ include Arel::FactoryMethods
145
+ end
146
+ module Arel::Attributes
147
+ def self.for(column); end
148
+ end
149
+ class Anonymous_Struct_4 < Struct
150
+ def name; end
151
+ def name=(_); end
152
+ def relation; end
153
+ def relation=(_); end
154
+ def self.[](*arg0); end
155
+ def self.inspect; end
156
+ def self.members; end
157
+ def self.new(*arg0); end
158
+ end
159
+ class Arel::Attributes::Attribute < Anonymous_Struct_4
160
+ def able_to_type_cast?; end
161
+ def lower; end
162
+ def type_cast_for_database(value); end
163
+ include Arel::AliasPredication
164
+ include Arel::Expressions
165
+ include Arel::Math
166
+ include Arel::OrderPredications
167
+ include Arel::Predications
168
+ end
169
+ class Arel::Attributes::String < Arel::Attributes::Attribute
170
+ end
171
+ class Arel::Attributes::Time < Arel::Attributes::Attribute
172
+ end
173
+ class Arel::Attributes::Boolean < Arel::Attributes::Attribute
174
+ end
175
+ class Arel::Attributes::Decimal < Arel::Attributes::Attribute
176
+ end
177
+ class Arel::Attributes::Float < Arel::Attributes::Attribute
178
+ end
179
+ class Arel::Attributes::Integer < Arel::Attributes::Attribute
180
+ end
181
+ class Arel::Attributes::Undefined < Arel::Attributes::Attribute
182
+ end
183
+ module Arel::Visitors
184
+ end
185
+ class Arel::Visitors::Visitor
186
+ def accept(object, collector = nil); end
187
+ def dispatch; end
188
+ def get_dispatch_cache; end
189
+ def initialize; end
190
+ def self.dispatch_cache; end
191
+ def visit(object, collector = nil); end
192
+ end
193
+ class Arel::Visitors::DepthFirst < Arel::Visitors::Visitor
194
+ def binary(o); end
195
+ def function(o); end
196
+ def get_dispatch_cache; end
197
+ def initialize(block = nil); end
198
+ def nary(o); end
199
+ def terminal(o); end
200
+ def unary(o); end
201
+ def visit(o, _ = nil); end
202
+ def visit_ActiveSupport_Multibyte_Chars(o); end
203
+ def visit_ActiveSupport_StringInquirer(o); end
204
+ def visit_Arel_Attribute(o); end
205
+ def visit_Arel_Attributes_Attribute(o); end
206
+ def visit_Arel_Attributes_Boolean(o); end
207
+ def visit_Arel_Attributes_Decimal(o); end
208
+ def visit_Arel_Attributes_Float(o); end
209
+ def visit_Arel_Attributes_Integer(o); end
210
+ def visit_Arel_Attributes_String(o); end
211
+ def visit_Arel_Attributes_Time(o); end
212
+ def visit_Arel_Nodes_And(o); end
213
+ def visit_Arel_Nodes_As(o); end
214
+ def visit_Arel_Nodes_Ascending(o); end
215
+ def visit_Arel_Nodes_Assignment(o); end
216
+ def visit_Arel_Nodes_Avg(o); end
217
+ def visit_Arel_Nodes_Between(o); end
218
+ def visit_Arel_Nodes_BindParam(o); end
219
+ def visit_Arel_Nodes_Case(o); end
220
+ def visit_Arel_Nodes_Comment(o); end
221
+ def visit_Arel_Nodes_Concat(o); end
222
+ def visit_Arel_Nodes_Count(o); end
223
+ def visit_Arel_Nodes_Cube(o); end
224
+ def visit_Arel_Nodes_DeleteStatement(o); end
225
+ def visit_Arel_Nodes_Descending(o); end
226
+ def visit_Arel_Nodes_DoesNotMatch(o); end
227
+ def visit_Arel_Nodes_Else(o); end
228
+ def visit_Arel_Nodes_Equality(o); end
229
+ def visit_Arel_Nodes_Exists(o); end
230
+ def visit_Arel_Nodes_False(o); end
231
+ def visit_Arel_Nodes_FullOuterJoin(o); end
232
+ def visit_Arel_Nodes_GreaterThan(o); end
233
+ def visit_Arel_Nodes_GreaterThanOrEqual(o); end
234
+ def visit_Arel_Nodes_Group(o); end
235
+ def visit_Arel_Nodes_Grouping(o); end
236
+ def visit_Arel_Nodes_GroupingElement(o); end
237
+ def visit_Arel_Nodes_GroupingSet(o); end
238
+ def visit_Arel_Nodes_Having(o); end
239
+ def visit_Arel_Nodes_In(o); end
240
+ def visit_Arel_Nodes_InfixOperation(o); end
241
+ def visit_Arel_Nodes_InnerJoin(o); end
242
+ def visit_Arel_Nodes_InsertStatement(o); end
243
+ def visit_Arel_Nodes_IsDistinctFrom(o); end
244
+ def visit_Arel_Nodes_IsNotDistinctFrom(o); end
245
+ def visit_Arel_Nodes_JoinSource(o); end
246
+ def visit_Arel_Nodes_Lateral(o); end
247
+ def visit_Arel_Nodes_LessThan(o); end
248
+ def visit_Arel_Nodes_LessThanOrEqual(o); end
249
+ def visit_Arel_Nodes_Limit(o); end
250
+ def visit_Arel_Nodes_Lock(o); end
251
+ def visit_Arel_Nodes_Matches(o); end
252
+ def visit_Arel_Nodes_Max(o); end
253
+ def visit_Arel_Nodes_Min(o); end
254
+ def visit_Arel_Nodes_NamedFunction(o); end
255
+ def visit_Arel_Nodes_Node(o); end
256
+ def visit_Arel_Nodes_Not(o); end
257
+ def visit_Arel_Nodes_NotEqual(o); end
258
+ def visit_Arel_Nodes_NotIn(o); end
259
+ def visit_Arel_Nodes_NotRegexp(o); end
260
+ def visit_Arel_Nodes_Offset(o); end
261
+ def visit_Arel_Nodes_On(o); end
262
+ def visit_Arel_Nodes_OptimizerHints(o); end
263
+ def visit_Arel_Nodes_Or(o); end
264
+ def visit_Arel_Nodes_Ordering(o); end
265
+ def visit_Arel_Nodes_OuterJoin(o); end
266
+ def visit_Arel_Nodes_Regexp(o); end
267
+ def visit_Arel_Nodes_RightOuterJoin(o); end
268
+ def visit_Arel_Nodes_RollUp(o); end
269
+ def visit_Arel_Nodes_SelectCore(o); end
270
+ def visit_Arel_Nodes_SelectStatement(o); end
271
+ def visit_Arel_Nodes_SqlLiteral(o); end
272
+ def visit_Arel_Nodes_StringJoin(o); end
273
+ def visit_Arel_Nodes_Sum(o); end
274
+ def visit_Arel_Nodes_TableAlias(o); end
275
+ def visit_Arel_Nodes_True(o); end
276
+ def visit_Arel_Nodes_UnqualifiedColumn(o); end
277
+ def visit_Arel_Nodes_UpdateStatement(o); end
278
+ def visit_Arel_Nodes_ValuesList(o); end
279
+ def visit_Arel_Nodes_When(o); end
280
+ def visit_Arel_Nodes_Window(o); end
281
+ def visit_Arel_Table(o); end
282
+ def visit_Array(o); end
283
+ def visit_BigDecimal(o); end
284
+ def visit_Class(o); end
285
+ def visit_Date(o); end
286
+ def visit_DateTime(o); end
287
+ def visit_FalseClass(o); end
288
+ def visit_Float(o); end
289
+ def visit_Hash(o); end
290
+ def visit_Integer(o); end
291
+ def visit_NilClass(o); end
292
+ def visit_Set(o); end
293
+ def visit_String(o); end
294
+ def visit_Symbol(o); end
295
+ def visit_Time(o); end
296
+ def visit_TrueClass(o); end
297
+ end
298
+ class Arel::Visitors::UnsupportedVisitError < StandardError
299
+ def initialize(object); end
300
+ end
301
+ class Arel::Visitors::ToSql < Arel::Visitors::Visitor
302
+ def aggregate(name, o, collector); end
303
+ def build_subselect(key, o); end
304
+ def collect_in_clause(left, right, collector); end
305
+ def collect_nodes_for(nodes, collector, spacer, connector = nil); end
306
+ def collect_not_in_clause(left, right, collector); end
307
+ def collect_optimizer_hints(o, collector); end
308
+ def compile(node, collector = nil); end
309
+ def has_join_sources?(o); end
310
+ def has_limit_or_offset_or_orders?(o); end
311
+ def infix_value(o, collector, value); end
312
+ def infix_value_with_paren(o, collector, value, suppress_parens = nil); end
313
+ def initialize(connection); end
314
+ def inject_join(list, collector, join_str); end
315
+ def is_distinct_from(o, collector); end
316
+ def literal(o, collector); end
317
+ def maybe_visit(thing, collector); end
318
+ def prepare_delete_statement(o); end
319
+ def prepare_update_statement(o); end
320
+ def quote(value); end
321
+ def quote_column_name(name); end
322
+ def quote_table_name(name); end
323
+ def quoted(o, a); end
324
+ def sanitize_as_sql_comment(value); end
325
+ def unboundable?(value); end
326
+ def unsupported(o, collector); end
327
+ def visit_ActiveSupport_Multibyte_Chars(o, collector); end
328
+ def visit_ActiveSupport_StringInquirer(o, collector); end
329
+ def visit_Arel_Attributes_Attribute(o, collector); end
330
+ def visit_Arel_Attributes_Boolean(o, collector); end
331
+ def visit_Arel_Attributes_Decimal(o, collector); end
332
+ def visit_Arel_Attributes_Float(o, collector); end
333
+ def visit_Arel_Attributes_Integer(o, collector); end
334
+ def visit_Arel_Attributes_String(o, collector); end
335
+ def visit_Arel_Attributes_Time(o, collector); end
336
+ def visit_Arel_Nodes_Addition(o, collector); end
337
+ def visit_Arel_Nodes_And(o, collector); end
338
+ def visit_Arel_Nodes_As(o, collector); end
339
+ def visit_Arel_Nodes_Ascending(o, collector); end
340
+ def visit_Arel_Nodes_Assignment(o, collector); end
341
+ def visit_Arel_Nodes_Avg(o, collector); end
342
+ def visit_Arel_Nodes_Between(o, collector); end
343
+ def visit_Arel_Nodes_Bin(o, collector); end
344
+ def visit_Arel_Nodes_BindParam(o, collector); end
345
+ def visit_Arel_Nodes_Case(o, collector); end
346
+ def visit_Arel_Nodes_Casted(o, collector); end
347
+ def visit_Arel_Nodes_Comment(o, collector); end
348
+ def visit_Arel_Nodes_Count(o, collector); end
349
+ def visit_Arel_Nodes_CurrentRow(o, collector); end
350
+ def visit_Arel_Nodes_DeleteStatement(o, collector); end
351
+ def visit_Arel_Nodes_Descending(o, collector); end
352
+ def visit_Arel_Nodes_Distinct(o, collector); end
353
+ def visit_Arel_Nodes_DistinctOn(o, collector); end
354
+ def visit_Arel_Nodes_Division(o, collector); end
355
+ def visit_Arel_Nodes_DoesNotMatch(o, collector); end
356
+ def visit_Arel_Nodes_Else(o, collector); end
357
+ def visit_Arel_Nodes_Equality(o, collector); end
358
+ def visit_Arel_Nodes_Except(o, collector); end
359
+ def visit_Arel_Nodes_Exists(o, collector); end
360
+ def visit_Arel_Nodes_Extract(o, collector); end
361
+ def visit_Arel_Nodes_False(o, collector); end
362
+ def visit_Arel_Nodes_Following(o, collector); end
363
+ def visit_Arel_Nodes_FullOuterJoin(o, collector); end
364
+ def visit_Arel_Nodes_GreaterThan(o, collector); end
365
+ def visit_Arel_Nodes_GreaterThanOrEqual(o, collector); end
366
+ def visit_Arel_Nodes_Group(o, collector); end
367
+ def visit_Arel_Nodes_Grouping(o, collector); end
368
+ def visit_Arel_Nodes_In(o, collector); end
369
+ def visit_Arel_Nodes_InfixOperation(o, collector); end
370
+ def visit_Arel_Nodes_InnerJoin(o, collector); end
371
+ def visit_Arel_Nodes_InsertStatement(o, collector); end
372
+ def visit_Arel_Nodes_Intersect(o, collector); end
373
+ def visit_Arel_Nodes_IsDistinctFrom(o, collector); end
374
+ def visit_Arel_Nodes_IsNotDistinctFrom(o, collector); end
375
+ def visit_Arel_Nodes_JoinSource(o, collector); end
376
+ def visit_Arel_Nodes_LessThan(o, collector); end
377
+ def visit_Arel_Nodes_LessThanOrEqual(o, collector); end
378
+ def visit_Arel_Nodes_Limit(o, collector); end
379
+ def visit_Arel_Nodes_Lock(o, collector); end
380
+ def visit_Arel_Nodes_Matches(o, collector); end
381
+ def visit_Arel_Nodes_Max(o, collector); end
382
+ def visit_Arel_Nodes_Min(o, collector); end
383
+ def visit_Arel_Nodes_Multiplication(o, collector); end
384
+ def visit_Arel_Nodes_NamedFunction(o, collector); end
385
+ def visit_Arel_Nodes_NamedWindow(o, collector); end
386
+ def visit_Arel_Nodes_Not(o, collector); end
387
+ def visit_Arel_Nodes_NotEqual(o, collector); end
388
+ def visit_Arel_Nodes_NotIn(o, collector); end
389
+ def visit_Arel_Nodes_NotRegexp(o, collector); end
390
+ def visit_Arel_Nodes_Offset(o, collector); end
391
+ def visit_Arel_Nodes_On(o, collector); end
392
+ def visit_Arel_Nodes_OptimizerHints(o, collector); end
393
+ def visit_Arel_Nodes_Or(o, collector); end
394
+ def visit_Arel_Nodes_OuterJoin(o, collector); end
395
+ def visit_Arel_Nodes_Over(o, collector); end
396
+ def visit_Arel_Nodes_Preceding(o, collector); end
397
+ def visit_Arel_Nodes_Quoted(o, collector); end
398
+ def visit_Arel_Nodes_Range(o, collector); end
399
+ def visit_Arel_Nodes_Regexp(o, collector); end
400
+ def visit_Arel_Nodes_RightOuterJoin(o, collector); end
401
+ def visit_Arel_Nodes_Rows(o, collector); end
402
+ def visit_Arel_Nodes_SelectCore(o, collector); end
403
+ def visit_Arel_Nodes_SelectOptions(o, collector); end
404
+ def visit_Arel_Nodes_SelectStatement(o, collector); end
405
+ def visit_Arel_Nodes_SqlLiteral(o, collector); end
406
+ def visit_Arel_Nodes_StringJoin(o, collector); end
407
+ def visit_Arel_Nodes_Subtraction(o, collector); end
408
+ def visit_Arel_Nodes_Sum(o, collector); end
409
+ def visit_Arel_Nodes_TableAlias(o, collector); end
410
+ def visit_Arel_Nodes_True(o, collector); end
411
+ def visit_Arel_Nodes_UnaryOperation(o, collector); end
412
+ def visit_Arel_Nodes_Union(o, collector); end
413
+ def visit_Arel_Nodes_UnionAll(o, collector); end
414
+ def visit_Arel_Nodes_UnqualifiedColumn(o, collector); end
415
+ def visit_Arel_Nodes_UpdateStatement(o, collector); end
416
+ def visit_Arel_Nodes_ValuesList(o, collector); end
417
+ def visit_Arel_Nodes_When(o, collector); end
418
+ def visit_Arel_Nodes_Window(o, collector); end
419
+ def visit_Arel_Nodes_With(o, collector); end
420
+ def visit_Arel_Nodes_WithRecursive(o, collector); end
421
+ def visit_Arel_SelectManager(o, collector); end
422
+ def visit_Arel_Table(o, collector); end
423
+ def visit_Array(o, collector); end
424
+ def visit_BigDecimal(o, collector); end
425
+ def visit_Class(o, collector); end
426
+ def visit_Date(o, collector); end
427
+ def visit_DateTime(o, collector); end
428
+ def visit_FalseClass(o, collector); end
429
+ def visit_Float(o, collector); end
430
+ def visit_Hash(o, collector); end
431
+ def visit_Integer(o, collector); end
432
+ def visit_NilClass(o, collector); end
433
+ def visit_Set(o, collector); end
434
+ def visit_String(o, collector); end
435
+ def visit_Symbol(o, collector); end
436
+ def visit_Time(o, collector); end
437
+ def visit_TrueClass(o, collector); end
438
+ end
439
+ class Arel::Visitors::SQLite < Arel::Visitors::ToSql
440
+ def visit_Arel_Nodes_False(o, collector); end
441
+ def visit_Arel_Nodes_IsDistinctFrom(o, collector); end
442
+ def visit_Arel_Nodes_IsNotDistinctFrom(o, collector); end
443
+ def visit_Arel_Nodes_Lock(o, collector); end
444
+ def visit_Arel_Nodes_SelectStatement(o, collector); end
445
+ def visit_Arel_Nodes_True(o, collector); end
446
+ end
447
+ class Arel::Visitors::PostgreSQL < Arel::Visitors::ToSql
448
+ def grouping_array_or_grouping_element(o, collector); end
449
+ def grouping_parentheses(o, collector); end
450
+ def visit_Arel_Nodes_BindParam(o, collector); end
451
+ def visit_Arel_Nodes_Cube(o, collector); end
452
+ def visit_Arel_Nodes_DistinctOn(o, collector); end
453
+ def visit_Arel_Nodes_DoesNotMatch(o, collector); end
454
+ def visit_Arel_Nodes_GroupingElement(o, collector); end
455
+ def visit_Arel_Nodes_GroupingSet(o, collector); end
456
+ def visit_Arel_Nodes_IsDistinctFrom(o, collector); end
457
+ def visit_Arel_Nodes_IsNotDistinctFrom(o, collector); end
458
+ def visit_Arel_Nodes_Lateral(o, collector); end
459
+ def visit_Arel_Nodes_Matches(o, collector); end
460
+ def visit_Arel_Nodes_NotRegexp(o, collector); end
461
+ def visit_Arel_Nodes_Regexp(o, collector); end
462
+ def visit_Arel_Nodes_RollUp(o, collector); end
463
+ end
464
+ class Arel::Visitors::MySQL < Arel::Visitors::ToSql
465
+ def build_subselect(key, o); end
466
+ def prepare_delete_statement(o); end
467
+ def prepare_update_statement(o); end
468
+ def visit_Arel_Nodes_Bin(o, collector); end
469
+ def visit_Arel_Nodes_Concat(o, collector); end
470
+ def visit_Arel_Nodes_IsDistinctFrom(o, collector); end
471
+ def visit_Arel_Nodes_IsNotDistinctFrom(o, collector); end
472
+ def visit_Arel_Nodes_SelectCore(o, collector); end
473
+ def visit_Arel_Nodes_SelectStatement(o, collector); end
474
+ def visit_Arel_Nodes_UnqualifiedColumn(o, collector); end
475
+ end
476
+ class Arel::Visitors::MSSQL < Arel::Visitors::ToSql
477
+ def collect_optimizer_hints(o, collector); end
478
+ def determine_order_by(orders, x); end
479
+ def find_left_table_pk(o); end
480
+ def find_primary_key(o); end
481
+ def get_offset_limit_clause(o); end
482
+ def initialize(*arg0); end
483
+ def row_num_literal(order_by); end
484
+ def select_count?(x); end
485
+ def visit_Arel_Nodes_DeleteStatement(o, collector); end
486
+ def visit_Arel_Nodes_IsDistinctFrom(o, collector); end
487
+ def visit_Arel_Nodes_IsNotDistinctFrom(o, collector); end
488
+ def visit_Arel_Nodes_OptimizerHints(o, collector); end
489
+ def visit_Arel_Nodes_SelectCore(o, collector); end
490
+ def visit_Arel_Nodes_SelectStatement(o, collector); end
491
+ def visit_Arel_Visitors_MSSQL_RowNumber(o, collector); end
492
+ end
493
+ class Arel::Visitors::MSSQL::RowNumber < Struct
494
+ def children; end
495
+ def children=(_); end
496
+ def self.[](*arg0); end
497
+ def self.inspect; end
498
+ def self.members; end
499
+ def self.new(*arg0); end
500
+ end
501
+ class Arel::Visitors::Oracle < Arel::Visitors::ToSql
502
+ def is_distinct_from(o, collector); end
503
+ def order_hacks(o); end
504
+ def split_order_string(string); end
505
+ def visit_Arel_Nodes_BindParam(o, collector); end
506
+ def visit_Arel_Nodes_Except(o, collector); end
507
+ def visit_Arel_Nodes_Limit(o, collector); end
508
+ def visit_Arel_Nodes_Offset(o, collector); end
509
+ def visit_Arel_Nodes_SelectStatement(o, collector); end
510
+ def visit_Arel_Nodes_UpdateStatement(o, collector); end
511
+ end
512
+ class Arel::Visitors::Oracle12 < Arel::Visitors::ToSql
513
+ def is_distinct_from(o, collector); end
514
+ def visit_Arel_Nodes_BindParam(o, collector); end
515
+ def visit_Arel_Nodes_Except(o, collector); end
516
+ def visit_Arel_Nodes_Limit(o, collector); end
517
+ def visit_Arel_Nodes_Offset(o, collector); end
518
+ def visit_Arel_Nodes_SelectOptions(o, collector); end
519
+ def visit_Arel_Nodes_SelectStatement(o, collector); end
520
+ def visit_Arel_Nodes_UpdateStatement(o, collector); end
521
+ end
522
+ class Arel::Visitors::WhereSql < Arel::Visitors::ToSql
523
+ def initialize(inner_visitor, *args, &block); end
524
+ def visit_Arel_Nodes_SelectCore(o, collector); end
525
+ end
526
+ class Arel::Visitors::Dot < Arel::Visitors::Visitor
527
+ def accept(object, collector); end
528
+ def binary(o); end
529
+ def edge(name); end
530
+ def extract(o); end
531
+ def function(o); end
532
+ def initialize; end
533
+ def named_window(o); end
534
+ def nary(o); end
535
+ def quote(string); end
536
+ def to_dot; end
537
+ def unary(o); end
538
+ def visit(o); end
539
+ def visit_Arel_Attribute(o); end
540
+ def visit_Arel_Attributes_Attribute(o); end
541
+ def visit_Arel_Attributes_Boolean(o); end
542
+ def visit_Arel_Attributes_Float(o); end
543
+ def visit_Arel_Attributes_Integer(o); end
544
+ def visit_Arel_Attributes_String(o); end
545
+ def visit_Arel_Attributes_Time(o); end
546
+ def visit_Arel_Nodes_And(o); end
547
+ def visit_Arel_Nodes_As(o); end
548
+ def visit_Arel_Nodes_Assignment(o); end
549
+ def visit_Arel_Nodes_Avg(o); end
550
+ def visit_Arel_Nodes_Between(o); end
551
+ def visit_Arel_Nodes_BindParam(o); end
552
+ def visit_Arel_Nodes_Casted(o); end
553
+ def visit_Arel_Nodes_Comment(o); end
554
+ def visit_Arel_Nodes_Concat(o); end
555
+ def visit_Arel_Nodes_Count(o); end
556
+ def visit_Arel_Nodes_Cube(o); end
557
+ def visit_Arel_Nodes_DeleteStatement(o); end
558
+ def visit_Arel_Nodes_DoesNotMatch(o); end
559
+ def visit_Arel_Nodes_Equality(o); end
560
+ def visit_Arel_Nodes_Exists(o); end
561
+ def visit_Arel_Nodes_Extract(o); end
562
+ def visit_Arel_Nodes_Following(o); end
563
+ def visit_Arel_Nodes_FullOuterJoin(o); end
564
+ def visit_Arel_Nodes_GreaterThan(o); end
565
+ def visit_Arel_Nodes_GreaterThanOrEqual(o); end
566
+ def visit_Arel_Nodes_Group(o); end
567
+ def visit_Arel_Nodes_Grouping(o); end
568
+ def visit_Arel_Nodes_GroupingElement(o); end
569
+ def visit_Arel_Nodes_GroupingSet(o); end
570
+ def visit_Arel_Nodes_Having(o); end
571
+ def visit_Arel_Nodes_In(o); end
572
+ def visit_Arel_Nodes_InnerJoin(o); end
573
+ def visit_Arel_Nodes_InsertStatement(o); end
574
+ def visit_Arel_Nodes_IsDistinctFrom(o); end
575
+ def visit_Arel_Nodes_IsNotDistinctFrom(o); end
576
+ def visit_Arel_Nodes_JoinSource(o); end
577
+ def visit_Arel_Nodes_LessThan(o); end
578
+ def visit_Arel_Nodes_LessThanOrEqual(o); end
579
+ def visit_Arel_Nodes_Limit(o); end
580
+ def visit_Arel_Nodes_Matches(o); end
581
+ def visit_Arel_Nodes_Max(o); end
582
+ def visit_Arel_Nodes_Min(o); end
583
+ def visit_Arel_Nodes_NamedFunction(o); end
584
+ def visit_Arel_Nodes_NamedWindow(o); end
585
+ def visit_Arel_Nodes_Not(o); end
586
+ def visit_Arel_Nodes_NotEqual(o); end
587
+ def visit_Arel_Nodes_NotIn(o); end
588
+ def visit_Arel_Nodes_Offset(o); end
589
+ def visit_Arel_Nodes_On(o); end
590
+ def visit_Arel_Nodes_OptimizerHints(o); end
591
+ def visit_Arel_Nodes_Or(o); end
592
+ def visit_Arel_Nodes_Ordering(o); end
593
+ def visit_Arel_Nodes_OuterJoin(o); end
594
+ def visit_Arel_Nodes_Over(o); end
595
+ def visit_Arel_Nodes_Preceding(o); end
596
+ def visit_Arel_Nodes_Range(o); end
597
+ def visit_Arel_Nodes_RightOuterJoin(o); end
598
+ def visit_Arel_Nodes_RollUp(o); end
599
+ def visit_Arel_Nodes_Rows(o); end
600
+ def visit_Arel_Nodes_SelectCore(o); end
601
+ def visit_Arel_Nodes_SelectStatement(o); end
602
+ def visit_Arel_Nodes_SqlLiteral(o); end
603
+ def visit_Arel_Nodes_StringJoin(o); end
604
+ def visit_Arel_Nodes_Sum(o); end
605
+ def visit_Arel_Nodes_TableAlias(o); end
606
+ def visit_Arel_Nodes_UnqualifiedColumn(o); end
607
+ def visit_Arel_Nodes_UpdateStatement(o); end
608
+ def visit_Arel_Nodes_ValuesList(o); end
609
+ def visit_Arel_Nodes_Window(o); end
610
+ def visit_Arel_Table(o); end
611
+ def visit_Array(o); end
612
+ def visit_BigDecimal(o); end
613
+ def visit_Date(o); end
614
+ def visit_DateTime(o); end
615
+ def visit_FalseClass(o); end
616
+ def visit_Float(o); end
617
+ def visit_Hash(o); end
618
+ def visit_Integer(o); end
619
+ def visit_NilClass(o); end
620
+ def visit_Set(o); end
621
+ def visit_String(o); end
622
+ def visit_Symbol(o); end
623
+ def visit_Time(o); end
624
+ def visit_TrueClass(o); end
625
+ def visit_edge(o, method); end
626
+ def window(o); end
627
+ def with_node(node); end
628
+ end
629
+ class Arel::Visitors::Dot::Node
630
+ def fields; end
631
+ def fields=(arg0); end
632
+ def id; end
633
+ def id=(arg0); end
634
+ def initialize(name, id, fields = nil); end
635
+ def name; end
636
+ def name=(arg0); end
637
+ end
638
+ class Anonymous_Struct_5 < Struct
639
+ def from; end
640
+ def from=(_); end
641
+ def name; end
642
+ def name=(_); end
643
+ def self.[](*arg0); end
644
+ def self.inspect; end
645
+ def self.members; end
646
+ def self.new(*arg0); end
647
+ def to; end
648
+ def to=(_); end
649
+ end
650
+ class Arel::Visitors::Dot::Edge < Anonymous_Struct_5
651
+ end
652
+ class Arel::Visitors::IBM_DB < Arel::Visitors::ToSql
653
+ def collect_optimizer_hints(o, collector); end
654
+ def is_distinct_from(o, collector); end
655
+ def visit_Arel_Nodes_Limit(o, collector); end
656
+ def visit_Arel_Nodes_OptimizerHints(o, collector); end
657
+ def visit_Arel_Nodes_SelectCore(o, collector); end
658
+ end
659
+ class Arel::Visitors::Informix < Arel::Visitors::ToSql
660
+ def visit_Arel_Nodes_Limit(o, collector); end
661
+ def visit_Arel_Nodes_Offset(o, collector); end
662
+ def visit_Arel_Nodes_OptimizerHints(o, collector); end
663
+ def visit_Arel_Nodes_SelectCore(o, collector); end
664
+ def visit_Arel_Nodes_SelectStatement(o, collector); end
665
+ end
666
+ module Arel::Collectors
667
+ end
668
+ class Arel::Collectors::PlainString
669
+ def <<(str); end
670
+ def initialize; end
671
+ def value; end
672
+ end
673
+ class Arel::Collectors::SQLString < Arel::Collectors::PlainString
674
+ def add_bind(bind); end
675
+ def initialize(*arg0); end
676
+ end
677
+ class Arel::TreeManager
678
+ def ast; end
679
+ def initialize; end
680
+ def initialize_copy(other); end
681
+ def to_dot; end
682
+ def to_sql(engine = nil); end
683
+ def where(expr); end
684
+ include Arel::FactoryMethods
685
+ end
686
+ module Arel::TreeManager::StatementMethods
687
+ def key; end
688
+ def key=(key); end
689
+ def offset(offset); end
690
+ def order(*expr); end
691
+ def take(limit); end
692
+ def where(expr); end
693
+ def wheres=(exprs); end
694
+ end
695
+ class Arel::InsertManager < Arel::TreeManager
696
+ def columns; end
697
+ def create_values(values); end
698
+ def create_values_list(rows); end
699
+ def initialize; end
700
+ def insert(fields); end
701
+ def into(table); end
702
+ def select(select); end
703
+ def values=(val); end
704
+ end
705
+ class Arel::SelectManager < Arel::TreeManager
706
+ def as(other); end
707
+ def collapse(exprs); end
708
+ def comment(*values); end
709
+ def constraints; end
710
+ def distinct(value = nil); end
711
+ def distinct_on(value); end
712
+ def except(other); end
713
+ def exists; end
714
+ def from(table); end
715
+ def froms; end
716
+ def group(*columns); end
717
+ def having(expr); end
718
+ def initialize(table = nil); end
719
+ def initialize_copy(other); end
720
+ def intersect(other); end
721
+ def join(relation, klass = nil); end
722
+ def join_sources; end
723
+ def lateral(table_name = nil); end
724
+ def limit; end
725
+ def limit=(limit); end
726
+ def lock(locking = nil); end
727
+ def locked; end
728
+ def minus(other); end
729
+ def offset; end
730
+ def offset=(amount); end
731
+ def on(*exprs); end
732
+ def optimizer_hints(*hints); end
733
+ def order(*expr); end
734
+ def orders; end
735
+ def outer_join(relation); end
736
+ def project(*projections); end
737
+ def projections; end
738
+ def projections=(projections); end
739
+ def skip(amount); end
740
+ def source; end
741
+ def take(limit); end
742
+ def taken; end
743
+ def union(operation, other = nil); end
744
+ def where_sql(engine = nil); end
745
+ def window(name); end
746
+ def with(*subqueries); end
747
+ include Arel::Crud
748
+ end
749
+ class Arel::UpdateManager < Arel::TreeManager
750
+ def initialize; end
751
+ def set(values); end
752
+ def table(table); end
753
+ include Arel::TreeManager::StatementMethods
754
+ end
755
+ class Arel::DeleteManager < Arel::TreeManager
756
+ def from(relation); end
757
+ def initialize; end
758
+ include Arel::TreeManager::StatementMethods
759
+ end
760
+ module Arel::Nodes
761
+ def self.build_quoted(other, attribute = nil); end
762
+ end
763
+ class Arel::Nodes::Node
764
+ def and(right); end
765
+ def each(&block); end
766
+ def not; end
767
+ def or(right); end
768
+ def to_sql(engine = nil); end
769
+ include Arel::FactoryMethods
770
+ include Enumerable
771
+ end
772
+ class Arel::Nodes::NodeExpression < Arel::Nodes::Node
773
+ include Arel::AliasPredication
774
+ include Arel::Expressions
775
+ include Arel::Math
776
+ include Arel::OrderPredications
777
+ include Arel::Predications
778
+ end
779
+ class Arel::Nodes::SelectStatement < Arel::Nodes::NodeExpression
780
+ def ==(other); end
781
+ def cores; end
782
+ def eql?(other); end
783
+ def hash; end
784
+ def initialize(cores = nil); end
785
+ def initialize_copy(other); end
786
+ def limit; end
787
+ def limit=(arg0); end
788
+ def lock; end
789
+ def lock=(arg0); end
790
+ def offset; end
791
+ def offset=(arg0); end
792
+ def orders; end
793
+ def orders=(arg0); end
794
+ def with; end
795
+ def with=(arg0); end
796
+ end
797
+ class Arel::Nodes::SelectCore < Arel::Nodes::Node
798
+ def ==(other); end
799
+ def comment; end
800
+ def comment=(arg0); end
801
+ def eql?(other); end
802
+ def from; end
803
+ def from=(value); end
804
+ def froms; end
805
+ def froms=(value); end
806
+ def groups; end
807
+ def groups=(arg0); end
808
+ def hash; end
809
+ def havings; end
810
+ def havings=(arg0); end
811
+ def initialize; end
812
+ def initialize_copy(other); end
813
+ def optimizer_hints; end
814
+ def optimizer_hints=(arg0); end
815
+ def projections; end
816
+ def projections=(arg0); end
817
+ def set_quantifier; end
818
+ def set_quantifier=(arg0); end
819
+ def source; end
820
+ def source=(arg0); end
821
+ def wheres; end
822
+ def wheres=(arg0); end
823
+ def windows; end
824
+ def windows=(arg0); end
825
+ end
826
+ class Arel::Nodes::InsertStatement < Arel::Nodes::Node
827
+ def ==(other); end
828
+ def columns; end
829
+ def columns=(arg0); end
830
+ def eql?(other); end
831
+ def hash; end
832
+ def initialize; end
833
+ def initialize_copy(other); end
834
+ def relation; end
835
+ def relation=(arg0); end
836
+ def select; end
837
+ def select=(arg0); end
838
+ def values; end
839
+ def values=(arg0); end
840
+ end
841
+ class Arel::Nodes::UpdateStatement < Arel::Nodes::Node
842
+ def ==(other); end
843
+ def eql?(other); end
844
+ def hash; end
845
+ def initialize; end
846
+ def initialize_copy(other); end
847
+ def key; end
848
+ def key=(arg0); end
849
+ def limit; end
850
+ def limit=(arg0); end
851
+ def offset; end
852
+ def offset=(arg0); end
853
+ def orders; end
854
+ def orders=(arg0); end
855
+ def relation; end
856
+ def relation=(arg0); end
857
+ def values; end
858
+ def values=(arg0); end
859
+ def wheres; end
860
+ def wheres=(arg0); end
861
+ end
862
+ class Arel::Nodes::BindParam < Arel::Nodes::Node
863
+ def ==(other); end
864
+ def eql?(other); end
865
+ def hash; end
866
+ def infinite?; end
867
+ def initialize(value); end
868
+ def nil?; end
869
+ def unboundable?; end
870
+ def value; end
871
+ end
872
+ class Arel::Nodes::Distinct < Arel::Nodes::NodeExpression
873
+ def ==(other); end
874
+ def eql?(other); end
875
+ def hash; end
876
+ end
877
+ class Arel::Nodes::True < Arel::Nodes::NodeExpression
878
+ def ==(other); end
879
+ def eql?(other); end
880
+ def hash; end
881
+ end
882
+ class Arel::Nodes::False < Arel::Nodes::NodeExpression
883
+ def ==(other); end
884
+ def eql?(other); end
885
+ def hash; end
886
+ end
887
+ class Arel::Nodes::Unary < Arel::Nodes::NodeExpression
888
+ def ==(other); end
889
+ def eql?(other); end
890
+ def expr; end
891
+ def expr=(arg0); end
892
+ def hash; end
893
+ def initialize(expr); end
894
+ def value; end
895
+ end
896
+ class Arel::Nodes::Bin < Arel::Nodes::Unary
897
+ end
898
+ class Arel::Nodes::Cube < Arel::Nodes::Unary
899
+ end
900
+ class Arel::Nodes::DistinctOn < Arel::Nodes::Unary
901
+ end
902
+ class Arel::Nodes::Group < Arel::Nodes::Unary
903
+ end
904
+ class Arel::Nodes::GroupingElement < Arel::Nodes::Unary
905
+ end
906
+ class Arel::Nodes::GroupingSet < Arel::Nodes::Unary
907
+ end
908
+ class Arel::Nodes::Lateral < Arel::Nodes::Unary
909
+ end
910
+ class Arel::Nodes::Limit < Arel::Nodes::Unary
911
+ end
912
+ class Arel::Nodes::Lock < Arel::Nodes::Unary
913
+ end
914
+ class Arel::Nodes::Not < Arel::Nodes::Unary
915
+ end
916
+ class Arel::Nodes::Offset < Arel::Nodes::Unary
917
+ end
918
+ class Arel::Nodes::On < Arel::Nodes::Unary
919
+ end
920
+ class Arel::Nodes::OptimizerHints < Arel::Nodes::Unary
921
+ end
922
+ class Arel::Nodes::Ordering < Arel::Nodes::Unary
923
+ end
924
+ class Arel::Nodes::RollUp < Arel::Nodes::Unary
925
+ end
926
+ class Arel::Nodes::Grouping < Arel::Nodes::Unary
927
+ end
928
+ class Arel::Nodes::Ascending < Arel::Nodes::Ordering
929
+ def ascending?; end
930
+ def descending?; end
931
+ def direction; end
932
+ def reverse; end
933
+ end
934
+ class Arel::Nodes::Descending < Arel::Nodes::Ordering
935
+ def ascending?; end
936
+ def descending?; end
937
+ def direction; end
938
+ def reverse; end
939
+ end
940
+ class Arel::Nodes::UnqualifiedColumn < Arel::Nodes::Unary
941
+ def attribute; end
942
+ def attribute=(arg0); end
943
+ def column; end
944
+ def name; end
945
+ def relation; end
946
+ end
947
+ class Arel::Nodes::With < Arel::Nodes::Unary
948
+ def children; end
949
+ end
950
+ class Arel::Nodes::WithRecursive < Arel::Nodes::With
951
+ end
952
+ class Arel::Nodes::Binary < Arel::Nodes::NodeExpression
953
+ def ==(other); end
954
+ def eql?(other); end
955
+ def hash; end
956
+ def initialize(left, right); end
957
+ def initialize_copy(other); end
958
+ def left; end
959
+ def left=(arg0); end
960
+ def right; end
961
+ def right=(arg0); end
962
+ end
963
+ class Arel::Nodes::As < Arel::Nodes::Binary
964
+ end
965
+ class Arel::Nodes::Assignment < Arel::Nodes::Binary
966
+ end
967
+ class Arel::Nodes::Between < Arel::Nodes::Binary
968
+ end
969
+ class Arel::Nodes::GreaterThan < Arel::Nodes::Binary
970
+ end
971
+ class Arel::Nodes::GreaterThanOrEqual < Arel::Nodes::Binary
972
+ end
973
+ class Arel::Nodes::Join < Arel::Nodes::Binary
974
+ end
975
+ class Arel::Nodes::LessThan < Arel::Nodes::Binary
976
+ end
977
+ class Arel::Nodes::LessThanOrEqual < Arel::Nodes::Binary
978
+ end
979
+ class Arel::Nodes::NotEqual < Arel::Nodes::Binary
980
+ end
981
+ class Arel::Nodes::NotIn < Arel::Nodes::Binary
982
+ end
983
+ class Arel::Nodes::Or < Arel::Nodes::Binary
984
+ end
985
+ class Arel::Nodes::Union < Arel::Nodes::Binary
986
+ end
987
+ class Arel::Nodes::UnionAll < Arel::Nodes::Binary
988
+ end
989
+ class Arel::Nodes::Intersect < Arel::Nodes::Binary
990
+ end
991
+ class Arel::Nodes::Except < Arel::Nodes::Binary
992
+ end
993
+ class Arel::Nodes::Equality < Arel::Nodes::Binary
994
+ def operand1; end
995
+ def operand2; end
996
+ def operator; end
997
+ end
998
+ class Arel::Nodes::IsDistinctFrom < Arel::Nodes::Equality
999
+ end
1000
+ class Arel::Nodes::IsNotDistinctFrom < Arel::Nodes::Equality
1001
+ end
1002
+ class Arel::Nodes::In < Arel::Nodes::Equality
1003
+ end
1004
+ class Arel::Nodes::JoinSource < Arel::Nodes::Binary
1005
+ def empty?; end
1006
+ def initialize(single_source, joinop = nil); end
1007
+ end
1008
+ class Arel::Nodes::DeleteStatement < Arel::Nodes::Node
1009
+ def ==(other); end
1010
+ def eql?(other); end
1011
+ def hash; end
1012
+ def initialize(relation = nil, wheres = nil); end
1013
+ def initialize_copy(other); end
1014
+ def key; end
1015
+ def key=(arg0); end
1016
+ def left; end
1017
+ def left=(arg0); end
1018
+ def limit; end
1019
+ def limit=(arg0); end
1020
+ def offset; end
1021
+ def offset=(arg0); end
1022
+ def orders; end
1023
+ def orders=(arg0); end
1024
+ def relation; end
1025
+ def relation=(arg0); end
1026
+ def right; end
1027
+ def right=(arg0); end
1028
+ def wheres; end
1029
+ def wheres=(arg0); end
1030
+ end
1031
+ class Arel::Nodes::TableAlias < Arel::Nodes::Binary
1032
+ def [](name); end
1033
+ def able_to_type_cast?; end
1034
+ def name; end
1035
+ def relation; end
1036
+ def table_alias; end
1037
+ def table_name; end
1038
+ def type_cast_for_database(*args); end
1039
+ end
1040
+ class Arel::Nodes::InfixOperation < Arel::Nodes::Binary
1041
+ def initialize(operator, left, right); end
1042
+ def operator; end
1043
+ include Arel::AliasPredication
1044
+ include Arel::Expressions
1045
+ include Arel::Math
1046
+ include Arel::OrderPredications
1047
+ include Arel::Predications
1048
+ end
1049
+ class Arel::Nodes::Multiplication < Arel::Nodes::InfixOperation
1050
+ def initialize(left, right); end
1051
+ end
1052
+ class Arel::Nodes::Division < Arel::Nodes::InfixOperation
1053
+ def initialize(left, right); end
1054
+ end
1055
+ class Arel::Nodes::Addition < Arel::Nodes::InfixOperation
1056
+ def initialize(left, right); end
1057
+ end
1058
+ class Arel::Nodes::Subtraction < Arel::Nodes::InfixOperation
1059
+ def initialize(left, right); end
1060
+ end
1061
+ class Arel::Nodes::Concat < Arel::Nodes::InfixOperation
1062
+ def initialize(left, right); end
1063
+ end
1064
+ class Arel::Nodes::BitwiseAnd < Arel::Nodes::InfixOperation
1065
+ def initialize(left, right); end
1066
+ end
1067
+ class Arel::Nodes::BitwiseOr < Arel::Nodes::InfixOperation
1068
+ def initialize(left, right); end
1069
+ end
1070
+ class Arel::Nodes::BitwiseXor < Arel::Nodes::InfixOperation
1071
+ def initialize(left, right); end
1072
+ end
1073
+ class Arel::Nodes::BitwiseShiftLeft < Arel::Nodes::InfixOperation
1074
+ def initialize(left, right); end
1075
+ end
1076
+ class Arel::Nodes::BitwiseShiftRight < Arel::Nodes::InfixOperation
1077
+ def initialize(left, right); end
1078
+ end
1079
+ class Arel::Nodes::UnaryOperation < Arel::Nodes::Unary
1080
+ def initialize(operator, operand); end
1081
+ def operator; end
1082
+ end
1083
+ class Arel::Nodes::BitwiseNot < Arel::Nodes::UnaryOperation
1084
+ def initialize(operand); end
1085
+ end
1086
+ class Arel::Nodes::Over < Arel::Nodes::Binary
1087
+ def initialize(left, right = nil); end
1088
+ def operator; end
1089
+ include Arel::AliasPredication
1090
+ end
1091
+ class Arel::Nodes::Matches < Arel::Nodes::Binary
1092
+ def case_sensitive; end
1093
+ def case_sensitive=(arg0); end
1094
+ def escape; end
1095
+ def initialize(left, right, escape = nil, case_sensitive = nil); end
1096
+ end
1097
+ class Arel::Nodes::DoesNotMatch < Arel::Nodes::Matches
1098
+ end
1099
+ class Arel::Nodes::Regexp < Arel::Nodes::Binary
1100
+ def case_sensitive; end
1101
+ def case_sensitive=(arg0); end
1102
+ def initialize(left, right, case_sensitive = nil); end
1103
+ end
1104
+ class Arel::Nodes::NotRegexp < Arel::Nodes::Regexp
1105
+ end
1106
+ class Arel::Nodes::And < Arel::Nodes::NodeExpression
1107
+ def ==(other); end
1108
+ def children; end
1109
+ def eql?(other); end
1110
+ def hash; end
1111
+ def initialize(children); end
1112
+ def left; end
1113
+ def right; end
1114
+ end
1115
+ class Arel::Nodes::Function < Arel::Nodes::NodeExpression
1116
+ def ==(other); end
1117
+ def alias; end
1118
+ def alias=(arg0); end
1119
+ def as(aliaz); end
1120
+ def distinct; end
1121
+ def distinct=(arg0); end
1122
+ def eql?(other); end
1123
+ def expressions; end
1124
+ def expressions=(arg0); end
1125
+ def hash; end
1126
+ def initialize(expr, aliaz = nil); end
1127
+ include Arel::WindowPredications
1128
+ end
1129
+ class Arel::Nodes::Sum < Arel::Nodes::Function
1130
+ end
1131
+ class Arel::Nodes::Exists < Arel::Nodes::Function
1132
+ end
1133
+ class Arel::Nodes::Max < Arel::Nodes::Function
1134
+ end
1135
+ class Arel::Nodes::Min < Arel::Nodes::Function
1136
+ end
1137
+ class Arel::Nodes::Avg < Arel::Nodes::Function
1138
+ end
1139
+ class Arel::Nodes::Count < Arel::Nodes::Function
1140
+ def initialize(expr, distinct = nil, aliaz = nil); end
1141
+ end
1142
+ class Arel::Nodes::Extract < Arel::Nodes::Unary
1143
+ def ==(other); end
1144
+ def eql?(other); end
1145
+ def field; end
1146
+ def field=(arg0); end
1147
+ def hash; end
1148
+ def initialize(expr, field); end
1149
+ end
1150
+ class Arel::Nodes::ValuesList < Arel::Nodes::Unary
1151
+ def rows; end
1152
+ end
1153
+ class Arel::Nodes::NamedFunction < Arel::Nodes::Function
1154
+ def ==(other); end
1155
+ def eql?(other); end
1156
+ def hash; end
1157
+ def initialize(name, expr, aliaz = nil); end
1158
+ def name; end
1159
+ def name=(arg0); end
1160
+ end
1161
+ class Arel::Nodes::Window < Arel::Nodes::Node
1162
+ def ==(other); end
1163
+ def eql?(other); end
1164
+ def frame(expr); end
1165
+ def framing; end
1166
+ def framing=(arg0); end
1167
+ def hash; end
1168
+ def initialize; end
1169
+ def initialize_copy(other); end
1170
+ def order(*expr); end
1171
+ def orders; end
1172
+ def orders=(arg0); end
1173
+ def partition(*expr); end
1174
+ def partitions; end
1175
+ def partitions=(arg0); end
1176
+ def range(expr = nil); end
1177
+ def rows(expr = nil); end
1178
+ end
1179
+ class Arel::Nodes::NamedWindow < Arel::Nodes::Window
1180
+ def ==(other); end
1181
+ def eql?(other); end
1182
+ def hash; end
1183
+ def initialize(name); end
1184
+ def initialize_copy(other); end
1185
+ def name; end
1186
+ def name=(arg0); end
1187
+ end
1188
+ class Arel::Nodes::Rows < Arel::Nodes::Unary
1189
+ def initialize(expr = nil); end
1190
+ end
1191
+ class Arel::Nodes::Range < Arel::Nodes::Unary
1192
+ def initialize(expr = nil); end
1193
+ end
1194
+ class Arel::Nodes::CurrentRow < Arel::Nodes::Node
1195
+ def ==(other); end
1196
+ def eql?(other); end
1197
+ def hash; end
1198
+ end
1199
+ class Arel::Nodes::Preceding < Arel::Nodes::Unary
1200
+ def initialize(expr = nil); end
1201
+ end
1202
+ class Arel::Nodes::Following < Arel::Nodes::Unary
1203
+ def initialize(expr = nil); end
1204
+ end
1205
+ class Arel::Nodes::Case < Arel::Nodes::NodeExpression
1206
+ def ==(other); end
1207
+ def case; end
1208
+ def case=(arg0); end
1209
+ def conditions; end
1210
+ def conditions=(arg0); end
1211
+ def default; end
1212
+ def default=(arg0); end
1213
+ def else(expression); end
1214
+ def eql?(other); end
1215
+ def hash; end
1216
+ def initialize(expression = nil, default = nil); end
1217
+ def initialize_copy(other); end
1218
+ def then(expression); end
1219
+ def when(condition, expression = nil); end
1220
+ end
1221
+ class Arel::Nodes::When < Arel::Nodes::Binary
1222
+ end
1223
+ class Arel::Nodes::Else < Arel::Nodes::Unary
1224
+ end
1225
+ class Arel::Nodes::FullOuterJoin < Arel::Nodes::Join
1226
+ end
1227
+ class Arel::Nodes::InnerJoin < Arel::Nodes::Join
1228
+ end
1229
+ class Arel::Nodes::OuterJoin < Arel::Nodes::Join
1230
+ end
1231
+ class Arel::Nodes::RightOuterJoin < Arel::Nodes::Join
1232
+ end
1233
+ class Arel::Nodes::StringJoin < Arel::Nodes::Join
1234
+ def initialize(left, right = nil); end
1235
+ end
1236
+ class Arel::Nodes::Comment < Arel::Nodes::Node
1237
+ def ==(other); end
1238
+ def eql?(other); end
1239
+ def hash; end
1240
+ def initialize(values); end
1241
+ def initialize_copy(other); end
1242
+ def values; end
1243
+ end
1244
+ class Arel::Nodes::SqlLiteral < String
1245
+ def encode_with(coder); end
1246
+ include Arel::AliasPredication
1247
+ include Arel::Expressions
1248
+ include Arel::OrderPredications
1249
+ include Arel::Predications
1250
+ end
1251
+ class Arel::Nodes::Casted < Arel::Nodes::NodeExpression
1252
+ def ==(other); end
1253
+ def attribute; end
1254
+ def eql?(other); end
1255
+ def hash; end
1256
+ def initialize(val, attribute); end
1257
+ def nil?; end
1258
+ def val; end
1259
+ end
1260
+ class Arel::Nodes::Quoted < Arel::Nodes::Unary
1261
+ def infinite?; end
1262
+ def nil?; end
1263
+ def val; end
1264
+ end
1265
+ module ActiveRecord
1266
+ def self.eager_load!; end
1267
+ def self.gem_version; end
1268
+ def self.version; end
1269
+ extend ActiveSupport::Autoload
1270
+ end
1271
+ module ActiveRecord::VERSION
1272
+ end
1273
+ module ActiveRecord::AttributeMethods
1274
+ def [](attr_name); end
1275
+ def []=(attr_name, value); end
1276
+ def accessed_fields; end
1277
+ def attribute_for_inspect(attr_name); end
1278
+ def attribute_method?(attr_name); end
1279
+ def attribute_names; end
1280
+ def attribute_present?(attribute); end
1281
+ def attributes; end
1282
+ def attributes_for_create(attribute_names); end
1283
+ def attributes_for_update(attribute_names); end
1284
+ def attributes_with_values(attribute_names); end
1285
+ def format_for_inspect(value); end
1286
+ def has_attribute?(attr_name); end
1287
+ def pk_attribute?(name); end
1288
+ def readonly_attribute?(name); end
1289
+ def respond_to?(name, include_private = nil); end
1290
+ extend ActiveSupport::Autoload
1291
+ extend ActiveSupport::Concern
1292
+ include ActiveModel::AttributeMethods
1293
+ end
1294
+ class ActiveRecord::AttributeMethods::GeneratedAttributeMethods < Module
1295
+ def lock; end
1296
+ def locked?; end
1297
+ def synchronize(&block); end
1298
+ def try_lock; end
1299
+ def unlock; end
1300
+ include Mutex_m
1301
+ end
1302
+ module ActiveRecord::AttributeMethods::ClassMethods
1303
+ def attribute_method?(attribute); end
1304
+ def attribute_names; end
1305
+ def class_method_defined_within?(name, klass, superklass = nil); end
1306
+ def column_for_attribute(name); end
1307
+ def dangerous_attribute_method?(name); end
1308
+ def dangerous_class_method?(method_name); end
1309
+ def define_attribute_methods; end
1310
+ def has_attribute?(attr_name); end
1311
+ def inherited(child_class); end
1312
+ def initialize_generated_modules; end
1313
+ def instance_method_already_implemented?(method_name); end
1314
+ def method_defined_within?(name, klass, superklass = nil); end
1315
+ def undefine_attribute_methods; end
1316
+ end
1317
+ module ActiveRecord::ConnectionAdapters
1318
+ extend ActiveSupport::Autoload
1319
+ extend ActiveSupport::Autoload
1320
+ end
1321
+ module ActiveRecord::ConnectionAdapters::DetermineIfPreparableVisitor
1322
+ def accept(object, collector); end
1323
+ def preparable; end
1324
+ def preparable=(arg0); end
1325
+ def visit_Arel_Nodes_In(o, collector); end
1326
+ def visit_Arel_Nodes_NotIn(o, collector); end
1327
+ def visit_Arel_Nodes_SqlLiteral(o, collector); end
1328
+ end
1329
+ class ActiveRecord::ConnectionAdapters::SchemaCache
1330
+ def add(table_name); end
1331
+ def clear!; end
1332
+ def clear_data_source_cache!(name); end
1333
+ def columns(table_name); end
1334
+ def columns_hash(table_name); end
1335
+ def columns_hash?(table_name); end
1336
+ def connection; end
1337
+ def connection=(arg0); end
1338
+ def data_source_exists?(name); end
1339
+ def data_sources(name); end
1340
+ def database_version; end
1341
+ def encode_with(coder); end
1342
+ def indexes(table_name); end
1343
+ def init_with(coder); end
1344
+ def initialize(conn); end
1345
+ def initialize_dup(other); end
1346
+ def marshal_dump; end
1347
+ def marshal_load(array); end
1348
+ def prepare_data_sources; end
1349
+ def primary_keys(table_name); end
1350
+ def size; end
1351
+ def version; end
1352
+ end
1353
+ class ActiveRecord::ConnectionAdapters::SqlTypeMetadata
1354
+ def ==(other); end
1355
+ def eql?(other); end
1356
+ def hash; end
1357
+ def initialize(sql_type: nil, type: nil, limit: nil, precision: nil, scale: nil); end
1358
+ def limit; end
1359
+ def precision; end
1360
+ def scale; end
1361
+ def sql_type; end
1362
+ def type; end
1363
+ end
1364
+ class ActiveRecord::SchemaDumper
1365
+ def define_params; end
1366
+ def dump(stream); end
1367
+ def extensions(stream); end
1368
+ def fk_ignore_pattern; end
1369
+ def fk_ignore_pattern=(obj); end
1370
+ def foreign_keys(table, stream); end
1371
+ def format_colspec(colspec); end
1372
+ def format_index_parts(options); end
1373
+ def format_options(options); end
1374
+ def formatted_version; end
1375
+ def header(stream); end
1376
+ def ignore_tables; end
1377
+ def ignore_tables=(obj); end
1378
+ def ignored?(table_name); end
1379
+ def index_parts(index); end
1380
+ def indexes(table, stream); end
1381
+ def indexes_in_create(table, stream); end
1382
+ def initialize(connection, options = nil); end
1383
+ def remove_prefix_and_suffix(table); end
1384
+ def self.dump(connection = nil, stream = nil, config = nil); end
1385
+ def self.fk_ignore_pattern; end
1386
+ def self.fk_ignore_pattern=(obj); end
1387
+ def self.generate_options(config); end
1388
+ def self.ignore_tables; end
1389
+ def self.ignore_tables=(obj); end
1390
+ def self.new(*arg0); end
1391
+ def table(table, stream); end
1392
+ def table_name; end
1393
+ def table_name=(arg0); end
1394
+ def tables(stream); end
1395
+ def trailer(stream); end
1396
+ end
1397
+ class ActiveRecord::ConnectionAdapters::SchemaDumper < ActiveRecord::SchemaDumper
1398
+ def column_spec(column); end
1399
+ def column_spec_for_primary_key(column); end
1400
+ def default_primary_key?(column); end
1401
+ def explicit_primary_key_default?(column); end
1402
+ def prepare_column_options(column); end
1403
+ def schema_collation(column); end
1404
+ def schema_default(column); end
1405
+ def schema_expression(column); end
1406
+ def schema_limit(column); end
1407
+ def schema_precision(column); end
1408
+ def schema_scale(column); end
1409
+ def schema_type(column); end
1410
+ def schema_type_with_virtual(column); end
1411
+ def self.create(connection, options); end
1412
+ end
1413
+ class ActiveRecord::ConnectionAdapters::AbstractAdapter
1414
+ def __callbacks; end
1415
+ def __callbacks?; end
1416
+ def _checkin_callbacks; end
1417
+ def _checkout_callbacks; end
1418
+ def _run_checkin_callbacks(&block); end
1419
+ def _run_checkout_callbacks(&block); end
1420
+ def active?; end
1421
+ def adapter_name; end
1422
+ def advisory_locks_enabled?; end
1423
+ def arel_visitor; end
1424
+ def build_insert_sql(insert); end
1425
+ def build_statement_pool; end
1426
+ def can_perform_case_insensitive_comparison_for?(column); end
1427
+ def case_insensitive_comparison(attribute, value); end
1428
+ def case_sensitive_comparison(attribute, value); end
1429
+ def check_version; end
1430
+ def clear_cache!; end
1431
+ def close; end
1432
+ def collector; end
1433
+ def column_for(table_name, column_name); end
1434
+ def column_for_attribute(attribute); end
1435
+ def column_name_for_operation(operation, node); end
1436
+ def database_version; end
1437
+ def default_index_type?(index); end
1438
+ def default_uniqueness_comparison(attribute, value, klass); end
1439
+ def delete(*arg0); end
1440
+ def disable_extension(name); end
1441
+ def disable_referential_integrity; end
1442
+ def discard!; end
1443
+ def disconnect!; end
1444
+ def enable_extension(name); end
1445
+ def exec_insert_all(*arg0); end
1446
+ def expire; end
1447
+ def extensions; end
1448
+ def extract_limit(sql_type); end
1449
+ def extract_precision(sql_type); end
1450
+ def extract_scale(sql_type); end
1451
+ def get_advisory_lock(lock_id); end
1452
+ def get_database_version; end
1453
+ def in_use?; end
1454
+ def index_algorithms; end
1455
+ def initialize(connection, logger = nil, config = nil); end
1456
+ def initialize_type_map(m = nil); end
1457
+ def insert(*arg0); end
1458
+ def lease; end
1459
+ def lock; end
1460
+ def log(sql, name = nil, binds = nil, type_casted_binds = nil, statement_name = nil); end
1461
+ def logger; end
1462
+ def migration_context; end
1463
+ def migrations_paths; end
1464
+ def owner; end
1465
+ def pool; end
1466
+ def pool=(arg0); end
1467
+ def prefetch_primary_key?(table_name = nil); end
1468
+ def prepared_statements; end
1469
+ def prepared_statements_disabled_cache; end
1470
+ def preventing_writes?; end
1471
+ def raw_connection; end
1472
+ def reconnect!; end
1473
+ def register_class_with_limit(mapping, key, klass); end
1474
+ def register_class_with_precision(mapping, key, klass); end
1475
+ def release_advisory_lock(lock_id); end
1476
+ def reload_type_map; end
1477
+ def replica?; end
1478
+ def requires_reloading?; end
1479
+ def reset!; end
1480
+ def rollback_db_transaction(*arg0); end
1481
+ def rollback_to_savepoint(*arg0); end
1482
+ def schema_cache; end
1483
+ def schema_cache=(cache); end
1484
+ def schema_migration; end
1485
+ def seconds_idle; end
1486
+ def self.__callbacks; end
1487
+ def self.__callbacks=(val); end
1488
+ def self.__callbacks?; end
1489
+ def self._checkin_callbacks; end
1490
+ def self._checkin_callbacks=(value); end
1491
+ def self._checkout_callbacks; end
1492
+ def self._checkout_callbacks=(value); end
1493
+ def self.build_read_query_regexp(*parts); end
1494
+ def self.database_exists?(config); end
1495
+ def self.quoted_column_names; end
1496
+ def self.quoted_table_names; end
1497
+ def self.type_cast_config_to_boolean(config); end
1498
+ def self.type_cast_config_to_integer(config); end
1499
+ def steal!; end
1500
+ def supports_advisory_locks?; end
1501
+ def supports_bulk_alter?; end
1502
+ def supports_comments?; end
1503
+ def supports_comments_in_create?; end
1504
+ def supports_common_table_expressions?; end
1505
+ def supports_datetime_with_precision?; end
1506
+ def supports_ddl_transactions?; end
1507
+ def supports_explain?; end
1508
+ def supports_expression_index?; end
1509
+ def supports_extensions?; end
1510
+ def supports_foreign_keys?; end
1511
+ def supports_foreign_keys_in_create?(*args, &block); end
1512
+ def supports_foreign_tables?; end
1513
+ def supports_index_sort_order?; end
1514
+ def supports_indexes_in_create?; end
1515
+ def supports_insert_conflict_target?; end
1516
+ def supports_insert_on_duplicate_skip?; end
1517
+ def supports_insert_on_duplicate_update?; end
1518
+ def supports_insert_returning?; end
1519
+ def supports_json?; end
1520
+ def supports_lazy_transactions?; end
1521
+ def supports_materialized_views?; end
1522
+ def supports_multi_insert?(*args, &block); end
1523
+ def supports_optimizer_hints?; end
1524
+ def supports_partial_index?; end
1525
+ def supports_savepoints?; end
1526
+ def supports_transaction_isolation?; end
1527
+ def supports_validate_constraints?; end
1528
+ def supports_views?; end
1529
+ def supports_virtual_columns?; end
1530
+ def translate_exception(exception, message:, sql:, binds:); end
1531
+ def translate_exception_class(e, sql, binds); end
1532
+ def truncate(*arg0); end
1533
+ def truncate_tables(*arg0); end
1534
+ def type_map; end
1535
+ def unprepared_statement; end
1536
+ def update(*arg0); end
1537
+ def valid_type?(type); end
1538
+ def verify!; end
1539
+ def visitor; end
1540
+ def without_prepared_statement?(binds); end
1541
+ extend ActiveSupport::Callbacks::ClassMethods
1542
+ extend ActiveSupport::DescendantsTracker
1543
+ include ActiveRecord::ConnectionAdapters::DatabaseLimits
1544
+ include ActiveRecord::ConnectionAdapters::QueryCache
1545
+ include ActiveRecord::ConnectionAdapters::Quoting
1546
+ include ActiveRecord::ConnectionAdapters::Savepoints
1547
+ include ActiveSupport::Callbacks
1548
+ end
1549
+ class ActiveRecord::ConnectionAdapters::AbstractAdapter::SchemaCreation
1550
+ def accept(o); end
1551
+ def action_sql(action, dependency); end
1552
+ def add_column_options!(sql, options); end
1553
+ def add_table_options!(create_sql, options); end
1554
+ def column_options(o); end
1555
+ def foreign_key_in_create(from_table, to_table, options); end
1556
+ def foreign_key_options(*args, &block); end
1557
+ def initialize(conn); end
1558
+ def options_include_default?(*args, &block); end
1559
+ def quote_column_name(*args, &block); end
1560
+ def quote_default_expression(*args, &block); end
1561
+ def quote_table_name(*args, &block); end
1562
+ def supports_foreign_keys?(*args, &block); end
1563
+ def supports_indexes_in_create?(*args, &block); end
1564
+ def table_modifier_in_create(o); end
1565
+ def table_options(o); end
1566
+ def to_sql(sql); end
1567
+ def type_to_sql(*args, &block); end
1568
+ def visit_AddColumnDefinition(o); end
1569
+ def visit_AddForeignKey(o); end
1570
+ def visit_AlterTable(o); end
1571
+ def visit_ColumnDefinition(o); end
1572
+ def visit_DropForeignKey(name); end
1573
+ def visit_ForeignKeyDefinition(o); end
1574
+ def visit_PrimaryKeyDefinition(o); end
1575
+ def visit_TableDefinition(o); end
1576
+ end
1577
+ class Arel::Collectors::Bind
1578
+ def <<(str); end
1579
+ def add_bind(bind); end
1580
+ def initialize; end
1581
+ def value; end
1582
+ end
1583
+ class Arel::Collectors::Composite
1584
+ def <<(str); end
1585
+ def add_bind(bind, &block); end
1586
+ def initialize(left, right); end
1587
+ def left; end
1588
+ def right; end
1589
+ def value; end
1590
+ end
1591
+ class Arel::Collectors::SubstituteBinds
1592
+ def <<(str); end
1593
+ def add_bind(bind); end
1594
+ def delegate; end
1595
+ def initialize(quoter, delegate_collector); end
1596
+ def quoter; end
1597
+ def value; end
1598
+ end
1599
+ module ActiveRecord::ConnectionAdapters::Quoting
1600
+ def _quote(value); end
1601
+ def _type_cast(value); end
1602
+ def column_name_matcher; end
1603
+ def column_name_with_order_matcher; end
1604
+ def id_value_for_database(value); end
1605
+ def lookup_cast_type(sql_type); end
1606
+ def lookup_cast_type_from_column(column); end
1607
+ def quote(value); end
1608
+ def quote_column_name(column_name); end
1609
+ def quote_default_expression(value, column); end
1610
+ def quote_string(s); end
1611
+ def quote_table_name(table_name); end
1612
+ def quote_table_name_for_assignment(table, attr); end
1613
+ def quoted_binary(value); end
1614
+ def quoted_date(value); end
1615
+ def quoted_false; end
1616
+ def quoted_time(value); end
1617
+ def quoted_true; end
1618
+ def sanitize_as_sql_comment(value); end
1619
+ def type_cast(value, column = nil); end
1620
+ def type_cast_from_column(column, value); end
1621
+ def type_casted_binds(binds); end
1622
+ def unquoted_false; end
1623
+ def unquoted_true; end
1624
+ end
1625
+ module ActiveRecord::ConnectionAdapters::DatabaseStatements
1626
+ def add_transaction_record(record); end
1627
+ def arel_from_relation(relation); end
1628
+ def begin_db_transaction; end
1629
+ def begin_isolated_db_transaction(isolation); end
1630
+ def begin_transaction(*args, &block); end
1631
+ def build_fixture_sql(fixtures, table_name); end
1632
+ def build_fixture_statements(fixture_set); end
1633
+ def build_truncate_statements(*table_names); end
1634
+ def cacheable_query(klass, arel); end
1635
+ def combine_multi_statements(total_sql); end
1636
+ def commit_db_transaction; end
1637
+ def commit_transaction(*args, &block); end
1638
+ def create(arel, name = nil, pk = nil, id_value = nil, sequence_name = nil, binds = nil); end
1639
+ def current_transaction(*args, &block); end
1640
+ def default_insert_value(column); end
1641
+ def default_sequence_name(table, column); end
1642
+ def delete(arel, name = nil, binds = nil); end
1643
+ def disable_lazy_transactions!(*args, &block); end
1644
+ def empty_insert_statement_value(primary_key = nil); end
1645
+ def enable_lazy_transactions!(*args, &block); end
1646
+ def exec_delete(sql, name = nil, binds = nil); end
1647
+ def exec_insert(sql, name = nil, binds = nil, pk = nil, sequence_name = nil); end
1648
+ def exec_insert_all(sql, name); end
1649
+ def exec_query(sql, name = nil, binds = nil, prepare: nil); end
1650
+ def exec_rollback_db_transaction; end
1651
+ def exec_update(sql, name = nil, binds = nil); end
1652
+ def execute(sql, name = nil); end
1653
+ def execute_batch(sql, name = nil); end
1654
+ def initialize; end
1655
+ def insert(arel, name = nil, pk = nil, id_value = nil, sequence_name = nil, binds = nil); end
1656
+ def insert_fixture(fixture, table_name); end
1657
+ def insert_fixtures_set(fixture_set, tables_to_delete = nil); end
1658
+ def last_inserted_id(result); end
1659
+ def materialize_transactions(*args, &block); end
1660
+ def open_transactions(*args, &block); end
1661
+ def query(sql, name = nil); end
1662
+ def query_value(sql, name = nil); end
1663
+ def query_values(sql, name = nil); end
1664
+ def reset_sequence!(table, column, sequence = nil); end
1665
+ def reset_transaction; end
1666
+ def rollback_db_transaction; end
1667
+ def rollback_to_savepoint(name = nil); end
1668
+ def rollback_transaction(*args, &block); end
1669
+ def sanitize_limit(limit); end
1670
+ def select(sql, name = nil, binds = nil); end
1671
+ def select_all(arel, name = nil, binds = nil, preparable: nil); end
1672
+ def select_one(arel, name = nil, binds = nil); end
1673
+ def select_prepared(sql, name = nil, binds = nil); end
1674
+ def select_rows(arel, name = nil, binds = nil); end
1675
+ def select_value(arel, name = nil, binds = nil); end
1676
+ def select_values(arel, name = nil, binds = nil); end
1677
+ def single_value_from_rows(rows); end
1678
+ def sql_for_insert(sql, pk, binds); end
1679
+ def to_sql(arel_or_sql_string, binds = nil); end
1680
+ def to_sql_and_binds(arel_or_sql_string, binds = nil); end
1681
+ def transaction(requires_new: nil, isolation: nil, joinable: nil); end
1682
+ def transaction_isolation_levels; end
1683
+ def transaction_manager; end
1684
+ def transaction_open?; end
1685
+ def transaction_state; end
1686
+ def truncate(table_name, name = nil); end
1687
+ def truncate_tables(*table_names); end
1688
+ def update(arel, name = nil, binds = nil); end
1689
+ def with_multi_statements; end
1690
+ def with_yaml_fallback(value); end
1691
+ def within_new_transaction(*args, &block); end
1692
+ def write_query?(sql); end
1693
+ end
1694
+ class ActiveRecord::ActiveRecordError < StandardError
1695
+ end
1696
+ class ActiveRecord::SubclassNotFound < ActiveRecord::ActiveRecordError
1697
+ end
1698
+ class ActiveRecord::AssociationTypeMismatch < ActiveRecord::ActiveRecordError
1699
+ end
1700
+ class ActiveRecord::SerializationTypeMismatch < ActiveRecord::ActiveRecordError
1701
+ end
1702
+ class ActiveRecord::AdapterNotSpecified < ActiveRecord::ActiveRecordError
1703
+ end
1704
+ class ActiveRecord::AdapterNotFound < ActiveRecord::ActiveRecordError
1705
+ end
1706
+ class ActiveRecord::ConnectionNotEstablished < ActiveRecord::ActiveRecordError
1707
+ end
1708
+ class ActiveRecord::ReadOnlyError < ActiveRecord::ActiveRecordError
1709
+ end
1710
+ class ActiveRecord::RecordNotFound < ActiveRecord::ActiveRecordError
1711
+ def id; end
1712
+ def initialize(message = nil, model = nil, primary_key = nil, id = nil); end
1713
+ def model; end
1714
+ def primary_key; end
1715
+ end
1716
+ class ActiveRecord::RecordNotSaved < ActiveRecord::ActiveRecordError
1717
+ def initialize(message = nil, record = nil); end
1718
+ def record; end
1719
+ end
1720
+ class ActiveRecord::RecordNotDestroyed < ActiveRecord::ActiveRecordError
1721
+ def initialize(message = nil, record = nil); end
1722
+ def record; end
1723
+ end
1724
+ class ActiveRecord::StatementInvalid < ActiveRecord::ActiveRecordError
1725
+ def binds; end
1726
+ def initialize(message = nil, sql: nil, binds: nil); end
1727
+ def sql; end
1728
+ end
1729
+ class ActiveRecord::WrappedDatabaseException < ActiveRecord::StatementInvalid
1730
+ end
1731
+ class ActiveRecord::RecordNotUnique < ActiveRecord::WrappedDatabaseException
1732
+ end
1733
+ class ActiveRecord::InvalidForeignKey < ActiveRecord::WrappedDatabaseException
1734
+ end
1735
+ class ActiveRecord::MismatchedForeignKey < ActiveRecord::StatementInvalid
1736
+ def initialize(message: nil, sql: nil, binds: nil, table: nil, foreign_key: nil, target_table: nil, primary_key: nil, primary_key_column: nil); end
1737
+ end
1738
+ class ActiveRecord::NotNullViolation < ActiveRecord::StatementInvalid
1739
+ end
1740
+ class ActiveRecord::ValueTooLong < ActiveRecord::StatementInvalid
1741
+ end
1742
+ class ActiveRecord::RangeError < ActiveRecord::StatementInvalid
1743
+ end
1744
+ class ActiveRecord::PreparedStatementInvalid < ActiveRecord::ActiveRecordError
1745
+ end
1746
+ class ActiveRecord::NoDatabaseError < ActiveRecord::StatementInvalid
1747
+ end
1748
+ class ActiveRecord::PreparedStatementCacheExpired < ActiveRecord::StatementInvalid
1749
+ end
1750
+ class ActiveRecord::StaleObjectError < ActiveRecord::ActiveRecordError
1751
+ def attempted_action; end
1752
+ def initialize(record = nil, attempted_action = nil); end
1753
+ def record; end
1754
+ end
1755
+ class ActiveRecord::ConfigurationError < ActiveRecord::ActiveRecordError
1756
+ end
1757
+ class ActiveRecord::ReadOnlyRecord < ActiveRecord::ActiveRecordError
1758
+ end
1759
+ class ActiveRecord::Rollback < ActiveRecord::ActiveRecordError
1760
+ end
1761
+ class ActiveRecord::DangerousAttributeError < ActiveRecord::ActiveRecordError
1762
+ end
1763
+ class ActiveRecord::AttributeAssignmentError < ActiveRecord::ActiveRecordError
1764
+ def attribute; end
1765
+ def exception; end
1766
+ def initialize(message = nil, exception = nil, attribute = nil); end
1767
+ end
1768
+ class ActiveRecord::MultiparameterAssignmentErrors < ActiveRecord::ActiveRecordError
1769
+ def errors; end
1770
+ def initialize(errors = nil); end
1771
+ end
1772
+ class ActiveRecord::UnknownPrimaryKey < ActiveRecord::ActiveRecordError
1773
+ def initialize(model = nil, description = nil); end
1774
+ def model; end
1775
+ end
1776
+ class ActiveRecord::ImmutableRelation < ActiveRecord::ActiveRecordError
1777
+ end
1778
+ class ActiveRecord::TransactionIsolationError < ActiveRecord::ActiveRecordError
1779
+ end
1780
+ class ActiveRecord::TransactionRollbackError < ActiveRecord::StatementInvalid
1781
+ end
1782
+ class ActiveRecord::SerializationFailure < ActiveRecord::TransactionRollbackError
1783
+ end
1784
+ class ActiveRecord::Deadlocked < ActiveRecord::TransactionRollbackError
1785
+ end
1786
+ class ActiveRecord::IrreversibleOrderError < ActiveRecord::ActiveRecordError
1787
+ end
1788
+ class ActiveRecord::LockWaitTimeout < ActiveRecord::StatementInvalid
1789
+ end
1790
+ class ActiveRecord::StatementTimeout < ActiveRecord::StatementInvalid
1791
+ end
1792
+ class ActiveRecord::QueryCanceled < ActiveRecord::StatementInvalid
1793
+ end
1794
+ class ActiveRecord::UnknownAttributeReference < ActiveRecord::ActiveRecordError
1795
+ end
1796
+ class ActiveRecord::MigrationError < ActiveRecord::ActiveRecordError
1797
+ def initialize(message = nil); end
1798
+ end
1799
+ class ActiveRecord::IrreversibleMigration < ActiveRecord::MigrationError
1800
+ end
1801
+ class ActiveRecord::DuplicateMigrationVersionError < ActiveRecord::MigrationError
1802
+ def initialize(version = nil); end
1803
+ end
1804
+ class ActiveRecord::DuplicateMigrationNameError < ActiveRecord::MigrationError
1805
+ def initialize(name = nil); end
1806
+ end
1807
+ class ActiveRecord::UnknownMigrationVersionError < ActiveRecord::MigrationError
1808
+ def initialize(version = nil); end
1809
+ end
1810
+ class ActiveRecord::IllegalMigrationNameError < ActiveRecord::MigrationError
1811
+ def initialize(name = nil); end
1812
+ end
1813
+ class ActiveRecord::PendingMigrationError < ActiveRecord::MigrationError
1814
+ def _actions; end
1815
+ def _actions=(val); end
1816
+ def _actions?; end
1817
+ def initialize(message = nil); end
1818
+ def self._actions; end
1819
+ def self._actions=(val); end
1820
+ def self._actions?; end
1821
+ extend ActiveSupport::ActionableError::ClassMethods
1822
+ include ActiveSupport::ActionableError
1823
+ end
1824
+ class ActiveRecord::ConcurrentMigrationError < ActiveRecord::MigrationError
1825
+ def initialize(message = nil); end
1826
+ end
1827
+ class ActiveRecord::NoEnvironmentInSchemaError < ActiveRecord::MigrationError
1828
+ def initialize; end
1829
+ end
1830
+ class ActiveRecord::ProtectedEnvironmentError < ActiveRecord::ActiveRecordError
1831
+ def initialize(env = nil); end
1832
+ end
1833
+ class ActiveRecord::EnvironmentMismatchError < ActiveRecord::ActiveRecordError
1834
+ def initialize(current: nil, stored: nil); end
1835
+ end
1836
+ class ActiveRecord::Migration
1837
+ def announce(message); end
1838
+ def command_recorder; end
1839
+ def connection; end
1840
+ def copy(destination, sources, options = nil); end
1841
+ def disable_ddl_transaction; end
1842
+ def down; end
1843
+ def exec_migration(conn, direction); end
1844
+ def execute_block; end
1845
+ def initialize(name = nil, version = nil); end
1846
+ def method_missing(method, *arguments, &block); end
1847
+ def migrate(direction); end
1848
+ def name; end
1849
+ def name=(arg0); end
1850
+ def next_migration_number(number); end
1851
+ def proper_table_name(name, options = nil); end
1852
+ def reversible; end
1853
+ def revert(*migration_classes); end
1854
+ def reverting?; end
1855
+ def run(*migration_classes); end
1856
+ def say(message, subitem = nil); end
1857
+ def say_with_time(message); end
1858
+ def self.[](version); end
1859
+ def self.check_pending!(connection = nil); end
1860
+ def self.current_version; end
1861
+ def self.delegate; end
1862
+ def self.delegate=(arg0); end
1863
+ def self.disable_ddl_transaction!; end
1864
+ def self.disable_ddl_transaction; end
1865
+ def self.disable_ddl_transaction=(arg0); end
1866
+ def self.inherited(subclass); end
1867
+ def self.load_schema_if_pending!; end
1868
+ def self.maintain_test_schema!; end
1869
+ def self.method_missing(name, *args, &block); end
1870
+ def self.migrate(direction); end
1871
+ def self.nearest_delegate; end
1872
+ def self.verbose; end
1873
+ def self.verbose=(obj); end
1874
+ def suppress_messages; end
1875
+ def table_name_options(config = nil); end
1876
+ def up; end
1877
+ def up_only; end
1878
+ def verbose; end
1879
+ def verbose=(obj); end
1880
+ def version; end
1881
+ def version=(arg0); end
1882
+ def write(text = nil); end
1883
+ end
1884
+ class ActiveRecord::Migration::Current < ActiveRecord::Migration
1885
+ end
1886
+ class ActiveRecord::Migration::CheckPending
1887
+ def call(env); end
1888
+ def connection; end
1889
+ def initialize(app); end
1890
+ end
1891
+ class ActiveRecord::Migration::ReversibleBlockHelper < Struct
1892
+ def down; end
1893
+ def reverting; end
1894
+ def reverting=(_); end
1895
+ def self.[](*arg0); end
1896
+ def self.inspect; end
1897
+ def self.members; end
1898
+ def self.new(*arg0); end
1899
+ def up; end
1900
+ end
1901
+ class ActiveRecord::MigrationProxy < Struct
1902
+ def announce(*args, &block); end
1903
+ def basename; end
1904
+ def disable_ddl_transaction(*args, &block); end
1905
+ def filename; end
1906
+ def filename=(_); end
1907
+ def initialize(name, version, filename, scope); end
1908
+ def load_migration; end
1909
+ def migrate(*args, &block); end
1910
+ def migration; end
1911
+ def mtime; end
1912
+ def name; end
1913
+ def name=(_); end
1914
+ def scope; end
1915
+ def scope=(_); end
1916
+ def self.[](*arg0); end
1917
+ def self.inspect; end
1918
+ def self.members; end
1919
+ def self.new(*arg0); end
1920
+ def version; end
1921
+ def version=(_); end
1922
+ def write(*args, &block); end
1923
+ end
1924
+ class ActiveRecord::NullMigration < ActiveRecord::MigrationProxy
1925
+ def initialize; end
1926
+ def mtime; end
1927
+ end
1928
+ class ActiveRecord::MigrationContext
1929
+ def any_migrations?; end
1930
+ def current_environment; end
1931
+ def current_version; end
1932
+ def down(target_version = nil); end
1933
+ def forward(steps = nil); end
1934
+ def get_all_versions; end
1935
+ def initialize(migrations_paths, schema_migration); end
1936
+ def last_migration; end
1937
+ def last_stored_environment; end
1938
+ def migrate(target_version = nil, &block); end
1939
+ def migration_files; end
1940
+ def migrations; end
1941
+ def migrations_paths; end
1942
+ def migrations_status; end
1943
+ def move(direction, steps); end
1944
+ def needs_migration?; end
1945
+ def open; end
1946
+ def parse_migration_filename(filename); end
1947
+ def protected_environment?; end
1948
+ def rollback(steps = nil); end
1949
+ def run(direction, target_version); end
1950
+ def schema_migration; end
1951
+ def up(target_version = nil); end
1952
+ end
1953
+ class ActiveRecord::Migrator
1954
+ def current; end
1955
+ def current_migration; end
1956
+ def current_version; end
1957
+ def ddl_transaction(migration); end
1958
+ def down?; end
1959
+ def execute_migration_in_transaction(migration, direction); end
1960
+ def finish; end
1961
+ def generate_migrator_advisory_lock_id; end
1962
+ def initialize(direction, migrations, schema_migration, target_version = nil); end
1963
+ def invalid_target?; end
1964
+ def load_migrated; end
1965
+ def migrate; end
1966
+ def migrate_without_lock; end
1967
+ def migrated; end
1968
+ def migrations; end
1969
+ def pending_migrations; end
1970
+ def ran?(migration); end
1971
+ def record_environment; end
1972
+ def record_version_state_after_migrating(version); end
1973
+ def run; end
1974
+ def run_without_lock; end
1975
+ def runnable; end
1976
+ def self.current_version; end
1977
+ def self.migrations_paths; end
1978
+ def self.migrations_paths=(arg0); end
1979
+ def start; end
1980
+ def target; end
1981
+ def up?; end
1982
+ def use_advisory_lock?; end
1983
+ def use_transaction?(migration); end
1984
+ def validate(migrations); end
1985
+ def with_advisory_lock; end
1986
+ end
1987
+ module ActiveRecord::Migration::JoinTable
1988
+ def find_join_table_name(table_1, table_2, options = nil); end
1989
+ def join_table_name(table_1, table_2); end
1990
+ end
1991
+ module ActiveRecord::ConnectionAdapters::SchemaStatements
1992
+ def add_belongs_to(table_name, ref_name, **options); end
1993
+ def add_column(table_name, column_name, type, **options); end
1994
+ def add_column_for_alter(table_name, column_name, type, options = nil); end
1995
+ def add_foreign_key(from_table, to_table, options = nil); end
1996
+ def add_index(table_name, column_name, options = nil); end
1997
+ def add_index_options(table_name, column_name, comment: nil, **options); end
1998
+ def add_index_sort_order(quoted_columns, **options); end
1999
+ def add_options_for_index_columns(quoted_columns, **options); end
2000
+ def add_reference(table_name, ref_name, **options); end
2001
+ def add_timestamps(table_name, options = nil); end
2002
+ def assume_migrated_upto_version(version, migrations_paths = nil); end
2003
+ def bulk_change_table(table_name, operations); end
2004
+ def can_remove_index_by_name?(options); end
2005
+ def change_column(table_name, column_name, type, options = nil); end
2006
+ def change_column_comment(table_name, column_name, comment_or_changes); end
2007
+ def change_column_default(table_name, column_name, default_or_changes); end
2008
+ def change_column_null(table_name, column_name, null, default = nil); end
2009
+ def change_table(table_name, options = nil); end
2010
+ def change_table_comment(table_name, comment_or_changes); end
2011
+ def column_exists?(table_name, column_name, type = nil, **options); end
2012
+ def column_options_keys; end
2013
+ def columns(table_name); end
2014
+ def columns_for_distinct(columns, orders); end
2015
+ def create_alter_table(name); end
2016
+ def create_join_table(table_1, table_2, column_options: nil, **options); end
2017
+ def create_schema_dumper(options); end
2018
+ def create_table(table_name, **options); end
2019
+ def create_table_definition(*args); end
2020
+ def data_source_exists?(name); end
2021
+ def data_source_sql(name = nil, type: nil); end
2022
+ def data_sources; end
2023
+ def drop_join_table(table_1, table_2, options = nil); end
2024
+ def drop_table(table_name, options = nil); end
2025
+ def dump_schema_information; end
2026
+ def extract_foreign_key_action(specifier); end
2027
+ def extract_new_comment_value(default_or_changes); end
2028
+ def extract_new_default_value(default_or_changes); end
2029
+ def fetch_type_metadata(sql_type); end
2030
+ def foreign_key_column_for(table_name); end
2031
+ def foreign_key_exists?(from_table, to_table = nil, **options); end
2032
+ def foreign_key_for!(from_table, to_table: nil, **options); end
2033
+ def foreign_key_for(from_table, **options); end
2034
+ def foreign_key_name(table_name, options); end
2035
+ def foreign_key_options(from_table, to_table, options); end
2036
+ def foreign_keys(table_name); end
2037
+ def index_column_names(column_names); end
2038
+ def index_exists?(table_name, column_name, options = nil); end
2039
+ def index_name(table_name, options); end
2040
+ def index_name_exists?(table_name, index_name); end
2041
+ def index_name_for_remove(table_name, options = nil); end
2042
+ def index_name_options(column_names); end
2043
+ def indexes(table_name); end
2044
+ def insert_versions_sql(versions); end
2045
+ def internal_string_options_for_primary_key; end
2046
+ def native_database_types; end
2047
+ def options_for_index_columns(options); end
2048
+ def options_include_default?(options); end
2049
+ def primary_key(table_name); end
2050
+ def quoted_columns_for_index(column_names, **options); end
2051
+ def quoted_scope(name = nil, type: nil); end
2052
+ def remove_belongs_to(table_name, ref_name, foreign_key: nil, polymorphic: nil, **options); end
2053
+ def remove_column(table_name, column_name, type = nil, options = nil); end
2054
+ def remove_column_for_alter(table_name, column_name, type = nil, options = nil); end
2055
+ def remove_columns(table_name, *column_names); end
2056
+ def remove_columns_for_alter(table_name, *column_names); end
2057
+ def remove_foreign_key(from_table, to_table = nil, **options); end
2058
+ def remove_index(table_name, options = nil); end
2059
+ def remove_reference(table_name, ref_name, foreign_key: nil, polymorphic: nil, **options); end
2060
+ def remove_timestamps(table_name, options = nil); end
2061
+ def rename_column(table_name, column_name, new_column_name); end
2062
+ def rename_column_indexes(table_name, column_name, new_column_name); end
2063
+ def rename_index(table_name, old_name, new_name); end
2064
+ def rename_table(table_name, new_name); end
2065
+ def rename_table_indexes(table_name, new_name); end
2066
+ def schema_creation; end
2067
+ def strip_table_name_prefix_and_suffix(table_name); end
2068
+ def table_alias_for(table_name); end
2069
+ def table_comment(table_name); end
2070
+ def table_exists?(table_name); end
2071
+ def table_options(table_name); end
2072
+ def tables; end
2073
+ def type_to_sql(type, limit: nil, precision: nil, scale: nil, **arg4); end
2074
+ def update_table_definition(table_name, base); end
2075
+ def validate_index_length!(table_name, new_name, internal = nil); end
2076
+ def view_exists?(view_name); end
2077
+ def views; end
2078
+ include ActiveRecord::Migration::JoinTable
2079
+ end
2080
+ module ActiveRecord::ConnectionAdapters::DatabaseLimits
2081
+ def allowed_index_name_length; end
2082
+ def bind_params_length; end
2083
+ def column_name_length(*args, &block); end
2084
+ def columns_per_multicolumn_index(*args, &block); end
2085
+ def columns_per_table(*args, &block); end
2086
+ def in_clause_length; end
2087
+ def index_name_length; end
2088
+ def indexes_per_table(*args, &block); end
2089
+ def joins_per_query(*args, &block); end
2090
+ def max_identifier_length; end
2091
+ def sql_query_length(*args, &block); end
2092
+ def table_alias_length; end
2093
+ def table_name_length(*args, &block); end
2094
+ end
2095
+ module ActiveRecord::ConnectionAdapters::QueryCache
2096
+ def cache; end
2097
+ def cache_notification_info(sql, name, binds); end
2098
+ def cache_sql(sql, name, binds); end
2099
+ def clear_query_cache; end
2100
+ def configure_query_cache!; end
2101
+ def disable_query_cache!; end
2102
+ def enable_query_cache!; end
2103
+ def initialize(*arg0); end
2104
+ def locked?(arel); end
2105
+ def query_cache; end
2106
+ def query_cache_enabled; end
2107
+ def select_all(arel, name = nil, binds = nil, preparable: nil); end
2108
+ def self.dirties_query_cache(base, *method_names); end
2109
+ def self.included(base); end
2110
+ def uncached; end
2111
+ end
2112
+ module ActiveRecord::ConnectionAdapters::QueryCache::ConnectionPoolConfiguration
2113
+ def disable_query_cache!; end
2114
+ def enable_query_cache!; end
2115
+ def initialize(*arg0); end
2116
+ def query_cache_enabled; end
2117
+ end
2118
+ module ActiveRecord::ConnectionAdapters::Savepoints
2119
+ def create_savepoint(name = nil); end
2120
+ def current_savepoint_name; end
2121
+ def exec_rollback_to_savepoint(name = nil); end
2122
+ def release_savepoint(name = nil); end
2123
+ end
2124
+ class ActiveRecord::ConnectionAdapters::AbstractAdapter::Version
2125
+ def <=>(version_string); end
2126
+ def full_version_string; end
2127
+ def initialize(version_string, full_version_string = nil); end
2128
+ def to_s; end
2129
+ include Comparable
2130
+ end
2131
+ module ActiveRecord::Scoping
2132
+ def initialize_internals_callback; end
2133
+ def populate_with_current_scope_attributes; end
2134
+ extend ActiveSupport::Autoload
2135
+ extend ActiveSupport::Concern
2136
+ end
2137
+ module ActiveRecord::Scoping::ClassMethods
2138
+ def current_scope(skip_inherited_scope = nil); end
2139
+ def current_scope=(scope); end
2140
+ def scope_attributes; end
2141
+ def scope_attributes?; end
2142
+ end
2143
+ class ActiveRecord::Scoping::ScopeRegistry
2144
+ def initialize; end
2145
+ def raise_invalid_scope_type!(scope_type); end
2146
+ def set_value_for(scope_type, model, value); end
2147
+ def value_for(scope_type, model, skip_inherited_scope = nil); end
2148
+ extend ActiveSupport::PerThreadRegistry
2149
+ end
2150
+ module ActiveRecord::Coders
2151
+ end
2152
+ module ActiveRecord::Locking
2153
+ extend ActiveSupport::Autoload
2154
+ end
2155
+ module ActiveRecord::Middleware
2156
+ extend ActiveSupport::Autoload
2157
+ end
2158
+ module ActiveRecord::Tasks
2159
+ extend ActiveSupport::Autoload
2160
+ end
2161
+ module ActiveRecord::AttributeDecorators
2162
+ extend ActiveSupport::Concern
2163
+ end
2164
+ module ActiveRecord::AttributeDecorators::ClassMethods
2165
+ def decorate_attribute_type(column_name, decorator_name, &block); end
2166
+ def decorate_matching_attribute_types(matcher, decorator_name, &block); end
2167
+ def load_schema!; end
2168
+ end
2169
+ class ActiveRecord::AttributeDecorators::TypeDecorator
2170
+ def apply(name, type); end
2171
+ def clear(*args, &block); end
2172
+ def decorators_for(name, type); end
2173
+ def initialize(decorations = nil); end
2174
+ def matching(name, type); end
2175
+ def merge(*args); end
2176
+ end
2177
+ module ActiveRecord::DefineCallbacks
2178
+ extend ActiveSupport::Concern
2179
+ end
2180
+ module ActiveRecord::DefineCallbacks::ClassMethods
2181
+ include ActiveModel::Callbacks
2182
+ end
2183
+ class ActiveRecord::LogSubscriber < ActiveSupport::LogSubscriber
2184
+ def self.backtrace_cleaner; end
2185
+ def self.backtrace_cleaner=(val); end
2186
+ def self.backtrace_cleaner?; end
2187
+ def self.reset_runtime; end
2188
+ def self.runtime; end
2189
+ def self.runtime=(value); end
2190
+ end
2191
+ class ActiveRecord::ExplainRegistry
2192
+ def collect; end
2193
+ def collect=(arg0); end
2194
+ def collect?; end
2195
+ def initialize; end
2196
+ def queries; end
2197
+ def queries=(arg0); end
2198
+ def reset; end
2199
+ extend ActiveSupport::PerThreadRegistry
2200
+ end
2201
+ class ActiveRecord::ExplainSubscriber
2202
+ def finish(name, id, payload); end
2203
+ def ignore_payload?(payload); end
2204
+ def start(name, id, payload); end
2205
+ end
2206
+ module ActiveRecord::Delegation
2207
+ def &(*args, &block); end
2208
+ def +(*args, &block); end
2209
+ def -(*args, &block); end
2210
+ def [](*args, &block); end
2211
+ def as_json(*args, &block); end
2212
+ def compact(*args, &block); end
2213
+ def connection(*args, &block); end
2214
+ def each(*args, &block); end
2215
+ def encode_with(*args, &block); end
2216
+ def in_groups(*args, &block); end
2217
+ def in_groups_of(*args, &block); end
2218
+ def index(*args, &block); end
2219
+ def join(*args, &block); end
2220
+ def length(*args, &block); end
2221
+ def primary_key(*args, &block); end
2222
+ def respond_to_missing?(method, _); end
2223
+ def reverse(*args, &block); end
2224
+ def rindex(*args, &block); end
2225
+ def rotate(*args, &block); end
2226
+ def sample(*args, &block); end
2227
+ def shuffle(*args, &block); end
2228
+ def slice(*args, &block); end
2229
+ def split(*args, &block); end
2230
+ def to_formatted_s(*args, &block); end
2231
+ def to_sentence(*args, &block); end
2232
+ def to_xml(*args, &block); end
2233
+ def |(*args, &block); end
2234
+ extend ActiveSupport::Concern
2235
+ end
2236
+ module ActiveRecord::Delegation::DelegateCache
2237
+ def generate_relation_method(method); end
2238
+ def generated_relation_methods; end
2239
+ def include_relation_methods(delegate); end
2240
+ def inherited(child_class); end
2241
+ def initialize_relation_delegate_cache; end
2242
+ def relation_delegate_class(klass); end
2243
+ end
2244
+ class ActiveRecord::Delegation::GeneratedRelationMethods < Module
2245
+ def generate_method(method); end
2246
+ def lock; end
2247
+ def locked?; end
2248
+ def synchronize(&block); end
2249
+ def try_lock; end
2250
+ def unlock; end
2251
+ include Mutex_m
2252
+ end
2253
+ module ActiveRecord::Delegation::ClassSpecificRelation
2254
+ def method_missing(method, *args, &block); end
2255
+ extend ActiveSupport::Concern
2256
+ end
2257
+ module ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods
2258
+ def name; end
2259
+ end
2260
+ module ActiveRecord::Delegation::ClassMethods
2261
+ def create(klass, *args); end
2262
+ def relation_class_for(klass); end
2263
+ end
2264
+ module ActiveRecord::Attributes
2265
+ extend ActiveSupport::Concern
2266
+ end
2267
+ module ActiveRecord::Attributes::ClassMethods
2268
+ def attribute(name, cast_type = nil, **options); end
2269
+ def define_attribute(name, cast_type, default: nil, user_provided_default: nil); end
2270
+ def define_default_attribute(name, value, type, from_user:); end
2271
+ def load_schema!; end
2272
+ end
2273
+ module ActiveRecord::TypeCaster
2274
+ end
2275
+ class ActiveRecord::TypeCaster::Map
2276
+ def initialize(types); end
2277
+ def type_cast_for_database(attr_name, value); end
2278
+ def types; end
2279
+ end
2280
+ class ActiveRecord::TypeCaster::Connection
2281
+ def connection(*args, &block); end
2282
+ def initialize(klass, table_name); end
2283
+ def table_name; end
2284
+ def type_cast_for_database(attr_name, value); end
2285
+ def type_for_attribute(attr_name); end
2286
+ end
2287
+ class ActiveRecord::DatabaseConfigurations
2288
+ def [](env = nil); end
2289
+ def any?(*args, &block); end
2290
+ def blank?; end
2291
+ def build_configs(configs); end
2292
+ def build_db_config_from_hash(env_name, spec_name, config); end
2293
+ def build_db_config_from_raw_config(env_name, spec_name, config); end
2294
+ def build_db_config_from_string(env_name, spec_name, config); end
2295
+ def configs_for(env_name: nil, spec_name: nil, include_replicas: nil); end
2296
+ def configurations; end
2297
+ def default_hash(env = nil); end
2298
+ def each; end
2299
+ def empty?; end
2300
+ def env_with_configs(env = nil); end
2301
+ def environment_url_config(env, spec_name, config); end
2302
+ def environment_value_for(spec_name); end
2303
+ def find_db_config(env); end
2304
+ def first; end
2305
+ def initialize(configurations = nil); end
2306
+ def merge_db_environment_variables(current_env, configs); end
2307
+ def method_missing(method, *args, &blk); end
2308
+ def throw_getter_deprecation(method); end
2309
+ def throw_setter_deprecation(method); end
2310
+ def to_h; end
2311
+ def walk_configs(env_name, config); end
2312
+ end
2313
+ class ActiveRecord::DatabaseConfigurations::DatabaseConfig
2314
+ def env_name; end
2315
+ def for_current_env?; end
2316
+ def initialize(env_name, spec_name); end
2317
+ def migrations_paths; end
2318
+ def replica?; end
2319
+ def spec_name; end
2320
+ def to_legacy_hash; end
2321
+ def url_config?; end
2322
+ end
2323
+ class ActiveRecord::DatabaseConfigurations::HashConfig < ActiveRecord::DatabaseConfigurations::DatabaseConfig
2324
+ def config; end
2325
+ def initialize(env_name, spec_name, config); end
2326
+ def migrations_paths; end
2327
+ def replica?; end
2328
+ end
2329
+ class ActiveRecord::DatabaseConfigurations::UrlConfig < ActiveRecord::DatabaseConfigurations::DatabaseConfig
2330
+ def build_config(original_config, url); end
2331
+ def build_url_hash(url); end
2332
+ def config; end
2333
+ def initialize(env_name, spec_name, url, config = nil); end
2334
+ def migrations_paths; end
2335
+ def replica?; end
2336
+ def url; end
2337
+ def url_config?; end
2338
+ end
2339
+ class ActiveRecord::DatabaseConfigurations::InvalidConfigurationError < StandardError
2340
+ end
2341
+ module ActiveRecord::ConnectionHandling
2342
+ def clear_active_connections!(*args, &block); end
2343
+ def clear_all_connections!(*args, &block); end
2344
+ def clear_cache!; end
2345
+ def clear_query_caches_for_current_thread; end
2346
+ def clear_reloadable_connections!(*args, &block); end
2347
+ def connected?; end
2348
+ def connected_to(database: nil, role: nil, prevent_writes: nil, &blk); end
2349
+ def connected_to?(role:); end
2350
+ def connection; end
2351
+ def connection_config; end
2352
+ def connection_pool; end
2353
+ def connection_specification_name; end
2354
+ def connection_specification_name=(arg0); end
2355
+ def connects_to(database: nil); end
2356
+ def current_role; end
2357
+ def establish_connection(config_or_env = nil); end
2358
+ def flush_idle_connections!(*args, &block); end
2359
+ def lookup_connection_handler(handler_key); end
2360
+ def primary_class?; end
2361
+ def remove_connection(name = nil); end
2362
+ def resolve_config_for_connection(config_or_env); end
2363
+ def retrieve_connection; end
2364
+ def swap_connection_handler(handler, &blk); end
2365
+ def with_handler(handler_key, &blk); end
2366
+ end
2367
+ class ActiveRecord::QueryCache
2368
+ def self.complete(pools); end
2369
+ def self.install_executor_hooks(executor = nil); end
2370
+ def self.run; end
2371
+ end
2372
+ module ActiveRecord::QueryCache::ClassMethods
2373
+ def cache(&block); end
2374
+ def uncached(&block); end
2375
+ end
2376
+ module ActiveRecord::Querying
2377
+ def annotate(*args, &block); end
2378
+ def any?(*args, &block); end
2379
+ def average(*args, &block); end
2380
+ def calculate(*args, &block); end
2381
+ def count(*args, &block); end
2382
+ def count_by_sql(sql); end
2383
+ def create_or_find_by!(*args, &block); end
2384
+ def create_or_find_by(*args, &block); end
2385
+ def create_with(*args, &block); end
2386
+ def delete_all(*args, &block); end
2387
+ def delete_by(*args, &block); end
2388
+ def destroy_all(*args, &block); end
2389
+ def destroy_by(*args, &block); end
2390
+ def distinct(*args, &block); end
2391
+ def eager_load(*args, &block); end
2392
+ def except(*args, &block); end
2393
+ def exists?(*args, &block); end
2394
+ def extending(*args, &block); end
2395
+ def extract_associated(*args, &block); end
2396
+ def fifth!(*args, &block); end
2397
+ def fifth(*args, &block); end
2398
+ def find(*args, &block); end
2399
+ def find_by!(*args, &block); end
2400
+ def find_by(*args, &block); end
2401
+ def find_by_sql(sql, binds = nil, preparable: nil, &block); end
2402
+ def find_each(*args, &block); end
2403
+ def find_in_batches(*args, &block); end
2404
+ def find_or_create_by!(*args, &block); end
2405
+ def find_or_create_by(*args, &block); end
2406
+ def find_or_initialize_by(*args, &block); end
2407
+ def first!(*args, &block); end
2408
+ def first(*args, &block); end
2409
+ def first_or_create!(*args, &block); end
2410
+ def first_or_create(*args, &block); end
2411
+ def first_or_initialize(*args, &block); end
2412
+ def forty_two!(*args, &block); end
2413
+ def forty_two(*args, &block); end
2414
+ def fourth!(*args, &block); end
2415
+ def fourth(*args, &block); end
2416
+ def from(*args, &block); end
2417
+ def group(*args, &block); end
2418
+ def having(*args, &block); end
2419
+ def ids(*args, &block); end
2420
+ def in_batches(*args, &block); end
2421
+ def includes(*args, &block); end
2422
+ def joins(*args, &block); end
2423
+ def last!(*args, &block); end
2424
+ def last(*args, &block); end
2425
+ def left_joins(*args, &block); end
2426
+ def left_outer_joins(*args, &block); end
2427
+ def limit(*args, &block); end
2428
+ def lock(*args, &block); end
2429
+ def many?(*args, &block); end
2430
+ def maximum(*args, &block); end
2431
+ def merge(*args, &block); end
2432
+ def minimum(*args, &block); end
2433
+ def none(*args, &block); end
2434
+ def none?(*args, &block); end
2435
+ def offset(*args, &block); end
2436
+ def one?(*args, &block); end
2437
+ def only(*args, &block); end
2438
+ def optimizer_hints(*args, &block); end
2439
+ def or(*args, &block); end
2440
+ def order(*args, &block); end
2441
+ def pick(*args, &block); end
2442
+ def pluck(*args, &block); end
2443
+ def preload(*args, &block); end
2444
+ def readonly(*args, &block); end
2445
+ def references(*args, &block); end
2446
+ def reorder(*args, &block); end
2447
+ def reselect(*args, &block); end
2448
+ def rewhere(*args, &block); end
2449
+ def second!(*args, &block); end
2450
+ def second(*args, &block); end
2451
+ def second_to_last!(*args, &block); end
2452
+ def second_to_last(*args, &block); end
2453
+ def select(*args, &block); end
2454
+ def sum(*args, &block); end
2455
+ def take!(*args, &block); end
2456
+ def take(*args, &block); end
2457
+ def third!(*args, &block); end
2458
+ def third(*args, &block); end
2459
+ def third_to_last!(*args, &block); end
2460
+ def third_to_last(*args, &block); end
2461
+ def touch_all(*args, &block); end
2462
+ def unscope(*args, &block); end
2463
+ def update_all(*args, &block); end
2464
+ def where(*args, &block); end
2465
+ end
2466
+ module ActiveRecord::Translation
2467
+ def i18n_scope; end
2468
+ def lookup_ancestors; end
2469
+ include ActiveModel::Translation
2470
+ end
2471
+ module ActiveRecord::DynamicMatchers
2472
+ def method_missing(name, *arguments, &block); end
2473
+ def respond_to_missing?(name, _); end
2474
+ end
2475
+ class ActiveRecord::DynamicMatchers::Method
2476
+ def attribute_names; end
2477
+ def attributes_hash; end
2478
+ def body; end
2479
+ def define; end
2480
+ def finder; end
2481
+ def initialize(model, name); end
2482
+ def model; end
2483
+ def name; end
2484
+ def self.match(model, name); end
2485
+ def self.matchers; end
2486
+ def self.pattern; end
2487
+ def self.prefix; end
2488
+ def self.suffix; end
2489
+ def signature; end
2490
+ def valid?; end
2491
+ end
2492
+ class ActiveRecord::DynamicMatchers::FindBy < ActiveRecord::DynamicMatchers::Method
2493
+ def finder; end
2494
+ def self.prefix; end
2495
+ end
2496
+ class ActiveRecord::DynamicMatchers::FindByBang < ActiveRecord::DynamicMatchers::Method
2497
+ def finder; end
2498
+ def self.prefix; end
2499
+ def self.suffix; end
2500
+ end
2501
+ module ActiveRecord::Explain
2502
+ def collecting_queries_for_explain; end
2503
+ def exec_explain(queries); end
2504
+ def render_bind(attr); end
2505
+ end
2506
+ module ActiveRecord::Type
2507
+ def self.add_modifier(*args, &block); end
2508
+ def self.current_adapter_name; end
2509
+ def self.default_value; end
2510
+ def self.lookup(*args, adapter: nil, **kwargs); end
2511
+ def self.register(type_name, klass = nil, **options, &block); end
2512
+ def self.registry; end
2513
+ def self.registry=(arg0); end
2514
+ end
2515
+ module ActiveRecord::Type::Internal
2516
+ end
2517
+ module ActiveRecord::Type::Internal::Timezone
2518
+ def default_timezone; end
2519
+ def is_utc?; end
2520
+ end
2521
+ class ActiveRecord::Type::Date < ActiveModel::Type::Date
2522
+ include ActiveRecord::Type::Internal::Timezone
2523
+ end
2524
+ class ActiveRecord::Type::DateTime < ActiveModel::Type::DateTime
2525
+ include ActiveRecord::Type::Internal::Timezone
2526
+ end
2527
+ class ActiveRecord::Type::DecimalWithoutScale < ActiveModel::Type::BigInteger
2528
+ def type; end
2529
+ def type_cast_for_schema(value); end
2530
+ end
2531
+ class ActiveRecord::Type::Json < ActiveModel::Type::Value
2532
+ def accessor; end
2533
+ def changed_in_place?(raw_old_value, new_value); end
2534
+ def deserialize(value); end
2535
+ def serialize(value); end
2536
+ def type; end
2537
+ include ActiveModel::Type::Helpers::Mutable
2538
+ end
2539
+ class ActiveRecord::Type::Time < ActiveModel::Type::Time
2540
+ def serialize(value); end
2541
+ include ActiveRecord::Type::Internal::Timezone
2542
+ end
2543
+ class ActiveRecord::Type::Time::Value < Anonymous_Delegator_6
2544
+ end
2545
+ class ActiveRecord::Type::Text < ActiveModel::Type::String
2546
+ def type; end
2547
+ end
2548
+ class ActiveRecord::Type::UnsignedInteger < ActiveModel::Type::Integer
2549
+ def max_value; end
2550
+ def min_value; end
2551
+ end
2552
+ class ActiveRecord::Type::Serialized < Anonymous_Delegator_7
2553
+ def accessor; end
2554
+ def assert_valid_value(value); end
2555
+ def changed_in_place?(raw_old_value, value); end
2556
+ def coder; end
2557
+ def default_value?(value); end
2558
+ def deserialize(value); end
2559
+ def encoded(value); end
2560
+ def force_equality?(value); end
2561
+ def initialize(subtype, coder); end
2562
+ def inspect; end
2563
+ def serialize(value); end
2564
+ def subtype; end
2565
+ include ActiveModel::Type::Helpers::Mutable
2566
+ end
2567
+ class ActiveRecord::Type::AdapterSpecificRegistry < ActiveModel::Type::Registry
2568
+ def add_modifier(options, klass, **args); end
2569
+ def find_registration(symbol, *args); end
2570
+ def registration_klass; end
2571
+ end
2572
+ class ActiveRecord::Type::Registration
2573
+ def <=>(other); end
2574
+ def adapter; end
2575
+ def block; end
2576
+ def call(_registry, *args, adapter: nil, **kwargs); end
2577
+ def conflicts_with?(other); end
2578
+ def has_adapter_conflict?(other); end
2579
+ def initialize(name, block, adapter: nil, override: nil); end
2580
+ def matches?(type_name, *args, **kwargs); end
2581
+ def matches_adapter?(adapter: nil, **arg1); end
2582
+ def name; end
2583
+ def override; end
2584
+ def priority; end
2585
+ def priority_except_adapter; end
2586
+ def same_priority_except_adapter?(other); end
2587
+ end
2588
+ class ActiveRecord::Type::DecorationRegistration < ActiveRecord::Type::Registration
2589
+ def call(registry, *args, **kwargs); end
2590
+ def initialize(options, klass, adapter: nil); end
2591
+ def klass; end
2592
+ def matches?(*args, **kwargs); end
2593
+ def matches_options?(**kwargs); end
2594
+ def options; end
2595
+ def priority; end
2596
+ end
2597
+ class ActiveRecord::TypeConflictError < StandardError
2598
+ end
2599
+ class ActiveRecord::Type::TypeMap
2600
+ def alias_type(key, target_key); end
2601
+ def clear; end
2602
+ def fetch(lookup_key, *args, &block); end
2603
+ def initialize; end
2604
+ def lookup(lookup_key, *args); end
2605
+ def perform_fetch(lookup_key, *args); end
2606
+ def register_type(key, value = nil, &block); end
2607
+ end
2608
+ class ActiveRecord::Type::HashLookupTypeMap < ActiveRecord::Type::TypeMap
2609
+ def alias_type(type, alias_type); end
2610
+ def key?(key); end
2611
+ def keys; end
2612
+ def perform_fetch(type, *args, &block); end
2613
+ end
2614
+ module ActiveRecord::Enum
2615
+ def _enum_methods_module; end
2616
+ def assert_valid_enum_definition_values(values); end
2617
+ def detect_enum_conflict!(enum_name, method_name, klass_method = nil); end
2618
+ def detect_negative_condition!(method_name); end
2619
+ def enum(definitions); end
2620
+ def inherited(base); end
2621
+ def raise_conflict_error(enum_name, method_name, type: nil, source: nil); end
2622
+ def self.extended(base); end
2623
+ end
2624
+ class ActiveRecord::Enum::EnumType < ActiveModel::Type::Value
2625
+ def assert_valid_value(value); end
2626
+ def cast(value); end
2627
+ def deserialize(value); end
2628
+ def initialize(name, mapping, subtype); end
2629
+ def mapping; end
2630
+ def name; end
2631
+ def serialize(value); end
2632
+ def subtype; end
2633
+ def type(*args, &block); end
2634
+ end
2635
+ module ActiveRecord::Aggregations
2636
+ def clear_aggregation_cache; end
2637
+ def init_internals; end
2638
+ def initialize_dup(*arg0); end
2639
+ def reload(*arg0); end
2640
+ end
2641
+ module ActiveRecord::Aggregations::ClassMethods
2642
+ def composed_of(part_id, options = nil); end
2643
+ def reader_method(name, class_name, mapping, allow_nil, constructor); end
2644
+ def writer_method(name, class_name, mapping, allow_nil, converter); end
2645
+ end
2646
+ module ActiveRecord::Core
2647
+ def <=>(other_object); end
2648
+ def ==(comparison_object); end
2649
+ def blank?; end
2650
+ def connection_handler; end
2651
+ def custom_inspect_method_defined?; end
2652
+ def encode_with(coder); end
2653
+ def eql?(comparison_object); end
2654
+ def freeze; end
2655
+ def frozen?; end
2656
+ def hash; end
2657
+ def init_internals; end
2658
+ def init_with(coder, &block); end
2659
+ def init_with_attributes(attributes, new_record = nil); end
2660
+ def initialize(attributes = nil); end
2661
+ def initialize_dup(other); end
2662
+ def initialize_internals_callback; end
2663
+ def inspect; end
2664
+ def inspection_filter; end
2665
+ def present?; end
2666
+ def pretty_print(pp); end
2667
+ def readonly!; end
2668
+ def readonly?; end
2669
+ def slice(*methods); end
2670
+ def to_ary; end
2671
+ extend ActiveSupport::Concern
2672
+ end
2673
+ module ActiveRecord::Core::ClassMethods
2674
+ def ===(object); end
2675
+ def _internal?; end
2676
+ def arel_attribute(name, table = nil); end
2677
+ def arel_table; end
2678
+ def cached_find_by_statement(key, &block); end
2679
+ def filter_attributes; end
2680
+ def filter_attributes=(arg0); end
2681
+ def find(*ids); end
2682
+ def find_by!(*args); end
2683
+ def find_by(*args); end
2684
+ def generated_association_methods; end
2685
+ def inherited(child_class); end
2686
+ def initialize_find_by_cache; end
2687
+ def initialize_generated_modules; end
2688
+ def inspect; end
2689
+ def predicate_builder; end
2690
+ def relation; end
2691
+ def table_metadata; end
2692
+ def type_caster; end
2693
+ end
2694
+ class ActiveRecord::Core::InspectionMask < Anonymous_Delegator_8
2695
+ def pretty_print(pp); end
2696
+ end
2697
+ class ActiveRecord::ConnectionTimeoutError < ActiveRecord::ConnectionNotEstablished
2698
+ end
2699
+ class ActiveRecord::ExclusiveConnectionTimeoutError < ActiveRecord::ConnectionTimeoutError
2700
+ end
2701
+ module ActiveRecord::ConnectionAdapters::AbstractPool
2702
+ def get_schema_cache(connection); end
2703
+ def set_schema_cache(cache); end
2704
+ end
2705
+ class ActiveRecord::ConnectionAdapters::NullPool
2706
+ def initialize; end
2707
+ include ActiveRecord::ConnectionAdapters::AbstractPool
2708
+ end
2709
+ class ActiveRecord::ConnectionAdapters::ConnectionPool
2710
+ def acquire_connection(checkout_timeout); end
2711
+ def active_connection?; end
2712
+ def adopt_connection(conn); end
2713
+ def attempt_to_checkout_all_existing_connections(raise_on_acquisition_timeout = nil); end
2714
+ def automatic_reconnect; end
2715
+ def automatic_reconnect=(arg0); end
2716
+ def bulk_make_new_connections(num_new_conns_needed); end
2717
+ def checkin(conn); end
2718
+ def checkout(checkout_timeout = nil); end
2719
+ def checkout_and_verify(c); end
2720
+ def checkout_for_exclusive_access(checkout_timeout); end
2721
+ def checkout_new_connection; end
2722
+ def checkout_timeout; end
2723
+ def checkout_timeout=(arg0); end
2724
+ def clear_reloadable_connections!; end
2725
+ def clear_reloadable_connections(raise_on_acquisition_timeout = nil); end
2726
+ def connected?; end
2727
+ def connection; end
2728
+ def connection_cache_key(thread); end
2729
+ def connections; end
2730
+ def current_thread; end
2731
+ def discard!; end
2732
+ def disconnect!; end
2733
+ def disconnect(raise_on_acquisition_timeout = nil); end
2734
+ def flush!; end
2735
+ def flush(minimum_idle = nil); end
2736
+ def initialize(spec); end
2737
+ def lock_thread=(lock_thread); end
2738
+ def new_connection; end
2739
+ def num_waiting_in_queue; end
2740
+ def reap; end
2741
+ def reaper; end
2742
+ def release(conn, owner_thread = nil); end
2743
+ def release_connection(owner_thread = nil); end
2744
+ def remove(conn); end
2745
+ def remove_connection_from_thread_cache(conn, owner_thread = nil); end
2746
+ def schema_cache; end
2747
+ def schema_cache=(arg0); end
2748
+ def size; end
2749
+ def spec; end
2750
+ def stat; end
2751
+ def try_to_checkout_new_connection; end
2752
+ def with_connection; end
2753
+ def with_exclusively_acquired_all_connections(raise_on_acquisition_timeout = nil); end
2754
+ def with_new_connections_blocked; end
2755
+ include ActiveRecord::ConnectionAdapters::AbstractPool
2756
+ include ActiveRecord::ConnectionAdapters::QueryCache::ConnectionPoolConfiguration
2757
+ include MonitorMixin
2758
+ end
2759
+ class ActiveRecord::ConnectionAdapters::ConnectionPool::Queue
2760
+ def add(element); end
2761
+ def any?; end
2762
+ def any_waiting?; end
2763
+ def can_remove_no_wait?; end
2764
+ def clear; end
2765
+ def delete(element); end
2766
+ def initialize(lock = nil); end
2767
+ def internal_poll(timeout); end
2768
+ def no_wait_poll; end
2769
+ def num_waiting; end
2770
+ def poll(timeout = nil); end
2771
+ def remove; end
2772
+ def synchronize(&block); end
2773
+ def wait_poll(timeout); end
2774
+ end
2775
+ module ActiveRecord::ConnectionAdapters::ConnectionPool::BiasableQueue
2776
+ def with_a_bias_for(thread); end
2777
+ end
2778
+ class ActiveRecord::ConnectionAdapters::ConnectionPool::BiasableQueue::BiasedConditionVariable
2779
+ def broadcast; end
2780
+ def broadcast_on_biased; end
2781
+ def initialize(lock, other_cond, preferred_thread); end
2782
+ def signal; end
2783
+ def wait(timeout); end
2784
+ end
2785
+ class ActiveRecord::ConnectionAdapters::ConnectionPool::ConnectionLeasingQueue < ActiveRecord::ConnectionAdapters::ConnectionPool::Queue
2786
+ def internal_poll(timeout); end
2787
+ include ActiveRecord::ConnectionAdapters::ConnectionPool::BiasableQueue
2788
+ end
2789
+ class ActiveRecord::ConnectionAdapters::ConnectionPool::Reaper
2790
+ def frequency; end
2791
+ def initialize(pool, frequency); end
2792
+ def pool; end
2793
+ def run; end
2794
+ def self.register_pool(pool, frequency); end
2795
+ def self.spawn_thread(frequency); end
2796
+ end
2797
+ class ActiveRecord::ConnectionAdapters::ConnectionHandler
2798
+ def active_connections?; end
2799
+ def clear_active_connections!; end
2800
+ def clear_all_connections!; end
2801
+ def clear_reloadable_connections!; end
2802
+ def connected?(spec_name); end
2803
+ def connection_pool_list; end
2804
+ def connection_pools; end
2805
+ def establish_connection(config); end
2806
+ def flush_idle_connections!; end
2807
+ def initialize; end
2808
+ def owner_to_pool; end
2809
+ def pool_from_any_process_for(spec_name); end
2810
+ def prevent_writes; end
2811
+ def prevent_writes=(prevent_writes); end
2812
+ def remove_connection(spec_name); end
2813
+ def retrieve_connection(spec_name); end
2814
+ def retrieve_connection_pool(spec_name); end
2815
+ def self.create_owner_to_pool; end
2816
+ def self.discard_unowned_pools(pid_map); end
2817
+ def self.unowned_pool_finalizer(pid_map); end
2818
+ def while_preventing_writes(enabled = nil); end
2819
+ end
2820
+ class ActiveRecord::InsertAll
2821
+ def connection; end
2822
+ def ensure_valid_options_for_connection!; end
2823
+ def execute; end
2824
+ def find_unique_index_for(unique_by); end
2825
+ def initialize(model, inserts, on_duplicate:, returning: nil, unique_by: nil); end
2826
+ def inserts; end
2827
+ def keys; end
2828
+ def map_key_with_value; end
2829
+ def model; end
2830
+ def on_duplicate; end
2831
+ def primary_keys; end
2832
+ def readonly_columns; end
2833
+ def returning; end
2834
+ def skip_duplicates?; end
2835
+ def to_sql; end
2836
+ def unique_by; end
2837
+ def unique_by_columns; end
2838
+ def unique_indexes; end
2839
+ def updatable_columns; end
2840
+ def update_duplicates?; end
2841
+ def verify_attributes(attributes); end
2842
+ end
2843
+ class ActiveRecord::InsertAll::Builder
2844
+ def columns_list; end
2845
+ def conflict_target; end
2846
+ def connection; end
2847
+ def extract_types_from_columns_on(table_name, keys:); end
2848
+ def format_columns(columns); end
2849
+ def initialize(insert_all); end
2850
+ def insert_all; end
2851
+ def into; end
2852
+ def keys(*args, &block); end
2853
+ def model; end
2854
+ def quote_columns(columns); end
2855
+ def returning; end
2856
+ def skip_duplicates?(*args, &block); end
2857
+ def updatable_columns; end
2858
+ def update_duplicates?(*args, &block); end
2859
+ def values_list; end
2860
+ end
2861
+ module ActiveRecord::Persistence
2862
+ def _create_record(attribute_names = nil); end
2863
+ def _delete_row; end
2864
+ def _raise_readonly_record_error; end
2865
+ def _raise_record_not_destroyed; end
2866
+ def _touch_row(attribute_names, time); end
2867
+ def _update_record(attribute_names = nil); end
2868
+ def _update_row(attribute_names, attempted_action = nil); end
2869
+ def becomes!(klass); end
2870
+ def becomes(klass); end
2871
+ def belongs_to_touch_method; end
2872
+ def create_or_update(**arg0, &block); end
2873
+ def decrement!(attribute, by = nil, touch: nil); end
2874
+ def decrement(attribute, by = nil); end
2875
+ def delete; end
2876
+ def destroy!; end
2877
+ def destroy; end
2878
+ def destroy_associations; end
2879
+ def destroy_row; end
2880
+ def destroyed?; end
2881
+ def increment!(attribute, by = nil, touch: nil); end
2882
+ def increment(attribute, by = nil); end
2883
+ def new_record?; end
2884
+ def persisted?; end
2885
+ def reload(options = nil); end
2886
+ def save!(*args, &block); end
2887
+ def save(*args, &block); end
2888
+ def toggle!(attribute); end
2889
+ def toggle(attribute); end
2890
+ def touch(*names, time: nil); end
2891
+ def update!(attributes); end
2892
+ def update(attributes); end
2893
+ def update_attribute(name, value); end
2894
+ def update_attributes!(*args, &block); end
2895
+ def update_attributes(*args, &block); end
2896
+ def update_column(name, value); end
2897
+ def update_columns(attributes); end
2898
+ def verify_readonly_attribute(name); end
2899
+ extend ActiveSupport::Concern
2900
+ end
2901
+ module ActiveRecord::Persistence::ClassMethods
2902
+ def _delete_record(constraints); end
2903
+ def _insert_record(values); end
2904
+ def _substitute_values(values); end
2905
+ def _update_record(values, constraints); end
2906
+ def create!(attributes = nil, &block); end
2907
+ def create(attributes = nil, &block); end
2908
+ def delete(id_or_array); end
2909
+ def destroy(id); end
2910
+ def discriminate_class_for_record(record); end
2911
+ def insert!(attributes, returning: nil); end
2912
+ def insert(attributes, returning: nil, unique_by: nil); end
2913
+ def insert_all!(attributes, returning: nil); end
2914
+ def insert_all(attributes, returning: nil, unique_by: nil); end
2915
+ def instantiate(attributes, column_types = nil, &block); end
2916
+ def instantiate_instance_of(klass, attributes, column_types = nil, &block); end
2917
+ def update(id = nil, attributes); end
2918
+ def upsert(attributes, returning: nil, unique_by: nil); end
2919
+ def upsert_all(attributes, returning: nil, unique_by: nil); end
2920
+ end
2921
+ module ActiveRecord::ReadonlyAttributes
2922
+ extend ActiveSupport::Concern
2923
+ end
2924
+ module ActiveRecord::ReadonlyAttributes::ClassMethods
2925
+ def attr_readonly(*attributes); end
2926
+ def readonly_attributes; end
2927
+ end
2928
+ module ActiveRecord::ModelSchema
2929
+ def self.derive_join_table_name(first_table, second_table); end
2930
+ extend ActiveSupport::Concern
2931
+ end
2932
+ module ActiveRecord::ModelSchema::ClassMethods
2933
+ def _default_attributes; end
2934
+ def attribute_types; end
2935
+ def attributes_builder; end
2936
+ def column_defaults; end
2937
+ def column_names; end
2938
+ def columns; end
2939
+ def columns_hash; end
2940
+ def compute_table_name; end
2941
+ def content_columns; end
2942
+ def full_table_name_prefix; end
2943
+ def full_table_name_suffix; end
2944
+ def ignored_columns; end
2945
+ def ignored_columns=(columns); end
2946
+ def inheritance_column; end
2947
+ def inheritance_column=(value); end
2948
+ def inherited(child_class); end
2949
+ def initialize_load_schema_monitor; end
2950
+ def load_schema!; end
2951
+ def load_schema; end
2952
+ def next_sequence_value; end
2953
+ def prefetch_primary_key?; end
2954
+ def protected_environments; end
2955
+ def protected_environments=(environments); end
2956
+ def quoted_table_name; end
2957
+ def reload_schema_from_cache; end
2958
+ def reset_column_information; end
2959
+ def reset_sequence_name; end
2960
+ def reset_table_name; end
2961
+ def schema_loaded?; end
2962
+ def sequence_name; end
2963
+ def sequence_name=(value); end
2964
+ def symbol_column_to_string(name_symbol); end
2965
+ def table_exists?; end
2966
+ def table_name; end
2967
+ def table_name=(value); end
2968
+ def type_for_attribute(attr_name, &block); end
2969
+ def undecorated_table_name(class_name = nil); end
2970
+ def yaml_encoder; end
2971
+ end
2972
+ module ActiveRecord::Inheritance
2973
+ def ensure_proper_type; end
2974
+ def initialize_dup(other); end
2975
+ def initialize_internals_callback; end
2976
+ extend ActiveSupport::Concern
2977
+ end
2978
+ module ActiveRecord::Inheritance::ClassMethods
2979
+ def abstract_class; end
2980
+ def abstract_class=(arg0); end
2981
+ def abstract_class?; end
2982
+ def base_class; end
2983
+ def base_class?; end
2984
+ def compute_type(type_name); end
2985
+ def descends_from_active_record?; end
2986
+ def discriminate_class_for_record(record); end
2987
+ def find_sti_class(type_name); end
2988
+ def finder_needs_type_condition?; end
2989
+ def inherited(subclass); end
2990
+ def new(attributes = nil, &block); end
2991
+ def polymorphic_name; end
2992
+ def sti_name; end
2993
+ def subclass_from_attributes(attrs); end
2994
+ def type_condition(table = nil); end
2995
+ def using_single_table_inheritance?(record); end
2996
+ end
2997
+ module ActiveRecord::Scoping::Default
2998
+ extend ActiveSupport::Concern
2999
+ end
3000
+ module ActiveRecord::Scoping::Default::ClassMethods
3001
+ def before_remove_const; end
3002
+ def build_default_scope(relation = nil); end
3003
+ def default_scope(scope = nil, &block); end
3004
+ def evaluate_default_scope; end
3005
+ def ignore_default_scope=(ignore); end
3006
+ def ignore_default_scope?; end
3007
+ def scope_attributes?; end
3008
+ def unscoped; end
3009
+ end
3010
+ module ActiveRecord::Scoping::Named
3011
+ extend ActiveSupport::Concern
3012
+ end
3013
+ module ActiveRecord::Scoping::Named::ClassMethods
3014
+ def all; end
3015
+ def default_extensions; end
3016
+ def default_scoped(scope = nil); end
3017
+ def scope(name, body, &block); end
3018
+ def scope_for_association(scope = nil); end
3019
+ def valid_scope_name?(name); end
3020
+ end
3021
+ module ActiveRecord::Sanitization
3022
+ extend ActiveSupport::Concern
3023
+ end
3024
+ module ActiveRecord::Sanitization::ClassMethods
3025
+ def disallow_raw_sql!(args, permit: nil); end
3026
+ def quote_bound_value(value, c = nil); end
3027
+ def raise_if_bind_arity_mismatch(statement, expected, provided); end
3028
+ def replace_bind_variable(value, c = nil); end
3029
+ def replace_bind_variables(statement, values); end
3030
+ def replace_named_bind_variables(statement, bind_vars); end
3031
+ def sanitize_sql(condition); end
3032
+ def sanitize_sql_array(ary); end
3033
+ def sanitize_sql_for_assignment(assignments, default_table_name = nil); end
3034
+ def sanitize_sql_for_conditions(condition); end
3035
+ def sanitize_sql_for_order(condition); end
3036
+ def sanitize_sql_hash_for_assignment(attrs, table); end
3037
+ def sanitize_sql_like(string, escape_character = nil); end
3038
+ end
3039
+ module ActiveRecord::AttributeAssignment
3040
+ def _assign_attributes(attributes); end
3041
+ def assign_multiparameter_attributes(pairs); end
3042
+ def assign_nested_parameter_attributes(pairs); end
3043
+ def execute_callstack_for_multiparameter_attributes(callstack); end
3044
+ def extract_callstack_for_multiparameter_attributes(pairs); end
3045
+ def find_parameter_position(multiparameter_name); end
3046
+ def type_cast_attribute_value(multiparameter_name, value); end
3047
+ include ActiveModel::AttributeAssignment
3048
+ end
3049
+ module ActiveRecord::Integration
3050
+ def cache_key; end
3051
+ def cache_key_with_version; end
3052
+ def cache_version; end
3053
+ def can_use_fast_cache_version?(timestamp); end
3054
+ def raw_timestamp_to_cache_version(timestamp); end
3055
+ def to_param; end
3056
+ extend ActiveSupport::Concern
3057
+ end
3058
+ module ActiveRecord::Integration::ClassMethods
3059
+ def collection_cache_key(collection = nil, timestamp_column = nil); end
3060
+ def to_param(method_name = nil); end
3061
+ end
3062
+ module ActiveRecord::Validations
3063
+ def default_validation_context; end
3064
+ def perform_validations(options = nil); end
3065
+ def raise_validation_error; end
3066
+ def save!(options = nil); end
3067
+ def save(options = nil); end
3068
+ def valid?(context = nil); end
3069
+ def validate(context = nil); end
3070
+ extend ActiveSupport::Concern
3071
+ include ActiveModel::Validations
3072
+ end
3073
+ class ActiveRecord::Validations::AssociatedValidator < ActiveModel::EachValidator
3074
+ def valid_object?(record); end
3075
+ def validate_each(record, attribute, value); end
3076
+ end
3077
+ module ActiveRecord::Validations::ClassMethods
3078
+ def validates_absence_of(*attr_names); end
3079
+ def validates_associated(*attr_names); end
3080
+ def validates_length_of(*attr_names); end
3081
+ def validates_presence_of(*attr_names); end
3082
+ def validates_size_of(*attr_names); end
3083
+ def validates_uniqueness_of(*attr_names); end
3084
+ end
3085
+ class ActiveRecord::Validations::UniquenessValidator < ActiveModel::EachValidator
3086
+ def build_relation(klass, attribute, value); end
3087
+ def find_finder_class_for(record); end
3088
+ def initialize(options); end
3089
+ def map_enum_attribute(klass, attribute, value); end
3090
+ def scope_relation(record, relation); end
3091
+ def validate_each(record, attribute, value); end
3092
+ end
3093
+ class ActiveRecord::Validations::PresenceValidator < ActiveModel::Validations::PresenceValidator
3094
+ def validate_each(record, attribute, association_or_value); end
3095
+ end
3096
+ class ActiveRecord::Validations::AbsenceValidator < ActiveModel::Validations::AbsenceValidator
3097
+ def validate_each(record, attribute, association_or_value); end
3098
+ end
3099
+ class ActiveRecord::Validations::LengthValidator < ActiveModel::Validations::LengthValidator
3100
+ def validate_each(record, attribute, association_or_value); end
3101
+ end
3102
+ class ActiveRecord::RecordInvalid < ActiveRecord::ActiveRecordError
3103
+ def initialize(record = nil); end
3104
+ def record; end
3105
+ end
3106
+ module ActiveRecord::CounterCache
3107
+ def _create_record(attribute_names = nil); end
3108
+ def destroy_row; end
3109
+ def each_counter_cached_associations; end
3110
+ extend ActiveSupport::Concern
3111
+ end
3112
+ module ActiveRecord::CounterCache::ClassMethods
3113
+ def decrement_counter(counter_name, id, touch: nil); end
3114
+ def increment_counter(counter_name, id, touch: nil); end
3115
+ def reset_counters(id, *counters, touch: nil); end
3116
+ def update_counters(id, counters); end
3117
+ end
3118
+ module ActiveRecord::Locking::Optimistic
3119
+ def _create_record(attribute_names = nil); end
3120
+ def _touch_row(attribute_names, time); end
3121
+ def _update_row(attribute_names, attempted_action = nil); end
3122
+ def destroy_row; end
3123
+ def locking_enabled?; end
3124
+ extend ActiveSupport::Concern
3125
+ end
3126
+ module ActiveRecord::Locking::Optimistic::ClassMethods
3127
+ def inherited(subclass); end
3128
+ def locking_column; end
3129
+ def locking_column=(value); end
3130
+ def locking_enabled?; end
3131
+ def reset_locking_column; end
3132
+ def update_counters(id, counters); end
3133
+ end
3134
+ class ActiveRecord::Locking::LockingType < Anonymous_Delegator_9
3135
+ def deserialize(value); end
3136
+ def encode_with(coder); end
3137
+ def init_with(coder); end
3138
+ def serialize(value); end
3139
+ end
3140
+ module ActiveRecord::Locking::Pessimistic
3141
+ def lock!(lock = nil); end
3142
+ def with_lock(lock = nil); end
3143
+ end
3144
+ module ActiveRecord::AttributeMethods::Read
3145
+ def _read_attribute(attr_name, &block); end
3146
+ def attribute(attr_name, &block); end
3147
+ def read_attribute(attr_name, &block); end
3148
+ extend ActiveSupport::Concern
3149
+ end
3150
+ module ActiveRecord::AttributeMethods::Read::ClassMethods
3151
+ def define_method_attribute(name); end
3152
+ end
3153
+ module ActiveRecord::AttributeMethods::Write
3154
+ def _write_attribute(attr_name, value); end
3155
+ def attribute=(attribute_name, value); end
3156
+ def write_attribute(attr_name, value); end
3157
+ def write_attribute_without_type_cast(attr_name, value); end
3158
+ extend ActiveSupport::Concern
3159
+ end
3160
+ module ActiveRecord::AttributeMethods::Write::ClassMethods
3161
+ def define_method_attribute=(name); end
3162
+ end
3163
+ module ActiveRecord::AttributeMethods::BeforeTypeCast
3164
+ def attribute_before_type_cast(attribute_name); end
3165
+ def attribute_came_from_user?(attribute_name); end
3166
+ def attributes_before_type_cast; end
3167
+ def read_attribute_before_type_cast(attr_name); end
3168
+ extend ActiveSupport::Concern
3169
+ end
3170
+ module ActiveRecord::AttributeMethods::Query
3171
+ def attribute?(attribute_name); end
3172
+ def query_attribute(attr_name); end
3173
+ extend ActiveSupport::Concern
3174
+ end
3175
+ module ActiveRecord::AttributeMethods::PrimaryKey
3176
+ def attribute_method?(attr_name); end
3177
+ def id; end
3178
+ def id=(value); end
3179
+ def id?; end
3180
+ def id_before_type_cast; end
3181
+ def id_in_database; end
3182
+ def id_was; end
3183
+ def to_key; end
3184
+ extend ActiveSupport::Concern
3185
+ end
3186
+ module ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods
3187
+ def dangerous_attribute_method?(method_name); end
3188
+ def get_primary_key(base_name); end
3189
+ def instance_method_already_implemented?(method_name); end
3190
+ def primary_key; end
3191
+ def primary_key=(value); end
3192
+ def quoted_primary_key; end
3193
+ def reset_primary_key; end
3194
+ def suppress_composite_primary_key(pk); end
3195
+ end
3196
+ module ActiveRecord::AttributeMethods::TimeZoneConversion
3197
+ extend ActiveSupport::Concern
3198
+ end
3199
+ class ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter < Anonymous_Delegator_10
3200
+ def cast(value); end
3201
+ def convert_time_to_time_zone(value); end
3202
+ def deserialize(value); end
3203
+ def map_avoiding_infinite_recursion(value); end
3204
+ def set_time_zone_without_conversion(value); end
3205
+ end
3206
+ module ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods
3207
+ def create_time_zone_conversion_attribute?(name, cast_type); end
3208
+ def inherited(subclass); end
3209
+ end
3210
+ module ActiveRecord::AttributeMethods::Dirty
3211
+ def _create_record(attribute_names = nil); end
3212
+ def _touch_row(attribute_names, time); end
3213
+ def _update_record(attribute_names = nil); end
3214
+ def attribute_before_last_save(attr_name); end
3215
+ def attribute_change_to_be_saved(attr_name); end
3216
+ def attribute_in_database(attr_name); end
3217
+ def attribute_names_for_partial_writes; end
3218
+ def attributes_in_database; end
3219
+ def changed_attribute_names_to_save; end
3220
+ def changes_to_save; end
3221
+ def has_changes_to_save?; end
3222
+ def mutations_before_last_save; end
3223
+ def mutations_from_database; end
3224
+ def reload(*arg0); end
3225
+ def saved_change_to_attribute(attr_name); end
3226
+ def saved_change_to_attribute?(attr_name, **options); end
3227
+ def saved_changes; end
3228
+ def saved_changes?; end
3229
+ def will_save_change_to_attribute?(attr_name, **options); end
3230
+ def write_attribute_without_type_cast(attr_name, value); end
3231
+ extend ActiveSupport::Concern
3232
+ include ActiveModel::Dirty
3233
+ end
3234
+ module ActiveRecord::Timestamp
3235
+ def _create_record; end
3236
+ def _update_record; end
3237
+ def all_timestamp_attributes_in_model; end
3238
+ def clear_timestamp_attributes; end
3239
+ def create_or_update(touch: nil, **arg1); end
3240
+ def current_time_from_proper_timezone; end
3241
+ def initialize_dup(other); end
3242
+ def max_updated_column_timestamp; end
3243
+ def should_record_timestamps?; end
3244
+ def timestamp_attributes_for_create_in_model; end
3245
+ def timestamp_attributes_for_update_in_model; end
3246
+ extend ActiveSupport::Concern
3247
+ end
3248
+ module ActiveRecord::Timestamp::ClassMethods
3249
+ def all_timestamp_attributes_in_model; end
3250
+ def current_time_from_proper_timezone; end
3251
+ def reload_schema_from_cache; end
3252
+ def timestamp_attributes_for_create; end
3253
+ def timestamp_attributes_for_create_in_model; end
3254
+ def timestamp_attributes_for_update; end
3255
+ def timestamp_attributes_for_update_in_model; end
3256
+ def touch_attributes_with_time(*names, time: nil); end
3257
+ end
3258
+ module ActiveRecord::AttributeMethods::Serialization
3259
+ extend ActiveSupport::Concern
3260
+ end
3261
+ class ActiveRecord::AttributeMethods::Serialization::ColumnNotSerializableError < StandardError
3262
+ def initialize(name, type); end
3263
+ end
3264
+ module ActiveRecord::AttributeMethods::Serialization::ClassMethods
3265
+ def serialize(attr_name, class_name_or_coder = nil); end
3266
+ def type_incompatible_with_serialize?(type, class_name); end
3267
+ end
3268
+ module ActiveRecord::Callbacks
3269
+ def _create_record; end
3270
+ def _update_record; end
3271
+ def create_or_update(**arg0); end
3272
+ def destroy; end
3273
+ def increment!(attribute, by = nil, touch: nil); end
3274
+ def touch(*arg0); end
3275
+ extend ActiveSupport::Concern
3276
+ end
3277
+ class ActiveRecord::AssociationNotFoundError < ActiveRecord::ConfigurationError
3278
+ def initialize(record = nil, association_name = nil); end
3279
+ end
3280
+ class ActiveRecord::InverseOfAssociationNotFoundError < ActiveRecord::ActiveRecordError
3281
+ def initialize(reflection = nil, associated_class = nil); end
3282
+ end
3283
+ class ActiveRecord::HasManyThroughAssociationNotFoundError < ActiveRecord::ActiveRecordError
3284
+ def initialize(owner_class_name = nil, reflection = nil); end
3285
+ end
3286
+ class ActiveRecord::HasManyThroughAssociationPolymorphicSourceError < ActiveRecord::ActiveRecordError
3287
+ def initialize(owner_class_name = nil, reflection = nil, source_reflection = nil); end
3288
+ end
3289
+ class ActiveRecord::HasManyThroughAssociationPolymorphicThroughError < ActiveRecord::ActiveRecordError
3290
+ def initialize(owner_class_name = nil, reflection = nil); end
3291
+ end
3292
+ class ActiveRecord::HasManyThroughAssociationPointlessSourceTypeError < ActiveRecord::ActiveRecordError
3293
+ def initialize(owner_class_name = nil, reflection = nil, source_reflection = nil); end
3294
+ end
3295
+ class ActiveRecord::HasOneThroughCantAssociateThroughCollection < ActiveRecord::ActiveRecordError
3296
+ def initialize(owner_class_name = nil, reflection = nil, through_reflection = nil); end
3297
+ end
3298
+ class ActiveRecord::HasOneAssociationPolymorphicThroughError < ActiveRecord::ActiveRecordError
3299
+ def initialize(owner_class_name = nil, reflection = nil); end
3300
+ end
3301
+ class ActiveRecord::HasManyThroughSourceAssociationNotFoundError < ActiveRecord::ActiveRecordError
3302
+ def initialize(reflection = nil); end
3303
+ end
3304
+ class ActiveRecord::HasManyThroughOrderError < ActiveRecord::ActiveRecordError
3305
+ def initialize(owner_class_name = nil, reflection = nil, through_reflection = nil); end
3306
+ end
3307
+ class ActiveRecord::ThroughCantAssociateThroughHasOneOrManyReflection < ActiveRecord::ActiveRecordError
3308
+ def initialize(owner = nil, reflection = nil); end
3309
+ end
3310
+ class ActiveRecord::AmbiguousSourceReflectionForThroughAssociation < ActiveRecord::ActiveRecordError
3311
+ def initialize(klass, macro, association_name, options, possible_sources); end
3312
+ end
3313
+ class ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection < ActiveRecord::ThroughCantAssociateThroughHasOneOrManyReflection
3314
+ end
3315
+ class ActiveRecord::HasOneThroughCantAssociateThroughHasOneOrManyReflection < ActiveRecord::ThroughCantAssociateThroughHasOneOrManyReflection
3316
+ end
3317
+ class ActiveRecord::ThroughNestedAssociationsAreReadonly < ActiveRecord::ActiveRecordError
3318
+ def initialize(owner = nil, reflection = nil); end
3319
+ end
3320
+ class ActiveRecord::HasManyThroughNestedAssociationsAreReadonly < ActiveRecord::ThroughNestedAssociationsAreReadonly
3321
+ end
3322
+ class ActiveRecord::HasOneThroughNestedAssociationsAreReadonly < ActiveRecord::ThroughNestedAssociationsAreReadonly
3323
+ end
3324
+ class ActiveRecord::EagerLoadPolymorphicError < ActiveRecord::ActiveRecordError
3325
+ def initialize(reflection = nil); end
3326
+ end
3327
+ class ActiveRecord::DeleteRestrictionError < ActiveRecord::ActiveRecordError
3328
+ def initialize(name = nil); end
3329
+ end
3330
+ module ActiveRecord::Associations
3331
+ def association(name); end
3332
+ def association_cached?(name); end
3333
+ def association_instance_get(name); end
3334
+ def association_instance_set(name, association); end
3335
+ def clear_association_cache; end
3336
+ def init_internals; end
3337
+ def initialize_dup(*arg0); end
3338
+ def reload(*arg0); end
3339
+ def self.eager_load!; end
3340
+ extend ActiveSupport::Autoload
3341
+ extend ActiveSupport::Concern
3342
+ end
3343
+ module ActiveRecord::Associations::Builder
3344
+ end
3345
+ module ActiveRecord::Associations::ClassMethods
3346
+ def belongs_to(name, scope = nil, **options); end
3347
+ def has_and_belongs_to_many(name, scope = nil, **options, &extension); end
3348
+ def has_many(name, scope = nil, **options, &extension); end
3349
+ def has_one(name, scope = nil, **options); end
3350
+ end
3351
+ module ActiveRecord::AutosaveAssociation
3352
+ def _ensure_no_duplicate_errors; end
3353
+ def after_save_collection_association; end
3354
+ def associated_records_to_validate_or_save(association, new_record, autosave); end
3355
+ def association_foreign_key_changed?(reflection, record, key); end
3356
+ def association_valid?(reflection, record, index = nil); end
3357
+ def before_save_collection_association; end
3358
+ def changed_for_autosave?; end
3359
+ def custom_validation_context?; end
3360
+ def destroyed_by_association; end
3361
+ def destroyed_by_association=(reflection); end
3362
+ def mark_for_destruction; end
3363
+ def marked_for_destruction?; end
3364
+ def nested_records_changed_for_autosave?; end
3365
+ def normalize_reflection_attribute(indexed_attribute, reflection, index, attribute); end
3366
+ def record_changed?(reflection, record, key); end
3367
+ def reload(options = nil); end
3368
+ def save_belongs_to_association(reflection); end
3369
+ def save_collection_association(reflection); end
3370
+ def save_has_one_association(reflection); end
3371
+ def validate_collection_association(reflection); end
3372
+ def validate_single_association(reflection); end
3373
+ extend ActiveSupport::Concern
3374
+ end
3375
+ module ActiveRecord::AutosaveAssociation::AssociationBuilderExtension
3376
+ def self.build(model, reflection); end
3377
+ def self.valid_options; end
3378
+ end
3379
+ module ActiveRecord::AutosaveAssociation::ClassMethods
3380
+ def add_autosave_association_callbacks(reflection); end
3381
+ def define_autosave_validation_callbacks(reflection); end
3382
+ def define_non_cyclic_method(name, &block); end
3383
+ end
3384
+ class ActiveRecord::Associations::Builder::Association
3385
+ def self.add_destroy_callbacks(model, reflection); end
3386
+ def self.build(model, name, scope, options, &block); end
3387
+ def self.build_scope(scope); end
3388
+ def self.check_dependent_options(dependent); end
3389
+ def self.create_reflection(model, name, scope, options, &block); end
3390
+ def self.define_accessors(model, reflection); end
3391
+ def self.define_callbacks(model, reflection); end
3392
+ def self.define_extensions(model, name); end
3393
+ def self.define_readers(mixin, name); end
3394
+ def self.define_validations(model, reflection); end
3395
+ def self.define_writers(mixin, name); end
3396
+ def self.extensions; end
3397
+ def self.extensions=(arg0); end
3398
+ def self.macro; end
3399
+ def self.valid_dependent_options; end
3400
+ def self.valid_options(options); end
3401
+ def self.validate_options(options); end
3402
+ end
3403
+ module ActiveRecord::NestedAttributes
3404
+ def _destroy; end
3405
+ def allow_destroy?(association_name); end
3406
+ def assign_nested_attributes_for_collection_association(association_name, attributes_collection); end
3407
+ def assign_nested_attributes_for_one_to_one_association(association_name, attributes); end
3408
+ def assign_to_or_mark_for_destruction(record, attributes, allow_destroy); end
3409
+ def call_reject_if(association_name, attributes); end
3410
+ def check_record_limit!(limit, attributes_collection); end
3411
+ def has_destroy_flag?(hash); end
3412
+ def raise_nested_attributes_record_not_found!(association_name, record_id); end
3413
+ def reject_new_record?(association_name, attributes); end
3414
+ def will_be_destroyed?(association_name, attributes); end
3415
+ extend ActiveSupport::Concern
3416
+ end
3417
+ class ActiveRecord::NestedAttributes::TooManyRecords < ActiveRecord::ActiveRecordError
3418
+ end
3419
+ module ActiveRecord::NestedAttributes::ClassMethods
3420
+ def accepts_nested_attributes_for(*attr_names); end
3421
+ def generate_association_writer(association_name, type); end
3422
+ end
3423
+ module ActiveRecord::Transactions
3424
+ def _committed_already_called; end
3425
+ def _trigger_destroy_callback; end
3426
+ def _trigger_update_callback; end
3427
+ def add_to_transaction; end
3428
+ def before_committed!; end
3429
+ def clear_transaction_record_state; end
3430
+ def committed!(should_run_callbacks: nil); end
3431
+ def destroy; end
3432
+ def force_clear_transaction_record_state; end
3433
+ def has_transactional_callbacks?; end
3434
+ def remember_transaction_record_state; end
3435
+ def restore_transaction_record_state(force_restore_state = nil); end
3436
+ def rolledback!(force_restore_state: nil, should_run_callbacks: nil); end
3437
+ def save!(*arg0); end
3438
+ def save(*arg0); end
3439
+ def sync_with_transaction_state; end
3440
+ def touch(*arg0); end
3441
+ def transaction(options = nil, &block); end
3442
+ def transaction_include_any_action?(actions); end
3443
+ def trigger_transactional_callbacks?; end
3444
+ def with_transaction_returning_status; end
3445
+ extend ActiveSupport::Concern
3446
+ end
3447
+ module ActiveRecord::Transactions::ClassMethods
3448
+ def after_commit(*args, &block); end
3449
+ def after_commit_without_transaction_enrollment(*args, &block); end
3450
+ def after_create_commit(*args, &block); end
3451
+ def after_destroy_commit(*args, &block); end
3452
+ def after_rollback(*args, &block); end
3453
+ def after_rollback_without_transaction_enrollment(*args, &block); end
3454
+ def after_save_commit(*args, &block); end
3455
+ def after_update_commit(*args, &block); end
3456
+ def assert_valid_transaction_action(actions); end
3457
+ def before_commit(*args, &block); end
3458
+ def before_commit_without_transaction_enrollment(*args, &block); end
3459
+ def set_options_for_callbacks!(args, enforced_options = nil); end
3460
+ def transaction(options = nil, &block); end
3461
+ end
3462
+ module ActiveRecord::TouchLater
3463
+ def belongs_to_touch_method; end
3464
+ def has_defer_touch_attrs?; end
3465
+ def surreptitiously_touch(attrs); end
3466
+ def touch(*names, time: nil); end
3467
+ def touch_deferred_attributes; end
3468
+ def touch_later(*names); end
3469
+ extend ActiveSupport::Concern
3470
+ end
3471
+ module ActiveRecord::NoTouching
3472
+ def no_touching?; end
3473
+ def self.applied_to?(klass); end
3474
+ def self.apply_to(klass); end
3475
+ def self.klasses; end
3476
+ def touch(*arg0); end
3477
+ def touch_later(*arg0); end
3478
+ extend ActiveSupport::Concern
3479
+ end
3480
+ module ActiveRecord::NoTouching::ClassMethods
3481
+ def no_touching(&block); end
3482
+ end
3483
+ module ActiveRecord::Reflection
3484
+ def self.add_aggregate_reflection(ar, name, reflection); end
3485
+ def self.add_reflection(ar, name, reflection); end
3486
+ def self.create(macro, name, scope, options, ar); end
3487
+ def self.reflection_class_for(macro); end
3488
+ extend ActiveSupport::Concern
3489
+ end
3490
+ module ActiveRecord::Reflection::ClassMethods
3491
+ def _reflect_on_association(association); end
3492
+ def clear_reflections_cache; end
3493
+ def reflect_on_aggregation(aggregation); end
3494
+ def reflect_on_all_aggregations; end
3495
+ def reflect_on_all_associations(macro = nil); end
3496
+ def reflect_on_all_autosave_associations; end
3497
+ def reflect_on_association(association); end
3498
+ def reflections; end
3499
+ end
3500
+ class ActiveRecord::Reflection::AbstractReflection
3501
+ def actual_source_reflection; end
3502
+ def alias_candidate(name); end
3503
+ def build_association(attributes, &block); end
3504
+ def build_scope(table, predicate_builder = nil); end
3505
+ def chain; end
3506
+ def check_validity_of_inverse!; end
3507
+ def class_name; end
3508
+ def constraints; end
3509
+ def counter_cache_column; end
3510
+ def counter_must_be_updated_by_has_many?; end
3511
+ def get_join_keys(association_klass); end
3512
+ def has_cached_counter?; end
3513
+ def inverse_of; end
3514
+ def inverse_updates_counter_cache?; end
3515
+ def inverse_updates_counter_in_memory?; end
3516
+ def inverse_which_updates_counter_cache; end
3517
+ def join_foreign_key; end
3518
+ def join_keys; end
3519
+ def join_primary_key(*arg0); end
3520
+ def join_scope(table, foreign_table, foreign_klass); end
3521
+ def join_scopes(table, predicate_builder); end
3522
+ def klass_join_scope(table, predicate_builder); end
3523
+ def predicate_builder(table); end
3524
+ def primary_key(klass); end
3525
+ def scopes; end
3526
+ def table_name; end
3527
+ def through_reflection?; end
3528
+ end
3529
+ class ActiveRecord::Reflection::AbstractReflection::JoinKeys < Struct
3530
+ def foreign_key; end
3531
+ def foreign_key=(_); end
3532
+ def key; end
3533
+ def key=(_); end
3534
+ def self.[](*arg0); end
3535
+ def self.inspect; end
3536
+ def self.members; end
3537
+ def self.new(*arg0); end
3538
+ end
3539
+ class ActiveRecord::Reflection::MacroReflection < ActiveRecord::Reflection::AbstractReflection
3540
+ def ==(other_aggregation); end
3541
+ def active_record; end
3542
+ def autosave=(autosave); end
3543
+ def compute_class(name); end
3544
+ def derive_class_name; end
3545
+ def initialize(name, scope, options, active_record); end
3546
+ def klass; end
3547
+ def name; end
3548
+ def options; end
3549
+ def plural_name; end
3550
+ def scope; end
3551
+ def scope_for(relation, owner = nil); end
3552
+ end
3553
+ class ActiveRecord::Reflection::AggregateReflection < ActiveRecord::Reflection::MacroReflection
3554
+ def mapping; end
3555
+ end
3556
+ class ActiveRecord::Reflection::AssociationReflection < ActiveRecord::Reflection::MacroReflection
3557
+ def active_record_primary_key; end
3558
+ def add_as_polymorphic_through(reflection, seed); end
3559
+ def add_as_source(seed); end
3560
+ def add_as_through(seed); end
3561
+ def association_class; end
3562
+ def association_foreign_key; end
3563
+ def association_primary_key(klass = nil); end
3564
+ def association_scope_cache(conn, owner, &block); end
3565
+ def automatic_inverse_of; end
3566
+ def belongs_to?; end
3567
+ def calculate_constructable(macro, options); end
3568
+ def can_find_inverse_of_automatically?(reflection); end
3569
+ def check_eager_loadable!; end
3570
+ def check_preloadable!; end
3571
+ def check_validity!; end
3572
+ def clear_association_scope_cache; end
3573
+ def collect_join_chain; end
3574
+ def collection?; end
3575
+ def compute_class(name); end
3576
+ def constructable?; end
3577
+ def derive_class_name; end
3578
+ def derive_foreign_key; end
3579
+ def derive_join_table; end
3580
+ def extensions; end
3581
+ def foreign_key; end
3582
+ def foreign_type; end
3583
+ def has_inverse?; end
3584
+ def has_one?; end
3585
+ def has_scope?; end
3586
+ def initialize(name, scope, options, active_record); end
3587
+ def inverse_name; end
3588
+ def join_id_for(owner); end
3589
+ def join_table; end
3590
+ def macro; end
3591
+ def nested?; end
3592
+ def parent_reflection; end
3593
+ def parent_reflection=(arg0); end
3594
+ def polymorphic?; end
3595
+ def polymorphic_inverse_of(associated_class); end
3596
+ def source_reflection; end
3597
+ def through_reflection; end
3598
+ def type; end
3599
+ def valid_inverse_reflection?(reflection); end
3600
+ def validate?; end
3601
+ end
3602
+ class ActiveRecord::Reflection::HasManyReflection < ActiveRecord::Reflection::AssociationReflection
3603
+ def association_class; end
3604
+ def association_primary_key(klass = nil); end
3605
+ def collection?; end
3606
+ def macro; end
3607
+ end
3608
+ class ActiveRecord::Reflection::HasOneReflection < ActiveRecord::Reflection::AssociationReflection
3609
+ def association_class; end
3610
+ def calculate_constructable(macro, options); end
3611
+ def has_one?; end
3612
+ def macro; end
3613
+ end
3614
+ class ActiveRecord::Reflection::BelongsToReflection < ActiveRecord::Reflection::AssociationReflection
3615
+ def association_class; end
3616
+ def belongs_to?; end
3617
+ def calculate_constructable(macro, options); end
3618
+ def can_find_inverse_of_automatically?(_); end
3619
+ def join_foreign_key; end
3620
+ def join_primary_key(klass = nil); end
3621
+ def macro; end
3622
+ end
3623
+ class ActiveRecord::Reflection::HasAndBelongsToManyReflection < ActiveRecord::Reflection::AssociationReflection
3624
+ def collection?; end
3625
+ def macro; end
3626
+ end
3627
+ class ActiveRecord::Reflection::ThroughReflection < ActiveRecord::Reflection::AbstractReflection
3628
+ def active_record(*args, &block); end
3629
+ def active_record_primary_key(*args, &block); end
3630
+ def actual_source_reflection; end
3631
+ def add_as_polymorphic_through(reflection, seed); end
3632
+ def add_as_source(seed); end
3633
+ def add_as_through(seed); end
3634
+ def association_class(*args, &block); end
3635
+ def association_foreign_key(*args, &block); end
3636
+ def association_primary_key(klass = nil); end
3637
+ def association_scope_cache(*args, &block); end
3638
+ def autosave=(arg); end
3639
+ def belongs_to?(*args, &block); end
3640
+ def check_eager_loadable!(*args, &block); end
3641
+ def check_preloadable!(*args, &block); end
3642
+ def check_validity!; end
3643
+ def clear_association_scope_cache; end
3644
+ def collect_join_chain; end
3645
+ def collect_join_reflections(seed); end
3646
+ def collection?(*args, &block); end
3647
+ def compute_class(*args, &block); end
3648
+ def constraints; end
3649
+ def constructable?(*args, &block); end
3650
+ def delegate_reflection; end
3651
+ def derive_class_name; end
3652
+ def extensions(*args, &block); end
3653
+ def foreign_key(*args, &block); end
3654
+ def foreign_type(*args, &block); end
3655
+ def get_join_keys(*args, &block); end
3656
+ def has_inverse?(*args, &block); end
3657
+ def has_one?(*args, &block); end
3658
+ def has_scope?; end
3659
+ def initialize(delegate_reflection); end
3660
+ def inverse_name; end
3661
+ def join_id_for(*args, &block); end
3662
+ def join_scopes(table, predicate_builder); end
3663
+ def join_table(*args, &block); end
3664
+ def klass; end
3665
+ def macro(*args, &block); end
3666
+ def name(*args, &block); end
3667
+ def nested?; end
3668
+ def options(*args, &block); end
3669
+ def parent_reflection(*args, &block); end
3670
+ def parent_reflection=(arg); end
3671
+ def plural_name(*args, &block); end
3672
+ def polymorphic?(*args, &block); end
3673
+ def polymorphic_inverse_of(*args, &block); end
3674
+ def scope(*args, &block); end
3675
+ def scope_for(*args, &block); end
3676
+ def scopes; end
3677
+ def source_options; end
3678
+ def source_reflection; end
3679
+ def source_reflection_name; end
3680
+ def source_reflection_names; end
3681
+ def through_options; end
3682
+ def through_reflection; end
3683
+ def through_reflection?; end
3684
+ def type(*args, &block); end
3685
+ def validate?(*args, &block); end
3686
+ end
3687
+ class ActiveRecord::Reflection::PolymorphicReflection < ActiveRecord::Reflection::AbstractReflection
3688
+ def constraints; end
3689
+ def get_join_keys(*args, &block); end
3690
+ def initialize(reflection, previous_reflection); end
3691
+ def join_scopes(table, predicate_builder); end
3692
+ def klass(*args, &block); end
3693
+ def plural_name(*args, &block); end
3694
+ def scope(*args, &block); end
3695
+ def scope_for(*args, &block); end
3696
+ def source_type_scope; end
3697
+ def type(*args, &block); end
3698
+ end
3699
+ class ActiveRecord::Reflection::RuntimeReflection < ActiveRecord::Reflection::AbstractReflection
3700
+ def aliased_table; end
3701
+ def all_includes; end
3702
+ def constraints(*args, &block); end
3703
+ def get_join_keys(*args, &block); end
3704
+ def initialize(reflection, association); end
3705
+ def klass; end
3706
+ def scope(*args, &block); end
3707
+ def type(*args, &block); end
3708
+ end
3709
+ module ActiveRecord::Serialization
3710
+ def serializable_hash(options = nil); end
3711
+ extend ActiveSupport::Concern
3712
+ include ActiveModel::Serializers::JSON
3713
+ end
3714
+ module ActiveRecord::Store
3715
+ def read_store_attribute(store_attribute, key); end
3716
+ def store_accessor_for(store_attribute); end
3717
+ def write_store_attribute(store_attribute, key, value); end
3718
+ extend ActiveSupport::Concern
3719
+ end
3720
+ module ActiveRecord::Store::ClassMethods
3721
+ def _store_accessors_module; end
3722
+ def store(store_attribute, options = nil); end
3723
+ def store_accessor(store_attribute, *keys, prefix: nil, suffix: nil); end
3724
+ def stored_attributes; end
3725
+ end
3726
+ class ActiveRecord::Store::HashAccessor
3727
+ def self.prepare(object, attribute); end
3728
+ def self.read(object, attribute, key); end
3729
+ def self.write(object, attribute, key, value); end
3730
+ end
3731
+ class ActiveRecord::Store::StringKeyedHashAccessor < ActiveRecord::Store::HashAccessor
3732
+ def self.read(object, attribute, key); end
3733
+ def self.write(object, attribute, key, value); end
3734
+ end
3735
+ class ActiveRecord::Store::IndifferentHashAccessor < ActiveRecord::Store::HashAccessor
3736
+ def self.prepare(object, store_attribute); end
3737
+ end
3738
+ class ActiveRecord::Store::IndifferentCoder
3739
+ def dump(obj); end
3740
+ def initialize(attr_name, coder_or_class_name); end
3741
+ def load(yaml); end
3742
+ def self.as_indifferent_hash(obj); end
3743
+ end
3744
+ module ActiveRecord::SecureToken
3745
+ extend ActiveSupport::Concern
3746
+ end
3747
+ module ActiveRecord::SecureToken::ClassMethods
3748
+ def generate_unique_secure_token; end
3749
+ def has_secure_token(attribute = nil); end
3750
+ end
3751
+ module ActiveRecord::Suppressor
3752
+ def save!(*arg0); end
3753
+ def save(*arg0); end
3754
+ extend ActiveSupport::Concern
3755
+ end
3756
+ module ActiveRecord::Suppressor::ClassMethods
3757
+ def suppress(&block); end
3758
+ end
3759
+ class ActiveRecord::SuppressorRegistry
3760
+ def initialize; end
3761
+ def suppressed; end
3762
+ extend ActiveSupport::PerThreadRegistry
3763
+ end
3764
+ class ActiveRecord::Base
3765
+ def __callbacks; end
3766
+ def __callbacks?; end
3767
+ def _before_commit_callbacks; end
3768
+ def _before_commit_without_transaction_enrollment_callbacks; end
3769
+ def _commit_callbacks; end
3770
+ def _commit_without_transaction_enrollment_callbacks; end
3771
+ def _create_callbacks; end
3772
+ def _destroy_callbacks; end
3773
+ def _find_callbacks; end
3774
+ def _initialize_callbacks; end
3775
+ def _reflections; end
3776
+ def _reflections?; end
3777
+ def _rollback_callbacks; end
3778
+ def _rollback_without_transaction_enrollment_callbacks; end
3779
+ def _run_before_commit_callbacks(&block); end
3780
+ def _run_before_commit_without_transaction_enrollment_callbacks(&block); end
3781
+ def _run_commit_callbacks(&block); end
3782
+ def _run_commit_without_transaction_enrollment_callbacks(&block); end
3783
+ def _run_create_callbacks(&block); end
3784
+ def _run_destroy_callbacks(&block); end
3785
+ def _run_find_callbacks(&block); end
3786
+ def _run_initialize_callbacks(&block); end
3787
+ def _run_rollback_callbacks(&block); end
3788
+ def _run_rollback_without_transaction_enrollment_callbacks(&block); end
3789
+ def _run_save_callbacks(&block); end
3790
+ def _run_touch_callbacks(&block); end
3791
+ def _run_update_callbacks(&block); end
3792
+ def _run_validate_callbacks(&block); end
3793
+ def _run_validation_callbacks(&block); end
3794
+ def _save_callbacks; end
3795
+ def _touch_callbacks; end
3796
+ def _update_callbacks; end
3797
+ def _validate_callbacks; end
3798
+ def _validation_callbacks; end
3799
+ def _validators; end
3800
+ def _validators?; end
3801
+ def aggregate_reflections; end
3802
+ def aggregate_reflections?; end
3803
+ def allow_unsafe_raw_sql; end
3804
+ def attribute_aliases; end
3805
+ def attribute_aliases?; end
3806
+ def attribute_method_matchers; end
3807
+ def attribute_method_matchers?; end
3808
+ def cache_timestamp_format; end
3809
+ def cache_timestamp_format?; end
3810
+ def cache_versioning; end
3811
+ def cache_versioning?; end
3812
+ def collection_cache_versioning; end
3813
+ def collection_cache_versioning?; end
3814
+ def column_for_attribute(*args, &block); end
3815
+ def default_connection_handler; end
3816
+ def default_connection_handler?; end
3817
+ def default_scope_override; end
3818
+ def default_scopes; end
3819
+ def default_timezone; end
3820
+ def defined_enums; end
3821
+ def defined_enums?; end
3822
+ def dump_schema_after_migration; end
3823
+ def dump_schemas; end
3824
+ def error_on_ignored_order; end
3825
+ def include_root_in_json; end
3826
+ def include_root_in_json?; end
3827
+ def index_nested_attribute_errors; end
3828
+ def lock_optimistically; end
3829
+ def lock_optimistically?; end
3830
+ def logger; end
3831
+ def model_name(*args, &block); end
3832
+ def nested_attributes_options; end
3833
+ def nested_attributes_options?; end
3834
+ def partial_writes; end
3835
+ def partial_writes?; end
3836
+ def pluralize_table_names; end
3837
+ def pluralize_table_names?; end
3838
+ def primary_key_prefix_type; end
3839
+ def record_timestamps; end
3840
+ def record_timestamps=(val); end
3841
+ def record_timestamps?; end
3842
+ def schema_format; end
3843
+ def self.__callbacks; end
3844
+ def self.__callbacks=(val); end
3845
+ def self.__callbacks?; end
3846
+ def self._attr_readonly; end
3847
+ def self._attr_readonly=(val); end
3848
+ def self._attr_readonly?; end
3849
+ def self._before_commit_callbacks; end
3850
+ def self._before_commit_callbacks=(value); end
3851
+ def self._before_commit_without_transaction_enrollment_callbacks; end
3852
+ def self._before_commit_without_transaction_enrollment_callbacks=(value); end
3853
+ def self._commit_callbacks; end
3854
+ def self._commit_callbacks=(value); end
3855
+ def self._commit_without_transaction_enrollment_callbacks; end
3856
+ def self._commit_without_transaction_enrollment_callbacks=(value); end
3857
+ def self._create_callbacks; end
3858
+ def self._create_callbacks=(value); end
3859
+ def self._destroy_callbacks; end
3860
+ def self._destroy_callbacks=(value); end
3861
+ def self._find_callbacks; end
3862
+ def self._find_callbacks=(value); end
3863
+ def self._initialize_callbacks; end
3864
+ def self._initialize_callbacks=(value); end
3865
+ def self._reflections; end
3866
+ def self._reflections=(val); end
3867
+ def self._reflections?; end
3868
+ def self._rollback_callbacks; end
3869
+ def self._rollback_callbacks=(value); end
3870
+ def self._rollback_without_transaction_enrollment_callbacks; end
3871
+ def self._rollback_without_transaction_enrollment_callbacks=(value); end
3872
+ def self._save_callbacks; end
3873
+ def self._save_callbacks=(value); end
3874
+ def self._touch_callbacks; end
3875
+ def self._touch_callbacks=(value); end
3876
+ def self._update_callbacks; end
3877
+ def self._update_callbacks=(value); end
3878
+ def self._validate_callbacks; end
3879
+ def self._validate_callbacks=(value); end
3880
+ def self._validation_callbacks; end
3881
+ def self._validation_callbacks=(value); end
3882
+ def self._validators; end
3883
+ def self._validators=(val); end
3884
+ def self._validators?; end
3885
+ def self.after_create(*args, **options, &block); end
3886
+ def self.after_destroy(*args, **options, &block); end
3887
+ def self.after_find(*args, **options, &block); end
3888
+ def self.after_initialize(*args, **options, &block); end
3889
+ def self.after_save(*args, **options, &block); end
3890
+ def self.after_touch(*args, **options, &block); end
3891
+ def self.after_update(*args, **options, &block); end
3892
+ def self.aggregate_reflections; end
3893
+ def self.aggregate_reflections=(val); end
3894
+ def self.aggregate_reflections?; end
3895
+ def self.allow_unsafe_raw_sql; end
3896
+ def self.allow_unsafe_raw_sql=(obj); end
3897
+ def self.around_create(*args, **options, &block); end
3898
+ def self.around_destroy(*args, **options, &block); end
3899
+ def self.around_save(*args, **options, &block); end
3900
+ def self.around_update(*args, **options, &block); end
3901
+ def self.attribute_aliases; end
3902
+ def self.attribute_aliases=(val); end
3903
+ def self.attribute_aliases?; end
3904
+ def self.attribute_method_matchers; end
3905
+ def self.attribute_method_matchers=(val); end
3906
+ def self.attribute_method_matchers?; end
3907
+ def self.attribute_type_decorations; end
3908
+ def self.attribute_type_decorations=(val); end
3909
+ def self.attribute_type_decorations?; end
3910
+ def self.attributes_to_define_after_schema_loads; end
3911
+ def self.attributes_to_define_after_schema_loads=(val); end
3912
+ def self.attributes_to_define_after_schema_loads?; end
3913
+ def self.before_create(*args, **options, &block); end
3914
+ def self.before_destroy(*args, **options, &block); end
3915
+ def self.before_save(*args, **options, &block); end
3916
+ def self.before_update(*args, **options, &block); end
3917
+ def self.belongs_to_required_by_default; end
3918
+ def self.belongs_to_required_by_default=(obj); end
3919
+ def self.cache_timestamp_format; end
3920
+ def self.cache_timestamp_format=(val); end
3921
+ def self.cache_timestamp_format?; end
3922
+ def self.cache_versioning; end
3923
+ def self.cache_versioning=(val); end
3924
+ def self.cache_versioning?; end
3925
+ def self.collection_cache_versioning; end
3926
+ def self.collection_cache_versioning=(val); end
3927
+ def self.collection_cache_versioning?; end
3928
+ def self.configurations; end
3929
+ def self.configurations=(config); end
3930
+ def self.connection_handler; end
3931
+ def self.connection_handler=(handler); end
3932
+ def self.connection_handlers; end
3933
+ def self.connection_handlers=(obj); end
3934
+ def self.default_connection_handler; end
3935
+ def self.default_connection_handler=(val); end
3936
+ def self.default_connection_handler?; end
3937
+ def self.default_scope_override; end
3938
+ def self.default_scope_override=(val); end
3939
+ def self.default_scopes; end
3940
+ def self.default_scopes=(val); end
3941
+ def self.default_timezone; end
3942
+ def self.default_timezone=(obj); end
3943
+ def self.defined_enums; end
3944
+ def self.defined_enums=(val); end
3945
+ def self.defined_enums?; end
3946
+ def self.dump_schema_after_migration; end
3947
+ def self.dump_schema_after_migration=(obj); end
3948
+ def self.dump_schemas; end
3949
+ def self.dump_schemas=(obj); end
3950
+ def self.error_on_ignored_order; end
3951
+ def self.error_on_ignored_order=(obj); end
3952
+ def self.implicit_order_column; end
3953
+ def self.implicit_order_column=(val); end
3954
+ def self.implicit_order_column?; end
3955
+ def self.include_root_in_json; end
3956
+ def self.include_root_in_json=(val); end
3957
+ def self.include_root_in_json?; end
3958
+ def self.index_nested_attribute_errors; end
3959
+ def self.index_nested_attribute_errors=(obj); end
3960
+ def self.internal_metadata_table_name; end
3961
+ def self.internal_metadata_table_name=(val); end
3962
+ def self.internal_metadata_table_name?; end
3963
+ def self.local_stored_attributes; end
3964
+ def self.local_stored_attributes=(arg0); end
3965
+ def self.lock_optimistically; end
3966
+ def self.lock_optimistically=(val); end
3967
+ def self.lock_optimistically?; end
3968
+ def self.logger; end
3969
+ def self.logger=(obj); end
3970
+ def self.maintain_test_schema; end
3971
+ def self.maintain_test_schema=(obj); end
3972
+ def self.nested_attributes_options; end
3973
+ def self.nested_attributes_options=(val); end
3974
+ def self.nested_attributes_options?; end
3975
+ def self.partial_writes; end
3976
+ def self.partial_writes=(val); end
3977
+ def self.partial_writes?; end
3978
+ def self.pluralize_table_names; end
3979
+ def self.pluralize_table_names=(val); end
3980
+ def self.pluralize_table_names?; end
3981
+ def self.primary_key_prefix_type; end
3982
+ def self.primary_key_prefix_type=(obj); end
3983
+ def self.reading_role; end
3984
+ def self.reading_role=(obj); end
3985
+ def self.record_timestamps; end
3986
+ def self.record_timestamps=(val); end
3987
+ def self.record_timestamps?; end
3988
+ def self.schema_format; end
3989
+ def self.schema_format=(obj); end
3990
+ def self.schema_migrations_table_name; end
3991
+ def self.schema_migrations_table_name=(val); end
3992
+ def self.schema_migrations_table_name?; end
3993
+ def self.skip_time_zone_conversion_for_attributes; end
3994
+ def self.skip_time_zone_conversion_for_attributes=(val); end
3995
+ def self.skip_time_zone_conversion_for_attributes?; end
3996
+ def self.store_full_sti_class; end
3997
+ def self.store_full_sti_class=(val); end
3998
+ def self.store_full_sti_class?; end
3999
+ def self.table_name_prefix; end
4000
+ def self.table_name_prefix=(val); end
4001
+ def self.table_name_prefix?; end
4002
+ def self.table_name_suffix; end
4003
+ def self.table_name_suffix=(val); end
4004
+ def self.table_name_suffix?; end
4005
+ def self.time_zone_aware_attributes; end
4006
+ def self.time_zone_aware_attributes=(obj); end
4007
+ def self.time_zone_aware_types; end
4008
+ def self.time_zone_aware_types=(val); end
4009
+ def self.time_zone_aware_types?; end
4010
+ def self.timestamped_migrations; end
4011
+ def self.timestamped_migrations=(obj); end
4012
+ def self.verbose_query_logs; end
4013
+ def self.verbose_query_logs=(obj); end
4014
+ def self.warn_on_records_fetched_greater_than; end
4015
+ def self.warn_on_records_fetched_greater_than=(obj); end
4016
+ def self.writing_role; end
4017
+ def self.writing_role=(obj); end
4018
+ def skip_time_zone_conversion_for_attributes; end
4019
+ def skip_time_zone_conversion_for_attributes?; end
4020
+ def store_full_sti_class; end
4021
+ def store_full_sti_class?; end
4022
+ def table_name_prefix; end
4023
+ def table_name_prefix?; end
4024
+ def table_name_suffix; end
4025
+ def table_name_suffix?; end
4026
+ def time_zone_aware_attributes; end
4027
+ def time_zone_aware_types; end
4028
+ def time_zone_aware_types?; end
4029
+ def timestamped_migrations; end
4030
+ def type_for_attribute(*args, &block); end
4031
+ def validation_context; end
4032
+ def validation_context=(arg0); end
4033
+ def verbose_query_logs; end
4034
+ def warn_on_records_fetched_greater_than; end
4035
+ extend ActiveModel::AttributeMethods::ClassMethods
4036
+ extend ActiveModel::Callbacks
4037
+ extend ActiveModel::Conversion::ClassMethods
4038
+ extend ActiveModel::Naming
4039
+ extend ActiveModel::Naming
4040
+ extend ActiveModel::Naming
4041
+ extend ActiveModel::SecurePassword::ClassMethods
4042
+ extend ActiveModel::Translation
4043
+ extend ActiveModel::Validations::Callbacks::ClassMethods
4044
+ extend ActiveModel::Validations::ClassMethods
4045
+ extend ActiveModel::Validations::HelperMethods
4046
+ extend ActiveRecord::Aggregations::ClassMethods
4047
+ extend ActiveRecord::Associations::ClassMethods
4048
+ extend ActiveRecord::AttributeDecorators::ClassMethods
4049
+ extend ActiveRecord::AttributeMethods::ClassMethods
4050
+ extend ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods
4051
+ extend ActiveRecord::AttributeMethods::Read::ClassMethods
4052
+ extend ActiveRecord::AttributeMethods::Serialization::ClassMethods
4053
+ extend ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods
4054
+ extend ActiveRecord::AttributeMethods::Write::ClassMethods
4055
+ extend ActiveRecord::Attributes::ClassMethods
4056
+ extend ActiveRecord::AutosaveAssociation::ClassMethods
4057
+ extend ActiveRecord::ConnectionHandling
4058
+ extend ActiveRecord::Core::ClassMethods
4059
+ extend ActiveRecord::CounterCache::ClassMethods
4060
+ extend ActiveRecord::DefineCallbacks::ClassMethods
4061
+ extend ActiveRecord::Delegation::DelegateCache
4062
+ extend ActiveRecord::DynamicMatchers
4063
+ extend ActiveRecord::Enum
4064
+ extend ActiveRecord::Explain
4065
+ extend ActiveRecord::Inheritance::ClassMethods
4066
+ extend ActiveRecord::Integration::ClassMethods
4067
+ extend ActiveRecord::Locking::Optimistic::ClassMethods
4068
+ extend ActiveRecord::ModelSchema::ClassMethods
4069
+ extend ActiveRecord::NestedAttributes::ClassMethods
4070
+ extend ActiveRecord::NoTouching::ClassMethods
4071
+ extend ActiveRecord::Persistence::ClassMethods
4072
+ extend ActiveRecord::QueryCache::ClassMethods
4073
+ extend ActiveRecord::Querying
4074
+ extend ActiveRecord::ReadonlyAttributes::ClassMethods
4075
+ extend ActiveRecord::Reflection::ClassMethods
4076
+ extend ActiveRecord::Sanitization::ClassMethods
4077
+ extend ActiveRecord::Scoping::ClassMethods
4078
+ extend ActiveRecord::Scoping::Default::ClassMethods
4079
+ extend ActiveRecord::Scoping::Named::ClassMethods
4080
+ extend ActiveRecord::SecureToken::ClassMethods
4081
+ extend ActiveRecord::Store::ClassMethods
4082
+ extend ActiveRecord::Suppressor::ClassMethods
4083
+ extend ActiveRecord::Timestamp::ClassMethods
4084
+ extend ActiveRecord::Transactions::ClassMethods
4085
+ extend ActiveRecord::Translation
4086
+ extend ActiveRecord::Validations::ClassMethods
4087
+ extend ActiveSupport::Benchmarkable
4088
+ extend ActiveSupport::Callbacks::ClassMethods
4089
+ extend ActiveSupport::DescendantsTracker
4090
+ extend ActiveSupport::DescendantsTracker
4091
+ include ActiveModel::AttributeMethods
4092
+ include ActiveModel::AttributeMethods
4093
+ include ActiveModel::Conversion
4094
+ include ActiveModel::Dirty
4095
+ include ActiveModel::SecurePassword
4096
+ include ActiveModel::Serializers::JSON
4097
+ include ActiveModel::Validations
4098
+ include ActiveModel::Validations::Callbacks
4099
+ include ActiveModel::Validations::HelperMethods
4100
+ include ActiveRecord::Associations
4101
+ include ActiveRecord::AttributeAssignment
4102
+ include ActiveRecord::AttributeDecorators
4103
+ include ActiveRecord::AttributeMethods
4104
+ include ActiveRecord::AttributeMethods::BeforeTypeCast
4105
+ include ActiveRecord::AttributeMethods::Dirty
4106
+ include ActiveRecord::AttributeMethods::PrimaryKey
4107
+ include ActiveRecord::AttributeMethods::Query
4108
+ include ActiveRecord::AttributeMethods::Read
4109
+ include ActiveRecord::AttributeMethods::Serialization
4110
+ include ActiveRecord::AttributeMethods::TimeZoneConversion
4111
+ include ActiveRecord::AttributeMethods::Write
4112
+ include ActiveRecord::Attributes
4113
+ include ActiveRecord::AutosaveAssociation
4114
+ include ActiveRecord::Base::GeneratedAssociationMethods
4115
+ include ActiveRecord::Base::GeneratedAttributeMethods
4116
+ include ActiveRecord::Callbacks
4117
+ include ActiveRecord::Core
4118
+ include ActiveRecord::CounterCache
4119
+ include ActiveRecord::DefineCallbacks
4120
+ include ActiveRecord::Inheritance
4121
+ include ActiveRecord::Integration
4122
+ include ActiveRecord::Locking::Optimistic
4123
+ include ActiveRecord::Locking::Pessimistic
4124
+ include ActiveRecord::ModelSchema
4125
+ include ActiveRecord::NestedAttributes
4126
+ include ActiveRecord::NoTouching
4127
+ include ActiveRecord::Persistence
4128
+ include ActiveRecord::ReadonlyAttributes
4129
+ include ActiveRecord::Reflection
4130
+ include ActiveRecord::Sanitization
4131
+ include ActiveRecord::Scoping
4132
+ include ActiveRecord::Scoping::Default
4133
+ include ActiveRecord::Scoping::Named
4134
+ include ActiveRecord::SecureToken
4135
+ include ActiveRecord::Serialization
4136
+ include ActiveRecord::Store
4137
+ include ActiveRecord::Suppressor
4138
+ include ActiveRecord::Timestamp
4139
+ include ActiveRecord::TouchLater
4140
+ include ActiveRecord::Transactions
4141
+ include ActiveRecord::Validations
4142
+ include ActiveSupport::Callbacks
4143
+ include ActiveSupport::Callbacks
4144
+ end
4145
+ module ActiveRecord::Base::GeneratedAttributeMethods
4146
+ end
4147
+ module ActiveRecord::Base::GeneratedAssociationMethods
4148
+ end
4149
+ module ActiveRecord::FinderMethods
4150
+ def apply_join_dependency(eager_loading: nil); end
4151
+ def construct_relation_for_exists(conditions); end
4152
+ def exists?(conditions = nil); end
4153
+ def fifth!; end
4154
+ def fifth; end
4155
+ def find(*args); end
4156
+ def find_by!(arg, *args); end
4157
+ def find_by(arg, *args); end
4158
+ def find_last(limit); end
4159
+ def find_nth(index); end
4160
+ def find_nth_from_last(index); end
4161
+ def find_nth_with_limit(index, limit); end
4162
+ def find_one(id); end
4163
+ def find_some(ids); end
4164
+ def find_some_ordered(ids); end
4165
+ def find_take; end
4166
+ def find_take_with_limit(limit); end
4167
+ def find_with_ids(*ids); end
4168
+ def first!; end
4169
+ def first(limit = nil); end
4170
+ def forty_two!; end
4171
+ def forty_two; end
4172
+ def fourth!; end
4173
+ def fourth; end
4174
+ def last!; end
4175
+ def last(limit = nil); end
4176
+ def limited_ids_for(relation); end
4177
+ def offset_index; end
4178
+ def ordered_relation; end
4179
+ def raise_record_not_found_exception!(ids = nil, result_size = nil, expected_size = nil, key = nil, not_found_ids = nil); end
4180
+ def second!; end
4181
+ def second; end
4182
+ def second_to_last!; end
4183
+ def second_to_last; end
4184
+ def take!; end
4185
+ def take(limit = nil); end
4186
+ def third!; end
4187
+ def third; end
4188
+ def third_to_last!; end
4189
+ def third_to_last; end
4190
+ def using_limitable_reflections?(reflections); end
4191
+ end
4192
+ module ActiveRecord::Calculations
4193
+ def aggregate_column(column_name); end
4194
+ def average(column_name); end
4195
+ def build_count_subquery(relation, column_name, distinct); end
4196
+ def calculate(operation, column_name); end
4197
+ def column_alias_for(field); end
4198
+ def count(column_name = nil); end
4199
+ def distinct_select?(column_name); end
4200
+ def execute_grouped_calculation(operation, column_name, distinct); end
4201
+ def execute_simple_calculation(operation, column_name, distinct); end
4202
+ def has_include?(column_name); end
4203
+ def ids; end
4204
+ def maximum(column_name); end
4205
+ def minimum(column_name); end
4206
+ def operation_over_aggregate_column(column, operation, distinct); end
4207
+ def perform_calculation(operation, column_name); end
4208
+ def pick(*column_names); end
4209
+ def pluck(*column_names); end
4210
+ def select_for_count; end
4211
+ def sum(column_name = nil); end
4212
+ def type_cast_calculated_value(value, type, operation = nil); end
4213
+ def type_for(field, &block); end
4214
+ end
4215
+ class ActiveRecord::Relation
4216
+ def ==(other); end
4217
+ def _deprecated_scope_block(name, &block); end
4218
+ def _deprecated_scope_source; end
4219
+ def _deprecated_scope_source=(arg0); end
4220
+ def _deprecated_spawn(name); end
4221
+ def _exec_scope(name, *args, &block); end
4222
+ def _increment_attribute(attribute, value = nil); end
4223
+ def _scoping(scope); end
4224
+ def _substitute_values(values); end
4225
+ def alias_tracker(joins = nil, aliases = nil); end
4226
+ def already_in_scope?; end
4227
+ def any?; end
4228
+ def arel_attribute(name); end
4229
+ def bind_attribute(name, value); end
4230
+ def blank?; end
4231
+ def build(attributes = nil, &block); end
4232
+ def build_preloader; end
4233
+ def cache_key(timestamp_column = nil); end
4234
+ def cache_version(timestamp_column = nil); end
4235
+ def compute_cache_key(timestamp_column = nil); end
4236
+ def compute_cache_version(timestamp_column); end
4237
+ def create!(attributes = nil, &block); end
4238
+ def create(attributes = nil, &block); end
4239
+ def create_or_find_by!(attributes, &block); end
4240
+ def create_or_find_by(attributes, &block); end
4241
+ def delete_all; end
4242
+ def delete_by(*args); end
4243
+ def destroy_all; end
4244
+ def destroy_by(*args); end
4245
+ def eager_loading?; end
4246
+ def empty?; end
4247
+ def empty_scope?; end
4248
+ def encode_with(coder); end
4249
+ def exec_queries(&block); end
4250
+ def explain; end
4251
+ def find_or_create_by!(attributes, &block); end
4252
+ def find_or_create_by(attributes, &block); end
4253
+ def find_or_initialize_by(attributes, &block); end
4254
+ def first_or_create!(attributes = nil, &block); end
4255
+ def first_or_create(attributes = nil, &block); end
4256
+ def first_or_initialize(attributes = nil, &block); end
4257
+ def has_limit_or_offset?; end
4258
+ def initialize(klass, table: nil, predicate_builder: nil, values: nil); end
4259
+ def initialize_copy(other); end
4260
+ def inspect; end
4261
+ def joined_includes_values; end
4262
+ def klass; end
4263
+ def load(&block); end
4264
+ def load_records(records); end
4265
+ def loaded; end
4266
+ def loaded?; end
4267
+ def locked?; end
4268
+ def many?; end
4269
+ def model; end
4270
+ def new(attributes = nil, &block); end
4271
+ def none?; end
4272
+ def null_relation?; end
4273
+ def one?; end
4274
+ def predicate_builder; end
4275
+ def preload_associations(records); end
4276
+ def pretty_print(q); end
4277
+ def records; end
4278
+ def references_eager_loaded_tables?; end
4279
+ def reload; end
4280
+ def reset; end
4281
+ def scope_for_create; end
4282
+ def scoping; end
4283
+ def size; end
4284
+ def skip_preloading_value; end
4285
+ def skip_preloading_value=(arg0); end
4286
+ def skip_query_cache_if_necessary; end
4287
+ def table; end
4288
+ def tables_in_string(string); end
4289
+ def to_a; end
4290
+ def to_ary; end
4291
+ def to_sql; end
4292
+ def touch_all(*names, time: nil); end
4293
+ def update(id = nil, attributes); end
4294
+ def update_all(updates); end
4295
+ def update_counters(counters); end
4296
+ def values; end
4297
+ def where_values_hash(relation_table_name = nil); end
4298
+ extend ActiveRecord::Delegation::ClassMethods
4299
+ include ActiveRecord::FinderMethods
4300
+ include Enumerable
4301
+ end
4302
+ class ActiveRecord::Relation::HashMerger
4303
+ def hash; end
4304
+ def initialize(relation, hash); end
4305
+ def merge; end
4306
+ def other; end
4307
+ def relation; end
4308
+ end
4309
+ class ActiveRecord::Relation::Merger
4310
+ def initialize(relation, other); end
4311
+ def merge; end
4312
+ def merge_clauses; end
4313
+ def merge_joins; end
4314
+ def merge_multi_values; end
4315
+ def merge_outer_joins; end
4316
+ def merge_preloads; end
4317
+ def merge_single_values; end
4318
+ def normal_values; end
4319
+ def other; end
4320
+ def relation; end
4321
+ def replace_from_clause?; end
4322
+ def values; end
4323
+ end
4324
+ module ActiveRecord::SpawnMethods
4325
+ def except(*skips); end
4326
+ def merge!(other); end
4327
+ def merge(other); end
4328
+ def only(*onlies); end
4329
+ def relation_with(values); end
4330
+ def spawn; end
4331
+ end
4332
+ class ActiveRecord::Relation::FromClause
4333
+ def empty?; end
4334
+ def initialize(value, name); end
4335
+ def merge(other); end
4336
+ def name; end
4337
+ def self.empty; end
4338
+ def value; end
4339
+ end
4340
+ class ActiveRecord::Relation::QueryAttribute < ActiveModel::Attribute
4341
+ def infinite?; end
4342
+ def infinity?(value); end
4343
+ def nil?; end
4344
+ def type_cast(value); end
4345
+ def unboundable?; end
4346
+ def value_for_database; end
4347
+ def with_cast_value(value); end
4348
+ end
4349
+ class ActiveRecord::Relation::WhereClause
4350
+ def +(other); end
4351
+ def -(other); end
4352
+ def ==(other); end
4353
+ def any?(*args, &block); end
4354
+ def ast; end
4355
+ def empty?(*args, &block); end
4356
+ def equalities(predicates); end
4357
+ def equality_node?(node); end
4358
+ def except(*columns); end
4359
+ def except_predicates(columns); end
4360
+ def extract_node_value(node); end
4361
+ def initialize(predicates); end
4362
+ def invert(as = nil); end
4363
+ def invert_predicate(node); end
4364
+ def merge(other); end
4365
+ def non_empty_predicates; end
4366
+ def or(other); end
4367
+ def predicates; end
4368
+ def predicates_unreferenced_by(other); end
4369
+ def predicates_with_wrapped_sql_literals; end
4370
+ def referenced_columns; end
4371
+ def self.empty; end
4372
+ def to_h(table_name = nil); end
4373
+ def wrap_sql_literal(node); end
4374
+ end
4375
+ class ActiveRecord::Relation::WhereClauseFactory
4376
+ def build(opts, other); end
4377
+ def initialize(klass, predicate_builder); end
4378
+ def klass; end
4379
+ def predicate_builder; end
4380
+ end
4381
+ module ActiveRecord::QueryMethods
4382
+ def _select!(*fields); end
4383
+ def annotate!(*args); end
4384
+ def annotate(*args); end
4385
+ def annotate_values; end
4386
+ def annotate_values=(value); end
4387
+ def arel(aliases = nil); end
4388
+ def arel_column(field); end
4389
+ def arel_columns(columns); end
4390
+ def assert_mutability!; end
4391
+ def build_arel(aliases); end
4392
+ def build_from; end
4393
+ def build_join_query(manager, buckets, join_type, aliases); end
4394
+ def build_joins(manager, joins, aliases); end
4395
+ def build_left_outer_joins(manager, outer_joins, aliases); end
4396
+ def build_order(arel); end
4397
+ def build_select(arel); end
4398
+ def build_subquery(subquery_alias, select_value); end
4399
+ def check_if_method_has_arguments!(method_name, args); end
4400
+ def construct_join_dependency(associations, join_type); end
4401
+ def create_with!(value); end
4402
+ def create_with(value); end
4403
+ def create_with_value; end
4404
+ def create_with_value=(value); end
4405
+ def distinct!(value = nil); end
4406
+ def distinct(value = nil); end
4407
+ def distinct_value; end
4408
+ def distinct_value=(value); end
4409
+ def does_not_support_reverse?(order); end
4410
+ def eager_load!(*args); end
4411
+ def eager_load(*args); end
4412
+ def eager_load_values; end
4413
+ def eager_load_values=(value); end
4414
+ def extending!(*modules, &block); end
4415
+ def extending(*modules, &block); end
4416
+ def extending_values; end
4417
+ def extending_values=(value); end
4418
+ def extensions; end
4419
+ def extract_associated(association); end
4420
+ def from!(value, subquery_name = nil); end
4421
+ def from(value, subquery_name = nil); end
4422
+ def from_clause; end
4423
+ def from_clause=(value); end
4424
+ def group!(*args); end
4425
+ def group(*args); end
4426
+ def group_values; end
4427
+ def group_values=(value); end
4428
+ def having!(opts, *rest); end
4429
+ def having(opts, *rest); end
4430
+ def having_clause; end
4431
+ def having_clause=(value); end
4432
+ def having_clause_factory; end
4433
+ def includes!(*args); end
4434
+ def includes(*args); end
4435
+ def includes_values; end
4436
+ def includes_values=(value); end
4437
+ def joins!(*args); end
4438
+ def joins(*args); end
4439
+ def joins_values; end
4440
+ def joins_values=(value); end
4441
+ def left_joins(*args); end
4442
+ def left_outer_joins!(*args); end
4443
+ def left_outer_joins(*args); end
4444
+ def left_outer_joins_values; end
4445
+ def left_outer_joins_values=(value); end
4446
+ def limit!(value); end
4447
+ def limit(value); end
4448
+ def limit_value; end
4449
+ def limit_value=(value); end
4450
+ def lock!(locks = nil); end
4451
+ def lock(locks = nil); end
4452
+ def lock_value; end
4453
+ def lock_value=(value); end
4454
+ def none!; end
4455
+ def none; end
4456
+ def offset!(value); end
4457
+ def offset(value); end
4458
+ def offset_value; end
4459
+ def offset_value=(value); end
4460
+ def optimizer_hints!(*args); end
4461
+ def optimizer_hints(*args); end
4462
+ def optimizer_hints_values; end
4463
+ def optimizer_hints_values=(value); end
4464
+ def or!(other); end
4465
+ def or(other); end
4466
+ def order!(*args); end
4467
+ def order(*args); end
4468
+ def order_column(field); end
4469
+ def order_values; end
4470
+ def order_values=(value); end
4471
+ def preload!(*args); end
4472
+ def preload(*args); end
4473
+ def preload_values; end
4474
+ def preload_values=(value); end
4475
+ def preprocess_order_args(order_args); end
4476
+ def readonly!(value = nil); end
4477
+ def readonly(value = nil); end
4478
+ def readonly_value; end
4479
+ def readonly_value=(value); end
4480
+ def references!(*table_names); end
4481
+ def references(*table_names); end
4482
+ def references_values; end
4483
+ def references_values=(value); end
4484
+ def reorder!(*args); end
4485
+ def reorder(*args); end
4486
+ def reordering_value; end
4487
+ def reordering_value=(value); end
4488
+ def reselect!(*args); end
4489
+ def reselect(*args); end
4490
+ def reverse_order!; end
4491
+ def reverse_order; end
4492
+ def reverse_order_value; end
4493
+ def reverse_order_value=(value); end
4494
+ def reverse_sql_order(order_query); end
4495
+ def rewhere(conditions); end
4496
+ def select(*fields); end
4497
+ def select_association_list(associations); end
4498
+ def select_values; end
4499
+ def select_values=(value); end
4500
+ def skip_preloading!; end
4501
+ def skip_query_cache!(value = nil); end
4502
+ def skip_query_cache_value; end
4503
+ def skip_query_cache_value=(value); end
4504
+ def structurally_incompatible_values_for_or(other); end
4505
+ def table_name_matches?(from); end
4506
+ def unscope!(*args); end
4507
+ def unscope(*args); end
4508
+ def unscope_values; end
4509
+ def unscope_values=(value); end
4510
+ def valid_association_list(associations); end
4511
+ def validate_order_args(args); end
4512
+ def where!(opts, *rest); end
4513
+ def where(opts = nil, *rest); end
4514
+ def where_clause; end
4515
+ def where_clause=(value); end
4516
+ def where_clause_factory; end
4517
+ extend ActiveSupport::Concern
4518
+ include ActiveModel::ForbiddenAttributesProtection
4519
+ end
4520
+ class ActiveRecord::QueryMethods::WhereChain
4521
+ def initialize(scope); end
4522
+ def not(opts, *rest); end
4523
+ def not_behaves_as_nor?(opts); end
4524
+ include ActiveModel::ForbiddenAttributesProtection
4525
+ end
4526
+ module ActiveRecord::Batches
4527
+ def act_on_ignored_order(error_on_ignore); end
4528
+ def apply_finish_limit(relation, finish); end
4529
+ def apply_limits(relation, start, finish); end
4530
+ def apply_start_limit(relation, start); end
4531
+ def batch_order; end
4532
+ def find_each(start: nil, finish: nil, batch_size: nil, error_on_ignore: nil); end
4533
+ def find_in_batches(start: nil, finish: nil, batch_size: nil, error_on_ignore: nil); end
4534
+ def in_batches(of: nil, start: nil, finish: nil, load: nil, error_on_ignore: nil); end
4535
+ end
4536
+ class ActiveRecord::Batches::BatchEnumerator
4537
+ def delete_all(*args, &block); end
4538
+ def destroy_all(*args, &block); end
4539
+ def each; end
4540
+ def each_record; end
4541
+ def initialize(relation:, of: nil, start: nil, finish: nil); end
4542
+ def update_all(*args, &block); end
4543
+ include Enumerable
4544
+ end
4545
+ class ActiveRecord::Associations::CollectionProxy < ActiveRecord::Relation
4546
+ def <<(*records); end
4547
+ def ==(other); end
4548
+ def _select!(*args, &block); end
4549
+ def annotate!(*args, &block); end
4550
+ def annotate(*args, &block); end
4551
+ def annotate_values(*args, &block); end
4552
+ def annotate_values=(arg); end
4553
+ def append(*records); end
4554
+ def arel(*args, &block); end
4555
+ def build(attributes = nil, &block); end
4556
+ def calculate(operation, column_name); end
4557
+ def clear; end
4558
+ def concat(*records); end
4559
+ def construct_join_dependency(*args, &block); end
4560
+ def create!(attributes = nil, &block); end
4561
+ def create(attributes = nil, &block); end
4562
+ def create_with!(*args, &block); end
4563
+ def create_with(*args, &block); end
4564
+ def create_with_value(*args, &block); end
4565
+ def create_with_value=(arg); end
4566
+ def delete(*records); end
4567
+ def delete_all(dependent = nil); end
4568
+ def destroy(*records); end
4569
+ def destroy_all; end
4570
+ def distinct!(*args, &block); end
4571
+ def distinct(*args, &block); end
4572
+ def distinct_value(*args, &block); end
4573
+ def distinct_value=(arg); end
4574
+ def eager_load!(*args, &block); end
4575
+ def eager_load(*args, &block); end
4576
+ def eager_load_values(*args, &block); end
4577
+ def eager_load_values=(arg); end
4578
+ def empty?; end
4579
+ def except(*args, &block); end
4580
+ def exec_queries; end
4581
+ def extending!(*args, &block); end
4582
+ def extending(*args, &block); end
4583
+ def extending_values(*args, &block); end
4584
+ def extending_values=(arg); end
4585
+ def extensions(*args, &block); end
4586
+ def extract_associated(*args, &block); end
4587
+ def find(*args); end
4588
+ def find_from_target?; end
4589
+ def find_nth_from_last(index); end
4590
+ def find_nth_with_limit(index, limit); end
4591
+ def from!(*args, &block); end
4592
+ def from(*args, &block); end
4593
+ def from_clause(*args, &block); end
4594
+ def from_clause=(arg); end
4595
+ def group!(*args, &block); end
4596
+ def group(*args, &block); end
4597
+ def group_values(*args, &block); end
4598
+ def group_values=(arg); end
4599
+ def having!(*args, &block); end
4600
+ def having(*args, &block); end
4601
+ def having_clause(*args, &block); end
4602
+ def having_clause=(arg); end
4603
+ def include?(record); end
4604
+ def includes!(*args, &block); end
4605
+ def includes(*args, &block); end
4606
+ def includes_values(*args, &block); end
4607
+ def includes_values=(arg); end
4608
+ def initialize(klass, association); end
4609
+ def joins!(*args, &block); end
4610
+ def joins(*args, &block); end
4611
+ def joins_values(*args, &block); end
4612
+ def joins_values=(arg); end
4613
+ def last(limit = nil); end
4614
+ def left_joins(*args, &block); end
4615
+ def left_outer_joins!(*args, &block); end
4616
+ def left_outer_joins(*args, &block); end
4617
+ def left_outer_joins_values(*args, &block); end
4618
+ def left_outer_joins_values=(arg); end
4619
+ def limit!(*args, &block); end
4620
+ def limit(*args, &block); end
4621
+ def limit_value(*args, &block); end
4622
+ def limit_value=(arg); end
4623
+ def load_target; end
4624
+ def loaded?; end
4625
+ def lock!(*args, &block); end
4626
+ def lock(*args, &block); end
4627
+ def lock_value(*args, &block); end
4628
+ def lock_value=(arg); end
4629
+ def merge!(*args, &block); end
4630
+ def merge(*args, &block); end
4631
+ def new(attributes = nil, &block); end
4632
+ def none!(*args, &block); end
4633
+ def none(*args, &block); end
4634
+ def null_scope?; end
4635
+ def offset!(*args, &block); end
4636
+ def offset(*args, &block); end
4637
+ def offset_value(*args, &block); end
4638
+ def offset_value=(arg); end
4639
+ def only(*args, &block); end
4640
+ def optimizer_hints!(*args, &block); end
4641
+ def optimizer_hints(*args, &block); end
4642
+ def optimizer_hints_values(*args, &block); end
4643
+ def optimizer_hints_values=(arg); end
4644
+ def or!(*args, &block); end
4645
+ def or(*args, &block); end
4646
+ def order!(*args, &block); end
4647
+ def order(*args, &block); end
4648
+ def order_values(*args, &block); end
4649
+ def order_values=(arg); end
4650
+ def pluck(*column_names); end
4651
+ def preload!(*args, &block); end
4652
+ def preload(*args, &block); end
4653
+ def preload_values(*args, &block); end
4654
+ def preload_values=(arg); end
4655
+ def prepend(*args); end
4656
+ def proxy_association; end
4657
+ def push(*records); end
4658
+ def readonly!(*args, &block); end
4659
+ def readonly(*args, &block); end
4660
+ def readonly_value(*args, &block); end
4661
+ def readonly_value=(arg); end
4662
+ def records; end
4663
+ def references!(*args, &block); end
4664
+ def references(*args, &block); end
4665
+ def references_values(*args, &block); end
4666
+ def references_values=(arg); end
4667
+ def reload; end
4668
+ def reorder!(*args, &block); end
4669
+ def reorder(*args, &block); end
4670
+ def reordering_value(*args, &block); end
4671
+ def reordering_value=(arg); end
4672
+ def replace(other_array); end
4673
+ def reselect!(*args, &block); end
4674
+ def reselect(*args, &block); end
4675
+ def reset; end
4676
+ def reset_scope; end
4677
+ def reverse_order!(*args, &block); end
4678
+ def reverse_order(*args, &block); end
4679
+ def reverse_order_value(*args, &block); end
4680
+ def reverse_order_value=(arg); end
4681
+ def rewhere(*args, &block); end
4682
+ def scope; end
4683
+ def scoping(*args, &block); end
4684
+ def select_values(*args, &block); end
4685
+ def select_values=(arg); end
4686
+ def size; end
4687
+ def skip_preloading!(*args, &block); end
4688
+ def skip_query_cache!(*args, &block); end
4689
+ def skip_query_cache_value(*args, &block); end
4690
+ def skip_query_cache_value=(arg); end
4691
+ def spawn(*args, &block); end
4692
+ def take(limit = nil); end
4693
+ def target; end
4694
+ def unscope!(*args, &block); end
4695
+ def unscope(*args, &block); end
4696
+ def unscope_values(*args, &block); end
4697
+ def unscope_values=(arg); end
4698
+ def values(*args, &block); end
4699
+ def where!(*args, &block); end
4700
+ def where(*args, &block); end
4701
+ def where_clause(*args, &block); end
4702
+ def where_clause=(arg); end
4703
+ end
4704
+ class ActiveRecord::AssociationRelation < ActiveRecord::Relation
4705
+ def ==(other); end
4706
+ def build(attributes = nil, &block); end
4707
+ def create!(attributes = nil, &block); end
4708
+ def create(attributes = nil, &block); end
4709
+ def exec_queries; end
4710
+ def initialize(klass, association); end
4711
+ def new(attributes = nil, &block); end
4712
+ def proxy_association; end
4713
+ end