├── .devcontainer ├── Dockerfile ├── boot.sh ├── compose.yaml └── devcontainer.json ├── .git-blame-ignore-revs ├── .gitattributes ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── config.yml ├── autolabeler.yml ├── no-response.yml ├── pull_request_template.md ├── security.md ├── stale.yml ├── verba-sequentur.yml └── workflows │ ├── devcontainer-shellcheck.yml │ ├── devcontainer-smoke-test.yml │ ├── rail_inspector.yml │ ├── rails-new-docker.yml │ ├── rails_releaser_tests.yml │ ├── release.yml │ └── scripts │ └── test-container.rb ├── .gitignore ├── .mdlrc ├── .mdlrc.rb ├── .rubocop.yml ├── .yardopts ├── .yarnrc ├── Brewfile ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Gemfile ├── Gemfile.lock ├── MIT-LICENSE ├── RAILS_VERSION ├── README.md ├── RELEASING_RAILS.md ├── Rakefile ├── actioncable ├── .babelrc ├── .eslintrc ├── .gitignore ├── CHANGELOG.md ├── MIT-LICENSE ├── README.md ├── Rakefile ├── actioncable.gemspec ├── app │ ├── assets │ │ └── javascripts │ │ │ ├── .gitattributes │ │ │ ├── action_cable.js │ │ │ ├── actioncable.esm.js │ │ │ └── actioncable.js │ └── javascript │ │ └── action_cable │ │ ├── adapters.js │ │ ├── connection.js │ │ ├── connection_monitor.js │ │ ├── consumer.js │ │ ├── index.js │ │ ├── index_with_name_deprecation.js │ │ ├── internal.js │ │ ├── logger.js │ │ ├── subscription.js │ │ ├── subscription_guarantor.js │ │ └── subscriptions.js ├── bin │ └── test ├── karma.conf.js ├── lib │ ├── action_cable.rb │ ├── action_cable │ │ ├── channel │ │ │ ├── base.rb │ │ │ ├── broadcasting.rb │ │ │ ├── callbacks.rb │ │ │ ├── naming.rb │ │ │ ├── periodic_timers.rb │ │ │ ├── streams.rb │ │ │ └── test_case.rb │ │ ├── connection │ │ │ ├── authorization.rb │ │ │ ├── base.rb │ │ │ ├── callbacks.rb │ │ │ ├── client_socket.rb │ │ │ ├── identification.rb │ │ │ ├── internal_channel.rb │ │ │ ├── message_buffer.rb │ │ │ ├── stream.rb │ │ │ ├── stream_event_loop.rb │ │ │ ├── subscriptions.rb │ │ │ ├── tagged_logger_proxy.rb │ │ │ ├── test_case.rb │ │ │ └── web_socket.rb │ │ ├── deprecator.rb │ │ ├── engine.rb │ │ ├── gem_version.rb │ │ ├── helpers │ │ │ └── action_cable_helper.rb │ │ ├── remote_connections.rb │ │ ├── server │ │ │ ├── base.rb │ │ │ ├── broadcasting.rb │ │ │ ├── configuration.rb │ │ │ ├── connections.rb │ │ │ ├── worker.rb │ │ │ └── worker │ │ │ │ └── active_record_connection_management.rb │ │ ├── subscription_adapter │ │ │ ├── async.rb │ │ │ ├── base.rb │ │ │ ├── channel_prefix.rb │ │ │ ├── inline.rb │ │ │ ├── postgresql.rb │ │ │ ├── redis.rb │ │ │ ├── subscriber_map.rb │ │ │ └── test.rb │ │ ├── test_case.rb │ │ ├── test_helper.rb │ │ └── version.rb │ └── rails │ │ └── generators │ │ ├── channel │ │ ├── USAGE │ │ ├── channel_generator.rb │ │ └── templates │ │ │ ├── application_cable │ │ │ ├── channel.rb.tt │ │ │ └── connection.rb.tt │ │ │ ├── channel.rb.tt │ │ │ └── javascript │ │ │ ├── channel.js.tt │ │ │ ├── consumer.js.tt │ │ │ └── index.js.tt │ │ └── test_unit │ │ ├── channel_generator.rb │ │ └── templates │ │ └── channel_test.rb.tt ├── package.json ├── rollup.config.js ├── rollup.config.test.js └── test │ ├── channel │ ├── base_test.rb │ ├── broadcasting_test.rb │ ├── naming_test.rb │ ├── periodic_timers_test.rb │ ├── rejection_test.rb │ ├── stream_test.rb │ └── test_case_test.rb │ ├── client_test.rb │ ├── connection │ ├── authorization_test.rb │ ├── base_test.rb │ ├── callbacks_test.rb │ ├── client_socket_test.rb │ ├── cross_site_forgery_test.rb │ ├── identifier_test.rb │ ├── multiple_identifiers_test.rb │ ├── stream_test.rb │ ├── string_identifier_test.rb │ ├── subscriptions_test.rb │ └── test_case_test.rb │ ├── javascript │ └── src │ │ ├── test.js │ │ ├── test_helpers │ │ ├── consumer_test_helper.js │ │ └── index.js │ │ └── unit │ │ ├── action_cable_test.js │ │ ├── connection_monitor_test.js │ │ ├── connection_test.js │ │ ├── consumer_test.js │ │ ├── subscription_guarantor_test.js │ │ ├── subscription_test.js │ │ └── subscriptions_test.js │ ├── javascript_package_test.rb │ ├── server │ ├── base_test.rb │ ├── broadcasting_test.rb │ └── health_check_test.rb │ ├── stubs │ ├── global_id.rb │ ├── room.rb │ ├── test_adapter.rb │ ├── test_connection.rb │ ├── test_server.rb │ └── user.rb │ ├── subscription_adapter │ ├── async_test.rb │ ├── base_test.rb │ ├── channel_prefix.rb │ ├── common.rb │ ├── inline_test.rb │ ├── postgresql_test.rb │ ├── redis_test.rb │ ├── subscriber_map_test.rb │ └── test_adapter_test.rb │ ├── test_helper.rb │ ├── test_helper_test.rb │ └── worker_test.rb ├── actionmailbox ├── .gitignore ├── CHANGELOG.md ├── MIT-LICENSE ├── README.md ├── Rakefile ├── actionmailbox.gemspec ├── app │ ├── controllers │ │ ├── action_mailbox │ │ │ ├── base_controller.rb │ │ │ └── ingresses │ │ │ │ ├── mailgun │ │ │ │ └── inbound_emails_controller.rb │ │ │ │ ├── mandrill │ │ │ │ └── inbound_emails_controller.rb │ │ │ │ ├── postmark │ │ │ │ └── inbound_emails_controller.rb │ │ │ │ ├── relay │ │ │ │ └── inbound_emails_controller.rb │ │ │ │ └── sendgrid │ │ │ │ └── inbound_emails_controller.rb │ │ └── rails │ │ │ └── conductor │ │ │ ├── action_mailbox │ │ │ ├── inbound_emails │ │ │ │ └── sources_controller.rb │ │ │ ├── inbound_emails_controller.rb │ │ │ ├── incinerates_controller.rb │ │ │ └── reroutes_controller.rb │ │ │ └── base_controller.rb │ ├── jobs │ │ └── action_mailbox │ │ │ ├── incineration_job.rb │ │ │ └── routing_job.rb │ ├── models │ │ └── action_mailbox │ │ │ ├── inbound_email.rb │ │ │ ├── inbound_email │ │ │ ├── incineratable.rb │ │ │ ├── incineratable │ │ │ │ └── incineration.rb │ │ │ ├── message_id.rb │ │ │ └── routable.rb │ │ │ └── record.rb │ └── views │ │ ├── layouts │ │ └── rails │ │ │ └── conductor.html.erb │ │ └── rails │ │ └── conductor │ │ └── action_mailbox │ │ └── inbound_emails │ │ ├── index.html.erb │ │ ├── new.html.erb │ │ ├── show.html.erb │ │ └── sources │ │ └── new.html.erb ├── bin │ └── test ├── config │ └── routes.rb ├── db │ └── migrate │ │ └── 20180917164000_create_action_mailbox_tables.rb ├── lib │ ├── action_mailbox.rb │ ├── action_mailbox │ │ ├── base.rb │ │ ├── callbacks.rb │ │ ├── deprecator.rb │ │ ├── engine.rb │ │ ├── gem_version.rb │ │ ├── mail_ext.rb │ │ ├── mail_ext │ │ │ ├── address_equality.rb │ │ │ ├── address_wrapping.rb │ │ │ ├── addresses.rb │ │ │ ├── from_source.rb │ │ │ └── recipients.rb │ │ ├── relayer.rb │ │ ├── router.rb │ │ ├── router │ │ │ └── route.rb │ │ ├── routing.rb │ │ ├── test_case.rb │ │ ├── test_helper.rb │ │ └── version.rb │ ├── generators │ │ └── action_mailbox │ │ │ └── install │ │ │ └── install_generator.rb │ ├── rails │ │ └── generators │ │ │ ├── mailbox │ │ │ ├── USAGE │ │ │ ├── mailbox_generator.rb │ │ │ └── templates │ │ │ │ ├── application_mailbox.rb.tt │ │ │ │ └── mailbox.rb.tt │ │ │ └── test_unit │ │ │ ├── mailbox_generator.rb │ │ │ └── templates │ │ │ └── mailbox_test.rb.tt │ └── tasks │ │ ├── ingress.rake │ │ └── install.rake └── test │ ├── controllers │ ├── ingresses │ │ ├── mailgun │ │ │ └── inbound_emails_controller_test.rb │ │ ├── mandrill │ │ │ └── inbound_emails_controller_test.rb │ │ ├── postmark │ │ │ └── inbound_emails_controller_test.rb │ │ ├── relay │ │ │ └── inbound_emails_controller_test.rb │ │ └── sendgrid │ │ │ └── inbound_emails_controller_test.rb │ └── rails │ │ └── action_mailbox │ │ └── inbound_emails_controller_test.rb │ ├── dummy │ ├── Rakefile │ ├── app │ │ ├── assets │ │ │ ├── config │ │ │ │ └── manifest.js │ │ │ ├── images │ │ │ │ └── .keep │ │ │ └── stylesheets │ │ │ │ ├── application.css │ │ │ │ └── scaffold.css │ │ ├── channels │ │ │ └── application_cable │ │ │ │ ├── channel.rb │ │ │ │ └── connection.rb │ │ ├── controllers │ │ │ ├── application_controller.rb │ │ │ └── concerns │ │ │ │ └── .keep │ │ ├── helpers │ │ │ └── application_helper.rb │ │ ├── javascript │ │ │ └── packs │ │ │ │ └── application.js │ │ ├── jobs │ │ │ └── application_job.rb │ │ ├── mailboxes │ │ │ ├── application_mailbox.rb │ │ │ └── messages_mailbox.rb │ │ ├── mailers │ │ │ └── application_mailer.rb │ │ ├── models │ │ │ ├── application_record.rb │ │ │ └── concerns │ │ │ │ └── .keep │ │ └── views │ │ │ └── layouts │ │ │ ├── application.html.erb │ │ │ ├── mailer.html.erb │ │ │ └── mailer.text.erb │ ├── bin │ │ ├── rails │ │ ├── rake │ │ └── setup │ ├── config.ru │ ├── config │ │ ├── application.rb │ │ ├── boot.rb │ │ ├── cable.yml │ │ ├── database.yml │ │ ├── environment.rb │ │ ├── environments │ │ │ ├── development.rb │ │ │ ├── production.rb │ │ │ └── test.rb │ │ ├── initializers │ │ │ ├── assets.rb │ │ │ ├── content_security_policy.rb │ │ │ ├── filter_parameter_logging.rb │ │ │ └── inflections.rb │ │ ├── locales │ │ │ └── en.yml │ │ ├── puma.rb │ │ ├── routes.rb │ │ └── storage.yml │ ├── db │ │ ├── migrate │ │ │ ├── 20180208205311_create_action_mailbox_tables.rb │ │ │ └── 20180212164506_create_active_storage_tables.active_storage.rb │ │ └── schema.rb │ ├── lib │ │ └── assets │ │ │ └── .keep │ ├── log │ │ └── .keep │ ├── public │ │ ├── 400.html │ │ ├── 404.html │ │ ├── 422.html │ │ ├── 500.html │ │ ├── apple-touch-icon-precomposed.png │ │ ├── apple-touch-icon.png │ │ └── favicon.ico │ └── storage │ │ └── .keep │ ├── fixtures │ └── files │ │ ├── avatar1.jpeg │ │ ├── avatar2.jpeg │ │ ├── invalid_utf.eml │ │ └── welcome.eml │ ├── generators │ └── mailbox_generator_test.rb │ ├── jobs │ └── incineration_job_test.rb │ ├── migrations_test.rb │ ├── models │ └── table_name_test.rb │ ├── test_helper.rb │ └── unit │ ├── inbound_email │ ├── incineration_test.rb │ └── message_id_test.rb │ ├── inbound_email_test.rb │ ├── mail_ext │ ├── address_equality_test.rb │ ├── address_wrapping_test.rb │ └── addresses_test.rb │ ├── mailbox │ ├── bouncing_test.rb │ ├── callbacks_test.rb │ ├── notifications_test.rb │ ├── routing_test.rb │ └── state_test.rb │ ├── relayer_test.rb │ ├── router_test.rb │ └── test_helper_test.rb ├── actionmailer ├── CHANGELOG.md ├── MIT-LICENSE ├── README.rdoc ├── Rakefile ├── actionmailer.gemspec ├── bin │ └── test ├── lib │ ├── action_mailer.rb │ ├── action_mailer │ │ ├── base.rb │ │ ├── callbacks.rb │ │ ├── collector.rb │ │ ├── delivery_methods.rb │ │ ├── deprecator.rb │ │ ├── form_builder.rb │ │ ├── gem_version.rb │ │ ├── inline_preview_interceptor.rb │ │ ├── log_subscriber.rb │ │ ├── mail_delivery_job.rb │ │ ├── mail_helper.rb │ │ ├── message_delivery.rb │ │ ├── parameterized.rb │ │ ├── preview.rb │ │ ├── queued_delivery.rb │ │ ├── railtie.rb │ │ ├── rescuable.rb │ │ ├── test_case.rb │ │ ├── test_helper.rb │ │ └── version.rb │ └── rails │ │ └── generators │ │ └── mailer │ │ ├── USAGE │ │ ├── mailer_generator.rb │ │ └── templates │ │ ├── application_mailer.rb.tt │ │ └── mailer.rb.tt └── test │ ├── abstract_unit.rb │ ├── assert_select_email_test.rb │ ├── asset_host_test.rb │ ├── base_test.rb │ ├── caching_test.rb │ ├── callbacks_test.rb │ ├── delivery_methods_test.rb │ ├── fixtures │ ├── anonymous │ │ └── welcome.erb │ ├── another.path │ │ └── base_mailer │ │ │ └── welcome.erb │ ├── asset_host_mailer │ │ └── email_with_asset.html.erb │ ├── asset_mailer │ │ └── welcome.html.erb │ ├── auto_layout_mailer │ │ ├── hello.html.erb │ │ ├── multipart.html.erb │ │ └── multipart.text.erb │ ├── base_mailer │ │ ├── attachment_with_content.erb │ │ ├── attachment_with_hash.html.erb │ │ ├── attachment_with_hash_default_encoding.html.erb │ │ ├── different_layout.html.erb │ │ ├── different_layout.text.erb │ │ ├── email_with_translations.html.erb │ │ ├── explicit_multipart_templates.html.erb │ │ ├── explicit_multipart_templates.text.erb │ │ ├── explicit_multipart_with_one_template.erb │ │ ├── html_only.html.erb │ │ ├── implicit_multipart.html.erb │ │ ├── implicit_multipart.text.erb │ │ ├── implicit_multipart_formats.html.erb │ │ ├── implicit_multipart_formats.text.erb │ │ ├── implicit_with_locale.de-AT.text.erb │ │ ├── implicit_with_locale.de.html.erb │ │ ├── implicit_with_locale.en.html.erb │ │ ├── implicit_with_locale.html.erb │ │ ├── implicit_with_locale.pl.text.erb │ │ ├── implicit_with_locale.text.erb │ │ ├── inline_and_other_attachments.html.erb │ │ ├── inline_and_other_attachments.text.erb │ │ ├── inline_attachment.html.erb │ │ ├── inline_attachment.text.erb │ │ ├── plain_text_only.text.erb │ │ ├── welcome.erb │ │ ├── welcome_with_headers.html.erb │ │ └── without_mail_call.erb │ ├── base_test │ │ ├── after_action_mailer │ │ │ └── welcome.html.erb │ │ ├── before_action_mailer │ │ │ └── welcome.html.erb │ │ ├── default_inline_attachment_mailer │ │ │ └── welcome.html.erb │ │ └── late_inline_attachment_mailer │ │ │ └── on_render.erb │ ├── caching_mailer │ │ ├── _partial.html.erb │ │ ├── fragment_cache.html.erb │ │ ├── fragment_cache_in_partials.html.erb │ │ ├── fragment_caching_options.html.erb │ │ ├── multipart_cache.html.erb │ │ ├── multipart_cache.text.erb │ │ └── skip_fragment_cache_digesting.html.erb │ ├── explicit_layout_mailer │ │ ├── logout.html.erb │ │ └── signup.html.erb │ ├── form_builder_mailer │ │ └── welcome.html.erb │ ├── i18n_test_mailer │ │ └── mail_with_i18n_subject.erb │ ├── layouts │ │ ├── auto_layout_mailer.html.erb │ │ ├── auto_layout_mailer.text.erb │ │ ├── different_layout.html.erb │ │ ├── different_layout.text.erb │ │ └── spam.html.erb │ ├── mail_delivery_test │ │ └── delivery_mailer │ │ │ └── welcome.html.erb │ ├── nested_layout_mailer │ │ └── signup.html.erb │ ├── proc_mailer │ │ └── welcome.html.erb │ ├── templates │ │ └── signed_up.erb │ ├── test_helper_mailer │ │ └── welcome │ └── url_test_mailer │ │ ├── exercise_url_for.erb │ │ └── signed_up_with_url.erb │ ├── form_builder_test.rb │ ├── i18n_with_controller_test.rb │ ├── log_subscriber_test.rb │ ├── mail_helper_test.rb │ ├── mail_layout_test.rb │ ├── mailers │ ├── asset_mailer.rb │ ├── base_mailer.rb │ ├── caching_mailer.rb │ ├── callback_mailer.rb │ ├── delayed_mailer.rb │ ├── form_builder_mailer.rb │ ├── params_mailer.rb │ └── proc_mailer.rb │ ├── message_delivery_test.rb │ ├── parameterized_test.rb │ ├── test_case_test.rb │ ├── test_helper_test.rb │ └── url_test.rb ├── actionpack ├── CHANGELOG.md ├── MIT-LICENSE ├── README.rdoc ├── Rakefile ├── actionpack.gemspec ├── bin │ └── test ├── lib │ ├── abstract_controller.rb │ ├── abstract_controller │ │ ├── asset_paths.rb │ │ ├── base.rb │ │ ├── caching.rb │ │ ├── caching │ │ │ └── fragments.rb │ │ ├── callbacks.rb │ │ ├── collector.rb │ │ ├── deprecator.rb │ │ ├── error.rb │ │ ├── helpers.rb │ │ ├── logger.rb │ │ ├── railties │ │ │ └── routes_helpers.rb │ │ ├── rendering.rb │ │ ├── translation.rb │ │ └── url_for.rb │ ├── action_controller.rb │ ├── action_controller │ │ ├── api.rb │ │ ├── api │ │ │ └── api_rendering.rb │ │ ├── base.rb │ │ ├── caching.rb │ │ ├── deprecator.rb │ │ ├── form_builder.rb │ │ ├── log_subscriber.rb │ │ ├── metal.rb │ │ ├── metal │ │ │ ├── allow_browser.rb │ │ │ ├── basic_implicit_render.rb │ │ │ ├── conditional_get.rb │ │ │ ├── content_security_policy.rb │ │ │ ├── cookies.rb │ │ │ ├── data_streaming.rb │ │ │ ├── default_headers.rb │ │ │ ├── etag_with_flash.rb │ │ │ ├── etag_with_template_digest.rb │ │ │ ├── exceptions.rb │ │ │ ├── flash.rb │ │ │ ├── head.rb │ │ │ ├── helpers.rb │ │ │ ├── http_authentication.rb │ │ │ ├── implicit_render.rb │ │ │ ├── instrumentation.rb │ │ │ ├── live.rb │ │ │ ├── logging.rb │ │ │ ├── mime_responds.rb │ │ │ ├── parameter_encoding.rb │ │ │ ├── params_wrapper.rb │ │ │ ├── permissions_policy.rb │ │ │ ├── rate_limiting.rb │ │ │ ├── redirecting.rb │ │ │ ├── renderers.rb │ │ │ ├── rendering.rb │ │ │ ├── request_forgery_protection.rb │ │ │ ├── rescue.rb │ │ │ ├── streaming.rb │ │ │ ├── strong_parameters.rb │ │ │ ├── testing.rb │ │ │ └── url_for.rb │ │ ├── railtie.rb │ │ ├── railties │ │ │ └── helpers.rb │ │ ├── renderer.rb │ │ ├── template_assertions.rb │ │ └── test_case.rb │ ├── action_dispatch.rb │ ├── action_dispatch │ │ ├── constants.rb │ │ ├── deprecator.rb │ │ ├── http │ │ │ ├── cache.rb │ │ │ ├── content_disposition.rb │ │ │ ├── content_security_policy.rb │ │ │ ├── filter_parameters.rb │ │ │ ├── filter_redirect.rb │ │ │ ├── headers.rb │ │ │ ├── mime_negotiation.rb │ │ │ ├── mime_type.rb │ │ │ ├── mime_types.rb │ │ │ ├── param_builder.rb │ │ │ ├── param_error.rb │ │ │ ├── parameters.rb │ │ │ ├── permissions_policy.rb │ │ │ ├── query_parser.rb │ │ │ ├── rack_cache.rb │ │ │ ├── request.rb │ │ │ ├── response.rb │ │ │ ├── upload.rb │ │ │ └── url.rb │ │ ├── journey.rb │ │ ├── journey │ │ │ ├── formatter.rb │ │ │ ├── gtg │ │ │ │ ├── builder.rb │ │ │ │ ├── simulator.rb │ │ │ │ └── transition_table.rb │ │ │ ├── nfa │ │ │ │ └── dot.rb │ │ │ ├── nodes │ │ │ │ └── node.rb │ │ │ ├── parser.rb │ │ │ ├── path │ │ │ │ └── pattern.rb │ │ │ ├── route.rb │ │ │ ├── router.rb │ │ │ ├── router │ │ │ │ └── utils.rb │ │ │ ├── routes.rb │ │ │ ├── scanner.rb │ │ │ ├── visitors.rb │ │ │ └── visualizer │ │ │ │ ├── fsm.css │ │ │ │ ├── fsm.js │ │ │ │ └── index.html.erb │ │ ├── log_subscriber.rb │ │ ├── middleware │ │ │ ├── actionable_exceptions.rb │ │ │ ├── assume_ssl.rb │ │ │ ├── callbacks.rb │ │ │ ├── cookies.rb │ │ │ ├── debug_exceptions.rb │ │ │ ├── debug_locks.rb │ │ │ ├── debug_view.rb │ │ │ ├── exception_wrapper.rb │ │ │ ├── executor.rb │ │ │ ├── flash.rb │ │ │ ├── host_authorization.rb │ │ │ ├── public_exceptions.rb │ │ │ ├── reloader.rb │ │ │ ├── remote_ip.rb │ │ │ ├── request_id.rb │ │ │ ├── server_timing.rb │ │ │ ├── session │ │ │ │ ├── abstract_store.rb │ │ │ │ ├── cache_store.rb │ │ │ │ ├── cookie_store.rb │ │ │ │ └── mem_cache_store.rb │ │ │ ├── show_exceptions.rb │ │ │ ├── ssl.rb │ │ │ ├── stack.rb │ │ │ ├── static.rb │ │ │ └── templates │ │ │ │ ├── rescues │ │ │ │ ├── _actions.html.erb │ │ │ │ ├── _actions.text.erb │ │ │ │ ├── _message_and_suggestions.html.erb │ │ │ │ ├── _request_and_response.html.erb │ │ │ │ ├── _request_and_response.text.erb │ │ │ │ ├── _source.html.erb │ │ │ │ ├── _source.text.erb │ │ │ │ ├── _trace.html.erb │ │ │ │ ├── _trace.text.erb │ │ │ │ ├── blocked_host.html.erb │ │ │ │ ├── blocked_host.text.erb │ │ │ │ ├── diagnostics.html.erb │ │ │ │ ├── diagnostics.text.erb │ │ │ │ ├── invalid_statement.html.erb │ │ │ │ ├── invalid_statement.text.erb │ │ │ │ ├── layout.erb │ │ │ │ ├── missing_exact_template.html.erb │ │ │ │ ├── missing_exact_template.text.erb │ │ │ │ ├── missing_template.html.erb │ │ │ │ ├── missing_template.text.erb │ │ │ │ ├── routing_error.html.erb │ │ │ │ ├── routing_error.text.erb │ │ │ │ ├── template_error.html.erb │ │ │ │ ├── template_error.text.erb │ │ │ │ ├── unknown_action.html.erb │ │ │ │ └── unknown_action.text.erb │ │ │ │ └── routes │ │ │ │ ├── _route.html.erb │ │ │ │ └── _table.html.erb │ │ ├── railtie.rb │ │ ├── request │ │ │ ├── session.rb │ │ │ └── utils.rb │ │ ├── routing.rb │ │ ├── routing │ │ │ ├── endpoint.rb │ │ │ ├── inspector.rb │ │ │ ├── mapper.rb │ │ │ ├── polymorphic_routes.rb │ │ │ ├── redirection.rb │ │ │ ├── route_set.rb │ │ │ ├── routes_proxy.rb │ │ │ └── url_for.rb │ │ ├── system_test_case.rb │ │ ├── system_testing │ │ │ ├── browser.rb │ │ │ ├── driver.rb │ │ │ ├── server.rb │ │ │ └── test_helpers │ │ │ │ ├── screenshot_helper.rb │ │ │ │ └── setup_and_teardown.rb │ │ └── testing │ │ │ ├── assertion_response.rb │ │ │ ├── assertions.rb │ │ │ ├── assertions │ │ │ ├── response.rb │ │ │ └── routing.rb │ │ │ ├── integration.rb │ │ │ ├── request_encoder.rb │ │ │ ├── test_helpers │ │ │ └── page_dump_helper.rb │ │ │ ├── test_process.rb │ │ │ ├── test_request.rb │ │ │ └── test_response.rb │ ├── action_pack.rb │ └── action_pack │ │ ├── gem_version.rb │ │ └── version.rb └── test │ ├── abstract │ ├── callbacks_test.rb │ ├── collector_test.rb │ └── translation_test.rb │ ├── abstract_unit.rb │ ├── assertions │ └── response_assertions_test.rb │ ├── controller │ ├── action_pack_assertions_test.rb │ ├── allow_browser_test.rb │ ├── api │ │ ├── conditional_get_test.rb │ │ ├── data_streaming_test.rb │ │ ├── implicit_render_test.rb │ │ ├── params_wrapper_test.rb │ │ ├── rate_limiting_test.rb │ │ ├── redirect_to_test.rb │ │ ├── renderers_test.rb │ │ ├── url_for_test.rb │ │ ├── with_cookies_test.rb │ │ └── with_helpers_test.rb │ ├── base_test.rb │ ├── caching_test.rb │ ├── chunked_test.rb │ ├── conditional_get_directives_test.rb │ ├── content_type_test.rb │ ├── controller_fixtures │ │ ├── app │ │ │ └── controllers │ │ │ │ ├── admin │ │ │ │ └── user_controller.rb │ │ │ │ └── user_controller.rb │ │ └── vendor │ │ │ └── plugins │ │ │ └── bad_plugin │ │ │ └── lib │ │ │ └── plugin_controller.rb │ ├── default_url_options_with_before_action_test.rb │ ├── filters_test.rb │ ├── flash_hash_test.rb │ ├── flash_test.rb │ ├── form_builder_test.rb │ ├── helper_test.rb │ ├── http_basic_authentication_test.rb │ ├── http_digest_authentication_test.rb │ ├── http_token_authentication_test.rb │ ├── integration_test.rb │ ├── live_stream_test.rb │ ├── localized_templates_test.rb │ ├── log_subscriber_test.rb │ ├── logging_test.rb │ ├── metal │ │ └── renderers_test.rb │ ├── metal_test.rb │ ├── mime │ │ ├── accept_format_test.rb │ │ └── respond_to_test.rb │ ├── new_base │ │ ├── bare_metal_test.rb │ │ ├── base_test.rb │ │ ├── content_negotiation_test.rb │ │ ├── content_type_test.rb │ │ ├── middleware_test.rb │ │ ├── render_action_test.rb │ │ ├── render_body_test.rb │ │ ├── render_file_test.rb │ │ ├── render_html_test.rb │ │ ├── render_implicit_action_test.rb │ │ ├── render_layout_test.rb │ │ ├── render_partial_test.rb │ │ ├── render_plain_test.rb │ │ ├── render_streaming_test.rb │ │ ├── render_template_test.rb │ │ ├── render_test.rb │ │ └── render_xml_test.rb │ ├── output_escaping_test.rb │ ├── parameter_encoding_test.rb │ ├── parameters │ │ ├── accessors_test.rb │ │ ├── always_permitted_parameters_test.rb │ │ ├── dup_test.rb │ │ ├── equality_test.rb │ │ ├── log_on_unpermitted_params_test.rb │ │ ├── multi_parameter_attributes_test.rb │ │ ├── mutators_test.rb │ │ ├── nested_parameters_permit_test.rb │ │ ├── parameters_expect_test.rb │ │ ├── parameters_permit_test.rb │ │ ├── raise_on_unpermitted_params_test.rb │ │ └── serialization_test.rb │ ├── parameters_integration_test.rb │ ├── params_parse_test.rb │ ├── params_wrapper_test.rb │ ├── permitted_params_test.rb │ ├── rate_limiting_test.rb │ ├── redirect_test.rb │ ├── render_js_test.rb │ ├── render_json_test.rb │ ├── render_test.rb │ ├── render_to_string_test.rb │ ├── render_xml_test.rb │ ├── renderer_test.rb │ ├── renderers_test.rb │ ├── request │ │ └── test_request_test.rb │ ├── request_forgery_protection_test.rb │ ├── required_params_test.rb │ ├── rescue_test.rb │ ├── resources_test.rb │ ├── route_helpers_test.rb │ ├── routing_test.rb │ ├── runner_test.rb │ ├── send_file_test.rb │ ├── show_exceptions_test.rb │ ├── streaming_test.rb │ ├── test_case_test.rb │ ├── url_for_integration_test.rb │ ├── url_for_test.rb │ └── webservice_test.rb │ ├── dispatch │ ├── actionable_exceptions_test.rb │ ├── assume_ssl_test.rb │ ├── callbacks_test.rb │ ├── content_disposition_test.rb │ ├── content_security_policy_test.rb │ ├── cookies_test.rb │ ├── debug_exceptions_test.rb │ ├── debug_locks_test.rb │ ├── exception_wrapper_test.rb │ ├── executor_test.rb │ ├── header_test.rb │ ├── host_authorization_test.rb │ ├── live_response_test.rb │ ├── mapper_test.rb │ ├── middleware_stack_test.rb │ ├── mime_type_test.rb │ ├── mount_test.rb │ ├── param_builder_test.rb │ ├── permissions_policy_test.rb │ ├── prefix_generation_test.rb │ ├── query_parser_test.rb │ ├── rack_cache_test.rb │ ├── reloader_test.rb │ ├── request │ │ ├── json_params_parsing_test.rb │ │ ├── multipart_params_parsing_test.rb │ │ ├── query_string_parsing_test.rb │ │ ├── session_test.rb │ │ └── url_encoded_params_parsing_test.rb │ ├── request_id_test.rb │ ├── request_test.rb │ ├── response_test.rb │ ├── routing │ │ ├── concerns_test.rb │ │ ├── custom_url_helpers_test.rb │ │ ├── inspector_test.rb │ │ ├── instrumentation_test.rb │ │ ├── ipv6_redirect_test.rb │ │ ├── log_subscriber_test.rb │ │ ├── non_dispatch_routed_app_test.rb │ │ └── route_set_test.rb │ ├── routing_assertions_test.rb │ ├── routing_test.rb │ ├── runner_test.rb │ ├── server_timing_test.rb │ ├── session │ │ ├── abstract_secure_store_test.rb │ │ ├── abstract_store_test.rb │ │ ├── cache_store_test.rb │ │ ├── cookie_store_test.rb │ │ ├── mem_cache_store_test.rb │ │ └── test_session_test.rb │ ├── show_exceptions_test.rb │ ├── ssl_test.rb │ ├── static_test.rb │ ├── system_testing │ │ ├── driver_test.rb │ │ ├── screenshot_helper_test.rb │ │ ├── server_test.rb │ │ └── system_test_case_test.rb │ ├── test_request_test.rb │ ├── test_response_test.rb │ ├── uploaded_file_test.rb │ └── url_generation_test.rb │ ├── fixtures │ ├── _top_level_partial_only.erb │ ├── alternate_helpers │ │ └── foo_helper.rb │ ├── collection_cache │ │ └── index.html.erb │ ├── company.rb │ ├── customers │ │ ├── _commented_customer.html.erb │ │ └── _customer.html.erb │ ├── filter_test │ │ └── implicit_actions │ │ │ ├── edit.html.erb │ │ │ └── show.html.erb │ ├── functional_caching │ │ ├── _formatted_partial.html.erb │ │ ├── _partial.erb │ │ ├── formatted_fragment_cached.html.erb │ │ ├── formatted_fragment_cached.xml.builder │ │ ├── formatted_fragment_cached_with_variant.html+phone.erb │ │ ├── fragment_cached.html.erb │ │ ├── fragment_cached_with_options.html.erb │ │ ├── fragment_cached_without_digest.html.erb │ │ ├── html_fragment_cached_with_partial.html.erb │ │ ├── inline_fragment_cached.html.erb │ │ └── xml_fragment_cached_with_html_partial.xml.builder │ ├── helpers │ │ ├── abc_helper.rb │ │ ├── fun │ │ │ ├── games_helper.rb │ │ │ └── pdf_helper.rb │ │ ├── just_me_helper.rb │ │ └── me_too_helper.rb │ ├── helpers1_pack │ │ └── pack1_helper.rb │ ├── helpers2_pack │ │ └── pack2_helper.rb │ ├── helpers_typo │ │ └── admin │ │ │ └── users_helper.rb │ ├── implicit_render_test │ │ ├── empty_action_with_mobile_variant.html+mobile.erb │ │ └── empty_action_with_template.html.erb │ ├── layouts │ │ ├── _customers.erb │ │ ├── block_with_layout.erb │ │ ├── builder.builder │ │ ├── partial_with_layout.erb │ │ ├── standard.html.erb │ │ ├── talk_from_action.erb │ │ ├── with_html_partial.html.erb │ │ ├── xhr.html.erb │ │ └── yield.erb │ ├── load_me.rb │ ├── localized │ │ ├── hello_world.de.html │ │ ├── hello_world.de_AT.html │ │ ├── hello_world.en.html │ │ └── hello_world.it.erb │ ├── multipart │ │ ├── binary_file │ │ ├── boundary_problem_file │ │ ├── bracketed_param │ │ ├── bracketed_utf8_param │ │ ├── empty │ │ ├── hello.txt │ │ ├── large_text_file │ │ ├── mixed_files │ │ ├── none │ │ ├── ruby_on_rails.jpg │ │ ├── single_parameter │ │ ├── single_utf8_param │ │ ├── text_file │ │ └── utf8_filename │ ├── namespaced │ │ └── implicit_render_test │ │ │ └── hello_world.erb │ ├── old_content_type │ │ ├── render_default_content_types_for_respond_to.xml.erb │ │ ├── render_default_for_builder.builder │ │ └── render_default_for_erb.erb │ ├── post_test │ │ ├── layouts │ │ │ ├── post.html.erb │ │ │ └── super_post.iphone.erb │ │ ├── post │ │ │ ├── index.html.erb │ │ │ └── index.iphone.erb │ │ └── super_post │ │ │ ├── index.html.erb │ │ │ └── index.iphone.erb │ ├── public │ │ ├── 400.html │ │ ├── 404.html │ │ ├── 500.da.html │ │ ├── 500.html │ │ ├── bar.html │ │ ├── bar │ │ │ └── index.html │ │ ├── foo │ │ │ ├── bar.html │ │ │ ├── baz.css │ │ │ ├── index.html │ │ │ ├── other-index.html │ │ │ ├── こんにちは.html │ │ │ ├── さようなら.html │ │ │ └── さようなら.html.gz │ │ ├── gzip │ │ │ ├── application-a71b3024f80aea3181c09774ca17e712.js │ │ │ ├── application-a71b3024f80aea3181c09774ca17e712.js.br │ │ │ ├── application-a71b3024f80aea3181c09774ca17e712.js.gz │ │ │ ├── foo.zoo │ │ │ ├── foo.zoo.gz │ │ │ ├── logo-bcb6d75d927347158af5.svg │ │ │ └── logo-bcb6d75d927347158af5.svg.gz │ │ ├── index.html │ │ └── other-index.html │ ├── respond_to │ │ ├── all_types_with_layout.html.erb │ │ ├── custom_constant_handling_without_block.mobile.erb │ │ ├── iphone_with_html_response_type.html.erb │ │ ├── iphone_with_html_response_type.iphone.erb │ │ ├── layouts │ │ │ ├── missing.html.erb │ │ │ ├── standard.html.erb │ │ │ └── standard.iphone.erb │ │ ├── using_defaults.html.erb │ │ ├── using_defaults.xml.builder │ │ ├── using_defaults_with_all.html.erb │ │ ├── using_defaults_with_type_list.html.erb │ │ ├── using_defaults_with_type_list.xml.builder │ │ ├── variant_any_implicit_render.html+phablet.erb │ │ ├── variant_any_implicit_render.html+tablet.erb │ │ ├── variant_inline_syntax_without_block.html+phone.erb │ │ ├── variant_plus_none_for_format.html.erb │ │ └── variant_with_implicit_template_rendering.html+mobile.erb │ ├── ruby_template.ruby │ ├── session_autoload_test │ │ └── session_autoload_test │ │ │ └── foo.rb │ ├── shared.html.erb │ ├── star_star_mime │ │ └── index.js.erb │ ├── test │ │ ├── _partial.erb │ │ ├── _partial.html.erb │ │ ├── _partial.js.erb │ │ ├── dot.directory │ │ │ └── render_file_with_ivar.erb │ │ ├── formatted_xml_erb.xml.erb │ │ ├── hello │ │ │ └── hello.erb │ │ ├── hello_world.erb │ │ ├── hello_world_with_partial.html.erb │ │ ├── hello_xml_world.builder │ │ ├── implicit_content_type.atom.builder │ │ ├── render_file_with_ivar.erb │ │ ├── render_file_with_locals.erb │ │ └── with_implicit_template.erb │ └── 公共 │ │ ├── bar.html │ │ ├── bar │ │ └── index.html │ │ ├── foo │ │ ├── bar.html │ │ ├── baz.css │ │ ├── index.html │ │ ├── other-index.html │ │ ├── こんにちは.html │ │ ├── さようなら.html │ │ └── さようなら.html.gz │ │ ├── gzip │ │ ├── application-a71b3024f80aea3181c09774ca17e712.js │ │ ├── application-a71b3024f80aea3181c09774ca17e712.js.br │ │ ├── application-a71b3024f80aea3181c09774ca17e712.js.gz │ │ ├── foo.zoo │ │ ├── foo.zoo.gz │ │ ├── logo-bcb6d75d927347158af5.svg │ │ └── logo-bcb6d75d927347158af5.svg.gz │ │ ├── index.html │ │ └── other-index.html │ ├── journey │ ├── gtg │ │ ├── builder_test.rb │ │ └── transition_table_test.rb │ ├── nodes │ │ ├── ast_test.rb │ │ └── symbol_test.rb │ ├── path │ │ └── pattern_test.rb │ ├── route │ │ └── definition │ │ │ ├── parser_test.rb │ │ │ └── scanner_test.rb │ ├── route_test.rb │ ├── router │ │ └── utils_test.rb │ ├── router_test.rb │ └── routes_test.rb │ ├── lib │ ├── controller │ │ ├── fake_controllers.rb │ │ └── fake_models.rb │ └── test_renderable.rb │ ├── routing │ └── helper_test.rb │ └── support │ ├── etag_helper.rb │ ├── path_helper.rb │ ├── rack_parsing_override.rb │ └── system_helper.rb ├── actiontext ├── .gitignore ├── CHANGELOG.md ├── MIT-LICENSE ├── README.md ├── Rakefile ├── actiontext.gemspec ├── app │ ├── assets │ │ └── javascripts │ │ │ ├── .gitattributes │ │ │ ├── actiontext.esm.js │ │ │ └── actiontext.js │ ├── helpers │ │ └── action_text │ │ │ ├── content_helper.rb │ │ │ └── tag_helper.rb │ ├── javascript │ │ └── actiontext │ │ │ ├── attachment_upload.js │ │ │ └── index.js │ ├── models │ │ └── action_text │ │ │ ├── encrypted_rich_text.rb │ │ │ ├── record.rb │ │ │ └── rich_text.rb │ └── views │ │ ├── action_text │ │ ├── attachables │ │ │ ├── _content_attachment.html.erb │ │ │ ├── _missing_attachable.html.erb │ │ │ └── _remote_image.html.erb │ │ ├── attachment_galleries │ │ │ └── _attachment_gallery.html.erb │ │ └── contents │ │ │ └── _content.html.erb │ │ ├── active_storage │ │ └── blobs │ │ │ └── _blob.html.erb │ │ └── layouts │ │ └── action_text │ │ └── contents │ │ └── _content.html.erb ├── bin │ └── test ├── db │ └── migrate │ │ └── 20180528164100_create_action_text_tables.rb ├── lib │ ├── action_text.rb │ ├── action_text │ │ ├── attachable.rb │ │ ├── attachables │ │ │ ├── content_attachment.rb │ │ │ ├── missing_attachable.rb │ │ │ └── remote_image.rb │ │ ├── attachment.rb │ │ ├── attachment_gallery.rb │ │ ├── attachments │ │ │ ├── caching.rb │ │ │ ├── minification.rb │ │ │ └── trix_conversion.rb │ │ ├── attribute.rb │ │ ├── content.rb │ │ ├── deprecator.rb │ │ ├── encryption.rb │ │ ├── engine.rb │ │ ├── fixture_set.rb │ │ ├── fragment.rb │ │ ├── gem_version.rb │ │ ├── html_conversion.rb │ │ ├── plain_text_conversion.rb │ │ ├── rendering.rb │ │ ├── serialization.rb │ │ ├── system_test_helper.rb │ │ ├── trix_attachment.rb │ │ └── version.rb │ ├── generators │ │ └── action_text │ │ │ └── install │ │ │ ├── install_generator.rb │ │ │ └── templates │ │ │ └── actiontext.css │ ├── rails │ │ └── generators │ │ │ └── test_unit │ │ │ ├── install_generator.rb │ │ │ └── templates │ │ │ └── fixtures.yml │ └── tasks │ │ └── actiontext.rake ├── package.json ├── rollup.config.js └── test │ ├── application_system_test_case.rb │ ├── dummy │ ├── Rakefile │ ├── app │ │ ├── assets │ │ │ ├── config │ │ │ │ └── manifest.js │ │ │ ├── images │ │ │ │ └── .keep │ │ │ └── stylesheets │ │ │ │ ├── application.css │ │ │ │ ├── messages.css │ │ │ │ └── scaffold.css │ │ ├── channels │ │ │ └── application_cable │ │ │ │ ├── channel.rb │ │ │ │ └── connection.rb │ │ ├── controllers │ │ │ ├── admin │ │ │ │ └── messages_controller.rb │ │ │ ├── concerns │ │ │ │ └── .keep │ │ │ └── messages_controller.rb │ │ ├── helpers │ │ │ ├── application_helper.rb │ │ │ └── messages_helper.rb │ │ ├── javascript │ │ │ └── application.js │ │ ├── jobs │ │ │ ├── application_job.rb │ │ │ └── broadcast_job.rb │ │ ├── mailers │ │ │ ├── application_mailer.rb │ │ │ └── messages_mailer.rb │ │ ├── models │ │ │ ├── application_record.rb │ │ │ ├── concerns │ │ │ │ └── .keep │ │ │ ├── encrypted_message.rb │ │ │ ├── message.rb │ │ │ ├── message_without_blanks.rb │ │ │ ├── message_without_blanks_with_content_validation.rb │ │ │ ├── page.rb │ │ │ ├── person.rb │ │ │ └── review.rb │ │ └── views │ │ │ ├── admin │ │ │ └── messages │ │ │ │ └── show.html.erb │ │ │ ├── layouts │ │ │ ├── application.html.erb │ │ │ ├── mailer.html.erb │ │ │ └── mailer.text.erb │ │ │ ├── messages │ │ │ ├── _form.html.erb │ │ │ ├── edit.html.erb │ │ │ ├── edit.json.erb │ │ │ ├── index.html.erb │ │ │ ├── new.html.erb │ │ │ ├── show.html.erb │ │ │ └── show.json.erb │ │ │ ├── messages_mailer │ │ │ └── notification.html.erb │ │ │ └── people │ │ │ ├── _attachable.html.erb │ │ │ ├── _missing_attachable.html.erb │ │ │ └── _trix_content_attachment.html.erb │ ├── bin │ │ ├── rails │ │ ├── rake │ │ └── setup │ ├── config.ru │ ├── config │ │ ├── application.rb │ │ ├── boot.rb │ │ ├── cable.yml │ │ ├── database.yml │ │ ├── environment.rb │ │ ├── environments │ │ │ ├── development.rb │ │ │ ├── production.rb │ │ │ └── test.rb │ │ ├── importmap.rb │ │ ├── initializers │ │ │ ├── assets.rb │ │ │ ├── content_security_policy.rb │ │ │ ├── filter_parameter_logging.rb │ │ │ └── inflections.rb │ │ ├── locales │ │ │ └── en.yml │ │ ├── puma.rb │ │ ├── routes.rb │ │ └── storage.yml │ ├── db │ │ ├── migrate │ │ │ ├── 20180208205311_create_messages.rb │ │ │ ├── 20180212164506_create_active_storage_tables.rb │ │ │ ├── 20180528164100_create_action_text_tables.rb │ │ │ ├── 20181003185713_create_people.rb │ │ │ ├── 20190305172303_create_pages.rb │ │ │ └── 20190317200724_create_reviews.rb │ │ └── schema.rb │ ├── lib │ │ └── assets │ │ │ └── .keep │ ├── log │ │ └── .keep │ ├── public │ │ ├── 400.html │ │ ├── 404.html │ │ ├── 422.html │ │ ├── 500.html │ │ ├── apple-touch-icon-precomposed.png │ │ ├── apple-touch-icon.png │ │ └── favicon.ico │ ├── storage │ │ └── .keep │ └── tmp │ │ ├── .keep │ │ └── storage │ │ └── .keep │ ├── fixtures │ ├── action_text │ │ └── rich_texts.yml │ ├── files │ │ └── racecar.jpg │ ├── messages.yml │ ├── people.yml │ └── reviews.yml │ ├── integration │ ├── controller_render_test.rb │ ├── job_render_test.rb │ └── mailer_render_test.rb │ ├── javascript_package_test.rb │ ├── models │ └── table_name_test.rb │ ├── system │ ├── rich_text_editor_test.rb │ └── system_test_helper_test.rb │ ├── template │ └── form_helper_test.rb │ ├── test_helper.rb │ └── unit │ ├── attachable_test.rb │ ├── attachment_test.rb │ ├── content_test.rb │ ├── fixture_set_test.rb │ ├── model_encryption_test.rb │ ├── model_test.rb │ ├── plain_text_conversion_test.rb │ ├── strict_loading_test.rb │ └── trix_attachment_test.rb ├── actionview ├── .gitignore ├── CHANGELOG.md ├── MIT-LICENSE ├── README.rdoc ├── RUNNING_UNIT_TESTS.rdoc ├── Rakefile ├── actionview.gemspec ├── app │ └── assets │ │ └── javascripts │ │ ├── .gitattributes │ │ ├── rails-ujs.esm.js │ │ └── rails-ujs.js ├── bin │ └── test ├── lib │ ├── action_view.rb │ └── action_view │ │ ├── base.rb │ │ ├── buffers.rb │ │ ├── cache_expiry.rb │ │ ├── context.rb │ │ ├── dependency_tracker.rb │ │ ├── dependency_tracker │ │ ├── erb_tracker.rb │ │ ├── ruby_tracker.rb │ │ └── wildcard_resolver.rb │ │ ├── deprecator.rb │ │ ├── digestor.rb │ │ ├── flows.rb │ │ ├── gem_version.rb │ │ ├── helpers.rb │ │ ├── helpers │ │ ├── active_model_helper.rb │ │ ├── asset_tag_helper.rb │ │ ├── asset_url_helper.rb │ │ ├── atom_feed_helper.rb │ │ ├── cache_helper.rb │ │ ├── capture_helper.rb │ │ ├── content_exfiltration_prevention_helper.rb │ │ ├── controller_helper.rb │ │ ├── csp_helper.rb │ │ ├── csrf_helper.rb │ │ ├── date_helper.rb │ │ ├── debug_helper.rb │ │ ├── form_helper.rb │ │ ├── form_options_helper.rb │ │ ├── form_tag_helper.rb │ │ ├── javascript_helper.rb │ │ ├── number_helper.rb │ │ ├── output_safety_helper.rb │ │ ├── rendering_helper.rb │ │ ├── sanitize_helper.rb │ │ ├── tag_helper.rb │ │ ├── tags.rb │ │ ├── tags │ │ │ ├── base.rb │ │ │ ├── check_box.rb │ │ │ ├── checkable.rb │ │ │ ├── collection_check_boxes.rb │ │ │ ├── collection_helpers.rb │ │ │ ├── collection_radio_buttons.rb │ │ │ ├── collection_select.rb │ │ │ ├── color_field.rb │ │ │ ├── date_field.rb │ │ │ ├── date_select.rb │ │ │ ├── datetime_field.rb │ │ │ ├── datetime_local_field.rb │ │ │ ├── datetime_select.rb │ │ │ ├── email_field.rb │ │ │ ├── file_field.rb │ │ │ ├── grouped_collection_select.rb │ │ │ ├── hidden_field.rb │ │ │ ├── label.rb │ │ │ ├── month_field.rb │ │ │ ├── number_field.rb │ │ │ ├── password_field.rb │ │ │ ├── placeholderable.rb │ │ │ ├── radio_button.rb │ │ │ ├── range_field.rb │ │ │ ├── search_field.rb │ │ │ ├── select.rb │ │ │ ├── select_renderer.rb │ │ │ ├── tel_field.rb │ │ │ ├── text_area.rb │ │ │ ├── text_field.rb │ │ │ ├── time_field.rb │ │ │ ├── time_select.rb │ │ │ ├── time_zone_select.rb │ │ │ ├── translator.rb │ │ │ ├── url_field.rb │ │ │ ├── week_field.rb │ │ │ └── weekday_select.rb │ │ ├── text_helper.rb │ │ ├── translation_helper.rb │ │ └── url_helper.rb │ │ ├── layouts.rb │ │ ├── locale │ │ └── en.yml │ │ ├── log_subscriber.rb │ │ ├── lookup_context.rb │ │ ├── model_naming.rb │ │ ├── path_registry.rb │ │ ├── path_set.rb │ │ ├── railtie.rb │ │ ├── record_identifier.rb │ │ ├── render_parser.rb │ │ ├── render_parser │ │ ├── prism_render_parser.rb │ │ └── ripper_render_parser.rb │ │ ├── renderer │ │ ├── abstract_renderer.rb │ │ ├── collection_renderer.rb │ │ ├── object_renderer.rb │ │ ├── partial_renderer.rb │ │ ├── partial_renderer │ │ │ └── collection_caching.rb │ │ ├── renderer.rb │ │ ├── streaming_template_renderer.rb │ │ └── template_renderer.rb │ │ ├── rendering.rb │ │ ├── routing_url_for.rb │ │ ├── tasks │ │ └── cache_digests.rake │ │ ├── template.rb │ │ ├── template │ │ ├── error.rb │ │ ├── handlers.rb │ │ ├── handlers │ │ │ ├── builder.rb │ │ │ ├── erb.rb │ │ │ ├── erb │ │ │ │ └── erubi.rb │ │ │ ├── html.rb │ │ │ └── raw.rb │ │ ├── html.rb │ │ ├── inline.rb │ │ ├── raw_file.rb │ │ ├── renderable.rb │ │ ├── resolver.rb │ │ ├── sources.rb │ │ ├── sources │ │ │ └── file.rb │ │ ├── text.rb │ │ └── types.rb │ │ ├── template_details.rb │ │ ├── template_path.rb │ │ ├── test_case.rb │ │ ├── testing │ │ └── resolvers.rb │ │ ├── unbound_template.rb │ │ ├── version.rb │ │ └── view_paths.rb └── test │ ├── abstract_unit.rb │ ├── actionpack │ ├── abstract │ │ ├── abstract_controller_test.rb │ │ ├── helper_test.rb │ │ ├── layouts_test.rb │ │ ├── render_test.rb │ │ └── views │ │ │ ├── abstract_controller │ │ │ └── testing │ │ │ │ ├── me3 │ │ │ │ ├── formatted.html.erb │ │ │ │ └── index.erb │ │ │ │ └── me4 │ │ │ │ └── index.erb │ │ │ ├── action_with_ivars.erb │ │ │ ├── helper_test.erb │ │ │ ├── index.erb │ │ │ ├── layouts │ │ │ ├── abstract_controller │ │ │ │ └── testing │ │ │ │ │ └── me4.erb │ │ │ └── application.erb │ │ │ ├── naked_render.erb │ │ │ └── with_final_newline.erb │ └── controller │ │ ├── capture_test.rb │ │ ├── layout_test.rb │ │ ├── render_test.rb │ │ └── view_paths_test.rb │ ├── active_record_unit.rb │ ├── activerecord │ ├── controller_runtime_test.rb │ ├── debug_helper_test.rb │ ├── form_helper_activerecord_test.rb │ ├── multifetch_cache_test.rb │ ├── partial_rendering_query_test.rb │ ├── polymorphic_routes_test.rb │ ├── relation_cache_test.rb │ └── render_partial_with_record_identification_test.rb │ ├── buffers_test.rb │ ├── fixtures │ ├── _top_level_partial.html.erb │ ├── _top_level_partial_only.erb │ ├── actionpack │ │ ├── bad_customers │ │ │ └── _bad_customer.html.erb │ │ ├── customers │ │ │ └── _customer.html.erb │ │ ├── fun │ │ │ └── games │ │ │ │ ├── _form.erb │ │ │ │ └── hello_world.erb │ │ ├── good_customers │ │ │ └── _good_customer.html.erb │ │ ├── hello.html │ │ ├── layout_tests │ │ │ ├── alt │ │ │ │ └── layouts │ │ │ │ │ └── alt.erb │ │ │ ├── layouts │ │ │ │ ├── controller_name_space │ │ │ │ │ └── nested.erb │ │ │ │ ├── item.erb │ │ │ │ ├── layout_test.erb │ │ │ │ ├── multiple_extensions.html.erb │ │ │ │ ├── symlinked │ │ │ │ │ └── symlinked_layout.erb │ │ │ │ └── third_party_template_library.mab │ │ │ └── views │ │ │ │ ├── goodbye.erb │ │ │ │ └── hello.erb │ │ ├── layouts │ │ │ ├── _column.html.erb │ │ │ ├── _customers.erb │ │ │ ├── _partial_and_yield.erb │ │ │ ├── _yield_only.erb │ │ │ ├── _yield_with_params.erb │ │ │ ├── block_with_layout.erb │ │ │ ├── builder.builder │ │ │ ├── partial_with_layout.erb │ │ │ ├── standard.html.erb │ │ │ ├── standard.text.erb │ │ │ ├── streaming.erb │ │ │ ├── talk_from_action.erb │ │ │ ├── with_html_partial.html.erb │ │ │ ├── xhr.html.erb │ │ │ ├── yield.erb │ │ │ ├── yield_with_render_inline_inside.erb │ │ │ └── yield_with_render_partial_inside.erb │ │ ├── quiz │ │ │ └── questions │ │ │ │ └── _question.html.erb │ │ ├── shared.html.erb │ │ └── test │ │ │ ├── _changing_priority.html.erb │ │ │ ├── _changing_priority.json.erb │ │ │ ├── _counter.html.erb │ │ │ ├── _customer.erb │ │ │ ├── _customer_counter.erb │ │ │ ├── _customer_counter_with_as.erb │ │ │ ├── _customer_greeting.erb │ │ │ ├── _customer_iteration.erb │ │ │ ├── _customer_iteration_with_as.erb │ │ │ ├── _customer_with_var.erb │ │ │ ├── _directory │ │ │ └── _partial_with_locales.html.erb │ │ │ ├── _first_json_partial.json.erb │ │ │ ├── _form.erb │ │ │ ├── _hash_greeting.erb │ │ │ ├── _hash_object.erb │ │ │ ├── _hello.builder │ │ │ ├── _json_change_priority.json.erb │ │ │ ├── _labelling_form.erb │ │ │ ├── _layout_for_partial.html.erb │ │ │ ├── _partial.erb │ │ │ ├── _partial.html.erb │ │ │ ├── _partial.js.erb │ │ │ ├── _partial_for_use_in_layout.html.erb │ │ │ ├── _partial_html_erb.html.erb │ │ │ ├── _partial_name_local_variable.erb │ │ │ ├── _partial_only.erb │ │ │ ├── _partial_only_html.html │ │ │ ├── _partial_with_partial.erb │ │ │ ├── _person.erb │ │ │ ├── _raise_indentation.html.erb │ │ │ ├── _second_json_partial.json.erb │ │ │ ├── action_talk_to_layout.erb │ │ │ ├── calling_partial_with_layout.html.erb │ │ │ ├── capturing.erb │ │ │ ├── change_priority.html.erb │ │ │ ├── content_for.erb │ │ │ ├── content_for_concatenated.erb │ │ │ ├── content_for_with_parameter.erb │ │ │ ├── dot.directory │ │ │ └── render_template_with_ivar.erb │ │ │ ├── formatted_html_erb.html.erb │ │ │ ├── formatted_xml_erb.builder │ │ │ ├── formatted_xml_erb.html.erb │ │ │ ├── formatted_xml_erb.xml.erb │ │ │ ├── greeting.html.erb │ │ │ ├── greeting.xml.erb │ │ │ ├── hello,world.erb │ │ │ ├── hello.builder │ │ │ ├── hello │ │ │ └── hello.erb │ │ │ ├── hello_world.erb │ │ │ ├── hello_world_container.builder │ │ │ ├── hello_world_from_rxml.builder │ │ │ ├── hello_world_with_layout_false.erb │ │ │ ├── hello_world_with_partial.html.erb │ │ │ ├── hello_xml_world.builder │ │ │ ├── html_template.html.erb │ │ │ ├── hyphen-ated.erb │ │ │ ├── implicit_content_type.atom.builder │ │ │ ├── list.erb │ │ │ ├── non_erb_block_content_for.builder │ │ │ ├── potential_conflicts.erb │ │ │ ├── proper_block_detection.erb │ │ │ ├── raise.html.erb │ │ │ ├── render_file_from_template.html.erb │ │ │ ├── render_file_with_locals_and_default.erb │ │ │ ├── render_implicit_html_template_from_xhr_request.da.html.erb │ │ │ ├── render_implicit_html_template_from_xhr_request.html.erb │ │ │ ├── render_implicit_js_template_without_layout.js.erb │ │ │ ├── render_partial_inside_directory.html.erb │ │ │ ├── render_template_with_ivar.erb │ │ │ ├── render_template_with_locals.erb │ │ │ ├── render_to_string_test.erb │ │ │ ├── render_two_partials.html.erb │ │ │ ├── using_layout_around_block.html.erb │ │ │ ├── with_html_partial.html.erb │ │ │ ├── with_partial.html.erb │ │ │ ├── with_partial.text.erb │ │ │ └── with_xml_template.html.erb │ ├── comments │ │ ├── empty.de.html.erb │ │ ├── empty.html+grid.erb │ │ ├── empty.html.builder │ │ ├── empty.html.erb │ │ └── empty.xml.erb │ ├── companies.yml │ ├── company.rb │ ├── customers │ │ ├── _customer.html.erb │ │ └── _customer.xml.erb │ ├── db_definitions │ │ └── sqlite.sql │ ├── developer.rb │ ├── developers.yml │ ├── developers │ │ ├── _developer.html.erb │ │ ├── _developer.json.ruby │ │ └── _developer_with_h1.erb │ ├── developers_projects.yml │ ├── digestor │ │ ├── api │ │ │ └── comments │ │ │ │ ├── _comment.json.erb │ │ │ │ └── _comments.json.erb │ │ ├── comments │ │ │ ├── _comment.html.erb │ │ │ ├── _comments.html.erb │ │ │ ├── _cycle_a.html.erb │ │ │ ├── _cycle_b.html.erb │ │ │ ├── cycle.html.erb │ │ │ └── show.js.erb │ │ ├── events │ │ │ ├── _completed.html.erb │ │ │ ├── _event.html.erb │ │ │ └── index.html.erb │ │ ├── level │ │ │ ├── _recursion.html.erb │ │ │ ├── below │ │ │ │ ├── _header.html.erb │ │ │ │ └── index.html.erb │ │ │ └── recursion.html.erb │ │ └── messages │ │ │ ├── _form.html.erb │ │ │ ├── _header.html.erb │ │ │ ├── _message.html.erb │ │ │ ├── actions │ │ │ └── _move.html.erb │ │ │ ├── edit.html.erb │ │ │ ├── index.html.erb │ │ │ ├── new.html+iphone.erb │ │ │ ├── peek.html.erb │ │ │ ├── show.html.erb │ │ │ └── thread.json.erb │ ├── fun │ │ ├── games │ │ │ ├── _game.erb │ │ │ └── hello_world.erb │ │ └── serious │ │ │ └── games │ │ │ └── _game.erb │ ├── games │ │ └── _game.erb │ ├── good_customers │ │ └── _good_customer.html.erb │ ├── helpers │ │ ├── abc_helper.rb │ │ └── helpery_test_helper.rb │ ├── layout_tests │ │ └── alt │ │ │ └── hello.erb │ ├── layouts │ │ ├── _column.html.erb │ │ ├── _customers.erb │ │ ├── _partial_and_yield.erb │ │ ├── _yield_only.erb │ │ ├── _yield_with_params.erb │ │ ├── render_partial_html.erb │ │ ├── streaming.erb │ │ ├── streaming_with_capture.erb │ │ ├── streaming_with_locale.erb │ │ ├── yield.erb │ │ ├── yield_with_render_inline_inside.erb │ │ └── yield_with_render_partial_inside.erb │ ├── mascot.rb │ ├── mascots.yml │ ├── mascots │ │ └── _mascot.html.erb │ ├── override │ │ └── test │ │ │ └── hello_world.erb │ ├── override2 │ │ └── layouts │ │ │ └── test │ │ │ └── sub.erb │ ├── plain_text.raw │ ├── plain_text_with_characters.raw │ ├── project.rb │ ├── projects.yml │ ├── projects │ │ └── _project.erb │ ├── public │ │ ├── elsewhere │ │ │ ├── cools.js │ │ │ └── file.css │ │ ├── foo │ │ │ └── baz.css │ │ ├── javascripts │ │ │ ├── application.js │ │ │ ├── bank.js │ │ │ ├── common.javascript │ │ │ ├── controls.js │ │ │ ├── dragdrop.js │ │ │ ├── effects.js │ │ │ ├── prototype.js │ │ │ ├── robber.js │ │ │ ├── subdir │ │ │ │ └── subdir.js │ │ │ └── version.1.0.js │ │ └── stylesheets │ │ │ ├── bank.css │ │ │ ├── random.styles │ │ │ ├── robber.css │ │ │ ├── subdir │ │ │ └── subdir.css │ │ │ └── version.1.0.css │ ├── replies.yml │ ├── replies │ │ └── _reply.erb │ ├── reply.rb │ ├── respond_to │ │ └── using_defaults_with_all.html.erb │ ├── ruby_template.ruby │ ├── shared.html.erb │ ├── test │ │ ├── _200.html.erb │ │ ├── _FooBar.html.erb │ │ ├── _a-in.html.erb │ │ ├── _b_layout_for_partial.html.erb │ │ ├── _b_layout_for_partial_with_object.html.erb │ │ ├── _b_layout_for_partial_with_object_counter.html.erb │ │ ├── _builder_tag_nested_in_content_tag.erb │ │ ├── _cached_customer.erb │ │ ├── _cached_customer_as.erb │ │ ├── _cached_nested_cached_customer.erb │ │ ├── _cached_set.erb │ │ ├── _changing_priority.html.erb │ │ ├── _changing_priority.json.erb │ │ ├── _content_tag_nested_in_content_tag.erb │ │ ├── _content_tag_nested_in_content_tag_with_data_attributes_out_of_erb.erb │ │ ├── _counter.html.erb │ │ ├── _customer.erb │ │ ├── _customer.mobile.erb │ │ ├── _customer_greeting.erb │ │ ├── _customer_with_var.erb │ │ ├── _directory │ │ │ └── _partial_with_locales.html.erb │ │ ├── _first.html.erb │ │ ├── _first.xml.erb │ │ ├── _first_json_partial.json.erb │ │ ├── _first_layer.html.erb │ │ ├── _first_layer.xml.erb │ │ ├── _from_helper.erb │ │ ├── _js_html_fallback.html.erb │ │ ├── _json_change_priority.json.erb │ │ ├── _klass.erb │ │ ├── _label_with_block.erb │ │ ├── _layout_for_block_with_args.html.erb │ │ ├── _layout_for_partial.html.erb │ │ ├── _layout_with_partial_and_yield.html.erb │ │ ├── _local_inspector.html.erb │ │ ├── _multifetch.html.erb │ │ ├── _nested_cached_customer.erb │ │ ├── _object_inspector.erb │ │ ├── _one.html.erb │ │ ├── _partial.erb │ │ ├── _partial.html.erb │ │ ├── _partial.js.erb │ │ ├── _partial_for_use_in_layout.html.erb │ │ ├── _partial_iteration_1.erb │ │ ├── _partial_iteration_2.erb │ │ ├── _partial_name_in_local_assigns.erb │ │ ├── _partial_name_local_variable.erb │ │ ├── _partial_only.erb │ │ ├── _partial_shortcut_with_block_content.html.erb │ │ ├── _partial_with_layout.erb │ │ ├── _partial_with_layout_block_content.erb │ │ ├── _partial_with_layout_block_partial.erb │ │ ├── _partial_with_only_html_version.html.erb │ │ ├── _partial_with_partial.erb │ │ ├── _partial_with_variants.html+grid.erb │ │ ├── _partialhtml.html │ │ ├── _raise.html.erb │ │ ├── _raise_indentation.html.erb │ │ ├── _second.html.erb │ │ ├── _second.xml.erb │ │ ├── _second_json_partial.json.erb │ │ ├── _second_layer.html.erb │ │ ├── _second_layer.xml.erb │ │ ├── _template_not_named_customer.html.erb │ │ ├── _two.html.erb │ │ ├── _utf8_partial.html.erb │ │ ├── _utf8_partial_magic.html.erb │ │ ├── _🍣.erb │ │ ├── basic.html.erb │ │ ├── cache_fragment_inside_render_layout_block_1.html.erb │ │ ├── cache_fragment_inside_render_layout_block_2.html.erb │ │ ├── caching_predicate.html.erb │ │ ├── caching_predicate_outside_cache.html.erb │ │ ├── calling_partial_with_layout.html.erb │ │ ├── change_priority.html.erb │ │ ├── dont_pick_me │ │ ├── dot.directory │ │ │ └── render_template_with_ivar.erb │ │ ├── greeting.xml.erb │ │ ├── hello.builder │ │ ├── hello │ │ │ └── hello.erb │ │ ├── hello_world.da.html.erb │ │ ├── hello_world.erb │ │ ├── hello_world.erb~ │ │ ├── hello_world.html+phone.erb │ │ ├── hello_world.pt-BR.html.erb │ │ ├── hello_world.text+phone.erb │ │ ├── hello_world_with_partial.html.erb │ │ ├── html_template.html.erb │ │ ├── js_html_fallback.js.erb │ │ ├── layout_render_file.erb │ │ ├── layout_render_object.erb │ │ ├── list.erb │ │ ├── malformed │ │ │ ├── malformed.en.html.erb~ │ │ │ ├── malformed.erb~ │ │ │ ├── malformed.html.erb~ │ │ │ └── malformed~ │ │ ├── mixing_formats.html.erb │ │ ├── mixing_formats_deep.html.erb │ │ ├── nested_layout.erb │ │ ├── nested_streaming.erb │ │ ├── nil_return.erb │ │ ├── one.html.erb │ │ ├── render_file_inspect_local_assigns.erb │ │ ├── render_file_unicode_local.erb │ │ ├── render_file_with_locals_and_default.erb │ │ ├── render_file_with_ruby_keyword_locals.erb │ │ ├── render_partial_inside_directory.html.erb │ │ ├── render_template_with_ivar.erb │ │ ├── render_template_with_locals.erb │ │ ├── render_two_partials.html.erb │ │ ├── runtime_error.html.erb │ │ ├── streaming.erb │ │ ├── streaming_buster.erb │ │ ├── streaming_with_locale.erb │ │ ├── sub_template_raise.html.erb │ │ ├── syntax_error.html.erb │ │ ├── template.erb │ │ ├── test_template_with_delegation_reserved_keywords.erb │ │ ├── uncacheable.html.erb │ │ ├── unparseable_runtime_error.html.erb │ │ ├── unparseable_runtime_error_2.html.erb │ │ ├── update_element_with_capture.erb │ │ ├── utf8.html.erb │ │ ├── utf8_magic.html.erb │ │ └── utf8_magic_with_bare_partial.html.erb │ ├── topic.rb │ ├── topics.yml │ ├── topics │ │ └── _topic.html.erb │ ├── translations │ │ └── templates │ │ │ ├── _partial.html.erb │ │ │ ├── array.erb │ │ │ ├── default.erb │ │ │ ├── found.erb │ │ │ ├── found_yield_block.html.erb │ │ │ ├── found_yield_single_argument.html.erb │ │ │ ├── missing.erb │ │ │ ├── missing_with_default_yield_block.erb │ │ │ ├── missing_with_default_yield_single_argument_block.erb │ │ │ ├── missing_yield_block.erb │ │ │ ├── missing_yield_single_argument_block.erb │ │ │ ├── partial_lazy_translation.html.erb │ │ │ └── partial_lazy_translation_block.html.erb │ └── with_format.json.erb │ ├── lib │ ├── controller │ │ └── fake_models.rb │ └── test_renderable.rb │ └── template │ ├── active_model_helper_test.rb │ ├── asset_tag_helper_test.rb │ ├── atom_feed_helper_test.rb │ ├── capture_helper_test.rb │ ├── compiled_templates_test.rb │ ├── controller_helper_test.rb │ ├── csp_helper_test.rb │ ├── csrf_helper_test.rb │ ├── date_helper_i18n_test.rb │ ├── date_helper_test.rb │ ├── dependency_tracker_test.rb │ ├── digestor_test.rb │ ├── erb │ ├── erbubi_test.rb │ ├── form_for_test.rb │ ├── helper.rb │ └── tag_helper_test.rb │ ├── erb_util_test.rb │ ├── file_system_resolver_test.rb │ ├── form_collections_helper_test.rb │ ├── form_helper │ └── form_with_test.rb │ ├── form_helper_test.rb │ ├── form_options_helper_i18n_test.rb │ ├── form_options_helper_test.rb │ ├── form_tag_helper_test.rb │ ├── html_test.rb │ ├── javascript_helper_test.rb │ ├── log_subscriber_test.rb │ ├── lookup_context_test.rb │ ├── number_helper_test.rb │ ├── output_safety_helper_test.rb │ ├── partial_iteration_test.rb │ ├── record_identifier_test.rb │ ├── render_test.rb │ ├── resolver_shared_tests.rb │ ├── sanitize_helper_test.rb │ ├── streaming_render_test.rb │ ├── tag_helper_test.rb │ ├── template_error_test.rb │ ├── template_path_test.rb │ ├── template_test.rb │ ├── test_case_test.rb │ ├── test_test.rb │ ├── testing │ ├── fixture_resolver_test.rb │ └── null_resolver_test.rb │ ├── text_helper_test.rb │ ├── text_test.rb │ ├── translation_helper_test.rb │ └── url_helper_test.rb ├── activejob ├── CHANGELOG.md ├── MIT-LICENSE ├── README.md ├── Rakefile ├── activejob.gemspec ├── bin │ └── test ├── lib │ ├── active_job.rb │ ├── active_job │ │ ├── arguments.rb │ │ ├── base.rb │ │ ├── callbacks.rb │ │ ├── configured_job.rb │ │ ├── continuable.rb │ │ ├── continuation.rb │ │ ├── continuation │ │ │ ├── step.rb │ │ │ ├── test_helper.rb │ │ │ └── validation.rb │ │ ├── core.rb │ │ ├── deprecator.rb │ │ ├── enqueue_after_transaction_commit.rb │ │ ├── enqueuing.rb │ │ ├── exceptions.rb │ │ ├── execution.rb │ │ ├── execution_state.rb │ │ ├── gem_version.rb │ │ ├── instrumentation.rb │ │ ├── log_subscriber.rb │ │ ├── logging.rb │ │ ├── queue_adapter.rb │ │ ├── queue_adapters.rb │ │ ├── queue_adapters │ │ │ ├── abstract_adapter.rb │ │ │ ├── async_adapter.rb │ │ │ ├── backburner_adapter.rb │ │ │ ├── delayed_job_adapter.rb │ │ │ ├── inline_adapter.rb │ │ │ ├── queue_classic_adapter.rb │ │ │ ├── resque_adapter.rb │ │ │ ├── sidekiq_adapter.rb │ │ │ ├── sneakers_adapter.rb │ │ │ ├── sucker_punch_adapter.rb │ │ │ └── test_adapter.rb │ │ ├── queue_name.rb │ │ ├── queue_priority.rb │ │ ├── railtie.rb │ │ ├── serializers.rb │ │ ├── serializers │ │ │ ├── big_decimal_serializer.rb │ │ │ ├── date_serializer.rb │ │ │ ├── date_time_serializer.rb │ │ │ ├── duration_serializer.rb │ │ │ ├── module_serializer.rb │ │ │ ├── object_serializer.rb │ │ │ ├── range_serializer.rb │ │ │ ├── symbol_serializer.rb │ │ │ ├── time_object_serializer.rb │ │ │ ├── time_serializer.rb │ │ │ └── time_with_zone_serializer.rb │ │ ├── test_case.rb │ │ ├── test_helper.rb │ │ └── version.rb │ └── rails │ │ └── generators │ │ └── job │ │ ├── USAGE │ │ ├── job_generator.rb │ │ └── templates │ │ ├── application_job.rb.tt │ │ └── job.rb.tt └── test │ ├── adapters │ ├── async.rb │ ├── backburner.rb │ ├── delayed_job.rb │ ├── inline.rb │ ├── queue_classic.rb │ ├── resque.rb │ ├── sidekiq.rb │ ├── sneakers.rb │ ├── sucker_punch.rb │ └── test.rb │ ├── cases │ ├── adapter_test.rb │ ├── argument_serialization_test.rb │ ├── async_adapter_test.rb │ ├── callbacks_test.rb │ ├── continuation_test.rb │ ├── delayed_job_adapter_test.rb │ ├── enqueue_after_transaction_commit_test.rb │ ├── exceptions_test.rb │ ├── instrumentation_test.rb │ ├── job_serialization_test.rb │ ├── logging_test.rb │ ├── queue_adapter_test.rb │ ├── queue_naming_test.rb │ ├── queue_priority_test.rb │ ├── queuing_test.rb │ ├── rescue_test.rb │ ├── serializers_test.rb │ ├── test_case_test.rb │ ├── test_helper_test.rb │ ├── timezones_test.rb │ └── translation_test.rb │ ├── helper.rb │ ├── integration │ └── queuing_test.rb │ ├── jobs │ ├── abort_before_enqueue_job.rb │ ├── after_discard_retry_job.rb │ ├── application_job.rb │ ├── arguments_round_trip_job.rb │ ├── callback_job.rb │ ├── configuration_job.rb │ ├── disable_log_job.rb │ ├── enqueue_error_job.rb │ ├── gid_job.rb │ ├── hello_job.rb │ ├── inherited_job.rb │ ├── kwargs_job.rb │ ├── logging_job.rb │ ├── multiple_kwargs_job.rb │ ├── nested_job.rb │ ├── overridden_logging_job.rb │ ├── prefixed_job.rb │ ├── provider_jid_job.rb │ ├── queue_adapter_job.rb │ ├── raising_job.rb │ ├── rescue_job.rb │ ├── retries_job.rb │ ├── retry_job.rb │ ├── timezone_dependent_job.rb │ ├── timezone_raising_job.rb │ ├── translated_hello_job.rb │ └── translated_raising_job.rb │ ├── models │ └── person.rb │ ├── serializers │ └── time_with_zone_serializer_test.rb │ └── support │ ├── backburner │ └── inline.rb │ ├── delayed_job │ └── delayed │ │ ├── backend │ │ └── test.rb │ │ └── serialization │ │ └── test.rb │ ├── do_not_perform_enqueued_jobs.rb │ ├── integration │ ├── adapters │ │ ├── async.rb │ │ ├── backburner.rb │ │ ├── delayed_job.rb │ │ ├── inline.rb │ │ ├── queue_classic.rb │ │ ├── resque.rb │ │ ├── sidekiq.rb │ │ ├── sneakers.rb │ │ └── sucker_punch.rb │ ├── dummy_app_template.rb │ ├── helper.rb │ ├── jobs_manager.rb │ └── test_case_helpers.rb │ ├── job_buffer.rb │ ├── queue_classic │ └── inline.rb │ ├── sneakers │ └── inline.rb │ ├── stubs │ └── strong_parameters.rb │ └── test_logger.rb ├── activemodel ├── CHANGELOG.md ├── MIT-LICENSE ├── README.rdoc ├── Rakefile ├── activemodel.gemspec ├── bin │ └── test ├── lib │ ├── active_model.rb │ └── active_model │ │ ├── access.rb │ │ ├── api.rb │ │ ├── attribute.rb │ │ ├── attribute │ │ └── user_provided_default.rb │ │ ├── attribute_assignment.rb │ │ ├── attribute_methods.rb │ │ ├── attribute_mutation_tracker.rb │ │ ├── attribute_registration.rb │ │ ├── attribute_set.rb │ │ ├── attribute_set │ │ ├── builder.rb │ │ └── yaml_encoder.rb │ │ ├── attributes.rb │ │ ├── attributes │ │ └── normalization.rb │ │ ├── callbacks.rb │ │ ├── conversion.rb │ │ ├── deprecator.rb │ │ ├── dirty.rb │ │ ├── error.rb │ │ ├── errors.rb │ │ ├── forbidden_attributes_protection.rb │ │ ├── gem_version.rb │ │ ├── lint.rb │ │ ├── locale │ │ └── en.yml │ │ ├── model.rb │ │ ├── naming.rb │ │ ├── nested_error.rb │ │ ├── railtie.rb │ │ ├── secure_password.rb │ │ ├── serialization.rb │ │ ├── serializers │ │ └── json.rb │ │ ├── translation.rb │ │ ├── type.rb │ │ ├── type │ │ ├── big_integer.rb │ │ ├── binary.rb │ │ ├── boolean.rb │ │ ├── date.rb │ │ ├── date_time.rb │ │ ├── decimal.rb │ │ ├── float.rb │ │ ├── helpers.rb │ │ ├── helpers │ │ │ ├── accepts_multiparameter_time.rb │ │ │ ├── immutable.rb │ │ │ ├── mutable.rb │ │ │ ├── numeric.rb │ │ │ ├── time_value.rb │ │ │ └── timezone.rb │ │ ├── immutable_string.rb │ │ ├── integer.rb │ │ ├── registry.rb │ │ ├── serialize_cast_value.rb │ │ ├── string.rb │ │ ├── time.rb │ │ └── value.rb │ │ ├── validations.rb │ │ ├── validations │ │ ├── absence.rb │ │ ├── acceptance.rb │ │ ├── callbacks.rb │ │ ├── clusivity.rb │ │ ├── comparability.rb │ │ ├── comparison.rb │ │ ├── confirmation.rb │ │ ├── exclusion.rb │ │ ├── format.rb │ │ ├── helper_methods.rb │ │ ├── inclusion.rb │ │ ├── length.rb │ │ ├── numericality.rb │ │ ├── presence.rb │ │ ├── resolve_value.rb │ │ ├── validates.rb │ │ └── with.rb │ │ ├── validator.rb │ │ └── version.rb └── test │ ├── cases │ ├── access_test.rb │ ├── api_test.rb │ ├── attribute_assignment_test.rb │ ├── attribute_methods_test.rb │ ├── attribute_registration_test.rb │ ├── attribute_set_test.rb │ ├── attribute_test.rb │ ├── attributes │ │ └── normalization_test.rb │ ├── attributes_dirty_test.rb │ ├── attributes_test.rb │ ├── callbacks_test.rb │ ├── conversion_test.rb │ ├── dirty_test.rb │ ├── error_test.rb │ ├── errors_test.rb │ ├── forbidden_attributes_protection_test.rb │ ├── helper.rb │ ├── lint_test.rb │ ├── model_test.rb │ ├── naming_test.rb │ ├── nested_error_test.rb │ ├── railtie_test.rb │ ├── secure_password_test.rb │ ├── serialization_test.rb │ ├── serializers │ │ └── json_serialization_test.rb │ ├── translation_test.rb │ ├── type │ │ ├── big_integer_test.rb │ │ ├── binary_test.rb │ │ ├── boolean_test.rb │ │ ├── date_test.rb │ │ ├── date_time_test.rb │ │ ├── decimal_test.rb │ │ ├── float_test.rb │ │ ├── immutable_string_test.rb │ │ ├── integer_test.rb │ │ ├── registry_test.rb │ │ ├── serialize_cast_value_test.rb │ │ ├── string_test.rb │ │ ├── time_test.rb │ │ └── value_test.rb │ ├── type_test.rb │ ├── validations │ │ ├── absence_validation_test.rb │ │ ├── acceptance_validation_test.rb │ │ ├── callbacks_test.rb │ │ ├── comparison_validation_test.rb │ │ ├── conditional_validation_test.rb │ │ ├── confirmation_validation_test.rb │ │ ├── exclusion_validation_test.rb │ │ ├── format_validation_test.rb │ │ ├── i18n_generate_message_validation_test.rb │ │ ├── i18n_validation_test.rb │ │ ├── inclusion_validation_test.rb │ │ ├── length_validation_test.rb │ │ ├── numericality_validation_test.rb │ │ ├── presence_validation_test.rb │ │ ├── validates_test.rb │ │ ├── validations_context_test.rb │ │ └── with_validation_test.rb │ └── validations_test.rb │ ├── models │ ├── account.rb │ ├── address.rb │ ├── blog_post.rb │ ├── contact.rb │ ├── custom_reader.rb │ ├── helicopter.rb │ ├── person.rb │ ├── person_with_validator.rb │ ├── pilot.rb │ ├── reply.rb │ ├── sheep.rb │ ├── topic.rb │ ├── track_back.rb │ ├── user.rb │ └── visitor.rb │ └── validators │ ├── email_validator.rb │ └── namespaced │ └── email_validator.rb ├── activerecord ├── .gitignore ├── CHANGELOG.md ├── MIT-LICENSE ├── README.rdoc ├── RUNNING_UNIT_TESTS.rdoc ├── Rakefile ├── activerecord.gemspec ├── bin │ └── test ├── examples │ ├── performance.rb │ └── simple.rb ├── fixtures │ └── journal_mode_test.sqlite3 ├── lib │ ├── active_record.rb │ ├── active_record │ │ ├── aggregations.rb │ │ ├── association_relation.rb │ │ ├── associations.rb │ │ ├── associations │ │ │ ├── alias_tracker.rb │ │ │ ├── association.rb │ │ │ ├── association_scope.rb │ │ │ ├── belongs_to_association.rb │ │ │ ├── belongs_to_polymorphic_association.rb │ │ │ ├── builder │ │ │ │ ├── association.rb │ │ │ │ ├── belongs_to.rb │ │ │ │ ├── collection_association.rb │ │ │ │ ├── has_and_belongs_to_many.rb │ │ │ │ ├── has_many.rb │ │ │ │ ├── has_one.rb │ │ │ │ └── singular_association.rb │ │ │ ├── collection_association.rb │ │ │ ├── collection_proxy.rb │ │ │ ├── deprecation.rb │ │ │ ├── disable_joins_association_scope.rb │ │ │ ├── errors.rb │ │ │ ├── foreign_association.rb │ │ │ ├── has_many_association.rb │ │ │ ├── has_many_through_association.rb │ │ │ ├── has_one_association.rb │ │ │ ├── has_one_through_association.rb │ │ │ ├── join_dependency.rb │ │ │ ├── join_dependency │ │ │ │ ├── join_association.rb │ │ │ │ ├── join_base.rb │ │ │ │ └── join_part.rb │ │ │ ├── nested_error.rb │ │ │ ├── preloader.rb │ │ │ ├── preloader │ │ │ │ ├── association.rb │ │ │ │ ├── batch.rb │ │ │ │ ├── branch.rb │ │ │ │ └── through_association.rb │ │ │ ├── singular_association.rb │ │ │ └── through_association.rb │ │ ├── asynchronous_queries_tracker.rb │ │ ├── attribute_assignment.rb │ │ ├── attribute_methods.rb │ │ ├── attribute_methods │ │ │ ├── before_type_cast.rb │ │ │ ├── composite_primary_key.rb │ │ │ ├── dirty.rb │ │ │ ├── primary_key.rb │ │ │ ├── query.rb │ │ │ ├── read.rb │ │ │ ├── serialization.rb │ │ │ ├── time_zone_conversion.rb │ │ │ └── write.rb │ │ ├── attributes.rb │ │ ├── autosave_association.rb │ │ ├── base.rb │ │ ├── callbacks.rb │ │ ├── coders │ │ │ ├── column_serializer.rb │ │ │ ├── json.rb │ │ │ └── yaml_column.rb │ │ ├── connection_adapters.rb │ │ ├── connection_adapters │ │ │ ├── abstract │ │ │ │ ├── connection_handler.rb │ │ │ │ ├── connection_pool.rb │ │ │ │ ├── connection_pool │ │ │ │ │ ├── queue.rb │ │ │ │ │ └── reaper.rb │ │ │ │ ├── database_limits.rb │ │ │ │ ├── database_statements.rb │ │ │ │ ├── query_cache.rb │ │ │ │ ├── quoting.rb │ │ │ │ ├── savepoints.rb │ │ │ │ ├── schema_creation.rb │ │ │ │ ├── schema_definitions.rb │ │ │ │ ├── schema_dumper.rb │ │ │ │ ├── schema_statements.rb │ │ │ │ └── transaction.rb │ │ │ ├── abstract_adapter.rb │ │ │ ├── abstract_mysql_adapter.rb │ │ │ ├── column.rb │ │ │ ├── deduplicable.rb │ │ │ ├── mysql │ │ │ │ ├── column.rb │ │ │ │ ├── database_statements.rb │ │ │ │ ├── explain_pretty_printer.rb │ │ │ │ ├── quoting.rb │ │ │ │ ├── schema_creation.rb │ │ │ │ ├── schema_definitions.rb │ │ │ │ ├── schema_dumper.rb │ │ │ │ ├── schema_statements.rb │ │ │ │ └── type_metadata.rb │ │ │ ├── mysql2 │ │ │ │ └── database_statements.rb │ │ │ ├── mysql2_adapter.rb │ │ │ ├── pool_config.rb │ │ │ ├── pool_manager.rb │ │ │ ├── postgresql │ │ │ │ ├── column.rb │ │ │ │ ├── database_statements.rb │ │ │ │ ├── explain_pretty_printer.rb │ │ │ │ ├── oid.rb │ │ │ │ ├── oid │ │ │ │ │ ├── array.rb │ │ │ │ │ ├── bit.rb │ │ │ │ │ ├── bit_varying.rb │ │ │ │ │ ├── bytea.rb │ │ │ │ │ ├── cidr.rb │ │ │ │ │ ├── date.rb │ │ │ │ │ ├── date_time.rb │ │ │ │ │ ├── decimal.rb │ │ │ │ │ ├── enum.rb │ │ │ │ │ ├── hstore.rb │ │ │ │ │ ├── inet.rb │ │ │ │ │ ├── interval.rb │ │ │ │ │ ├── jsonb.rb │ │ │ │ │ ├── legacy_point.rb │ │ │ │ │ ├── macaddr.rb │ │ │ │ │ ├── money.rb │ │ │ │ │ ├── oid.rb │ │ │ │ │ ├── point.rb │ │ │ │ │ ├── range.rb │ │ │ │ │ ├── specialized_string.rb │ │ │ │ │ ├── timestamp.rb │ │ │ │ │ ├── timestamp_with_time_zone.rb │ │ │ │ │ ├── type_map_initializer.rb │ │ │ │ │ ├── uuid.rb │ │ │ │ │ ├── vector.rb │ │ │ │ │ └── xml.rb │ │ │ │ ├── quoting.rb │ │ │ │ ├── referential_integrity.rb │ │ │ │ ├── schema_creation.rb │ │ │ │ ├── schema_definitions.rb │ │ │ │ ├── schema_dumper.rb │ │ │ │ ├── schema_statements.rb │ │ │ │ ├── type_metadata.rb │ │ │ │ └── utils.rb │ │ │ ├── postgresql_adapter.rb │ │ │ ├── schema_cache.rb │ │ │ ├── sql_type_metadata.rb │ │ │ ├── sqlite3 │ │ │ │ ├── column.rb │ │ │ │ ├── database_statements.rb │ │ │ │ ├── explain_pretty_printer.rb │ │ │ │ ├── quoting.rb │ │ │ │ ├── schema_creation.rb │ │ │ │ ├── schema_definitions.rb │ │ │ │ ├── schema_dumper.rb │ │ │ │ └── schema_statements.rb │ │ │ ├── sqlite3_adapter.rb │ │ │ ├── statement_pool.rb │ │ │ ├── trilogy │ │ │ │ └── database_statements.rb │ │ │ └── trilogy_adapter.rb │ │ ├── connection_handling.rb │ │ ├── core.rb │ │ ├── counter_cache.rb │ │ ├── database_configurations.rb │ │ ├── database_configurations │ │ │ ├── connection_url_resolver.rb │ │ │ ├── database_config.rb │ │ │ ├── hash_config.rb │ │ │ └── url_config.rb │ │ ├── delegated_type.rb │ │ ├── deprecator.rb │ │ ├── destroy_association_async_job.rb │ │ ├── disable_joins_association_relation.rb │ │ ├── dynamic_matchers.rb │ │ ├── encryption.rb │ │ ├── encryption │ │ │ ├── auto_filtered_parameters.rb │ │ │ ├── cipher.rb │ │ │ ├── cipher │ │ │ │ └── aes256_gcm.rb │ │ │ ├── config.rb │ │ │ ├── configurable.rb │ │ │ ├── context.rb │ │ │ ├── contexts.rb │ │ │ ├── derived_secret_key_provider.rb │ │ │ ├── deterministic_key_provider.rb │ │ │ ├── encryptable_record.rb │ │ │ ├── encrypted_attribute_type.rb │ │ │ ├── encrypted_fixtures.rb │ │ │ ├── encrypting_only_encryptor.rb │ │ │ ├── encryptor.rb │ │ │ ├── envelope_encryption_key_provider.rb │ │ │ ├── errors.rb │ │ │ ├── extended_deterministic_queries.rb │ │ │ ├── extended_deterministic_uniqueness_validator.rb │ │ │ ├── key.rb │ │ │ ├── key_generator.rb │ │ │ ├── key_provider.rb │ │ │ ├── message.rb │ │ │ ├── message_pack_message_serializer.rb │ │ │ ├── message_serializer.rb │ │ │ ├── null_encryptor.rb │ │ │ ├── properties.rb │ │ │ ├── read_only_null_encryptor.rb │ │ │ └── scheme.rb │ │ ├── enum.rb │ │ ├── errors.rb │ │ ├── explain.rb │ │ ├── explain_registry.rb │ │ ├── explain_subscriber.rb │ │ ├── fixture_set │ │ │ ├── file.rb │ │ │ ├── model_metadata.rb │ │ │ ├── render_context.rb │ │ │ ├── table_row.rb │ │ │ └── table_rows.rb │ │ ├── fixtures.rb │ │ ├── future_result.rb │ │ ├── gem_version.rb │ │ ├── inheritance.rb │ │ ├── insert_all.rb │ │ ├── integration.rb │ │ ├── internal_metadata.rb │ │ ├── legacy_yaml_adapter.rb │ │ ├── locale │ │ │ └── en.yml │ │ ├── locking │ │ │ ├── optimistic.rb │ │ │ └── pessimistic.rb │ │ ├── log_subscriber.rb │ │ ├── marshalling.rb │ │ ├── message_pack.rb │ │ ├── middleware │ │ │ ├── database_selector.rb │ │ │ ├── database_selector │ │ │ │ ├── resolver.rb │ │ │ │ └── resolver │ │ │ │ │ └── session.rb │ │ │ └── shard_selector.rb │ │ ├── migration.rb │ │ ├── migration │ │ │ ├── command_recorder.rb │ │ │ ├── compatibility.rb │ │ │ ├── default_schema_versions_formatter.rb │ │ │ ├── default_strategy.rb │ │ │ ├── execution_strategy.rb │ │ │ ├── join_table.rb │ │ │ └── pending_migration_connection.rb │ │ ├── model_schema.rb │ │ ├── nested_attributes.rb │ │ ├── no_touching.rb │ │ ├── persistence.rb │ │ ├── promise.rb │ │ ├── query_cache.rb │ │ ├── query_logs.rb │ │ ├── query_logs_formatter.rb │ │ ├── querying.rb │ │ ├── railtie.rb │ │ ├── railties │ │ │ ├── console_sandbox.rb │ │ │ ├── controller_runtime.rb │ │ │ ├── databases.rake │ │ │ ├── job_checkpoints.rb │ │ │ └── job_runtime.rb │ │ ├── readonly_attributes.rb │ │ ├── reflection.rb │ │ ├── relation.rb │ │ ├── relation │ │ │ ├── batches.rb │ │ │ ├── batches │ │ │ │ └── batch_enumerator.rb │ │ │ ├── calculations.rb │ │ │ ├── delegation.rb │ │ │ ├── finder_methods.rb │ │ │ ├── from_clause.rb │ │ │ ├── merger.rb │ │ │ ├── predicate_builder.rb │ │ │ ├── predicate_builder │ │ │ │ ├── array_handler.rb │ │ │ │ ├── association_query_value.rb │ │ │ │ ├── basic_object_handler.rb │ │ │ │ ├── polymorphic_array_value.rb │ │ │ │ ├── range_handler.rb │ │ │ │ └── relation_handler.rb │ │ │ ├── query_attribute.rb │ │ │ ├── query_methods.rb │ │ │ ├── spawn_methods.rb │ │ │ └── where_clause.rb │ │ ├── result.rb │ │ ├── runtime_registry.rb │ │ ├── sanitization.rb │ │ ├── schema.rb │ │ ├── schema_dumper.rb │ │ ├── schema_migration.rb │ │ ├── scoping.rb │ │ ├── scoping │ │ │ ├── default.rb │ │ │ └── named.rb │ │ ├── secure_password.rb │ │ ├── secure_token.rb │ │ ├── serialization.rb │ │ ├── signed_id.rb │ │ ├── statement_cache.rb │ │ ├── store.rb │ │ ├── suppressor.rb │ │ ├── table_metadata.rb │ │ ├── tasks │ │ │ ├── database_tasks.rb │ │ │ ├── mysql_database_tasks.rb │ │ │ ├── postgresql_database_tasks.rb │ │ │ └── sqlite_database_tasks.rb │ │ ├── test_databases.rb │ │ ├── test_fixtures.rb │ │ ├── testing │ │ │ └── query_assertions.rb │ │ ├── timestamp.rb │ │ ├── token_for.rb │ │ ├── touch_later.rb │ │ ├── transaction.rb │ │ ├── transactions.rb │ │ ├── translation.rb │ │ ├── type.rb │ │ ├── type │ │ │ ├── adapter_specific_registry.rb │ │ │ ├── date.rb │ │ │ ├── date_time.rb │ │ │ ├── decimal_without_scale.rb │ │ │ ├── hash_lookup_type_map.rb │ │ │ ├── internal │ │ │ │ └── timezone.rb │ │ │ ├── json.rb │ │ │ ├── serialized.rb │ │ │ ├── text.rb │ │ │ ├── time.rb │ │ │ ├── type_map.rb │ │ │ └── unsigned_integer.rb │ │ ├── type_caster.rb │ │ ├── type_caster │ │ │ ├── connection.rb │ │ │ └── map.rb │ │ ├── validations.rb │ │ ├── validations │ │ │ ├── absence.rb │ │ │ ├── associated.rb │ │ │ ├── length.rb │ │ │ ├── numericality.rb │ │ │ ├── presence.rb │ │ │ └── uniqueness.rb │ │ └── version.rb │ ├── arel.rb │ ├── arel │ │ ├── alias_predication.rb │ │ ├── attributes │ │ │ └── attribute.rb │ │ ├── collectors │ │ │ ├── bind.rb │ │ │ ├── composite.rb │ │ │ ├── plain_string.rb │ │ │ ├── sql_string.rb │ │ │ └── substitute_binds.rb │ │ ├── crud.rb │ │ ├── delete_manager.rb │ │ ├── errors.rb │ │ ├── expressions.rb │ │ ├── factory_methods.rb │ │ ├── filter_predications.rb │ │ ├── insert_manager.rb │ │ ├── math.rb │ │ ├── nodes.rb │ │ ├── nodes │ │ │ ├── ascending.rb │ │ │ ├── binary.rb │ │ │ ├── bind_param.rb │ │ │ ├── bound_sql_literal.rb │ │ │ ├── case.rb │ │ │ ├── casted.rb │ │ │ ├── comment.rb │ │ │ ├── count.rb │ │ │ ├── cte.rb │ │ │ ├── delete_statement.rb │ │ │ ├── descending.rb │ │ │ ├── equality.rb │ │ │ ├── extract.rb │ │ │ ├── false.rb │ │ │ ├── filter.rb │ │ │ ├── fragments.rb │ │ │ ├── full_outer_join.rb │ │ │ ├── function.rb │ │ │ ├── grouping.rb │ │ │ ├── homogeneous_in.rb │ │ │ ├── in.rb │ │ │ ├── infix_operation.rb │ │ │ ├── inner_join.rb │ │ │ ├── insert_statement.rb │ │ │ ├── join_source.rb │ │ │ ├── leading_join.rb │ │ │ ├── matches.rb │ │ │ ├── named_function.rb │ │ │ ├── nary.rb │ │ │ ├── node.rb │ │ │ ├── node_expression.rb │ │ │ ├── ordering.rb │ │ │ ├── outer_join.rb │ │ │ ├── over.rb │ │ │ ├── regexp.rb │ │ │ ├── right_outer_join.rb │ │ │ ├── select_core.rb │ │ │ ├── select_statement.rb │ │ │ ├── sql_literal.rb │ │ │ ├── string_join.rb │ │ │ ├── table_alias.rb │ │ │ ├── terminal.rb │ │ │ ├── true.rb │ │ │ ├── unary.rb │ │ │ ├── unary_operation.rb │ │ │ ├── unqualified_column.rb │ │ │ ├── update_statement.rb │ │ │ ├── values_list.rb │ │ │ ├── window.rb │ │ │ └── with.rb │ │ ├── order_predications.rb │ │ ├── predications.rb │ │ ├── select_manager.rb │ │ ├── table.rb │ │ ├── tree_manager.rb │ │ ├── update_manager.rb │ │ ├── visitors.rb │ │ ├── visitors │ │ │ ├── dot.rb │ │ │ ├── mysql.rb │ │ │ ├── postgresql.rb │ │ │ ├── sqlite.rb │ │ │ ├── to_sql.rb │ │ │ └── visitor.rb │ │ └── window_predications.rb │ └── rails │ │ └── generators │ │ ├── active_record.rb │ │ └── active_record │ │ ├── application_record │ │ ├── USAGE │ │ ├── application_record_generator.rb │ │ └── templates │ │ │ └── application_record.rb.tt │ │ ├── migration.rb │ │ ├── migration │ │ ├── migration_generator.rb │ │ └── templates │ │ │ ├── create_table_migration.rb.tt │ │ │ └── migration.rb.tt │ │ ├── model │ │ ├── USAGE │ │ ├── model_generator.rb │ │ └── templates │ │ │ ├── abstract_base_class.rb.tt │ │ │ ├── model.rb.tt │ │ │ └── module.rb.tt │ │ └── multi_db │ │ ├── multi_db_generator.rb │ │ └── templates │ │ └── multi_db.rb.tt └── test │ ├── active_record │ └── connection_adapters │ │ ├── fake_legacy_adapter.rb │ │ └── fake_misleading_legacy_adapter.rb │ ├── activejob │ ├── destroy_association_async_job_test.rb │ ├── destroy_association_async_test.rb │ ├── helper.rb │ ├── job_checkpoints_test.rb │ ├── job_runtime_test.rb │ └── unloadable_base_job.rb │ ├── assets │ ├── example.log │ ├── flowers.jpg │ ├── schema_dump_5_1.yml │ ├── schema_dump_8_0.yml │ └── test.txt │ ├── cases │ ├── active_record_schema_test.rb │ ├── active_record_test.rb │ ├── adapter_prevent_writes_test.rb │ ├── adapter_test.rb │ ├── adapters │ │ ├── abstract_mysql_adapter │ │ │ ├── active_schema_test.rb │ │ │ ├── adapter_prevent_writes_test.rb │ │ │ ├── auto_increment_test.rb │ │ │ ├── bind_parameter_test.rb │ │ │ ├── case_sensitivity_test.rb │ │ │ ├── charset_collation_test.rb │ │ │ ├── connection_test.rb │ │ │ ├── count_deleted_rows_with_lock_test.rb │ │ │ ├── json_test.rb │ │ │ ├── mysql_boolean_test.rb │ │ │ ├── mysql_enum_test.rb │ │ │ ├── mysql_explain_test.rb │ │ │ ├── nested_deadlock_test.rb │ │ │ ├── optimizer_hints_test.rb │ │ │ ├── quoting_test.rb │ │ │ ├── schema_migrations_test.rb │ │ │ ├── schema_test.rb │ │ │ ├── set_test.rb │ │ │ ├── sp_test.rb │ │ │ ├── sql_types_test.rb │ │ │ ├── table_options_test.rb │ │ │ ├── transaction_test.rb │ │ │ ├── unsigned_type_test.rb │ │ │ ├── virtual_column_test.rb │ │ │ └── warnings_test.rb │ │ ├── mysql2 │ │ │ ├── check_constraint_quoting_test.rb │ │ │ ├── dbconsole_test.rb │ │ │ ├── mysql2_adapter_test.rb │ │ │ └── mysql2_rake_test.rb │ │ ├── postgresql │ │ │ ├── active_schema_test.rb │ │ │ ├── array_test.rb │ │ │ ├── bind_parameter_test.rb │ │ │ ├── bit_string_test.rb │ │ │ ├── bytea_test.rb │ │ │ ├── case_insensitive_test.rb │ │ │ ├── change_schema_test.rb │ │ │ ├── cidr_test.rb │ │ │ ├── citext_test.rb │ │ │ ├── collation_test.rb │ │ │ ├── composite_test.rb │ │ │ ├── connection_test.rb │ │ │ ├── create_unlogged_tables_test.rb │ │ │ ├── datatype_test.rb │ │ │ ├── date_test.rb │ │ │ ├── dbconsole_test.rb │ │ │ ├── deferred_constraints_test.rb │ │ │ ├── domain_test.rb │ │ │ ├── enum_test.rb │ │ │ ├── explain_test.rb │ │ │ ├── extension_migration_test.rb │ │ │ ├── foreign_table_test.rb │ │ │ ├── full_text_test.rb │ │ │ ├── geometric_test.rb │ │ │ ├── hstore_test.rb │ │ │ ├── infinity_test.rb │ │ │ ├── integer_test.rb │ │ │ ├── interval_test.rb │ │ │ ├── invertible_migration_test.rb │ │ │ ├── json_test.rb │ │ │ ├── ltree_test.rb │ │ │ ├── money_test.rb │ │ │ ├── network_test.rb │ │ │ ├── numbers_test.rb │ │ │ ├── optimizer_hints_test.rb │ │ │ ├── partitions_test.rb │ │ │ ├── postgresql_adapter_prevent_writes_test.rb │ │ │ ├── postgresql_adapter_test.rb │ │ │ ├── postgresql_rake_test.rb │ │ │ ├── prepared_statements_disabled_test.rb │ │ │ ├── quoting_test.rb │ │ │ ├── range_test.rb │ │ │ ├── referential_integrity_test.rb │ │ │ ├── rename_table_test.rb │ │ │ ├── schema_authorization_test.rb │ │ │ ├── schema_test.rb │ │ │ ├── serial_test.rb │ │ │ ├── statement_pool_test.rb │ │ │ ├── timestamp_test.rb │ │ │ ├── transaction_nested_test.rb │ │ │ ├── transaction_test.rb │ │ │ ├── type_lookup_test.rb │ │ │ ├── utils_test.rb │ │ │ ├── uuid_test.rb │ │ │ ├── virtual_column_test.rb │ │ │ └── xml_test.rb │ │ ├── sqlite3 │ │ │ ├── bind_parameter_test.rb │ │ │ ├── collation_test.rb │ │ │ ├── copy_table_test.rb │ │ │ ├── dbconsole_test.rb │ │ │ ├── explain_test.rb │ │ │ ├── json_test.rb │ │ │ ├── quoting_test.rb │ │ │ ├── sqlite3_adapter_prevent_writes_test.rb │ │ │ ├── sqlite3_adapter_test.rb │ │ │ ├── sqlite3_create_folder_test.rb │ │ │ ├── sqlite_rake_test.rb │ │ │ ├── statement_pool_test.rb │ │ │ ├── transaction_test.rb │ │ │ ├── virtual_column_test.rb │ │ │ └── virtual_table_test.rb │ │ └── trilogy │ │ │ ├── dbconsole_test.rb │ │ │ ├── trilogy_adapter_test.rb │ │ │ └── trilogy_rake_test.rb │ ├── aggregations_test.rb │ ├── annotate_test.rb │ ├── arel │ │ ├── attributes │ │ │ ├── attribute_test.rb │ │ │ └── math_test.rb │ │ ├── attributes_test.rb │ │ ├── collectors │ │ │ ├── bind_test.rb │ │ │ ├── composite_test.rb │ │ │ ├── sql_string_test.rb │ │ │ └── substitute_bind_collector_test.rb │ │ ├── crud_test.rb │ │ ├── delete_manager_test.rb │ │ ├── factory_methods_test.rb │ │ ├── helper.rb │ │ ├── insert_manager_test.rb │ │ ├── nodes │ │ │ ├── and_test.rb │ │ │ ├── as_test.rb │ │ │ ├── ascending_test.rb │ │ │ ├── bin_test.rb │ │ │ ├── binary_test.rb │ │ │ ├── bind_param_test.rb │ │ │ ├── bound_sql_literal_test.rb │ │ │ ├── case_test.rb │ │ │ ├── casted_test.rb │ │ │ ├── comment_test.rb │ │ │ ├── count_test.rb │ │ │ ├── cte_test.rb │ │ │ ├── delete_statement_test.rb │ │ │ ├── descending_test.rb │ │ │ ├── distinct_test.rb │ │ │ ├── equality_test.rb │ │ │ ├── extract_test.rb │ │ │ ├── false_test.rb │ │ │ ├── filter_test.rb │ │ │ ├── fragments_test.rb │ │ │ ├── grouping_test.rb │ │ │ ├── homogeneous_in_test.rb │ │ │ ├── infix_operation_test.rb │ │ │ ├── insert_statement_test.rb │ │ │ ├── named_function_test.rb │ │ │ ├── node_test.rb │ │ │ ├── not_test.rb │ │ │ ├── or_test.rb │ │ │ ├── over_test.rb │ │ │ ├── select_core_test.rb │ │ │ ├── select_statement_test.rb │ │ │ ├── sql_literal_test.rb │ │ │ ├── sum_test.rb │ │ │ ├── table_alias_test.rb │ │ │ ├── true_test.rb │ │ │ ├── unary_operation_test.rb │ │ │ ├── update_statement_test.rb │ │ │ └── window_test.rb │ │ ├── nodes_test.rb │ │ ├── select_manager_test.rb │ │ ├── support │ │ │ └── fake_record.rb │ │ ├── table_test.rb │ │ ├── update_manager_test.rb │ │ └── visitors │ │ │ ├── dispatch_contamination_test.rb │ │ │ ├── dot_test.rb │ │ │ ├── mysql_test.rb │ │ │ ├── postgres_test.rb │ │ │ ├── sqlite_test.rb │ │ │ └── to_sql_test.rb │ ├── assertions │ │ └── query_assertions_test.rb │ ├── associations │ │ ├── belongs_to_associations_test.rb │ │ ├── bidirectional_destroy_dependencies_test.rb │ │ ├── callbacks_test.rb │ │ ├── cascaded_eager_loading_test.rb │ │ ├── deprecation_test.rb │ │ ├── eager_load_includes_full_sti_class_test.rb │ │ ├── eager_load_nested_include_test.rb │ │ ├── eager_singularization_test.rb │ │ ├── eager_test.rb │ │ ├── extension_test.rb │ │ ├── has_and_belongs_to_many_associations_test.rb │ │ ├── has_many_associations_test.rb │ │ ├── has_many_through_associations_test.rb │ │ ├── has_many_through_disable_joins_associations_test.rb │ │ ├── has_one_associations_test.rb │ │ ├── has_one_through_associations_test.rb │ │ ├── has_one_through_disable_joins_associations_test.rb │ │ ├── inner_join_association_test.rb │ │ ├── inverse_associations_test.rb │ │ ├── join_model_test.rb │ │ ├── left_outer_join_association_test.rb │ │ ├── nested_error_test.rb │ │ ├── nested_through_associations_test.rb │ │ └── required_test.rb │ ├── associations_test.rb │ ├── asynchronous_queries_test.rb │ ├── attribute_methods │ │ ├── read_test.rb │ │ └── time_zone_converter_test.rb │ ├── attribute_methods_test.rb │ ├── attributes_test.rb │ ├── autosave_association_test.rb │ ├── base_prevent_writes_test.rb │ ├── base_test.rb │ ├── batches_test.rb │ ├── binary_test.rb │ ├── bind_parameter_test.rb │ ├── boolean_test.rb │ ├── cache_key_test.rb │ ├── calculations_test.rb │ ├── callbacks_test.rb │ ├── clone_test.rb │ ├── coders │ │ ├── json_test.rb │ │ └── yaml_column_test.rb │ ├── collection_cache_key_test.rb │ ├── column_alias_test.rb │ ├── column_definition_test.rb │ ├── comment_test.rb │ ├── connection_adapters │ │ ├── adapter_leasing_test.rb │ │ ├── connection_handler_test.rb │ │ ├── connection_handlers_multi_db_test.rb │ │ ├── connection_handlers_multi_pool_config_test.rb │ │ ├── connection_handlers_sharding_db_test.rb │ │ ├── connection_swapping_nested_test.rb │ │ ├── merge_and_resolve_default_url_config_test.rb │ │ ├── mysql_type_lookup_test.rb │ │ ├── registration_test.rb │ │ ├── schema_cache_test.rb │ │ ├── standalone_connection_test.rb │ │ ├── statement_pool_test.rb │ │ └── type_lookup_test.rb │ ├── connection_handling_test.rb │ ├── connection_management_test.rb │ ├── connection_pool_test.rb │ ├── core_test.rb │ ├── counter_cache_test.rb │ ├── custom_locking_test.rb │ ├── database_configurations │ │ ├── hash_config_test.rb │ │ ├── resolver_test.rb │ │ └── url_config_test.rb │ ├── database_configurations_test.rb │ ├── database_selector_test.rb │ ├── database_statements_test.rb │ ├── date_test.rb │ ├── date_time_precision_test.rb │ ├── date_time_test.rb │ ├── defaults_test.rb │ ├── delegated_type_test.rb │ ├── dirty_test.rb │ ├── disconnected_test.rb │ ├── dup_test.rb │ ├── encryption │ │ ├── cipher │ │ │ └── aes256_gcm_test.rb │ │ ├── cipher_test.rb │ │ ├── concurrency_test.rb │ │ ├── config_test.rb │ │ ├── configurable_test.rb │ │ ├── contexts_test.rb │ │ ├── derived_secret_key_provider_test.rb │ │ ├── deterministic_key_provider_test.rb │ │ ├── encryptable_record_api_test.rb │ │ ├── encryptable_record_message_pack_serialized_test.rb │ │ ├── encryptable_record_test.rb │ │ ├── encrypted_fixtures_test.rb │ │ ├── encrypting_only_encryptor_test.rb │ │ ├── encryption_schemes_test.rb │ │ ├── encryptor_test.rb │ │ ├── envelope_encryption_key_provider_test.rb │ │ ├── extended_deterministic_queries_test.rb │ │ ├── helper.rb │ │ ├── key_generator_test.rb │ │ ├── key_provider_test.rb │ │ ├── key_test.rb │ │ ├── message_pack_message_serializer_test.rb │ │ ├── message_serializer_test.rb │ │ ├── message_test.rb │ │ ├── null_encryptor_test.rb │ │ ├── properties_test.rb │ │ ├── read_only_null_encryptor_test.rb │ │ ├── scheme_test.rb │ │ ├── unencrypted_attributes_test.rb │ │ └── uniqueness_validations_test.rb │ ├── enum_test.rb │ ├── errors_test.rb │ ├── excluding_test.rb │ ├── explain_subscriber_test.rb │ ├── explain_test.rb │ ├── filter_attributes_test.rb │ ├── finder_respond_to_test.rb │ ├── finder_test.rb │ ├── fixture_set │ │ └── file_test.rb │ ├── fixtures_test.rb │ ├── forbidden_attributes_protection_test.rb │ ├── habtm_destroy_order_test.rb │ ├── helper.rb │ ├── hot_compatibility_test.rb │ ├── i18n_test.rb │ ├── inheritance_test.rb │ ├── inherited_test.rb │ ├── insert_all_test.rb │ ├── instrumentation_test.rb │ ├── integration_test.rb │ ├── invalid_connection_test.rb │ ├── invertible_migration_test.rb │ ├── json_attribute_test.rb │ ├── json_serialization_test.rb │ ├── json_shared_test_cases.rb │ ├── locking_test.rb │ ├── log_subscriber_test.rb │ ├── marshal_serialization_test.rb │ ├── message_pack_test.rb │ ├── migration │ │ ├── change_schema_test.rb │ │ ├── change_table_test.rb │ │ ├── check_constraint_test.rb │ │ ├── column_attributes_test.rb │ │ ├── column_positioning_test.rb │ │ ├── columns_test.rb │ │ ├── command_recorder_test.rb │ │ ├── compatibility_test.rb │ │ ├── create_join_table_test.rb │ │ ├── exclusion_constraint_test.rb │ │ ├── foreign_key_test.rb │ │ ├── helper.rb │ │ ├── index_test.rb │ │ ├── invalid_options_test.rb │ │ ├── logger_test.rb │ │ ├── pending_migrations_test.rb │ │ ├── references_foreign_key_test.rb │ │ ├── references_index_test.rb │ │ ├── references_statements_test.rb │ │ ├── rename_table_test.rb │ │ ├── schema_definitions_test.rb │ │ └── unique_constraint_test.rb │ ├── migration_test.rb │ ├── migrator_test.rb │ ├── mixin_test.rb │ ├── modules_test.rb │ ├── multi_db_migrator_test.rb │ ├── multiparameter_attributes_test.rb │ ├── multiple_db_test.rb │ ├── nested_attributes_test.rb │ ├── nested_attributes_with_callbacks_test.rb │ ├── normalized_attribute_test.rb │ ├── null_relation_test.rb │ ├── numeric_data_test.rb │ ├── persistence │ │ └── reload_association_cache_test.rb │ ├── persistence_test.rb │ ├── pooled_connections_test.rb │ ├── prepared_statement_status_test.rb │ ├── primary_class_test.rb │ ├── primary_keys_test.rb │ ├── query_cache_test.rb │ ├── query_logs_test.rb │ ├── quoting_test.rb │ ├── readonly_test.rb │ ├── reaper_test.rb │ ├── reflection_test.rb │ ├── relation │ │ ├── and_test.rb │ │ ├── delegation_test.rb │ │ ├── delete_all_test.rb │ │ ├── field_ordered_values_test.rb │ │ ├── load_async_test.rb │ │ ├── merging_test.rb │ │ ├── mutation_test.rb │ │ ├── or_test.rb │ │ ├── order_test.rb │ │ ├── predicate_builder_test.rb │ │ ├── select_test.rb │ │ ├── structural_compatibility_test.rb │ │ ├── update_all_test.rb │ │ ├── where_chain_test.rb │ │ ├── where_clause_test.rb │ │ ├── where_test.rb │ │ └── with_test.rb │ ├── relation_test.rb │ ├── relations_test.rb │ ├── reload_models_test.rb │ ├── reserved_word_test.rb │ ├── result_test.rb │ ├── sanitize_test.rb │ ├── schema_dumper_test.rb │ ├── schema_loading_test.rb │ ├── scoping │ │ ├── default_scoping_test.rb │ │ ├── named_scoping_test.rb │ │ └── relation_scoping_test.rb │ ├── secure_password_test.rb │ ├── secure_token_test.rb │ ├── serialization_test.rb │ ├── serialized_attribute_test.rb │ ├── shard_keys_test.rb │ ├── shard_selector_test.rb │ ├── signed_id_test.rb │ ├── statement_cache_test.rb │ ├── statement_invalid_test.rb │ ├── store_test.rb │ ├── strict_loading_test.rb │ ├── suppressor_test.rb │ ├── table_metadata_test.rb │ ├── tasks │ │ └── database_tasks_test.rb │ ├── test_case.rb │ ├── test_databases_test.rb │ ├── test_fixtures_test.rb │ ├── time_precision_test.rb │ ├── timestamp_test.rb │ ├── token_for_test.rb │ ├── touch_later_test.rb │ ├── transaction_callbacks_test.rb │ ├── transaction_instrumentation_test.rb │ ├── transaction_isolation_test.rb │ ├── transactions_test.rb │ ├── type │ │ ├── adapter_specific_registry_test.rb │ │ ├── date_time_test.rb │ │ ├── integer_test.rb │ │ ├── string_test.rb │ │ ├── time_test.rb │ │ ├── type_map_test.rb │ │ └── unsigned_integer_test.rb │ ├── type_caster │ │ └── connection_test.rb │ ├── type_test.rb │ ├── types_test.rb │ ├── unconnected_test.rb │ ├── unsafe_raw_sql_test.rb │ ├── validations │ │ ├── absence_validation_test.rb │ │ ├── association_validation_test.rb │ │ ├── i18n_generate_message_validation_test.rb │ │ ├── i18n_validation_test.rb │ │ ├── length_validation_test.rb │ │ ├── numericality_validation_test.rb │ │ ├── presence_validation_test.rb │ │ └── uniqueness_validation_test.rb │ ├── validations_repair_helper.rb │ ├── validations_test.rb │ ├── view_test.rb │ └── yaml_serialization_test.rb │ ├── config.example.yml │ ├── config.rb │ ├── fixtures │ ├── 1_need_quoting.yml │ ├── accounts.yml │ ├── admin │ │ ├── accounts.yml │ │ ├── randomly_named_a9.yml │ │ ├── randomly_named_b0.yml │ │ └── users.yml │ ├── aircrafts.yml │ ├── all │ │ ├── admin │ │ ├── developers.yml │ │ ├── namespaced │ │ │ └── accounts.yml │ │ ├── people.yml │ │ └── tasks.yml │ ├── author_addresses.yml │ ├── author_favorites.yml │ ├── authors.yml │ ├── bad_posts.yml │ ├── binaries.yml │ ├── books.yml │ ├── bulbs.yml │ ├── cake_designers.yml │ ├── cars.yml │ ├── categories.yml │ ├── categories │ │ ├── special_categories.yml │ │ └── subsubdir │ │ │ └── arbitrary_filename.yml │ ├── categories_ordered.yml │ ├── categories_posts.yml │ ├── categorizations.yml │ ├── chefs.yml │ ├── citations.yml │ ├── clothing_items.yml │ ├── clubs.yml │ ├── collections.yml │ ├── colleges.yml │ ├── comments.yml │ ├── companies.yml │ ├── computers.yml │ ├── content.yml │ ├── content_positions.yml │ ├── courses.yml │ ├── cpk_authors.yml │ ├── cpk_books.yml │ ├── cpk_order_agreements.yml │ ├── cpk_order_tags.yml │ ├── cpk_orders.yml │ ├── cpk_reviews.yml │ ├── cpk_tags.yml │ ├── customers.yml │ ├── dashboards.yml │ ├── dead_parrots.yml │ ├── developers.yml │ ├── developers_projects.yml │ ├── dog_lovers.yml │ ├── dogs.yml │ ├── doubloons.yml │ ├── drink_designers.yml │ ├── edges.yml │ ├── encrypted_book_that_ignores_cases.yml │ ├── encrypted_books.yml │ ├── entrants.yml │ ├── essays.yml │ ├── faces.yml │ ├── fk_object_to_point_to.yml │ ├── fk_test_has_fk.yml │ ├── fk_test_has_pk.yml │ ├── friendships.yml │ ├── funny_jokes.yml │ ├── humans.yml │ ├── interests.yml │ ├── items.yml │ ├── jobs.yml │ ├── legacy_things.yml │ ├── live_parrots.yml │ ├── mateys.yml │ ├── member_details.yml │ ├── member_types.yml │ ├── members.yml │ ├── memberships.yml │ ├── minimalistics.yml │ ├── minivans.yml │ ├── mixed_case_monkeys.yml │ ├── mixins.yml │ ├── movies.yml │ ├── naked │ │ └── yml │ │ │ ├── accounts.yml │ │ │ ├── companies.yml │ │ │ ├── courses.yml │ │ │ ├── courses_with_invalid_key.yml │ │ │ ├── parrots.yml │ │ │ └── trees.yml │ ├── nodes.yml │ ├── organizations.yml │ ├── other_books.yml │ ├── other_comments.yml │ ├── other_dogs.yml │ ├── other_posts.yml │ ├── other_topics.yml │ ├── owners.yml │ ├── paragraphs.yml │ ├── parrots.yml │ ├── parrots_pirates.yml │ ├── people.yml │ ├── peoples_treasures.yml │ ├── pets.yml │ ├── pirates.yml │ ├── posts.yml │ ├── price_estimates.yml │ ├── primary_key_error │ │ └── primary_key_error.yml │ ├── products.yml │ ├── projects.yml │ ├── randomly_named_a9.yml │ ├── ratings.yml │ ├── readers.yml │ ├── references.yml │ ├── reserved_words │ │ ├── distinct.yml │ │ ├── distinct_select.yml │ │ ├── group.yml │ │ ├── select.yml │ │ └── values.yml │ ├── sharded_blog_posts.yml │ ├── sharded_blog_posts_tags.yml │ ├── sharded_blogs.yml │ ├── sharded_comments.yml │ ├── sharded_tags.yml │ ├── ships.yml │ ├── speedometers.yml │ ├── sponsors.yml │ ├── strict_zines.yml │ ├── string_key_objects.yml │ ├── subscribers.yml │ ├── subscriptions.yml │ ├── taggings.yml │ ├── tags.yml │ ├── tasks.yml │ ├── to_be_linked │ │ ├── accounts.yml │ │ └── users.yml │ ├── topics.yml │ ├── toys.yml │ ├── traffic_lights.yml │ ├── treasures.yml │ ├── trees.yml │ ├── uuid_children.yml │ ├── uuid_parents.yml │ ├── variants.yml │ ├── vegetables.yml │ ├── vertices.yml │ ├── virtual_columns.yml │ ├── warehouse-things.yml │ └── zines.yml │ ├── migrations │ ├── 10_urban │ │ └── 9_add_expressions.rb │ ├── decimal │ │ └── 1_give_me_big_numbers.rb │ ├── empty │ │ └── .keep │ ├── magic │ │ └── 1_currencies_have_symbols.rb │ ├── missing │ │ ├── 1000_people_have_middle_names.rb │ │ ├── 1_people_have_last_names.rb │ │ ├── 3_we_need_reminders.rb │ │ └── 4_innocent_jointable.rb │ ├── old_and_new_versions │ │ ├── 20210716122844_add_people_description.rb │ │ ├── 20210716123013_add_people_number_of_legs.rb │ │ ├── 230_add_people_hobby.rb │ │ └── 231_add_people_last_name.rb │ ├── rename │ │ ├── 1_we_need_things.rb │ │ └── 2_rename_things.rb │ ├── scope │ │ ├── 1_unscoped.rb │ │ └── 2_mysql_only.mysql.rb │ ├── to_copy │ │ ├── 1_people_have_hobbies.rb │ │ └── 2_people_have_descriptions.rb │ ├── to_copy2 │ │ ├── 1_create_articles.rb │ │ └── 2_create_comments.rb │ ├── to_copy_with_name_collision │ │ └── 1_people_have_hobbies.rb │ ├── to_copy_with_timestamps │ │ ├── 20090101010101_people_have_hobbies.rb │ │ └── 20090101010202_people_have_descriptions.rb │ ├── to_copy_with_timestamps2 │ │ ├── 20090101010101_create_articles.rb │ │ └── 20090101010202_create_comments.rb │ ├── valid │ │ ├── 1_valid_people_have_last_names.rb │ │ ├── 2_we_need_reminders.rb │ │ └── 3_innocent_jointable.rb │ ├── valid_with_subdirectories │ │ ├── 1_valid_people_have_last_names.rb │ │ ├── sub │ │ │ └── 2_we_need_reminders.rb │ │ └── sub1 │ │ │ └── 3_innocent_jointable.rb │ ├── valid_with_timestamps │ │ ├── 20100101010101_valid_with_timestamps_people_have_last_names.rb │ │ ├── 20100201010101_valid_with_timestamps_we_need_reminders.rb │ │ └── 20100301010101_valid_with_timestamps_innocent_jointable.rb │ └── version_check │ │ └── 20131219224947_migration_version_check.rb │ ├── models │ ├── account.rb │ ├── admin.rb │ ├── admin │ │ ├── account.rb │ │ ├── randomly_named_c1.rb │ │ ├── user.rb │ │ └── user_json.rb │ ├── aircraft.rb │ ├── arunit2_model.rb │ ├── attachment.rb │ ├── author.rb │ ├── author_encrypted.rb │ ├── auto_id.rb │ ├── autoloadable │ │ └── extra_firm.rb │ ├── binary.rb │ ├── bird.rb │ ├── book.rb │ ├── book_destroy_async.rb │ ├── book_encrypted.rb │ ├── boolean.rb │ ├── branch.rb │ ├── bulb.rb │ ├── cake_designer.rb │ ├── car.rb │ ├── carrier.rb │ ├── cart.rb │ ├── cat.rb │ ├── categorization.rb │ ├── category.rb │ ├── chat_message.rb │ ├── chef.rb │ ├── citation.rb │ ├── clothing_item.rb │ ├── club.rb │ ├── college.rb │ ├── column.rb │ ├── column_name.rb │ ├── comment.rb │ ├── comment_overlapping_counter_cache.rb │ ├── company.rb │ ├── company_in_module.rb │ ├── computer.rb │ ├── contact.rb │ ├── content.rb │ ├── contract.rb │ ├── country.rb │ ├── course.rb │ ├── cpk.rb │ ├── cpk │ │ ├── author.rb │ │ ├── book.rb │ │ ├── book_destroy_async.rb │ │ ├── car.rb │ │ ├── car_review.rb │ │ ├── chapter.rb │ │ ├── chapter_destroy_async.rb │ │ ├── comment.rb │ │ ├── order.rb │ │ ├── order_agreement.rb │ │ ├── order_tag.rb │ │ ├── post.rb │ │ ├── review.rb │ │ └── tag.rb │ ├── customer.rb │ ├── customer_carrier.rb │ ├── dashboard.rb │ ├── dats.rb │ ├── dats │ │ ├── author.rb │ │ ├── author_favorite.rb │ │ ├── bulb.rb │ │ ├── car.rb │ │ ├── category.rb │ │ ├── comment.rb │ │ ├── post.rb │ │ └── tyre.rb │ ├── default.rb │ ├── department.rb │ ├── destroy_async_parent.rb │ ├── destroy_async_parent_soft_delete.rb │ ├── developer.rb │ ├── discount.rb │ ├── dl_keyed_belongs_to.rb │ ├── dl_keyed_belongs_to_soft_delete.rb │ ├── dl_keyed_has_many.rb │ ├── dl_keyed_has_many_through.rb │ ├── dl_keyed_has_one.rb │ ├── dl_keyed_join.rb │ ├── dog.rb │ ├── dog_lover.rb │ ├── doubloon.rb │ ├── drink_designer.rb │ ├── edge.rb │ ├── editor.rb │ ├── editorship.rb │ ├── electron.rb │ ├── engine.rb │ ├── enrollment.rb │ ├── entrant.rb │ ├── entry.rb │ ├── essay.rb │ ├── essay_destroy_async.rb │ ├── event.rb │ ├── eye.rb │ ├── face.rb │ ├── family.rb │ ├── family_tree.rb │ ├── friendship.rb │ ├── frog.rb │ ├── guid.rb │ ├── guitar.rb │ ├── hardback.rb │ ├── hotel.rb │ ├── human.rb │ ├── image.rb │ ├── interest.rb │ ├── invoice.rb │ ├── invokes_an_undefined_method.rb │ ├── item.rb │ ├── job.rb │ ├── joke.rb │ ├── keyboard.rb │ ├── legacy_thing.rb │ ├── lesson.rb │ ├── line_item.rb │ ├── liquid.rb │ ├── matey.rb │ ├── measurement.rb │ ├── member.rb │ ├── member_detail.rb │ ├── member_type.rb │ ├── membership.rb │ ├── mentor.rb │ ├── message.rb │ ├── minimalistic.rb │ ├── minivan.rb │ ├── mixed_case_monkey.rb │ ├── molecule.rb │ ├── mouse.rb │ ├── movie.rb │ ├── need_quoting.rb │ ├── node.rb │ ├── non_primary_key.rb │ ├── notification.rb │ ├── numeric_data.rb │ ├── order.rb │ ├── organization.rb │ ├── other_dog.rb │ ├── owner.rb │ ├── paragraph.rb │ ├── parrot.rb │ ├── person.rb │ ├── personal_legacy_thing.rb │ ├── pet.rb │ ├── pet_treasure.rb │ ├── pirate.rb │ ├── pk_autopopulated_by_a_trigger_record.rb │ ├── possession.rb │ ├── post.rb │ ├── post_encrypted.rb │ ├── post_with_prefetched_pk.rb │ ├── price_estimate.rb │ ├── professor.rb │ ├── program.rb │ ├── program_offering.rb │ ├── project.rb │ ├── publication.rb │ ├── publisher.rb │ ├── publisher │ │ ├── article.rb │ │ └── magazine.rb │ ├── raises_argument_error.rb │ ├── raises_no_method_error.rb │ ├── randomly_named_c1.rb │ ├── rating.rb │ ├── reader.rb │ ├── recipe.rb │ ├── recipient.rb │ ├── record.rb │ ├── reference.rb │ ├── reply.rb │ ├── room.rb │ ├── section.rb │ ├── seminar.rb │ ├── session.rb │ ├── sharded.rb │ ├── sharded │ │ ├── blog.rb │ │ ├── blog_post.rb │ │ ├── blog_post_destroy_async.rb │ │ ├── blog_post_tag.rb │ │ ├── blog_post_with_revision.rb │ │ ├── comment.rb │ │ ├── comment_destroy_async.rb │ │ └── tag.rb │ ├── ship.rb │ ├── ship_part.rb │ ├── shipping_line.rb │ ├── shop.rb │ ├── shop_account.rb │ ├── speedometer.rb │ ├── sponsor.rb │ ├── squeak.rb │ ├── strict_zine.rb │ ├── string_key_object.rb │ ├── student.rb │ ├── subscriber.rb │ ├── subscription.rb │ ├── tag.rb │ ├── tagging.rb │ ├── task.rb │ ├── too_long_table_name.rb │ ├── topic.rb │ ├── toy.rb │ ├── traffic_light.rb │ ├── traffic_light_encrypted.rb │ ├── translation.rb │ ├── treasure.rb │ ├── treaty.rb │ ├── tree.rb │ ├── tuning_peg.rb │ ├── tyre.rb │ ├── user.rb │ ├── user_with_invalid_relation.rb │ ├── uuid_child.rb │ ├── uuid_comment.rb │ ├── uuid_entry.rb │ ├── uuid_item.rb │ ├── uuid_message.rb │ ├── uuid_parent.rb │ ├── vegetables.rb │ ├── vertex.rb │ ├── warehouse_thing.rb │ ├── wheel.rb │ ├── without_table.rb │ └── zine.rb │ ├── schema │ ├── mysql2_specific_schema.rb │ ├── postgresql_specific_schema.rb │ ├── schema.rb │ ├── sqlite_specific_schema.rb │ └── trilogy_specific_schema.rb │ └── support │ ├── adapter_helper.rb │ ├── async_helper.rb │ ├── config.rb │ ├── connection.rb │ ├── connection_helper.rb │ ├── ddl_helper.rb │ ├── deprecated_associations_test_helpers.rb │ ├── fake_adapter.rb │ ├── load_schema_helper.rb │ ├── marshal_compatibility_fixtures │ ├── Mysql2 │ │ ├── rails_6_1_topic.dump │ │ ├── rails_6_1_topic_associations.dump │ │ ├── rails_7_1_topic.dump │ │ └── rails_7_1_topic_associations.dump │ ├── PostgreSQL │ │ ├── rails_6_1_topic.dump │ │ ├── rails_6_1_topic_associations.dump │ │ ├── rails_7_1_topic.dump │ │ └── rails_7_1_topic_associations.dump │ ├── SQLite │ │ ├── rails_6_1_topic.dump │ │ ├── rails_6_1_topic_associations.dump │ │ ├── rails_7_1_topic.dump │ │ └── rails_7_1_topic_associations.dump │ └── Trilogy │ │ ├── rails_6_1_topic.dump │ │ ├── rails_6_1_topic_associations.dump │ │ ├── rails_7_1_topic.dump │ │ └── rails_7_1_topic_associations.dump │ ├── schema_dumping_helper.rb │ ├── stubs │ └── strong_parameters.rb │ ├── tools.rb │ └── yaml_compatibility_fixtures │ ├── rails_4_1.yml │ ├── rails_4_1_no_symbol.yml │ ├── rails_4_2_0.yml │ ├── rails_v1_mysql.yml │ └── rails_v2.yml ├── activestorage ├── .babelrc ├── .eslintrc ├── .gitignore ├── CHANGELOG.md ├── MIT-LICENSE ├── README.md ├── Rakefile ├── activestorage.gemspec ├── app │ ├── assets │ │ └── javascripts │ │ │ ├── .gitattributes │ │ │ ├── activestorage.esm.js │ │ │ └── activestorage.js │ ├── controllers │ │ ├── active_storage │ │ │ ├── base_controller.rb │ │ │ ├── blobs │ │ │ │ ├── proxy_controller.rb │ │ │ │ └── redirect_controller.rb │ │ │ ├── direct_uploads_controller.rb │ │ │ ├── disk_controller.rb │ │ │ └── representations │ │ │ │ ├── base_controller.rb │ │ │ │ ├── proxy_controller.rb │ │ │ │ └── redirect_controller.rb │ │ └── concerns │ │ │ └── active_storage │ │ │ ├── disable_session.rb │ │ │ ├── file_server.rb │ │ │ ├── set_blob.rb │ │ │ ├── set_current.rb │ │ │ └── streaming.rb │ ├── javascript │ │ └── activestorage │ │ │ ├── blob_record.js │ │ │ ├── blob_upload.js │ │ │ ├── direct_upload.js │ │ │ ├── direct_upload_controller.js │ │ │ ├── direct_uploads_controller.js │ │ │ ├── file_checksum.js │ │ │ ├── helpers.js │ │ │ ├── index.js │ │ │ └── ujs.js │ ├── jobs │ │ └── active_storage │ │ │ ├── analyze_job.rb │ │ │ ├── base_job.rb │ │ │ ├── mirror_job.rb │ │ │ ├── preview_image_job.rb │ │ │ ├── purge_job.rb │ │ │ └── transform_job.rb │ └── models │ │ └── active_storage │ │ ├── attachment.rb │ │ ├── blob.rb │ │ ├── blob │ │ ├── analyzable.rb │ │ ├── identifiable.rb │ │ ├── representable.rb │ │ └── servable.rb │ │ ├── current.rb │ │ ├── filename.rb │ │ ├── named_variant.rb │ │ ├── preview.rb │ │ ├── record.rb │ │ ├── variant.rb │ │ ├── variant_record.rb │ │ ├── variant_with_record.rb │ │ └── variation.rb ├── bin │ └── test ├── config │ └── routes.rb ├── db │ ├── migrate │ │ └── 20170806125915_create_active_storage_tables.rb │ └── update_migrate │ │ ├── 20190112182829_add_service_name_to_active_storage_blobs.rb │ │ ├── 20191206030411_create_active_storage_variant_records.rb │ │ └── 20211119233751_remove_not_null_on_active_storage_blobs_checksum.rb ├── lib │ ├── active_storage.rb │ ├── active_storage │ │ ├── analyzer.rb │ │ ├── analyzer │ │ │ ├── audio_analyzer.rb │ │ │ ├── image_analyzer.rb │ │ │ ├── image_analyzer │ │ │ │ ├── image_magick.rb │ │ │ │ └── vips.rb │ │ │ ├── null_analyzer.rb │ │ │ └── video_analyzer.rb │ │ ├── attached.rb │ │ ├── attached │ │ │ ├── changes.rb │ │ │ ├── changes │ │ │ │ ├── create_many.rb │ │ │ │ ├── create_one.rb │ │ │ │ ├── create_one_of_many.rb │ │ │ │ ├── delete_many.rb │ │ │ │ ├── delete_one.rb │ │ │ │ ├── detach_many.rb │ │ │ │ ├── detach_one.rb │ │ │ │ ├── purge_many.rb │ │ │ │ └── purge_one.rb │ │ │ ├── many.rb │ │ │ ├── model.rb │ │ │ └── one.rb │ │ ├── deprecator.rb │ │ ├── downloader.rb │ │ ├── engine.rb │ │ ├── errors.rb │ │ ├── fixture_set.rb │ │ ├── gem_version.rb │ │ ├── log_subscriber.rb │ │ ├── previewer.rb │ │ ├── previewer │ │ │ ├── mupdf_previewer.rb │ │ │ ├── poppler_pdf_previewer.rb │ │ │ └── video_previewer.rb │ │ ├── reflection.rb │ │ ├── service.rb │ │ ├── service │ │ │ ├── azure_storage_service.rb │ │ │ ├── configurator.rb │ │ │ ├── disk_service.rb │ │ │ ├── gcs_service.rb │ │ │ ├── mirror_service.rb │ │ │ ├── registry.rb │ │ │ └── s3_service.rb │ │ ├── transformers │ │ │ ├── image_magick.rb │ │ │ ├── image_processing_transformer.rb │ │ │ ├── transformer.rb │ │ │ └── vips.rb │ │ └── version.rb │ └── tasks │ │ └── activestorage.rake ├── package.json ├── rollup.config.js └── test │ ├── analyzer │ ├── audio_analyzer_test.rb │ ├── image_analyzer │ │ ├── image_magick_test.rb │ │ └── vips_test.rb │ └── video_analyzer_test.rb │ ├── controllers │ ├── blobs │ │ ├── proxy_controller_test.rb │ │ └── redirect_controller_test.rb │ ├── direct_uploads_controller_test.rb │ ├── disk_controller_test.rb │ └── representations │ │ ├── proxy_controller_test.rb │ │ └── redirect_controller_test.rb │ ├── database │ ├── create_groups_migration.rb │ ├── create_users_migration.rb │ └── setup.rb │ ├── dummy │ ├── Rakefile │ ├── app │ │ ├── assets │ │ │ ├── config │ │ │ │ └── manifest.js │ │ │ ├── images │ │ │ │ └── .keep │ │ │ └── stylesheets │ │ │ │ └── application.css │ │ ├── channels │ │ │ └── application_cable │ │ │ │ ├── channel.rb │ │ │ │ └── connection.rb │ │ ├── controllers │ │ │ ├── application_controller.rb │ │ │ └── concerns │ │ │ │ └── .keep │ │ ├── helpers │ │ │ └── application_helper.rb │ │ ├── jobs │ │ │ └── application_job.rb │ │ ├── mailers │ │ │ └── application_mailer.rb │ │ ├── models │ │ │ ├── application_record.rb │ │ │ └── concerns │ │ │ │ └── .keep │ │ └── views │ │ │ └── layouts │ │ │ ├── application.html.erb │ │ │ ├── mailer.html.erb │ │ │ └── mailer.text.erb │ ├── bin │ │ ├── rails │ │ ├── rake │ │ └── setup │ ├── config.ru │ ├── config │ │ ├── application.rb │ │ ├── boot.rb │ │ ├── cable.yml │ │ ├── database.yml │ │ ├── environment.rb │ │ ├── environments │ │ │ ├── development.rb │ │ │ ├── production.rb │ │ │ └── test.rb │ │ ├── initializers │ │ │ ├── assets.rb │ │ │ ├── content_security_policy.rb │ │ │ ├── filter_parameter_logging.rb │ │ │ └── inflections.rb │ │ ├── locales │ │ │ └── en.yml │ │ ├── puma.rb │ │ ├── routes.rb │ │ ├── secrets.yml │ │ └── storage.yml │ ├── lib │ │ └── assets │ │ │ └── .keep │ ├── log │ │ └── .keep │ ├── public │ │ ├── 400.html │ │ ├── 404.html │ │ ├── 422.html │ │ ├── 500.html │ │ ├── apple-touch-icon-precomposed.png │ │ ├── apple-touch-icon.png │ │ └── favicon.ico │ └── storage │ │ └── .keep │ ├── engine_test.rb │ ├── fixture_set_test.rb │ ├── fixtures │ ├── active_storage │ │ ├── attachments.yml │ │ └── blobs.yml │ ├── files │ │ ├── audio.mp3 │ │ ├── colors.bmp │ │ ├── cropped.pdf │ │ ├── empty_file.txt │ │ ├── favicon.ico │ │ ├── icon.psd │ │ ├── icon.svg │ │ ├── image.gif │ │ ├── racecar.jpg │ │ ├── racecar.tif │ │ ├── racecar_rotated.jpg │ │ ├── report.pdf │ │ ├── rotated_hdr_video.mov │ │ ├── rotated_video.mp4 │ │ ├── valley.webp │ │ ├── video.mp4 │ │ ├── video.webm │ │ ├── video_with_rectangular_samples.mp4 │ │ ├── video_with_undefined_display_aspect_ratio.mp4 │ │ ├── video_without_audio_stream.mp4 │ │ └── video_without_video_stream.mp4 │ └── users.yml │ ├── javascript_package_test.rb │ ├── jobs │ ├── analyze_job_test.rb │ ├── preview_image_job_test.rb │ ├── purge_job_test.rb │ └── transform_job_test.rb │ ├── migrations_test.rb │ ├── models │ ├── attached │ │ ├── many_test.rb │ │ └── one_test.rb │ ├── attachment_test.rb │ ├── blob_test.rb │ ├── filename_test.rb │ ├── presence_validation_test.rb │ ├── preview_test.rb │ ├── reflection_test.rb │ ├── representation_test.rb │ ├── strict_loading_test.rb │ ├── variant_test.rb │ └── variant_with_record_test.rb │ ├── previewer │ ├── mupdf_previewer_test.rb │ ├── poppler_pdf_previewer_test.rb │ └── video_previewer_test.rb │ ├── service │ ├── azure_storage_public_service_test.rb │ ├── azure_storage_service_test.rb │ ├── configurations.example.yml │ ├── configurations.yml.enc │ ├── configurator_test.rb │ ├── disk_public_service_test.rb │ ├── disk_service_test.rb │ ├── gcs_public_service_test.rb │ ├── gcs_service_test.rb │ ├── mirror_service_test.rb │ ├── registry_test.rb │ ├── s3_public_service_test.rb │ ├── s3_service_test.rb │ └── shared_service_tests.rb │ ├── service_test.rb │ ├── template │ ├── audio_tag_test.rb │ ├── image_tag_test.rb │ └── video_tag_test.rb │ ├── test_helper.rb │ └── urls │ ├── rails_storage_proxy_url_test.rb │ └── rails_storage_redirect_url_test.rb ├── activesupport ├── .gitignore ├── CHANGELOG.md ├── MIT-LICENSE ├── README.rdoc ├── Rakefile ├── activesupport.gemspec ├── bin │ └── test ├── lib │ ├── active_support.rb │ └── active_support │ │ ├── actionable_error.rb │ │ ├── all.rb │ │ ├── array_inquirer.rb │ │ ├── backtrace_cleaner.rb │ │ ├── benchmark.rb │ │ ├── benchmarkable.rb │ │ ├── broadcast_logger.rb │ │ ├── builder.rb │ │ ├── cache.rb │ │ ├── cache │ │ ├── coder.rb │ │ ├── entry.rb │ │ ├── file_store.rb │ │ ├── mem_cache_store.rb │ │ ├── memory_store.rb │ │ ├── null_store.rb │ │ ├── redis_cache_store.rb │ │ ├── serializer_with_fallback.rb │ │ └── strategy │ │ │ ├── local_cache.rb │ │ │ └── local_cache_middleware.rb │ │ ├── callbacks.rb │ │ ├── class_attribute.rb │ │ ├── code_generator.rb │ │ ├── concern.rb │ │ ├── concurrency │ │ ├── load_interlock_aware_monitor.rb │ │ ├── null_lock.rb │ │ └── share_lock.rb │ │ ├── configurable.rb │ │ ├── configuration_file.rb │ │ ├── continuous_integration.rb │ │ ├── core_ext.rb │ │ ├── core_ext │ │ ├── array.rb │ │ ├── array │ │ │ ├── access.rb │ │ │ ├── conversions.rb │ │ │ ├── extract.rb │ │ │ ├── extract_options.rb │ │ │ ├── grouping.rb │ │ │ ├── inquiry.rb │ │ │ └── wrap.rb │ │ ├── benchmark.rb │ │ ├── big_decimal.rb │ │ ├── big_decimal │ │ │ └── conversions.rb │ │ ├── class.rb │ │ ├── class │ │ │ ├── attribute.rb │ │ │ ├── attribute_accessors.rb │ │ │ └── subclasses.rb │ │ ├── date.rb │ │ ├── date │ │ │ ├── acts_like.rb │ │ │ ├── blank.rb │ │ │ ├── calculations.rb │ │ │ ├── conversions.rb │ │ │ └── zones.rb │ │ ├── date_and_time │ │ │ ├── calculations.rb │ │ │ ├── compatibility.rb │ │ │ └── zones.rb │ │ ├── date_time.rb │ │ ├── date_time │ │ │ ├── acts_like.rb │ │ │ ├── blank.rb │ │ │ ├── calculations.rb │ │ │ ├── compatibility.rb │ │ │ └── conversions.rb │ │ ├── digest.rb │ │ ├── digest │ │ │ └── uuid.rb │ │ ├── enumerable.rb │ │ ├── erb │ │ │ └── util.rb │ │ ├── file.rb │ │ ├── file │ │ │ └── atomic.rb │ │ ├── hash.rb │ │ ├── hash │ │ │ ├── conversions.rb │ │ │ ├── deep_merge.rb │ │ │ ├── deep_transform_values.rb │ │ │ ├── except.rb │ │ │ ├── indifferent_access.rb │ │ │ ├── keys.rb │ │ │ ├── reverse_merge.rb │ │ │ └── slice.rb │ │ ├── integer.rb │ │ ├── integer │ │ │ ├── inflections.rb │ │ │ ├── multiple.rb │ │ │ └── time.rb │ │ ├── kernel.rb │ │ ├── kernel │ │ │ ├── concern.rb │ │ │ ├── reporting.rb │ │ │ └── singleton_class.rb │ │ ├── load_error.rb │ │ ├── module.rb │ │ ├── module │ │ │ ├── aliasing.rb │ │ │ ├── anonymous.rb │ │ │ ├── attr_internal.rb │ │ │ ├── attribute_accessors.rb │ │ │ ├── attribute_accessors_per_thread.rb │ │ │ ├── concerning.rb │ │ │ ├── delegation.rb │ │ │ ├── deprecation.rb │ │ │ ├── introspection.rb │ │ │ ├── redefine_method.rb │ │ │ └── remove_method.rb │ │ ├── name_error.rb │ │ ├── numeric.rb │ │ ├── numeric │ │ │ ├── bytes.rb │ │ │ ├── conversions.rb │ │ │ └── time.rb │ │ ├── object.rb │ │ ├── object │ │ │ ├── acts_like.rb │ │ │ ├── blank.rb │ │ │ ├── conversions.rb │ │ │ ├── deep_dup.rb │ │ │ ├── duplicable.rb │ │ │ ├── inclusion.rb │ │ │ ├── instance_variables.rb │ │ │ ├── json.rb │ │ │ ├── to_param.rb │ │ │ ├── to_query.rb │ │ │ ├── try.rb │ │ │ ├── with.rb │ │ │ └── with_options.rb │ │ ├── pathname.rb │ │ ├── pathname │ │ │ ├── blank.rb │ │ │ └── existence.rb │ │ ├── range.rb │ │ ├── range │ │ │ ├── compare_range.rb │ │ │ ├── conversions.rb │ │ │ ├── overlap.rb │ │ │ └── sole.rb │ │ ├── regexp.rb │ │ ├── securerandom.rb │ │ ├── string.rb │ │ ├── string │ │ │ ├── access.rb │ │ │ ├── behavior.rb │ │ │ ├── conversions.rb │ │ │ ├── exclude.rb │ │ │ ├── filters.rb │ │ │ ├── indent.rb │ │ │ ├── inflections.rb │ │ │ ├── inquiry.rb │ │ │ ├── multibyte.rb │ │ │ ├── output_safety.rb │ │ │ ├── starts_ends_with.rb │ │ │ ├── strip.rb │ │ │ └── zones.rb │ │ ├── symbol.rb │ │ ├── symbol │ │ │ └── starts_ends_with.rb │ │ ├── thread │ │ │ └── backtrace │ │ │ │ └── location.rb │ │ ├── time.rb │ │ └── time │ │ │ ├── acts_like.rb │ │ │ ├── calculations.rb │ │ │ ├── compatibility.rb │ │ │ ├── conversions.rb │ │ │ └── zones.rb │ │ ├── current_attributes.rb │ │ ├── current_attributes │ │ └── test_helper.rb │ │ ├── deep_mergeable.rb │ │ ├── delegation.rb │ │ ├── dependencies.rb │ │ ├── dependencies │ │ ├── autoload.rb │ │ ├── interlock.rb │ │ └── require_dependency.rb │ │ ├── deprecation.rb │ │ ├── deprecation │ │ ├── behaviors.rb │ │ ├── constant_accessor.rb │ │ ├── deprecators.rb │ │ ├── disallowed.rb │ │ ├── method_wrappers.rb │ │ ├── proxy_wrappers.rb │ │ └── reporting.rb │ │ ├── deprecator.rb │ │ ├── descendants_tracker.rb │ │ ├── digest.rb │ │ ├── duration.rb │ │ ├── duration │ │ ├── iso8601_parser.rb │ │ └── iso8601_serializer.rb │ │ ├── encrypted_configuration.rb │ │ ├── encrypted_file.rb │ │ ├── environment_inquirer.rb │ │ ├── error_reporter.rb │ │ ├── error_reporter │ │ └── test_helper.rb │ │ ├── evented_file_update_checker.rb │ │ ├── execution_context.rb │ │ ├── execution_context │ │ └── test_helper.rb │ │ ├── execution_wrapper.rb │ │ ├── executor.rb │ │ ├── executor │ │ └── test_helper.rb │ │ ├── file_update_checker.rb │ │ ├── fork_tracker.rb │ │ ├── gem_version.rb │ │ ├── gzip.rb │ │ ├── hash_with_indifferent_access.rb │ │ ├── html_safe_translation.rb │ │ ├── i18n.rb │ │ ├── i18n_railtie.rb │ │ ├── inflections.rb │ │ ├── inflector.rb │ │ ├── inflector │ │ ├── inflections.rb │ │ ├── methods.rb │ │ └── transliterate.rb │ │ ├── isolated_execution_state.rb │ │ ├── json.rb │ │ ├── json │ │ ├── decoding.rb │ │ └── encoding.rb │ │ ├── key_generator.rb │ │ ├── lazy_load_hooks.rb │ │ ├── locale │ │ ├── en.rb │ │ └── en.yml │ │ ├── log_subscriber.rb │ │ ├── log_subscriber │ │ └── test_helper.rb │ │ ├── logger.rb │ │ ├── logger_silence.rb │ │ ├── logger_thread_safe_level.rb │ │ ├── message_encryptor.rb │ │ ├── message_encryptors.rb │ │ ├── message_pack.rb │ │ ├── message_pack │ │ ├── cache_serializer.rb │ │ ├── extensions.rb │ │ └── serializer.rb │ │ ├── message_verifier.rb │ │ ├── message_verifiers.rb │ │ ├── messages │ │ ├── codec.rb │ │ ├── metadata.rb │ │ ├── rotation_configuration.rb │ │ ├── rotation_coordinator.rb │ │ ├── rotator.rb │ │ └── serializer_with_fallback.rb │ │ ├── multibyte.rb │ │ ├── multibyte │ │ ├── chars.rb │ │ └── unicode.rb │ │ ├── notifications.rb │ │ ├── notifications │ │ ├── fanout.rb │ │ └── instrumenter.rb │ │ ├── number_helper.rb │ │ ├── number_helper │ │ ├── number_converter.rb │ │ ├── number_to_currency_converter.rb │ │ ├── number_to_delimited_converter.rb │ │ ├── number_to_human_converter.rb │ │ ├── number_to_human_size_converter.rb │ │ ├── number_to_percentage_converter.rb │ │ ├── number_to_phone_converter.rb │ │ ├── number_to_rounded_converter.rb │ │ └── rounding_helper.rb │ │ ├── option_merger.rb │ │ ├── ordered_hash.rb │ │ ├── ordered_options.rb │ │ ├── parameter_filter.rb │ │ ├── rails.rb │ │ ├── railtie.rb │ │ ├── reloader.rb │ │ ├── rescuable.rb │ │ ├── secure_compare_rotator.rb │ │ ├── security_utils.rb │ │ ├── string_inquirer.rb │ │ ├── subscriber.rb │ │ ├── syntax_error_proxy.rb │ │ ├── tagged_logging.rb │ │ ├── test_case.rb │ │ ├── testing │ │ ├── assertions.rb │ │ ├── autorun.rb │ │ ├── constant_lookup.rb │ │ ├── constant_stubbing.rb │ │ ├── declarative.rb │ │ ├── deprecation.rb │ │ ├── error_reporter_assertions.rb │ │ ├── file_fixtures.rb │ │ ├── isolation.rb │ │ ├── method_call_assertions.rb │ │ ├── notification_assertions.rb │ │ ├── parallelization.rb │ │ ├── parallelization │ │ │ ├── server.rb │ │ │ └── worker.rb │ │ ├── parallelize_executor.rb │ │ ├── setup_and_teardown.rb │ │ ├── stream.rb │ │ ├── tagged_logging.rb │ │ ├── tests_without_assertions.rb │ │ └── time_helpers.rb │ │ ├── time.rb │ │ ├── time_with_zone.rb │ │ ├── values │ │ └── time_zone.rb │ │ ├── version.rb │ │ ├── xml_mini.rb │ │ └── xml_mini │ │ ├── jdom.rb │ │ ├── libxml.rb │ │ ├── libxmlsax.rb │ │ ├── nokogiri.rb │ │ ├── nokogirisax.rb │ │ └── rexml.rb └── test │ ├── abstract_unit.rb │ ├── actionable_error_test.rb │ ├── array_inquirer_test.rb │ ├── autoload_test.rb │ ├── autoloading_fixtures │ ├── raises_load_error.rb │ ├── raises_name_error.rb │ └── raises_no_method_error.rb │ ├── backtrace_cleaner_test.rb │ ├── benchmark_test.rb │ ├── benchmarkable_test.rb │ ├── broadcast_logger_test.rb │ ├── cache │ ├── behaviors.rb │ ├── behaviors │ │ ├── cache_delete_matched_behavior.rb │ │ ├── cache_increment_decrement_behavior.rb │ │ ├── cache_instrumentation_behavior.rb │ │ ├── cache_logging_behavior.rb │ │ ├── cache_store_behavior.rb │ │ ├── cache_store_coder_behavior.rb │ │ ├── cache_store_compression_behavior.rb │ │ ├── cache_store_format_version_behavior.rb │ │ ├── cache_store_serializer_behavior.rb │ │ ├── cache_store_version_behavior.rb │ │ ├── connection_pool_behavior.rb │ │ ├── encoded_key_cache_behavior.rb │ │ ├── failure_raising_behavior.rb │ │ ├── failure_safety_behavior.rb │ │ └── local_cache_behavior.rb │ ├── cache_coder_test.rb │ ├── cache_entry_test.rb │ ├── cache_key_test.rb │ ├── cache_store_logger_test.rb │ ├── cache_store_namespace_test.rb │ ├── cache_store_setting_test.rb │ ├── local_cache_middleware_test.rb │ ├── serializer_with_fallback_test.rb │ └── stores │ │ ├── file_store_test.rb │ │ ├── mem_cache_store_test.rb │ │ ├── memory_store_test.rb │ │ ├── null_store_test.rb │ │ └── redis_cache_store_test.rb │ ├── callback_inheritance_test.rb │ ├── callbacks_test.rb │ ├── clean_logger_test.rb │ ├── concern_test.rb │ ├── concurrency │ └── load_interlock_aware_monitor_test.rb │ ├── configurable_test.rb │ ├── configuration_file_test.rb │ ├── constantize_test_cases.rb │ ├── constantize_test_helpers.rb │ ├── continuous_integration_test.rb │ ├── core_ext │ ├── array │ │ ├── access_test.rb │ │ ├── conversions_test.rb │ │ ├── extract_options_test.rb │ │ ├── extract_test.rb │ │ ├── grouping_test.rb │ │ └── wrap_test.rb │ ├── benchmark_test.rb │ ├── bigdecimal_test.rb │ ├── class │ │ └── attribute_test.rb │ ├── class_test.rb │ ├── date_and_time_behavior.rb │ ├── date_and_time_compatibility_test.rb │ ├── date_ext_test.rb │ ├── date_time_ext_test.rb │ ├── digest │ │ └── uuid_test.rb │ ├── duration_test.rb │ ├── enumerable_test.rb │ ├── erb_util_test.rb │ ├── file_test.rb │ ├── hash │ │ └── transform_values_test.rb │ ├── hash_ext_test.rb │ ├── integer_ext_test.rb │ ├── kernel │ │ └── concern_test.rb │ ├── kernel_test.rb │ ├── load_error_test.rb │ ├── module │ │ ├── anonymous_test.rb │ │ ├── attr_internal_test.rb │ │ ├── attribute_accessor_per_thread_test.rb │ │ ├── attribute_accessor_test.rb │ │ ├── attribute_aliasing_test.rb │ │ ├── concerning_test.rb │ │ ├── introspection_test.rb │ │ └── remove_method_test.rb │ ├── module_test.rb │ ├── name_error_test.rb │ ├── numeric_ext_test.rb │ ├── object │ │ ├── acts_like_test.rb │ │ ├── blank_test.rb │ │ ├── deep_dup_test.rb │ │ ├── duplicable_test.rb │ │ ├── inclusion_test.rb │ │ ├── instance_variables_test.rb │ │ ├── json_cherry_pick_test.rb │ │ ├── json_gem_encoding_test.rb │ │ ├── to_param_test.rb │ │ ├── to_query_test.rb │ │ ├── try_test.rb │ │ └── with_test.rb │ ├── pathname │ │ ├── blank_test.rb │ │ └── existence_test.rb │ ├── range_ext_test.rb │ ├── regexp_ext_test.rb │ ├── secure_random_test.rb │ ├── string_ext_test.rb │ ├── symbol_ext_test.rb │ ├── time_ext_test.rb │ └── time_with_zone_test.rb │ ├── current_attributes_test.rb │ ├── deep_mergeable_test.rb │ ├── dependencies │ ├── check_warnings.rb │ ├── conflict.rb │ ├── cross_site_depender.rb │ ├── module_folder │ │ └── lib_class.rb │ ├── mutual_one.rb │ ├── mutual_two.rb │ ├── raises_exception.rb │ ├── requires_nonexistent0.rb │ ├── requires_nonexistent1.rb │ ├── service_one.rb │ └── service_two.rb │ ├── dependencies_test.rb │ ├── deprecation │ ├── deprecators_test.rb │ ├── method_wrappers_test.rb │ └── proxy_wrappers_test.rb │ ├── deprecation_test.rb │ ├── descendants_tracker_test.rb │ ├── digest_test.rb │ ├── encrypted_configuration_test.rb │ ├── encrypted_file_test.rb │ ├── environment_inquirer_test.rb │ ├── error_reporter_test.rb │ ├── evented_file_update_checker_test.rb │ ├── execution_context_test.rb │ ├── executor_test.rb │ ├── file_fixtures │ └── sample.txt │ ├── file_update_checker_shared_tests.rb │ ├── file_update_checker_test.rb │ ├── fixtures │ ├── autoload │ │ ├── another_class.rb │ │ └── some_class.rb │ ├── concern │ │ └── some_concern.rb │ └── xml │ │ ├── jdom_doctype.dtd │ │ ├── jdom_entities.txt │ │ └── jdom_include.txt │ ├── fork_tracker_test.rb │ ├── gzip_test.rb │ ├── hash_with_indifferent_access_test.rb │ ├── i18n_test.rb │ ├── inflector_test.rb │ ├── inflector_test_cases.rb │ ├── isolated_execution_state_test.rb │ ├── json │ ├── decoding_test.rb │ ├── encoding_test.rb │ └── encoding_test_cases.rb │ ├── key_generator_test.rb │ ├── lazy_load_hooks_test.rb │ ├── log_subscriber_test.rb │ ├── logger_test.rb │ ├── message_encryptor_test.rb │ ├── message_encryptors_test.rb │ ├── message_pack │ ├── cache_serializer_test.rb │ ├── serializer_test.rb │ └── shared_serializer_tests.rb │ ├── message_verifier_test.rb │ ├── message_verifiers_test.rb │ ├── messages │ ├── message_codec_tests.rb │ ├── message_encryptor_metadata_test.rb │ ├── message_encryptor_rotator_test.rb │ ├── message_metadata_tests.rb │ ├── message_rotator_tests.rb │ ├── message_verifier_metadata_test.rb │ ├── message_verifier_rotator_test.rb │ ├── rotation_configuration_test.rb │ └── serializer_with_fallback_test.rb │ ├── multibyte_chars_test.rb │ ├── multibyte_proxy_test.rb │ ├── multibyte_test_helpers.rb │ ├── notifications │ ├── evented_notification_test.rb │ └── instrumenter_test.rb │ ├── notifications_test.rb │ ├── number_helper_i18n_test.rb │ ├── number_helper_test.rb │ ├── option_merger_test.rb │ ├── ordered_hash_test.rb │ ├── ordered_options_test.rb │ ├── parameter_filter_test.rb │ ├── reloader_test.rb │ ├── rescuable_test.rb │ ├── rotation_coordinator_tests.rb │ ├── safe_buffer_test.rb │ ├── secure_compare_rotator_test.rb │ ├── security_utils_test.rb │ ├── share_lock_test.rb │ ├── silence_logger_test.rb │ ├── string_inquirer_test.rb │ ├── subscriber_test.rb │ ├── tagged_logging_test.rb │ ├── test_case_test.rb │ ├── testing │ ├── after_teardown_assertion_test.rb │ ├── after_teardown_test.rb │ ├── constant_lookup_test.rb │ ├── file_fixtures_test.rb │ ├── method_call_assertions_test.rb │ ├── notification_assertions_test.rb │ └── test_without_assertions_test.rb │ ├── time_travel_test.rb │ ├── time_zone_test.rb │ ├── time_zone_test_helpers.rb │ ├── transliterate_test.rb │ ├── xml_mini │ ├── jdom_engine_test.rb │ ├── libxml_engine_test.rb │ ├── libxmlsax_engine_test.rb │ ├── nokogiri_engine_test.rb │ ├── nokogirisax_engine_test.rb │ ├── rexml_engine_test.rb │ └── xml_mini_engine_test.rb │ └── xml_mini_test.rb ├── guides ├── .document ├── .rubocop.yml ├── CHANGELOG.md ├── README.md ├── Rakefile ├── assets │ ├── images │ │ ├── 4_0_release_notes │ │ │ └── rails4_features.png │ │ ├── active_record_querying │ │ │ └── bookstore_models.png │ │ ├── association_basics │ │ │ ├── belongs_to.png │ │ │ ├── habtm.png │ │ │ ├── has_many.png │ │ │ ├── has_many_through.png │ │ │ ├── has_one.png │ │ │ ├── has_one_through.png │ │ │ └── polymorphic.png │ │ ├── docs_preview │ │ │ ├── annotation.png │ │ │ └── status_checks.png │ │ ├── dynamic_method_class_eval.png │ │ ├── favicon.ico │ │ ├── getting_started │ │ │ ├── background_jobs_dark.jpg │ │ │ ├── background_jobs_light.jpg │ │ │ ├── mvc_architecture_dark.jpg │ │ │ ├── mvc_architecture_light.jpg │ │ │ ├── rails_welcome.png │ │ │ ├── routing_dark.jpg │ │ │ └── routing_light.jpg │ │ ├── hr_rails.svg │ │ ├── hr_rails_mobile.svg │ │ ├── hr_rails_white.svg │ │ ├── hr_rails_white_mobile.svg │ │ ├── i18n │ │ │ ├── demo_html_safe.png │ │ │ ├── demo_localized_pirate.png │ │ │ ├── demo_translated_en.png │ │ │ ├── demo_translated_pirate.png │ │ │ ├── demo_translation_missing.png │ │ │ └── demo_untranslated.png │ │ ├── icon.png │ │ ├── icon.svg │ │ ├── icon_book-close-bookmark-1-wht.svg │ │ ├── icon_book-close-bookmark-1.svg │ │ ├── icon_bulb-1.svg │ │ ├── icon_construction-sign.svg │ │ ├── icon_hand-stop.svg │ │ ├── icon_house-chimney-wht.svg │ │ ├── icon_house-chimney.svg │ │ ├── icon_question-bubble.svg │ │ ├── icon_task-list-pin.svg │ │ ├── logo_rails-circle.svg │ │ ├── note_icon.svg │ │ ├── rails_guides_kindle_cover.jpg │ │ ├── security │ │ │ ├── csrf.png │ │ │ └── session_fixation.png │ │ └── up_white_arrow.png │ ├── javascripts │ │ ├── .gitattributes │ │ ├── @hotwired--turbo.js │ │ ├── clipboard.js │ │ └── guides.js │ ├── robots.txt │ ├── stylesheets │ │ └── epub.css │ └── stylesrc │ │ ├── _dark.scss │ │ ├── _main.scss │ │ ├── components │ │ └── _code-container.scss │ │ ├── highlight.scss │ │ ├── print.scss │ │ ├── style.scss │ │ └── vendor │ │ ├── _boilerplate.scss │ │ ├── _include-media.scss │ │ └── _normalize.scss ├── bug_report_templates │ ├── action_controller.rb │ ├── action_mailbox.rb │ ├── action_mailer.rb │ ├── action_view.rb │ ├── active_job.rb │ ├── active_record.rb │ ├── active_record_migrations.rb │ ├── active_storage.rb │ ├── benchmark.rb │ └── generic.rb ├── rails_guides.rb ├── rails_guides │ ├── epub.rb │ ├── epub_packer.rb │ ├── generator.rb │ ├── helpers.rb │ ├── markdown.rb │ └── markdown │ │ ├── epub_renderer.rb │ │ └── renderer.rb ├── source │ ├── 2_2_release_notes.md │ ├── 2_3_release_notes.md │ ├── 3_0_release_notes.md │ ├── 3_1_release_notes.md │ ├── 3_2_release_notes.md │ ├── 4_0_release_notes.md │ ├── 4_1_release_notes.md │ ├── 4_2_release_notes.md │ ├── 5_0_release_notes.md │ ├── 5_1_release_notes.md │ ├── 5_2_release_notes.md │ ├── 6_0_release_notes.md │ ├── 6_1_release_notes.md │ ├── 7_0_release_notes.md │ ├── 7_1_release_notes.md │ ├── 7_2_release_notes.md │ ├── 8_0_release_notes.md │ ├── 8_1_release_notes.md │ ├── _license.html.erb │ ├── _welcome.html.erb │ ├── action_cable_overview.md │ ├── action_controller_advanced_topics.md │ ├── action_controller_overview.md │ ├── action_mailbox_basics.md │ ├── action_mailer_basics.md │ ├── action_text_overview.md │ ├── action_view_helpers.md │ ├── action_view_overview.md │ ├── active_job_basics.md │ ├── active_model_basics.md │ ├── active_record_basics.md │ ├── active_record_callbacks.md │ ├── active_record_composite_primary_keys.md │ ├── active_record_encryption.md │ ├── active_record_migrations.md │ ├── active_record_multiple_databases.md │ ├── active_record_postgresql.md │ ├── active_record_querying.md │ ├── active_record_validations.md │ ├── active_storage_overview.md │ ├── active_support_core_extensions.md │ ├── active_support_instrumentation.md │ ├── api_app.md │ ├── api_documentation_guidelines.md │ ├── asset_pipeline.md │ ├── association_basics.md │ ├── autoloading_and_reloading_constants.md │ ├── caching_with_rails.md │ ├── command_line.md │ ├── configuring.md │ ├── contributing_to_ruby_on_rails.md │ ├── debugging_rails_applications.md │ ├── development_dependencies_install.md │ ├── documents.yaml │ ├── engines.md │ ├── epub │ │ ├── copyright.html.erb │ │ ├── layout.html.erb │ │ ├── rails_guides.opf.erb │ │ ├── toc.html.erb │ │ ├── toc.ncx.erb │ │ └── welcome.html.erb │ ├── error_reporting.md │ ├── form_helpers.md │ ├── generators.md │ ├── getting_started.md │ ├── getting_started_with_devcontainer.md │ ├── i18n.md │ ├── index.html.erb │ ├── initialization.md │ ├── install_ruby_on_rails.md │ ├── layout.html.erb │ ├── layouts_and_rendering.md │ ├── maintenance_policy.md │ ├── plugins.md │ ├── rails_on_rack.md │ ├── routing.md │ ├── ruby_on_rails_guides_guidelines.md │ ├── security.md │ ├── testing.md │ ├── threading_and_code_execution.md │ ├── tuning_performance_for_deployment.md │ ├── upgrading_ruby_on_rails.md │ └── working_with_javascript_in_rails.md └── w3c_validator.rb ├── package.json ├── rails.gemspec ├── railties ├── .gitignore ├── CHANGELOG.md ├── MIT-LICENSE ├── RDOC_MAIN.md ├── README.rdoc ├── Rakefile ├── bin │ └── test ├── exe │ └── rails ├── lib │ ├── minitest │ │ └── rails_plugin.rb │ ├── rails.rb │ └── rails │ │ ├── all.rb │ │ ├── api │ │ ├── generator.rb │ │ └── task.rb │ │ ├── app_loader.rb │ │ ├── application.rb │ │ ├── application │ │ ├── bootstrap.rb │ │ ├── configuration.rb │ │ ├── default_middleware_stack.rb │ │ ├── dummy_config.rb │ │ ├── finisher.rb │ │ └── routes_reloader.rb │ │ ├── application_controller.rb │ │ ├── autoloaders.rb │ │ ├── autoloaders │ │ └── inflector.rb │ │ ├── backtrace_cleaner.rb │ │ ├── cli.rb │ │ ├── code_statistics.rb │ │ ├── code_statistics_calculator.rb │ │ ├── command.rb │ │ ├── command │ │ ├── actions.rb │ │ ├── base.rb │ │ ├── behavior.rb │ │ ├── environment_argument.rb │ │ └── helpers │ │ │ └── editor.rb │ │ ├── commands.rb │ │ ├── commands │ │ ├── about │ │ │ └── about_command.rb │ │ ├── app │ │ │ └── update_command.rb │ │ ├── application │ │ │ └── application_command.rb │ │ ├── boot │ │ │ └── boot_command.rb │ │ ├── console │ │ │ ├── console_command.rb │ │ │ └── irb_console.rb │ │ ├── credentials │ │ │ ├── USAGE │ │ │ ├── credentials_command.rb │ │ │ └── credentials_command │ │ │ │ └── diffing.rb │ │ ├── db │ │ │ └── system │ │ │ │ └── change │ │ │ │ └── change_command.rb │ │ ├── dbconsole │ │ │ └── dbconsole_command.rb │ │ ├── destroy │ │ │ └── destroy_command.rb │ │ ├── dev │ │ │ └── dev_command.rb │ │ ├── devcontainer │ │ │ └── devcontainer_command.rb │ │ ├── encrypted │ │ │ ├── USAGE │ │ │ └── encrypted_command.rb │ │ ├── gem_help │ │ │ ├── USAGE │ │ │ └── gem_help_command.rb │ │ ├── generate │ │ │ └── generate_command.rb │ │ ├── help │ │ │ ├── USAGE │ │ │ └── help_command.rb │ │ ├── initializers │ │ │ └── initializers_command.rb │ │ ├── middleware │ │ │ └── middleware_command.rb │ │ ├── new │ │ │ └── new_command.rb │ │ ├── notes │ │ │ └── notes_command.rb │ │ ├── plugin │ │ │ └── plugin_command.rb │ │ ├── rake │ │ │ └── rake_command.rb │ │ ├── restart │ │ │ └── restart_command.rb │ │ ├── routes │ │ │ └── routes_command.rb │ │ ├── runner │ │ │ ├── USAGE │ │ │ └── runner_command.rb │ │ ├── secret │ │ │ └── secret_command.rb │ │ ├── server │ │ │ └── server_command.rb │ │ ├── stats │ │ │ └── stats_command.rb │ │ ├── test │ │ │ ├── USAGE │ │ │ └── test_command.rb │ │ ├── unused_routes │ │ │ └── unused_routes_command.rb │ │ └── version │ │ │ └── version_command.rb │ │ ├── configuration.rb │ │ ├── console │ │ └── methods.rb │ │ ├── deprecator.rb │ │ ├── dev_caching.rb │ │ ├── engine.rb │ │ ├── engine │ │ ├── commands.rb │ │ ├── configuration.rb │ │ ├── lazy_route_set.rb │ │ ├── railties.rb │ │ └── updater.rb │ │ ├── gem_version.rb │ │ ├── generators.rb │ │ ├── generators │ │ ├── actions.rb │ │ ├── actions │ │ │ └── create_migration.rb │ │ ├── active_model.rb │ │ ├── app_base.rb │ │ ├── app_name.rb │ │ ├── base.rb │ │ ├── bundle_helper.rb │ │ ├── database.rb │ │ ├── erb.rb │ │ ├── erb │ │ │ ├── authentication │ │ │ │ ├── authentication_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── app │ │ │ │ │ └── views │ │ │ │ │ ├── passwords │ │ │ │ │ ├── edit.html.erb │ │ │ │ │ └── new.html.erb │ │ │ │ │ └── sessions │ │ │ │ │ └── new.html.erb │ │ │ ├── controller │ │ │ │ ├── controller_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── view.html.erb.tt │ │ │ ├── mailer │ │ │ │ ├── mailer_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── layout.html.erb.tt │ │ │ │ │ ├── layout.text.erb.tt │ │ │ │ │ ├── view.html.erb.tt │ │ │ │ │ └── view.text.erb.tt │ │ │ └── scaffold │ │ │ │ ├── scaffold_generator.rb │ │ │ │ └── templates │ │ │ │ ├── _form.html.erb.tt │ │ │ │ ├── edit.html.erb.tt │ │ │ │ ├── index.html.erb.tt │ │ │ │ ├── new.html.erb.tt │ │ │ │ ├── partial.html.erb.tt │ │ │ │ └── show.html.erb.tt │ │ ├── generated_attribute.rb │ │ ├── migration.rb │ │ ├── model_helpers.rb │ │ ├── named_base.rb │ │ ├── rails │ │ │ ├── app │ │ │ │ ├── USAGE │ │ │ │ ├── app_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── Dockerfile.tt │ │ │ │ │ ├── Gemfile.tt │ │ │ │ │ ├── README.md.tt │ │ │ │ │ ├── Rakefile.tt │ │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css.tt │ │ │ │ │ ├── controllers │ │ │ │ │ │ └── application_controller.rb.tt │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb.tt │ │ │ │ │ ├── jobs │ │ │ │ │ │ └── application_job.rb.tt │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── application_mailer.rb.tt │ │ │ │ │ ├── models │ │ │ │ │ │ └── application_record.rb.tt │ │ │ │ │ └── views │ │ │ │ │ │ ├── layouts │ │ │ │ │ │ ├── application.html.erb.tt │ │ │ │ │ │ ├── mailer.html.erb.tt │ │ │ │ │ │ └── mailer.text.erb.tt │ │ │ │ │ │ └── pwa │ │ │ │ │ │ ├── manifest.json.erb.tt │ │ │ │ │ │ └── service-worker.js │ │ │ │ │ ├── bin │ │ │ │ │ ├── brakeman.tt │ │ │ │ │ ├── bundler-audit.tt │ │ │ │ │ ├── ci.tt │ │ │ │ │ ├── dev.tt │ │ │ │ │ ├── rails.tt │ │ │ │ │ ├── rake.tt │ │ │ │ │ ├── rubocop.tt │ │ │ │ │ ├── setup.tt │ │ │ │ │ └── thrust.tt │ │ │ │ │ ├── config.ru.tt │ │ │ │ │ ├── config │ │ │ │ │ ├── application.rb.tt │ │ │ │ │ ├── boot.rb.tt │ │ │ │ │ ├── bundler-audit.yml.tt │ │ │ │ │ ├── cable.yml.tt │ │ │ │ │ ├── ci.rb.tt │ │ │ │ │ ├── databases │ │ │ │ │ │ ├── mysql.yml.tt │ │ │ │ │ │ ├── postgresql.yml.tt │ │ │ │ │ │ ├── sqlite3.yml.tt │ │ │ │ │ │ └── trilogy.yml.tt │ │ │ │ │ ├── deploy.yml.tt │ │ │ │ │ ├── environment.rb.tt │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb.tt │ │ │ │ │ │ ├── production.rb.tt │ │ │ │ │ │ └── test.rb.tt │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb.tt │ │ │ │ │ │ ├── content_security_policy.rb.tt │ │ │ │ │ │ ├── cors.rb.tt │ │ │ │ │ │ ├── filter_parameter_logging.rb.tt │ │ │ │ │ │ ├── inflections.rb.tt │ │ │ │ │ │ └── new_framework_defaults_8_1.rb.tt │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── puma.rb.tt │ │ │ │ │ ├── routes.rb.tt │ │ │ │ │ └── storage.yml.tt │ │ │ │ │ ├── db │ │ │ │ │ └── seeds.rb.tt │ │ │ │ │ ├── docker-entrypoint.tt │ │ │ │ │ ├── dockerignore.tt │ │ │ │ │ ├── gitattributes.tt │ │ │ │ │ ├── github │ │ │ │ │ ├── ci.yml.tt │ │ │ │ │ └── dependabot.yml │ │ │ │ │ ├── gitignore.tt │ │ │ │ │ ├── kamal-secrets.tt │ │ │ │ │ ├── node-version.tt │ │ │ │ │ ├── public │ │ │ │ │ ├── 400.html │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 406-unsupported-browser.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ ├── icon.png │ │ │ │ │ ├── icon.svg │ │ │ │ │ └── robots.txt │ │ │ │ │ ├── rubocop.yml.tt │ │ │ │ │ ├── ruby-version.tt │ │ │ │ │ └── test │ │ │ │ │ ├── application_system_test_case.rb.tt │ │ │ │ │ └── test_helper.rb.tt │ │ │ ├── application_record │ │ │ │ └── application_record_generator.rb │ │ │ ├── authentication │ │ │ │ ├── USAGE │ │ │ │ ├── authentication_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── app │ │ │ │ │ ├── channels │ │ │ │ │ │ └── application_cable │ │ │ │ │ │ │ └── connection.rb.tt │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── concerns │ │ │ │ │ │ │ └── authentication.rb.tt │ │ │ │ │ │ ├── passwords_controller.rb.tt │ │ │ │ │ │ └── sessions_controller.rb.tt │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── passwords_mailer.rb.tt │ │ │ │ │ ├── models │ │ │ │ │ │ ├── current.rb.tt │ │ │ │ │ │ ├── session.rb.tt │ │ │ │ │ │ └── user.rb.tt │ │ │ │ │ └── views │ │ │ │ │ │ └── passwords_mailer │ │ │ │ │ │ ├── reset.html.erb.tt │ │ │ │ │ │ └── reset.text.erb.tt │ │ │ │ │ └── test │ │ │ │ │ ├── mailers │ │ │ │ │ └── previews │ │ │ │ │ │ └── passwords_mailer_preview.rb.tt │ │ │ │ │ └── test_helpers │ │ │ │ │ └── session_test_helper.rb.tt │ │ │ ├── benchmark │ │ │ │ ├── USAGE │ │ │ │ ├── benchmark_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── benchmark.rb.tt │ │ │ ├── controller │ │ │ │ ├── USAGE │ │ │ │ ├── controller_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── controller.rb.tt │ │ │ ├── credentials │ │ │ │ ├── credentials_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── credentials.yml.tt │ │ │ ├── db │ │ │ │ └── system │ │ │ │ │ └── change │ │ │ │ │ └── change_generator.rb │ │ │ ├── devcontainer │ │ │ │ ├── devcontainer_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── devcontainer │ │ │ │ │ ├── Dockerfile.tt │ │ │ │ │ ├── compose.yaml.tt │ │ │ │ │ └── devcontainer.json.tt │ │ │ ├── encrypted_file │ │ │ │ └── encrypted_file_generator.rb │ │ │ ├── encryption_key_file │ │ │ │ └── encryption_key_file_generator.rb │ │ │ ├── generator │ │ │ │ ├── USAGE │ │ │ │ ├── generator_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── %file_name%_generator.rb.tt │ │ │ │ │ ├── USAGE.tt │ │ │ │ │ └── templates │ │ │ │ │ └── .empty_directory │ │ │ ├── helper │ │ │ │ ├── USAGE │ │ │ │ ├── helper_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── helper.rb.tt │ │ │ ├── integration_test │ │ │ │ ├── USAGE │ │ │ │ └── integration_test_generator.rb │ │ │ ├── master_key │ │ │ │ └── master_key_generator.rb │ │ │ ├── migration │ │ │ │ ├── USAGE │ │ │ │ └── migration_generator.rb │ │ │ ├── model │ │ │ │ └── model_generator.rb │ │ │ ├── plugin │ │ │ │ ├── USAGE │ │ │ │ ├── plugin_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── %name%.gemspec.tt │ │ │ │ │ ├── Gemfile.tt │ │ │ │ │ ├── MIT-LICENSE.tt │ │ │ │ │ ├── README.md.tt │ │ │ │ │ ├── Rakefile.tt │ │ │ │ │ ├── app │ │ │ │ │ ├── controllers │ │ │ │ │ │ └── %namespaced_name% │ │ │ │ │ │ │ └── application_controller.rb.tt │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── %namespaced_name% │ │ │ │ │ │ │ └── application_helper.rb.tt │ │ │ │ │ ├── jobs │ │ │ │ │ │ └── %namespaced_name% │ │ │ │ │ │ │ └── application_job.rb.tt │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── %namespaced_name% │ │ │ │ │ │ │ └── application_mailer.rb.tt │ │ │ │ │ ├── models │ │ │ │ │ │ └── %namespaced_name% │ │ │ │ │ │ │ └── application_record.rb.tt │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── %namespaced_name% │ │ │ │ │ │ └── application.html.erb.tt │ │ │ │ │ ├── bin │ │ │ │ │ ├── rails.tt │ │ │ │ │ ├── rubocop.tt │ │ │ │ │ └── test.tt │ │ │ │ │ ├── config │ │ │ │ │ └── routes.rb.tt │ │ │ │ │ ├── github │ │ │ │ │ ├── ci.yml.tt │ │ │ │ │ └── dependabot.yml │ │ │ │ │ ├── gitignore.tt │ │ │ │ │ ├── lib │ │ │ │ │ ├── %namespaced_name%.rb.tt │ │ │ │ │ ├── %namespaced_name% │ │ │ │ │ │ ├── engine.rb.tt │ │ │ │ │ │ ├── railtie.rb.tt │ │ │ │ │ │ └── version.rb.tt │ │ │ │ │ └── tasks │ │ │ │ │ │ └── %namespaced_name%_tasks.rake.tt │ │ │ │ │ ├── rails │ │ │ │ │ ├── boot.rb.tt │ │ │ │ │ ├── routes.rb.tt │ │ │ │ │ └── stylesheets.css │ │ │ │ │ ├── rubocop.yml.tt │ │ │ │ │ └── test │ │ │ │ │ ├── %namespaced_name%_test.rb.tt │ │ │ │ │ ├── application_system_test_case.rb.tt │ │ │ │ │ ├── integration │ │ │ │ │ └── navigation_test.rb.tt │ │ │ │ │ └── test_helper.rb.tt │ │ │ ├── resource │ │ │ │ ├── USAGE │ │ │ │ └── resource_generator.rb │ │ │ ├── resource_route │ │ │ │ └── resource_route_generator.rb │ │ │ ├── scaffold │ │ │ │ ├── USAGE │ │ │ │ └── scaffold_generator.rb │ │ │ ├── scaffold_controller │ │ │ │ ├── USAGE │ │ │ │ ├── scaffold_controller_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── api_controller.rb.tt │ │ │ │ │ └── controller.rb.tt │ │ │ ├── script │ │ │ │ ├── USAGE │ │ │ │ ├── script_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── script.rb.tt │ │ │ ├── system_test │ │ │ │ ├── USAGE │ │ │ │ └── system_test_generator.rb │ │ │ └── task │ │ │ │ ├── USAGE │ │ │ │ ├── task_generator.rb │ │ │ │ └── templates │ │ │ │ └── task.rb.tt │ │ ├── resource_helpers.rb │ │ ├── test_case.rb │ │ ├── test_unit.rb │ │ ├── test_unit │ │ │ ├── authentication │ │ │ │ ├── authentication_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── test │ │ │ │ │ ├── controllers │ │ │ │ │ ├── passwords_controller_test.rb.tt │ │ │ │ │ └── sessions_controller_test.rb │ │ │ │ │ ├── fixtures │ │ │ │ │ └── users.yml.tt │ │ │ │ │ └── models │ │ │ │ │ └── user_test.rb.tt │ │ │ ├── controller │ │ │ │ ├── controller_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── functional_test.rb.tt │ │ │ ├── generator │ │ │ │ ├── generator_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── generator_test.rb.tt │ │ │ ├── helper │ │ │ │ └── helper_generator.rb │ │ │ ├── integration │ │ │ │ ├── integration_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── integration_test.rb.tt │ │ │ ├── job │ │ │ │ ├── job_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── unit_test.rb.tt │ │ │ ├── mailer │ │ │ │ ├── mailer_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── functional_test.rb.tt │ │ │ │ │ └── preview.rb.tt │ │ │ ├── model │ │ │ │ ├── model_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── fixtures.yml.tt │ │ │ │ │ └── unit_test.rb.tt │ │ │ ├── scaffold │ │ │ │ ├── scaffold_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── api_functional_test.rb.tt │ │ │ │ │ ├── functional_test.rb.tt │ │ │ │ │ └── system_test.rb.tt │ │ │ └── system │ │ │ │ ├── system_generator.rb │ │ │ │ └── templates │ │ │ │ ├── application_system_test_case.rb.tt │ │ │ │ └── system_test.rb.tt │ │ └── testing │ │ │ ├── assertions.rb │ │ │ ├── behavior.rb │ │ │ └── setup_and_teardown.rb │ │ ├── health_controller.rb │ │ ├── info.rb │ │ ├── info_controller.rb │ │ ├── initializable.rb │ │ ├── mailers_controller.rb │ │ ├── paths.rb │ │ ├── plugin │ │ └── test.rb │ │ ├── pwa_controller.rb │ │ ├── rack.rb │ │ ├── rack │ │ ├── logger.rb │ │ └── silence_request.rb │ │ ├── rackup │ │ └── server.rb │ │ ├── railtie.rb │ │ ├── railtie │ │ ├── configurable.rb │ │ └── configuration.rb │ │ ├── source_annotation_extractor.rb │ │ ├── tasks.rb │ │ ├── tasks │ │ ├── engine.rake │ │ ├── framework.rake │ │ ├── log.rake │ │ ├── misc.rake │ │ ├── statistics.rake │ │ ├── tmp.rake │ │ ├── yarn.rake │ │ └── zeitwerk.rake │ │ ├── templates │ │ ├── layouts │ │ │ └── application.html.erb │ │ └── rails │ │ │ ├── info │ │ │ ├── notes.html.erb │ │ │ ├── properties.html.erb │ │ │ └── routes.html.erb │ │ │ ├── mailers │ │ │ ├── email.html.erb │ │ │ ├── index.html.erb │ │ │ └── mailer.html.erb │ │ │ └── welcome │ │ │ └── index.html.erb │ │ ├── test_help.rb │ │ ├── test_unit │ │ ├── line_filtering.rb │ │ ├── railtie.rb │ │ ├── reporter.rb │ │ ├── runner.rb │ │ ├── test_parser.rb │ │ └── testing.rake │ │ ├── testing │ │ └── maintain_test_schema.rb │ │ ├── version.rb │ │ ├── welcome_controller.rb │ │ └── zeitwerk_checker.rb ├── railties.gemspec └── test │ ├── abstract_unit.rb │ ├── app_loader_test.rb │ ├── application │ ├── action_controller_test_case_integration_test.rb │ ├── action_view_test_integration_case_test.rb │ ├── active_job_adapter_test.rb │ ├── active_job_railtie_test.rb │ ├── active_record_railtie_test.rb │ ├── active_storage │ │ ├── uploads_integration_test.rb │ │ └── validating_service_test.rb │ ├── asset_debugging_test.rb │ ├── assets_test.rb │ ├── backtrace_cleaner_test.rb │ ├── bin_ci_test.rb │ ├── bin_setup_test.rb │ ├── configuration │ │ └── custom_test.rb │ ├── configuration_test.rb │ ├── console_test.rb │ ├── content_security_policy_test.rb │ ├── credentials_test.rb │ ├── current_attributes_integration_test.rb │ ├── dbconsole_test.rb │ ├── generators_test.rb │ ├── help_test.rb │ ├── initializers │ │ ├── frameworks_test.rb │ │ ├── hooks_test.rb │ │ ├── i18n_test.rb │ │ ├── load_path_test.rb │ │ └── notifications_test.rb │ ├── integration_test_case_test.rb │ ├── loading_test.rb │ ├── mailer_previews_test.rb │ ├── middleware │ │ ├── cache_test.rb │ │ ├── cookies_test.rb │ │ ├── exceptions_test.rb │ │ ├── permission_policy_test.rb │ │ ├── remote_ip_test.rb │ │ ├── sendfile_test.rb │ │ ├── session_test.rb │ │ └── static_test.rb │ ├── multi_db_rake_test.rb │ ├── multiple_applications_test.rb │ ├── paths_test.rb │ ├── per_request_digest_cache_test.rb │ ├── permissions_policy_test.rb │ ├── query_logs_test.rb │ ├── rack │ │ └── logger_test.rb │ ├── rackup_test.rb │ ├── rake │ │ ├── dbs_test.rb │ │ ├── framework_test.rb │ │ ├── log_test.rb │ │ ├── migrations_test.rb │ │ ├── multi_dbs_test.rb │ │ └── tmp_test.rb │ ├── rake_test.rb │ ├── rendering_test.rb │ ├── routing_test.rb │ ├── runner_test.rb │ ├── server_test.rb │ ├── sprockets_assets_test.rb │ ├── system_test_case_test.rb │ ├── test_runner_test.rb │ ├── test_test.rb │ ├── url_generation_test.rb │ ├── version_test.rb │ ├── view_reloading_test.rb │ ├── watcher_test.rb │ ├── zeitwerk_checker_test.rb │ ├── zeitwerk_inflector_test.rb │ └── zeitwerk_integration_test.rb │ ├── backtrace_cleaner_test.rb │ ├── code_statistics_calculator_test.rb │ ├── code_statistics_test.rb │ ├── command │ ├── base_test.rb │ └── help_integration_test.rb │ ├── commands │ ├── application_test.rb │ ├── boot_test.rb │ ├── console_test.rb │ ├── credentials_test.rb │ ├── db_system_change_test.rb │ ├── dbconsole_test.rb │ ├── dev_test.rb │ ├── devcontainer_test.rb │ ├── encrypted_test.rb │ ├── initializers_test.rb │ ├── middleware_test.rb │ ├── notes_test.rb │ ├── rake_test.rb │ ├── restart_test.rb │ ├── routes_test.rb │ ├── runner_test.rb │ ├── server_test.rb │ ├── stats_test.rb │ ├── test_test.rb │ └── unused_routes_test.rb │ ├── configuration │ ├── dynamic_options_test.rb │ └── middleware_stack_proxy_test.rb │ ├── console_helpers.rb │ ├── engine │ ├── commands_test.rb │ ├── lazy_route_set_test.rb │ └── test_test.rb │ ├── engine_test.rb │ ├── env_helpers.rb │ ├── fixtures │ ├── .devcontainer │ │ ├── compose-minimal.yaml │ │ ├── compose.yaml │ │ └── devcontainer.json │ ├── Dockerfile.test │ ├── Rakefile │ ├── files │ │ └── racecar.jpg │ ├── lib │ │ ├── create_test_dummy_template.rb │ │ ├── generators │ │ │ ├── active_record │ │ │ │ └── fixjour_generator.rb │ │ │ ├── fixjour_generator.rb │ │ │ ├── model_generator.rb │ │ │ └── usage_template │ │ │ │ ├── USAGE │ │ │ │ └── usage_template_generator.rb │ │ ├── rails │ │ │ └── generators │ │ │ │ └── foobar │ │ │ │ └── foobar_generator.rb │ │ └── template.rb │ ├── log │ │ └── test.log │ └── test │ │ └── application_system_test_case.rb │ ├── generators │ ├── action_mailbox_install_generator_test.rb │ ├── action_text_install_generator_test.rb │ ├── actions_test.rb │ ├── api_app_generator_test.rb │ ├── app_generator_test.rb │ ├── application_record_generator_test.rb │ ├── argv_scrubber_test.rb │ ├── authentication_generator_test.rb │ ├── benchmark_generator_test.rb │ ├── channel_generator_test.rb │ ├── controller_generator_test.rb │ ├── create_migration_test.rb │ ├── db_system_change_generator_test.rb │ ├── devcontainer_generator_test.rb │ ├── generated_attribute_test.rb │ ├── generator_generator_test.rb │ ├── generator_test.rb │ ├── generators_test_helper.rb │ ├── helper_generator_test.rb │ ├── hook_generator_test.rb │ ├── integration_test_generator_test.rb │ ├── job_generator_test.rb │ ├── mailer_generator_test.rb │ ├── migration_generator_test.rb │ ├── model_generator_test.rb │ ├── multi_db_generator_test.rb │ ├── named_base_test.rb │ ├── namespaced_generators_test.rb │ ├── orm_test.rb │ ├── plugin_generator_test.rb │ ├── plugin_test_helper.rb │ ├── plugin_test_runner_test.rb │ ├── resource_generator_test.rb │ ├── scaffold_controller_generator_test.rb │ ├── scaffold_generator_test.rb │ ├── script_generator_test.rb │ ├── shared_generator_tests.rb │ ├── system_test_generator_test.rb │ ├── task_generator_test.rb │ └── test_runner_in_engine_test.rb │ ├── generators_test.rb │ ├── initializable_test.rb │ ├── isolation │ ├── abstract_unit.rb │ ├── assets │ │ └── package.json │ └── test_helpers_test.rb │ ├── json_params_parsing_test.rb │ ├── minitest │ └── rails_plugin_test.rb │ ├── path_generation_test.rb │ ├── paths_test.rb │ ├── plugin_helpers.rb │ ├── rack_logger_test.rb │ ├── rack_silence_request_test.rb │ ├── rails_health_controller_test.rb │ ├── rails_info_controller_test.rb │ ├── rails_info_test.rb │ ├── railties │ ├── engine_test.rb │ ├── generators_test.rb │ ├── mounted_engine_test.rb │ └── railtie_test.rb │ ├── test_unit │ ├── reporter_test.rb │ └── test_parser_test.rb │ └── version_test.rb ├── tasks ├── release.rb └── release_announcement_draft.erb ├── tools ├── README.md ├── console ├── cve_announcement.rb ├── devcontainer ├── line_statistics ├── preview_docs.rb ├── preview_docs │ └── index.html.erb ├── rail_inspector │ ├── LICENSE │ ├── Rakefile │ ├── bin │ │ └── console │ ├── lib │ │ ├── rail_inspector.rb │ │ └── rail_inspector │ │ │ ├── changelog.rb │ │ │ ├── cli.rb │ │ │ ├── configuring.rb │ │ │ ├── configuring │ │ │ └── check │ │ │ │ ├── framework_defaults.rb │ │ │ │ └── general_configuration.rb │ │ │ ├── requires.rb │ │ │ ├── version.rb │ │ │ └── visitor │ │ │ ├── attribute.rb │ │ │ ├── framework_default.rb │ │ │ ├── hash_to_string.rb │ │ │ └── load.rb │ ├── rail_inspector.gemspec │ └── test │ │ ├── fixtures │ │ ├── action_mailbox.md │ │ ├── action_mailbox_83d85b2.md │ │ ├── action_mailbox_invalid.md │ │ ├── action_pack_69d504.md │ │ ├── action_view.md │ │ ├── active_record_238432d.md │ │ ├── active_record_51852d2.md │ │ ├── active_record_936a862.md │ │ ├── active_support_9f0b8eb.md │ │ └── railties_06e9fbd.md │ │ ├── rail_inspector │ │ ├── changelog_test.rb │ │ ├── configuring │ │ │ └── check │ │ │ │ └── general_configuration_test.rb │ │ └── visitor │ │ │ ├── attribute_test.rb │ │ │ ├── framework_default_test.rb │ │ │ ├── hash_to_string_test.rb │ │ │ └── load_test.rb │ │ ├── test_helper.rb │ │ └── test_helpers │ │ └── changelog_fixtures.rb ├── railspect ├── rdoc-to-md ├── releaser │ ├── Gemfile │ ├── Gemfile.lock │ ├── README.md │ ├── Rakefile │ ├── bin │ │ └── test │ ├── lib │ │ └── releaser.rb │ ├── releaser.gemspec │ └── test │ │ ├── fixtures │ │ ├── actioncable │ │ │ └── CHANGELOG.md │ │ ├── actionmailbox │ │ │ └── CHANGELOG.md │ │ ├── actionmailer │ │ │ └── CHANGELOG.md │ │ ├── actionpack │ │ │ └── CHANGELOG.md │ │ ├── actiontext │ │ │ └── CHANGELOG.md │ │ ├── actionview │ │ │ └── CHANGELOG.md │ │ ├── activejob │ │ │ └── CHANGELOG.md │ │ ├── activemodel │ │ │ └── CHANGELOG.md │ │ ├── activerecord │ │ │ └── CHANGELOG.md │ │ ├── activestorage │ │ │ ├── CHANGELOG.md │ │ │ ├── lib │ │ │ │ └── active_storage │ │ │ │ │ └── gem_version.rb │ │ │ └── package.json │ │ ├── activesupport │ │ │ └── CHANGELOG.md │ │ ├── guides │ │ │ └── CHANGELOG.md │ │ └── railties │ │ │ └── CHANGELOG.md │ │ ├── releaser_test.rb │ │ └── test_helper.rb ├── strict_warnings.rb ├── test.rb └── test_common.rb └── yarn.lock /.gitattributes: -------------------------------------------------------------------------------- 1 | *.rb diff=ruby 2 | *.gemspec diff=ruby 3 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | .rubocop.yml @rafaelfranca 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | -------------------------------------------------------------------------------- /.mdlrc: -------------------------------------------------------------------------------- 1 | style "#{File.dirname(__FILE__)}/.mdlrc.rb" -------------------------------------------------------------------------------- /.yardopts: -------------------------------------------------------------------------------- 1 | --exclude /templates/ 2 | --quiet 3 | act*/lib/**/*.rb 4 | act*/app/**/*.rb 5 | railties/lib/**/*.rb 6 | -------------------------------------------------------------------------------- /.yarnrc: -------------------------------------------------------------------------------- 1 | workspaces-experimental true 2 | --add.prefer-offline true -------------------------------------------------------------------------------- /RAILS_VERSION: -------------------------------------------------------------------------------- 1 | 8.1.0.alpha 2 | -------------------------------------------------------------------------------- /actioncable/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | ["env", { "modules": false, "loose": true } ] 4 | ], 5 | "plugins": [ 6 | "external-helpers" 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /actioncable/.gitignore: -------------------------------------------------------------------------------- 1 | /src 2 | /test/javascript/compiled/ 3 | /tmp/ 4 | -------------------------------------------------------------------------------- /actioncable/app/assets/javascripts/.gitattributes: -------------------------------------------------------------------------------- 1 | actioncable.js linguist-generated 2 | actioncable.esm.js linguist-generated 3 | action_cable.js linguist-generated 4 | -------------------------------------------------------------------------------- /actioncable/bin/test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | COMPONENT_ROOT = File.expand_path("..", __dir__) 5 | require_relative "../../tools/test" 6 | -------------------------------------------------------------------------------- /actioncable/lib/rails/generators/channel/templates/application_cable/channel.rb.tt: -------------------------------------------------------------------------------- 1 | module ApplicationCable 2 | class Channel < ActionCable::Channel::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb.tt: -------------------------------------------------------------------------------- 1 | module ApplicationCable 2 | class Connection < ActionCable::Connection::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /actioncable/lib/rails/generators/channel/templates/javascript/index.js.tt: -------------------------------------------------------------------------------- 1 | // Import all the channels to be used by Action Cable 2 | -------------------------------------------------------------------------------- /actionmailbox/bin/test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | COMPONENT_ROOT = File.expand_path("..", __dir__) 5 | require_relative "../../tools/test" 6 | -------------------------------------------------------------------------------- /actionmailbox/lib/rails/generators/mailbox/templates/application_mailbox.rb.tt: -------------------------------------------------------------------------------- 1 | class ApplicationMailbox < ActionMailbox::Base 2 | # routing /something/i => :somewhere 3 | end 4 | -------------------------------------------------------------------------------- /actionmailbox/lib/rails/generators/mailbox/templates/mailbox.rb.tt: -------------------------------------------------------------------------------- 1 | class <%= class_name %>Mailbox < ApplicationMailbox 2 | def process 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /actionmailbox/test/dummy/app/assets/config/manifest.js: -------------------------------------------------------------------------------- 1 | //= link_tree ../images 2 | //= link_directory ../stylesheets .css 3 | -------------------------------------------------------------------------------- /actionmailbox/test/dummy/app/assets/images/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionmailbox/test/dummy/app/assets/images/.keep -------------------------------------------------------------------------------- /actionmailbox/test/dummy/app/channels/application_cable/channel.rb: -------------------------------------------------------------------------------- 1 | module ApplicationCable 2 | class Channel < ActionCable::Channel::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /actionmailbox/test/dummy/app/channels/application_cable/connection.rb: -------------------------------------------------------------------------------- 1 | module ApplicationCable 2 | class Connection < ActionCable::Connection::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /actionmailbox/test/dummy/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | end 3 | -------------------------------------------------------------------------------- /actionmailbox/test/dummy/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionmailbox/test/dummy/app/controllers/concerns/.keep -------------------------------------------------------------------------------- /actionmailbox/test/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /actionmailbox/test/dummy/app/mailboxes/messages_mailbox.rb: -------------------------------------------------------------------------------- 1 | class MessagesMailbox < ApplicationMailbox 2 | def process 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /actionmailbox/test/dummy/app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- 1 | class ApplicationMailer < ActionMailer::Base 2 | default from: "from@example.com" 3 | layout "mailer" 4 | end 5 | -------------------------------------------------------------------------------- /actionmailbox/test/dummy/app/models/application_record.rb: -------------------------------------------------------------------------------- 1 | class ApplicationRecord < ActiveRecord::Base 2 | primary_abstract_class 3 | end 4 | -------------------------------------------------------------------------------- /actionmailbox/test/dummy/app/models/concerns/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionmailbox/test/dummy/app/models/concerns/.keep -------------------------------------------------------------------------------- /actionmailbox/test/dummy/app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /actionmailbox/test/dummy/bin/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | APP_PATH = File.expand_path("../config/application", __dir__) 3 | require_relative "../config/boot" 4 | require "rails/commands" 5 | -------------------------------------------------------------------------------- /actionmailbox/test/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative "../config/boot" 3 | require "rake" 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /actionmailbox/test/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | end 3 | -------------------------------------------------------------------------------- /actionmailbox/test/dummy/lib/assets/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionmailbox/test/dummy/lib/assets/.keep -------------------------------------------------------------------------------- /actionmailbox/test/dummy/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionmailbox/test/dummy/log/.keep -------------------------------------------------------------------------------- /actionmailbox/test/dummy/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionmailbox/test/dummy/public/apple-touch-icon.png -------------------------------------------------------------------------------- /actionmailbox/test/dummy/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionmailbox/test/dummy/public/favicon.ico -------------------------------------------------------------------------------- /actionmailbox/test/dummy/storage/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionmailbox/test/dummy/storage/.keep -------------------------------------------------------------------------------- /actionmailbox/test/fixtures/files/avatar1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionmailbox/test/fixtures/files/avatar1.jpeg -------------------------------------------------------------------------------- /actionmailbox/test/fixtures/files/avatar2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionmailbox/test/fixtures/files/avatar2.jpeg -------------------------------------------------------------------------------- /actionmailbox/test/fixtures/files/invalid_utf.eml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionmailbox/test/fixtures/files/invalid_utf.eml -------------------------------------------------------------------------------- /actionmailer/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2 | Please check [8-0-stable](https://github.com/rails/rails/blob/8-0-stable/actionmailer/CHANGELOG.md) for previous changes. 3 | -------------------------------------------------------------------------------- /actionmailer/bin/test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | COMPONENT_ROOT = File.expand_path("..", __dir__) 5 | require_relative "../../tools/test" 6 | -------------------------------------------------------------------------------- /actionmailer/test/fixtures/anonymous/welcome.erb: -------------------------------------------------------------------------------- 1 | Anonymous mailer body 2 | -------------------------------------------------------------------------------- /actionmailer/test/fixtures/another.path/base_mailer/welcome.erb: -------------------------------------------------------------------------------- 1 | Welcome from another path -------------------------------------------------------------------------------- /actionmailer/test/fixtures/asset_host_mailer/email_with_asset.html.erb: -------------------------------------------------------------------------------- 1 | <%= image_tag "somelogo.png" %> -------------------------------------------------------------------------------- /actionmailer/test/fixtures/asset_mailer/welcome.html.erb: -------------------------------------------------------------------------------- 1 | <%= image_tag "dummy.png" %> -------------------------------------------------------------------------------- /actionmailer/test/fixtures/auto_layout_mailer/hello.html.erb: -------------------------------------------------------------------------------- 1 | Inside -------------------------------------------------------------------------------- /actionmailer/test/fixtures/auto_layout_mailer/multipart.html.erb: -------------------------------------------------------------------------------- 1 | text/html multipart -------------------------------------------------------------------------------- /actionmailer/test/fixtures/auto_layout_mailer/multipart.text.erb: -------------------------------------------------------------------------------- 1 | text/plain multipart -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/attachment_with_content.erb: -------------------------------------------------------------------------------- 1 | Attachment with content -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/different_layout.html.erb: -------------------------------------------------------------------------------- 1 | HTML -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/different_layout.text.erb: -------------------------------------------------------------------------------- 1 | PLAIN -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/email_with_translations.html.erb: -------------------------------------------------------------------------------- 1 | <%= t('.greet_user', name: 'lifo') %> -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/explicit_multipart_templates.html.erb: -------------------------------------------------------------------------------- 1 | HTML Explicit Multipart Templates -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/explicit_multipart_templates.text.erb: -------------------------------------------------------------------------------- 1 | TEXT Explicit Multipart Templates -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/explicit_multipart_with_one_template.erb: -------------------------------------------------------------------------------- 1 | <%= self.formats.inspect %> -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/html_only.html.erb: -------------------------------------------------------------------------------- 1 | <h1>Testing</h1> -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/implicit_multipart.html.erb: -------------------------------------------------------------------------------- 1 | HTML Implicit Multipart -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/implicit_multipart.text.erb: -------------------------------------------------------------------------------- 1 | TEXT Implicit Multipart -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/implicit_multipart_formats.html.erb: -------------------------------------------------------------------------------- 1 | Implicit Multipart <%= formats.inspect %> -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/implicit_multipart_formats.text.erb: -------------------------------------------------------------------------------- 1 | Implicit Multipart <%= formats.inspect %> -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/implicit_with_locale.de-AT.text.erb: -------------------------------------------------------------------------------- 1 | Implicit with locale DE-AT TEXT -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/implicit_with_locale.de.html.erb: -------------------------------------------------------------------------------- 1 | Implicit with locale DE HTML -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/implicit_with_locale.en.html.erb: -------------------------------------------------------------------------------- 1 | Implicit with locale EN HTML -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/implicit_with_locale.html.erb: -------------------------------------------------------------------------------- 1 | Implicit with locale HTML -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/implicit_with_locale.pl.text.erb: -------------------------------------------------------------------------------- 1 | Implicit with locale PL TEXT -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/implicit_with_locale.text.erb: -------------------------------------------------------------------------------- 1 | Implicit with locale TEXT -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/inline_and_other_attachments.text.erb: -------------------------------------------------------------------------------- 1 | Inline Image 2 | 3 | No image for you 4 | 5 | -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/inline_attachment.html.erb: -------------------------------------------------------------------------------- 1 | <h1>Inline Image</h1> 2 | 3 | <%= image_tag attachments['logo.png'].url %> 4 | 5 | <p>This is an image that is inline</p> -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/inline_attachment.text.erb: -------------------------------------------------------------------------------- 1 | Inline Image 2 | 3 | No image for you 4 | 5 | -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/plain_text_only.text.erb: -------------------------------------------------------------------------------- 1 | Testing -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/welcome.erb: -------------------------------------------------------------------------------- 1 | Welcome -------------------------------------------------------------------------------- /actionmailer/test/fixtures/base_mailer/without_mail_call.erb: -------------------------------------------------------------------------------- 1 | <% raise 'the template should not be rendered' %> -------------------------------------------------------------------------------- /actionmailer/test/fixtures/caching_mailer/_partial.html.erb: -------------------------------------------------------------------------------- 1 | <% cache :caching do %> 2 | Old fragment caching in a partial 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionmailer/test/fixtures/caching_mailer/fragment_cache.html.erb: -------------------------------------------------------------------------------- 1 | <% cache :caching do %> 2 | "Welcome" 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionmailer/test/fixtures/caching_mailer/fragment_cache_in_partials.html.erb: -------------------------------------------------------------------------------- 1 | <%= render "partial" %> 2 | -------------------------------------------------------------------------------- /actionmailer/test/fixtures/caching_mailer/fragment_caching_options.html.erb: -------------------------------------------------------------------------------- 1 | <%= cache :no_digest, skip_digest: true, expires_in: 0 do %> 2 | No Digest 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionmailer/test/fixtures/caching_mailer/multipart_cache.html.erb: -------------------------------------------------------------------------------- 1 | <% cache :html_caching, skip_digest: true do %> 2 | "Welcome html" 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionmailer/test/fixtures/caching_mailer/multipart_cache.text.erb: -------------------------------------------------------------------------------- 1 | <% cache :text_caching, skip_digest: true do %> 2 | "Welcome text" 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionmailer/test/fixtures/caching_mailer/skip_fragment_cache_digesting.html.erb: -------------------------------------------------------------------------------- 1 | <%= cache :no_digest, skip_digest: true do %> 2 | No Digest 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionmailer/test/fixtures/explicit_layout_mailer/logout.html.erb: -------------------------------------------------------------------------------- 1 | You logged out -------------------------------------------------------------------------------- /actionmailer/test/fixtures/explicit_layout_mailer/signup.html.erb: -------------------------------------------------------------------------------- 1 | We do not spam -------------------------------------------------------------------------------- /actionmailer/test/fixtures/form_builder_mailer/welcome.html.erb: -------------------------------------------------------------------------------- 1 | <%= form_with(url: "/") do |f| %> 2 | <%= f.message %> 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionmailer/test/fixtures/i18n_test_mailer/mail_with_i18n_subject.erb: -------------------------------------------------------------------------------- 1 | Hello there, 2 | 3 | Mr. <%= @recipient %>. Be greeted, new member! 4 | 5 | -------------------------------------------------------------------------------- /actionmailer/test/fixtures/layouts/auto_layout_mailer.html.erb: -------------------------------------------------------------------------------- 1 | Hello from layout <%= yield %> -------------------------------------------------------------------------------- /actionmailer/test/fixtures/layouts/auto_layout_mailer.text.erb: -------------------------------------------------------------------------------- 1 | text/plain layout - <%= yield %> -------------------------------------------------------------------------------- /actionmailer/test/fixtures/layouts/different_layout.html.erb: -------------------------------------------------------------------------------- 1 | HTML -- <%= yield %> -------------------------------------------------------------------------------- /actionmailer/test/fixtures/layouts/different_layout.text.erb: -------------------------------------------------------------------------------- 1 | PLAIN -- <%= yield %> -------------------------------------------------------------------------------- /actionmailer/test/fixtures/layouts/spam.html.erb: -------------------------------------------------------------------------------- 1 | Spammer layout <%= yield %> -------------------------------------------------------------------------------- /actionmailer/test/fixtures/nested_layout_mailer/signup.html.erb: -------------------------------------------------------------------------------- 1 | We do not spam -------------------------------------------------------------------------------- /actionmailer/test/fixtures/proc_mailer/welcome.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionmailer/test/fixtures/proc_mailer/welcome.html.erb -------------------------------------------------------------------------------- /actionmailer/test/fixtures/templates/signed_up.erb: -------------------------------------------------------------------------------- 1 | Hello there, 2 | 3 | Mr. <%= @recipient %> -------------------------------------------------------------------------------- /actionmailer/test/fixtures/test_helper_mailer/welcome: -------------------------------------------------------------------------------- 1 | Welcome! -------------------------------------------------------------------------------- /actionmailer/test/fixtures/url_test_mailer/exercise_url_for.erb: -------------------------------------------------------------------------------- 1 | <%= url_for(@options) %> <%= @url %> 2 | -------------------------------------------------------------------------------- /actionpack/bin/test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | COMPONENT_ROOT = File.expand_path("..", __dir__) 5 | require_relative "../../tools/test" 6 | -------------------------------------------------------------------------------- /actionpack/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.text.erb: -------------------------------------------------------------------------------- 1 | Missing exact template 2 | 3 | <%= @exception.message %> 4 | -------------------------------------------------------------------------------- /actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.text.erb: -------------------------------------------------------------------------------- 1 | Template is missing 2 | 3 | <%= @exception.message %> 4 | -------------------------------------------------------------------------------- /actionpack/lib/action_dispatch/middleware/templates/rescues/unknown_action.text.erb: -------------------------------------------------------------------------------- 1 | Unknown action 2 | 3 | <%= @exception_wrapper.message %> 4 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/_top_level_partial_only.erb: -------------------------------------------------------------------------------- 1 | top level partial -------------------------------------------------------------------------------- /actionpack/test/fixtures/alternate_helpers/foo_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module FooHelper 4 | redefine_method(:baz) { } 5 | end 6 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/collection_cache/index.html.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: 'customers/customer', collection: @customers, cached: true %> 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/customers/_customer.html.erb: -------------------------------------------------------------------------------- 1 | <% cache customer do %> 2 | <% controller.partial_rendered_times += 1 %> 3 | <%= customer.name %>, <%= customer.id %> 4 | <% end %> -------------------------------------------------------------------------------- /actionpack/test/fixtures/filter_test/implicit_actions/edit.html.erb: -------------------------------------------------------------------------------- 1 | edit -------------------------------------------------------------------------------- /actionpack/test/fixtures/filter_test/implicit_actions/show.html.erb: -------------------------------------------------------------------------------- 1 | show -------------------------------------------------------------------------------- /actionpack/test/fixtures/functional_caching/_formatted_partial.html.erb: -------------------------------------------------------------------------------- 1 | <p>Hello!</p> 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/functional_caching/_partial.erb: -------------------------------------------------------------------------------- 1 | <% cache do %> 2 | Old fragment caching in a partial 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/functional_caching/formatted_fragment_cached.html.erb: -------------------------------------------------------------------------------- 1 | <body> 2 | <%= cache("fragment") do %><p>ERB</p><% end %> 3 | </body> 4 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder: -------------------------------------------------------------------------------- 1 | xml.body do 2 | cache("fragment") do 3 | xml.p "Builder" 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/functional_caching/formatted_fragment_cached_with_variant.html+phone.erb: -------------------------------------------------------------------------------- 1 | <body> 2 | <%= cache("fragment") do %><p>PHONE</p><% end %> 3 | </body> 4 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/functional_caching/fragment_cached.html.erb: -------------------------------------------------------------------------------- 1 | Hello 2 | <%= cache "fragment" do %>This bit's fragment cached<% end %> 3 | <%= 'Ciao' %> 4 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/functional_caching/fragment_cached_with_options.html.erb: -------------------------------------------------------------------------------- 1 | <body> 2 | <%= cache 'with_options', skip_digest: true, expires_in: 10 do %><p>ERB</p><% end %> 3 | </body> 4 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/functional_caching/fragment_cached_without_digest.html.erb: -------------------------------------------------------------------------------- 1 | <body> 2 | <%= cache 'nodigest', skip_digest: true do %><p>ERB</p><% end %> 3 | </body> 4 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: 'partial' %> -------------------------------------------------------------------------------- /actionpack/test/fixtures/functional_caching/inline_fragment_cached.html.erb: -------------------------------------------------------------------------------- 1 | <%= render inline: 'Some inline content' %> 2 | <%= cache do %>Some cached content<% end %> 3 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/helpers/abc_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module AbcHelper 4 | def bare_a() end 5 | end 6 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/helpers/fun/games_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Fun 4 | module GamesHelper 5 | def stratego() "Iz guuut!" end 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/helpers/fun/pdf_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Fun 4 | module PdfHelper 5 | def foobar() "baz" end 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/helpers/just_me_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module JustMeHelper 4 | def me() "mine!" end 5 | end 6 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/helpers/me_too_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module MeTooHelper 4 | def me() "me too!" end 5 | end 6 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/helpers1_pack/pack1_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Pack1Helper 4 | def conflicting_helper 5 | "pack1" 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/helpers2_pack/pack2_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Pack2Helper 4 | def conflicting_helper 5 | "pack2" 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/helpers_typo/admin/users_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Admin 4 | module UsersHelpeR 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/implicit_render_test/empty_action_with_mobile_variant.html+mobile.erb: -------------------------------------------------------------------------------- 1 | mobile 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/implicit_render_test/empty_action_with_template.html.erb: -------------------------------------------------------------------------------- 1 | <h1>Empty action rendered this implicitly.</h1> 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/layouts/_customers.erb: -------------------------------------------------------------------------------- 1 | <title><%= yield Struct.new(:name).new("David") %></title> -------------------------------------------------------------------------------- /actionpack/test/fixtures/layouts/builder.builder: -------------------------------------------------------------------------------- 1 | xml.wrapper do 2 | xml << yield 3 | end 4 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/layouts/standard.html.erb: -------------------------------------------------------------------------------- 1 | <html><%= yield %><%= @variable_for_layout %></html> 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/layouts/talk_from_action.erb: -------------------------------------------------------------------------------- 1 | <title><%= @title || yield(:title) %></title> 2 | <%= yield -%> -------------------------------------------------------------------------------- /actionpack/test/fixtures/layouts/with_html_partial.html.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: "partial_only_html" %><%= yield %> 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/layouts/xhr.html.erb: -------------------------------------------------------------------------------- 1 | XHR! 2 | <%= yield %> -------------------------------------------------------------------------------- /actionpack/test/fixtures/layouts/yield.erb: -------------------------------------------------------------------------------- 1 | <title><%= yield :title %></title> 2 | <%= yield %> 3 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/load_me.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class LoadMe 4 | end 5 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/localized/hello_world.de.html: -------------------------------------------------------------------------------- 1 | Guten Tag -------------------------------------------------------------------------------- /actionpack/test/fixtures/localized/hello_world.de_AT.html: -------------------------------------------------------------------------------- 1 | Guten Morgen -------------------------------------------------------------------------------- /actionpack/test/fixtures/localized/hello_world.en.html: -------------------------------------------------------------------------------- 1 | Hello World -------------------------------------------------------------------------------- /actionpack/test/fixtures/localized/hello_world.it.erb: -------------------------------------------------------------------------------- 1 | Ciao Mondo -------------------------------------------------------------------------------- /actionpack/test/fixtures/multipart/binary_file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionpack/test/fixtures/multipart/binary_file -------------------------------------------------------------------------------- /actionpack/test/fixtures/multipart/bracketed_param: -------------------------------------------------------------------------------- 1 | --AaB03x 2 | Content-Disposition: form-data; name="foo[baz]" 3 | 4 | bar 5 | --AaB03x-- 6 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/multipart/hello.txt: -------------------------------------------------------------------------------- 1 | Hello -------------------------------------------------------------------------------- /actionpack/test/fixtures/multipart/mixed_files: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionpack/test/fixtures/multipart/mixed_files -------------------------------------------------------------------------------- /actionpack/test/fixtures/multipart/ruby_on_rails.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionpack/test/fixtures/multipart/ruby_on_rails.jpg -------------------------------------------------------------------------------- /actionpack/test/fixtures/multipart/single_parameter: -------------------------------------------------------------------------------- 1 | --AaB03x 2 | Content-Disposition: form-data; name="foo" 3 | 4 | bar 5 | --AaB03x-- 6 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/multipart/single_utf8_param: -------------------------------------------------------------------------------- 1 | --AaB03x 2 | Content-Disposition: form-data; name="Iñtërnâtiônàlizætiøn_name" 3 | 4 | Iñtërnâtiônàlizætiøn_value 5 | --AaB03x-- 6 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/namespaced/implicit_render_test/hello_world.erb: -------------------------------------------------------------------------------- 1 | Hello world! 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/old_content_type/render_default_content_types_for_respond_to.xml.erb: -------------------------------------------------------------------------------- 1 | <hello>world</hello> -------------------------------------------------------------------------------- /actionpack/test/fixtures/old_content_type/render_default_for_builder.builder: -------------------------------------------------------------------------------- 1 | xml.p "Hello world!" 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/old_content_type/render_default_for_erb.erb: -------------------------------------------------------------------------------- 1 | <%= 'hello world!' %> -------------------------------------------------------------------------------- /actionpack/test/fixtures/post_test/layouts/post.html.erb: -------------------------------------------------------------------------------- 1 | <html><div id="html"><%= yield %></div></html> -------------------------------------------------------------------------------- /actionpack/test/fixtures/post_test/layouts/super_post.iphone.erb: -------------------------------------------------------------------------------- 1 | <html><div id="super_iphone"><%= yield %></div></html> -------------------------------------------------------------------------------- /actionpack/test/fixtures/post_test/post/index.html.erb: -------------------------------------------------------------------------------- 1 | Hello Firefox -------------------------------------------------------------------------------- /actionpack/test/fixtures/post_test/post/index.iphone.erb: -------------------------------------------------------------------------------- 1 | Hello iPhone -------------------------------------------------------------------------------- /actionpack/test/fixtures/post_test/super_post/index.html.erb: -------------------------------------------------------------------------------- 1 | Super Firefox -------------------------------------------------------------------------------- /actionpack/test/fixtures/post_test/super_post/index.iphone.erb: -------------------------------------------------------------------------------- 1 | Super iPhone -------------------------------------------------------------------------------- /actionpack/test/fixtures/public/400.html: -------------------------------------------------------------------------------- 1 | 400 error fixture 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/public/404.html: -------------------------------------------------------------------------------- 1 | 404 error fixture 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/public/500.da.html: -------------------------------------------------------------------------------- 1 | 500 localized error fixture 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/public/500.html: -------------------------------------------------------------------------------- 1 | 500 error fixture 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/public/bar.html: -------------------------------------------------------------------------------- 1 | /bar.html -------------------------------------------------------------------------------- /actionpack/test/fixtures/public/bar/index.html: -------------------------------------------------------------------------------- 1 | /bar/index.html -------------------------------------------------------------------------------- /actionpack/test/fixtures/public/foo/bar.html: -------------------------------------------------------------------------------- 1 | /foo/bar.html -------------------------------------------------------------------------------- /actionpack/test/fixtures/public/foo/baz.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #000; 3 | } 4 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/public/foo/index.html: -------------------------------------------------------------------------------- 1 | /foo/index.html -------------------------------------------------------------------------------- /actionpack/test/fixtures/public/foo/other-index.html: -------------------------------------------------------------------------------- 1 | /foo/other-index.html -------------------------------------------------------------------------------- /actionpack/test/fixtures/public/foo/こんにちは.html: -------------------------------------------------------------------------------- 1 | means hello in Japanese 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/public/foo/さようなら.html: -------------------------------------------------------------------------------- 1 | means goodbye in Japanese 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/public/foo/さようなら.html.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionpack/test/fixtures/public/foo/さようなら.html.gz -------------------------------------------------------------------------------- /actionpack/test/fixtures/public/gzip/foo.zoo.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionpack/test/fixtures/public/gzip/foo.zoo.gz -------------------------------------------------------------------------------- /actionpack/test/fixtures/public/index.html: -------------------------------------------------------------------------------- 1 | /index.html -------------------------------------------------------------------------------- /actionpack/test/fixtures/public/other-index.html: -------------------------------------------------------------------------------- 1 | /other-index.html -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/all_types_with_layout.html.erb: -------------------------------------------------------------------------------- 1 | HTML for all_types_with_layout -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb: -------------------------------------------------------------------------------- 1 | Mobile -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/iphone_with_html_response_type.html.erb: -------------------------------------------------------------------------------- 1 | Hello future from <%= @type -%>! -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb: -------------------------------------------------------------------------------- 1 | Hello iPhone future from <%= @type -%>! -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/layouts/missing.html.erb: -------------------------------------------------------------------------------- 1 | <html><div id="html_missing"><%= yield %></div></html> -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/layouts/standard.html.erb: -------------------------------------------------------------------------------- 1 | <html><div id="html"><%= yield %></div></html> -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/layouts/standard.iphone.erb: -------------------------------------------------------------------------------- 1 | <html><div id="iphone"><%= yield %></div></html> -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/using_defaults.html.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/using_defaults.xml.builder: -------------------------------------------------------------------------------- 1 | xml.p "Hello world!" 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/using_defaults_with_all.html.erb: -------------------------------------------------------------------------------- 1 | HTML! 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/using_defaults_with_type_list.html.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder: -------------------------------------------------------------------------------- 1 | xml.p "Hello world!" 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/variant_any_implicit_render.html+phablet.erb: -------------------------------------------------------------------------------- 1 | phablet -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/variant_any_implicit_render.html+tablet.erb: -------------------------------------------------------------------------------- 1 | tablet -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/variant_inline_syntax_without_block.html+phone.erb: -------------------------------------------------------------------------------- 1 | phone -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/variant_plus_none_for_format.html.erb: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /actionpack/test/fixtures/respond_to/variant_with_implicit_template_rendering.html+mobile.erb: -------------------------------------------------------------------------------- 1 | mobile -------------------------------------------------------------------------------- /actionpack/test/fixtures/ruby_template.ruby: -------------------------------------------------------------------------------- 1 | body = +"" 2 | body << ["Hello", "from", "Ruby", "code"].join(" ") 3 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/shared.html.erb: -------------------------------------------------------------------------------- 1 | Elastica -------------------------------------------------------------------------------- /actionpack/test/fixtures/star_star_mime/index.js.erb: -------------------------------------------------------------------------------- 1 | function addition(a,b){ return a+b; } 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/test/_partial.erb: -------------------------------------------------------------------------------- 1 | invalid -------------------------------------------------------------------------------- /actionpack/test/fixtures/test/_partial.html.erb: -------------------------------------------------------------------------------- 1 | partial html -------------------------------------------------------------------------------- /actionpack/test/fixtures/test/_partial.js.erb: -------------------------------------------------------------------------------- 1 | partial js -------------------------------------------------------------------------------- /actionpack/test/fixtures/test/dot.directory/render_file_with_ivar.erb: -------------------------------------------------------------------------------- 1 | The secret is <%= @secret %> 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/test/formatted_xml_erb.xml.erb: -------------------------------------------------------------------------------- 1 | <test>passed formatted xml erb</test> -------------------------------------------------------------------------------- /actionpack/test/fixtures/test/hello/hello.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /actionpack/test/fixtures/test/hello_world.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /actionpack/test/fixtures/test/hello_world_with_partial.html.erb: -------------------------------------------------------------------------------- 1 | Hello world! 2 | <%= render '/test/partial' %> 3 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/test/implicit_content_type.atom.builder: -------------------------------------------------------------------------------- 1 | xml.atom do 2 | end 3 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/test/render_file_with_ivar.erb: -------------------------------------------------------------------------------- 1 | The secret is <%= @secret %> 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/test/render_file_with_locals.erb: -------------------------------------------------------------------------------- 1 | The secret is <%= secret %> 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/test/with_implicit_template.erb: -------------------------------------------------------------------------------- 1 | Hello explicitly! 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/公共/bar.html: -------------------------------------------------------------------------------- 1 | /bar.html -------------------------------------------------------------------------------- /actionpack/test/fixtures/公共/bar/index.html: -------------------------------------------------------------------------------- 1 | /bar/index.html -------------------------------------------------------------------------------- /actionpack/test/fixtures/公共/foo/bar.html: -------------------------------------------------------------------------------- 1 | /foo/bar.html -------------------------------------------------------------------------------- /actionpack/test/fixtures/公共/foo/baz.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #000; 3 | } 4 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/公共/foo/index.html: -------------------------------------------------------------------------------- 1 | /foo/index.html -------------------------------------------------------------------------------- /actionpack/test/fixtures/公共/foo/other-index.html: -------------------------------------------------------------------------------- 1 | /foo/other-index.html -------------------------------------------------------------------------------- /actionpack/test/fixtures/公共/foo/こんにちは.html: -------------------------------------------------------------------------------- 1 | means hello in Japanese 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/公共/foo/さようなら.html: -------------------------------------------------------------------------------- 1 | means goodbye in Japanese 2 | -------------------------------------------------------------------------------- /actionpack/test/fixtures/公共/foo/さようなら.html.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionpack/test/fixtures/公共/foo/さようなら.html.gz -------------------------------------------------------------------------------- /actionpack/test/fixtures/公共/gzip/foo.zoo.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionpack/test/fixtures/公共/gzip/foo.zoo.gz -------------------------------------------------------------------------------- /actionpack/test/fixtures/公共/index.html: -------------------------------------------------------------------------------- 1 | /index.html -------------------------------------------------------------------------------- /actionpack/test/fixtures/公共/other-index.html: -------------------------------------------------------------------------------- 1 | /other-index.html -------------------------------------------------------------------------------- /actionpack/test/journey/nodes/symbol_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionpack/test/journey/nodes/symbol_test.rb -------------------------------------------------------------------------------- /actiontext/app/assets/javascripts/.gitattributes: -------------------------------------------------------------------------------- 1 | actiontext.js linguist-generated 2 | actiontext.esm.js linguist-generated 3 | -------------------------------------------------------------------------------- /actiontext/app/views/action_text/attachables/_content_attachment.html.erb: -------------------------------------------------------------------------------- 1 | <figure class="attachment attachment--content"> 2 | <%= content_attachment.attachable %> 3 | </figure> 4 | -------------------------------------------------------------------------------- /actiontext/app/views/action_text/attachables/_missing_attachable.html.erb: -------------------------------------------------------------------------------- 1 | <%= "☒" -%> 2 | -------------------------------------------------------------------------------- /actiontext/app/views/action_text/contents/_content.html.erb: -------------------------------------------------------------------------------- 1 | <%= render_action_text_content(content) %> 2 | -------------------------------------------------------------------------------- /actiontext/app/views/layouts/action_text/contents/_content.html.erb: -------------------------------------------------------------------------------- 1 | <div class="trix-content"> 2 | <%= yield -%> 3 | </div> 4 | -------------------------------------------------------------------------------- /actiontext/bin/test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | COMPONENT_ROOT = File.expand_path("..", __dir__) 5 | require_relative "../../tools/test" 6 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/assets/config/manifest.js: -------------------------------------------------------------------------------- 1 | //= link_tree ../images 2 | //= link_directory ../stylesheets .css 3 | //= link_tree ../../javascript .js 4 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/assets/images/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actiontext/test/dummy/app/assets/images/.keep -------------------------------------------------------------------------------- /actiontext/test/dummy/app/channels/application_cable/channel.rb: -------------------------------------------------------------------------------- 1 | module ApplicationCable 2 | class Channel < ActionCable::Channel::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/channels/application_cable/connection.rb: -------------------------------------------------------------------------------- 1 | module ApplicationCable 2 | class Connection < ActionCable::Connection::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actiontext/test/dummy/app/controllers/concerns/.keep -------------------------------------------------------------------------------- /actiontext/test/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/helpers/messages_helper.rb: -------------------------------------------------------------------------------- 1 | module MessagesHelper 2 | end 3 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/javascript/application.js: -------------------------------------------------------------------------------- 1 | import "trix" 2 | import "@rails/actiontext" 3 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- 1 | class ApplicationMailer < ActionMailer::Base 2 | default from: "from@example.com" 3 | layout "mailer" 4 | end 5 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/models/application_record.rb: -------------------------------------------------------------------------------- 1 | class ApplicationRecord < ActiveRecord::Base 2 | primary_abstract_class 3 | end 4 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/models/concerns/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actiontext/test/dummy/app/models/concerns/.keep -------------------------------------------------------------------------------- /actiontext/test/dummy/app/models/encrypted_message.rb: -------------------------------------------------------------------------------- 1 | class EncryptedMessage < Message 2 | has_rich_text :content, encrypted: true 3 | end -------------------------------------------------------------------------------- /actiontext/test/dummy/app/models/page.rb: -------------------------------------------------------------------------------- 1 | class Page < ApplicationRecord 2 | include ActionText::Attachable 3 | end 4 | 5 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/models/review.rb: -------------------------------------------------------------------------------- 1 | class Review < ApplicationRecord 2 | belongs_to :message 3 | 4 | has_rich_text :content 5 | end 6 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/views/messages/edit.json.erb: -------------------------------------------------------------------------------- 1 | { 2 | "id": <%= @message.id %>, 3 | "form": "<%= j render partial: "form", formats: :html, locals: { message: @message } %>" 4 | } 5 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/views/messages/new.html.erb: -------------------------------------------------------------------------------- 1 | <h1>New Message</h1> 2 | 3 | <%= render 'form', message: @message %> 4 | 5 | <%= link_to 'Back', messages_path %> 6 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/views/messages/show.json.erb: -------------------------------------------------------------------------------- 1 | { 2 | "id": <%= @message.id %>, 3 | "subject": "<%= j @message.subject %>", 4 | "content": "<%= j @message.content %>" 5 | } 6 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/views/messages_mailer/notification.html.erb: -------------------------------------------------------------------------------- 1 | <div id="message-content"><%= @message.content %></div> 2 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/views/people/_attachable.html.erb: -------------------------------------------------------------------------------- 1 | <span class="mentioned-person"><%= person.name %></span> 2 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/views/people/_missing_attachable.html.erb: -------------------------------------------------------------------------------- 1 | <span class="missing-attachable">Missing person</span> 2 | -------------------------------------------------------------------------------- /actiontext/test/dummy/app/views/people/_trix_content_attachment.html.erb: -------------------------------------------------------------------------------- 1 | <span class="mentionable-person" gid="<%= person.to_gid %>"> 2 | <%= person.name %> 3 | </span> 4 | -------------------------------------------------------------------------------- /actiontext/test/dummy/bin/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | APP_PATH = File.expand_path("../config/application", __dir__) 3 | require_relative "../config/boot" 4 | require "rails/commands" 5 | -------------------------------------------------------------------------------- /actiontext/test/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative "../config/boot" 3 | require "rake" 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /actiontext/test/dummy/config/environment.rb: -------------------------------------------------------------------------------- 1 | # Load the Rails application. 2 | require_relative "application" 3 | 4 | # Initialize the Rails application. 5 | Rails.application.initialize! 6 | -------------------------------------------------------------------------------- /actiontext/test/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | resources :messages 3 | 4 | namespace :admin do 5 | resources :messages, only: [:show] 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /actiontext/test/dummy/lib/assets/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actiontext/test/dummy/lib/assets/.keep -------------------------------------------------------------------------------- /actiontext/test/dummy/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actiontext/test/dummy/log/.keep -------------------------------------------------------------------------------- /actiontext/test/dummy/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actiontext/test/dummy/public/apple-touch-icon.png -------------------------------------------------------------------------------- /actiontext/test/dummy/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actiontext/test/dummy/public/favicon.ico -------------------------------------------------------------------------------- /actiontext/test/dummy/storage/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actiontext/test/dummy/storage/.keep -------------------------------------------------------------------------------- /actiontext/test/dummy/tmp/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actiontext/test/dummy/tmp/.keep -------------------------------------------------------------------------------- /actiontext/test/dummy/tmp/storage/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actiontext/test/dummy/tmp/storage/.keep -------------------------------------------------------------------------------- /actiontext/test/fixtures/files/racecar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actiontext/test/fixtures/files/racecar.jpg -------------------------------------------------------------------------------- /actiontext/test/fixtures/messages.yml: -------------------------------------------------------------------------------- 1 | hello_alice: 2 | subject: "A message to Alice" 3 | 4 | hello_world: 5 | subject: "A greeting" 6 | -------------------------------------------------------------------------------- /actiontext/test/fixtures/people.yml: -------------------------------------------------------------------------------- 1 | alice: 2 | name: "Alice" 3 | -------------------------------------------------------------------------------- /actiontext/test/fixtures/reviews.yml: -------------------------------------------------------------------------------- 1 | hello_world: 2 | message: $LABEL 3 | author_name: "Ruby" 4 | -------------------------------------------------------------------------------- /actionview/.gitignore: -------------------------------------------------------------------------------- 1 | /lib/assets/compiled/ 2 | /log/ 3 | /test/fixtures/public/absolute/ 4 | /tmp/ 5 | -------------------------------------------------------------------------------- /actionview/app/assets/javascripts/.gitattributes: -------------------------------------------------------------------------------- 1 | rails-ujs.js linguist-generated 2 | rails-ujs.esm.js linguist-generated 3 | -------------------------------------------------------------------------------- /actionview/bin/test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | COMPONENT_ROOT = File.expand_path("..", __dir__) 5 | require_relative "../../tools/test" 6 | -------------------------------------------------------------------------------- /actionview/test/actionpack/abstract/views/abstract_controller/testing/me3/formatted.html.erb: -------------------------------------------------------------------------------- 1 | Hello from me3/formatted.html.erb -------------------------------------------------------------------------------- /actionview/test/actionpack/abstract/views/abstract_controller/testing/me3/index.erb: -------------------------------------------------------------------------------- 1 | Hello from me3/index.erb -------------------------------------------------------------------------------- /actionview/test/actionpack/abstract/views/abstract_controller/testing/me4/index.erb: -------------------------------------------------------------------------------- 1 | Hello from me4/index.erb -------------------------------------------------------------------------------- /actionview/test/actionpack/abstract/views/action_with_ivars.erb: -------------------------------------------------------------------------------- 1 | <%= @my_ivar %> from index_with_ivars.erb -------------------------------------------------------------------------------- /actionview/test/actionpack/abstract/views/helper_test.erb: -------------------------------------------------------------------------------- 1 | Hello <%= helpery_test %> : <%= included_method %> -------------------------------------------------------------------------------- /actionview/test/actionpack/abstract/views/index.erb: -------------------------------------------------------------------------------- 1 | Hello from index.erb -------------------------------------------------------------------------------- /actionview/test/actionpack/abstract/views/layouts/abstract_controller/testing/me4.erb: -------------------------------------------------------------------------------- 1 | Me4 Enter : <%= yield %> : Exit -------------------------------------------------------------------------------- /actionview/test/actionpack/abstract/views/layouts/application.erb: -------------------------------------------------------------------------------- 1 | Application Enter : <%= yield %> : Exit -------------------------------------------------------------------------------- /actionview/test/actionpack/abstract/views/naked_render.erb: -------------------------------------------------------------------------------- 1 | Hello from naked_render.erb -------------------------------------------------------------------------------- /actionview/test/actionpack/abstract/views/with_final_newline.erb: -------------------------------------------------------------------------------- 1 | Hello from with_final_newline.erb 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/_top_level_partial.html.erb: -------------------------------------------------------------------------------- 1 | top level partial html -------------------------------------------------------------------------------- /actionview/test/fixtures/_top_level_partial_only.erb: -------------------------------------------------------------------------------- 1 | top level partial -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/bad_customers/_bad_customer.html.erb: -------------------------------------------------------------------------------- 1 | <%= greeting %> bad customer: <%= bad_customer.name %><%= bad_customer_counter %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/customers/_customer.html.erb: -------------------------------------------------------------------------------- 1 | <%= greeting %>: <%= customer.name %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/fun/games/_form.erb: -------------------------------------------------------------------------------- 1 | <%= form.label :title %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/fun/games/hello_world.erb: -------------------------------------------------------------------------------- 1 | Living in a nested world -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/good_customers/_good_customer.html.erb: -------------------------------------------------------------------------------- 1 | <%= greeting %> good customer: <%= good_customer.name %><%= good_customer_counter %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/hello.html: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layout_tests/alt/layouts/alt.erb: -------------------------------------------------------------------------------- 1 | alt.erb 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layout_tests/layouts/controller_name_space/nested.erb: -------------------------------------------------------------------------------- 1 | controller_name_space/nested.erb <%= yield %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layout_tests/layouts/item.erb: -------------------------------------------------------------------------------- 1 | item.erb <%= yield %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layout_tests/layouts/layout_test.erb: -------------------------------------------------------------------------------- 1 | layout_test.erb <%= yield %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layout_tests/layouts/multiple_extensions.html.erb: -------------------------------------------------------------------------------- 1 | multiple_extensions.html.erb <%= yield %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layout_tests/layouts/symlinked/symlinked_layout.erb: -------------------------------------------------------------------------------- 1 | This is my layout 2 | 3 | <%= yield %> 4 | 5 | End. 6 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layout_tests/layouts/third_party_template_library.mab: -------------------------------------------------------------------------------- 1 | layouts/third_party_template_library.mab -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layout_tests/views/goodbye.erb: -------------------------------------------------------------------------------- 1 | hello.erb -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layout_tests/views/hello.erb: -------------------------------------------------------------------------------- 1 | hello.erb -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layouts/_column.html.erb: -------------------------------------------------------------------------------- 1 | <div id="column"><%= yield :column %></div> 2 | <div id="content"><%= yield %></div> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layouts/_customers.erb: -------------------------------------------------------------------------------- 1 | <title><%= yield Struct.new(:name).new("David") %></title> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layouts/_partial_and_yield.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: 'test/partial' %> 2 | <%= yield %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layouts/_yield_only.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layouts/_yield_with_params.erb: -------------------------------------------------------------------------------- 1 | <%= yield 'Yield!' %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layouts/builder.builder: -------------------------------------------------------------------------------- 1 | xml.wrapper do 2 | xml << yield 3 | end 4 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layouts/standard.html.erb: -------------------------------------------------------------------------------- 1 | <html><%= yield %><%= @variable_for_layout %></html> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layouts/standard.text.erb: -------------------------------------------------------------------------------- 1 | {{<%= yield %><%= @variable_for_layout %>}} 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layouts/streaming.erb: -------------------------------------------------------------------------------- 1 | <%= yield :header -%> 2 | <%= yield -%> 3 | <%= yield :footer -%> 4 | <%= yield(:unknown).presence || "." -%> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layouts/talk_from_action.erb: -------------------------------------------------------------------------------- 1 | <title><%= @title || yield(:title) %></title> 2 | <%= yield -%> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layouts/with_html_partial.html.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: "partial_only_html" %><%= yield %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layouts/xhr.html.erb: -------------------------------------------------------------------------------- 1 | XHR! 2 | <%= yield %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layouts/yield.erb: -------------------------------------------------------------------------------- 1 | <title><%= yield :title %></title> 2 | <%= yield %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layouts/yield_with_render_inline_inside.erb: -------------------------------------------------------------------------------- 1 | <%= render inline: 'welcome' %> 2 | <%= yield %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/layouts/yield_with_render_partial_inside.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: 'test/partial' %> 2 | <%= yield %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/quiz/questions/_question.html.erb: -------------------------------------------------------------------------------- 1 | <%= question.name %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/shared.html.erb: -------------------------------------------------------------------------------- 1 | Elastica -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_changing_priority.html.erb: -------------------------------------------------------------------------------- 1 | HTML -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_changing_priority.json.erb: -------------------------------------------------------------------------------- 1 | JSON -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_counter.html.erb: -------------------------------------------------------------------------------- 1 | <%= counter_counter %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_customer.erb: -------------------------------------------------------------------------------- 1 | Hello: <%= customer.name rescue "Anonymous" %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_customer_counter.erb: -------------------------------------------------------------------------------- 1 | <%= customer_counter.name %><%= customer_counter_counter %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_customer_counter_with_as.erb: -------------------------------------------------------------------------------- 1 | <%= client.name %><%= client_counter %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_customer_greeting.erb: -------------------------------------------------------------------------------- 1 | <%= greeting %>: <%= customer_greeting.name %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_customer_with_var.erb: -------------------------------------------------------------------------------- 1 | <%= customer.name %> <%= customer.name %> <%= customer.name %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_directory/_partial_with_locales.html.erb: -------------------------------------------------------------------------------- 1 | Hello <%= name %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_first_json_partial.json.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: "test/second_json_partial" %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_form.erb: -------------------------------------------------------------------------------- 1 | <%= form.label :title %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_hash_greeting.erb: -------------------------------------------------------------------------------- 1 | <%= greeting %>: <%= hash_greeting[:first_name] %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_hash_object.erb: -------------------------------------------------------------------------------- 1 | <%= hash_object[:first_name] %> 2 | <%= hash_object[:first_name].reverse %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_hello.builder: -------------------------------------------------------------------------------- 1 | xm.hello 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_labelling_form.erb: -------------------------------------------------------------------------------- 1 | <%= labelling_form.label :title %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_layout_for_partial.html.erb: -------------------------------------------------------------------------------- 1 | Before (<%= name %>) 2 | <%= yield %> 3 | After -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_partial.erb: -------------------------------------------------------------------------------- 1 | invalid -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_partial.html.erb: -------------------------------------------------------------------------------- 1 | partial html -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_partial.js.erb: -------------------------------------------------------------------------------- 1 | partial js -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_partial_for_use_in_layout.html.erb: -------------------------------------------------------------------------------- 1 | Inside from partial (<%= name %>) -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_partial_html_erb.html.erb: -------------------------------------------------------------------------------- 1 | <%= "partial.html.erb" %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_partial_name_local_variable.erb: -------------------------------------------------------------------------------- 1 | <%= partial_name_local_variable %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_partial_only.erb: -------------------------------------------------------------------------------- 1 | only partial -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_partial_only_html.html: -------------------------------------------------------------------------------- 1 | only HTML partial -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_partial_with_partial.erb: -------------------------------------------------------------------------------- 1 | <%= render 'test/partial' %> 2 | partial with partial 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_person.erb: -------------------------------------------------------------------------------- 1 | Second: <%= name %> 2 | Third: <%= @name %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/_second_json_partial.json.erb: -------------------------------------------------------------------------------- 1 | Third level -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/action_talk_to_layout.erb: -------------------------------------------------------------------------------- 1 | <% @title = "Talking to the layout" -%> 2 | Action was here! -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/capturing.erb: -------------------------------------------------------------------------------- 1 | <% days = capture do %> 2 | Dreamy days 3 | <% end %> 4 | <%= days %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/content_for.erb: -------------------------------------------------------------------------------- 1 | <% content_for :title do -%>Putting stuff in the title!<% end -%>Great stuff! -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/content_for_concatenated.erb: -------------------------------------------------------------------------------- 1 | <% content_for :title, "Putting stuff " 2 | content_for :title, "in the title!" -%> 3 | Great stuff! -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/content_for_with_parameter.erb: -------------------------------------------------------------------------------- 1 | <% content_for :title, "Putting stuff in the title!" -%> 2 | Great stuff! -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/dot.directory/render_template_with_ivar.erb: -------------------------------------------------------------------------------- 1 | The secret is <%= @secret %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/formatted_html_erb.html.erb: -------------------------------------------------------------------------------- 1 | formatted HTML erb -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/formatted_xml_erb.builder: -------------------------------------------------------------------------------- 1 | xml.test "failed" 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/formatted_xml_erb.html.erb: -------------------------------------------------------------------------------- 1 | <test>passed formatted HTML erb</test> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/formatted_xml_erb.xml.erb: -------------------------------------------------------------------------------- 1 | <test>passed formatted xml erb</test> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/greeting.html.erb: -------------------------------------------------------------------------------- 1 | <p>This is grand!</p> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/greeting.xml.erb: -------------------------------------------------------------------------------- 1 | <p>This is grand!</p> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/hello,world.erb: -------------------------------------------------------------------------------- 1 | Hello w*rld! -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/hello.builder: -------------------------------------------------------------------------------- 1 | xml.html do 2 | xml.p "Hello #{@name}" 3 | xml << render(template: "test/greeting") 4 | end 5 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/hello/hello.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/hello_world.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/hello_world_container.builder: -------------------------------------------------------------------------------- 1 | xml.test do 2 | render partial: "hello", locals: { xm: xml } 3 | end 4 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/hello_world_from_rxml.builder: -------------------------------------------------------------------------------- 1 | xml.html do 2 | xml.p "Hello" 3 | end 4 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/hello_world_with_layout_false.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/hello_world_with_partial.html.erb: -------------------------------------------------------------------------------- 1 | Hello world! 2 | <%= render '/test/partial' %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/html_template.html.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: "test/first_json_partial", formats: :json %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/hyphen-ated.erb: -------------------------------------------------------------------------------- 1 | hyphen-ated.erb -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/implicit_content_type.atom.builder: -------------------------------------------------------------------------------- 1 | xml.atom do 2 | end 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/list.erb: -------------------------------------------------------------------------------- 1 | <%= @test_unchanged = 'goodbye' %><%= render partial: 'customer', collection: @customers %><%= @test_unchanged %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/non_erb_block_content_for.builder: -------------------------------------------------------------------------------- 1 | content_for :title do 2 | "Putting stuff in the title!" 3 | end 4 | xml << "Great stuff!" 5 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/proper_block_detection.erb: -------------------------------------------------------------------------------- 1 | <%= @todo %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/raise.html.erb: -------------------------------------------------------------------------------- 1 | <% raise %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/render_file_from_template.html.erb: -------------------------------------------------------------------------------- 1 | <%= render file: @path %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/render_file_with_locals_and_default.erb: -------------------------------------------------------------------------------- 1 | <%= secret ||= 'one' %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/render_implicit_html_template_from_xhr_request.da.html.erb: -------------------------------------------------------------------------------- 1 | Hey HTML! 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/render_implicit_html_template_from_xhr_request.html.erb: -------------------------------------------------------------------------------- 1 | Hello HTML! -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/render_implicit_js_template_without_layout.js.erb: -------------------------------------------------------------------------------- 1 | alert('hello'); -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/render_partial_inside_directory.html.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: 'test/_directory/partial_with_locales', locals: {'name' => 'Jane'} %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/render_template_with_ivar.erb: -------------------------------------------------------------------------------- 1 | The secret is <%= @secret %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/render_template_with_locals.erb: -------------------------------------------------------------------------------- 1 | The secret is <%= secret %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/render_to_string_test.erb: -------------------------------------------------------------------------------- 1 | The value of foo is: ::<%= @foo %>:: 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/using_layout_around_block.html.erb: -------------------------------------------------------------------------------- 1 | <%= render(:layout => "layout_for_partial", :locals => { :name => "David" }) do %>Inside from block<% end %> -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/with_html_partial.html.erb: -------------------------------------------------------------------------------- 1 | <strong><%= render partial: "partial_only_html" %></strong> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/with_partial.html.erb: -------------------------------------------------------------------------------- 1 | <strong><%= render partial: "partial_only" %></strong> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/with_partial.text.erb: -------------------------------------------------------------------------------- 1 | **<%= render partial: "partial_only" %>** 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/actionpack/test/with_xml_template.html.erb: -------------------------------------------------------------------------------- 1 | <%= render template: "test/greeting", formats: :xml %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/comments/empty.de.html.erb: -------------------------------------------------------------------------------- 1 | <h1>Kein Kommentar</h1> -------------------------------------------------------------------------------- /actionview/test/fixtures/comments/empty.html+grid.erb: -------------------------------------------------------------------------------- 1 | <h1>No Comment</h1> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/comments/empty.html.builder: -------------------------------------------------------------------------------- 1 | xml.h1 "No Comment" 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/comments/empty.html.erb: -------------------------------------------------------------------------------- 1 | <h1>No Comment</h1> -------------------------------------------------------------------------------- /actionview/test/fixtures/comments/empty.xml.erb: -------------------------------------------------------------------------------- 1 | <error>No Comment</error> -------------------------------------------------------------------------------- /actionview/test/fixtures/customers/_customer.html.erb: -------------------------------------------------------------------------------- 1 | <%= greeting %>: <%= customer.name %> -------------------------------------------------------------------------------- /actionview/test/fixtures/customers/_customer.xml.erb: -------------------------------------------------------------------------------- 1 | <greeting><%= greeting %></greeting><name><%= customer.name %></name> -------------------------------------------------------------------------------- /actionview/test/fixtures/developers/_developer.html.erb: -------------------------------------------------------------------------------- 1 | <%= developer.name %> -------------------------------------------------------------------------------- /actionview/test/fixtures/developers/_developer.json.ruby: -------------------------------------------------------------------------------- 1 | { name: developer.name }.to_json 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/developers/_developer_with_h1.erb: -------------------------------------------------------------------------------- 1 | <h1 id="name"><%= developer.name %></h1> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/digestor/api/comments/_comment.json.erb: -------------------------------------------------------------------------------- 1 | {"content": "Great story!"} 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/digestor/api/comments/_comments.json.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: "comments/comment", collection: commentable.comments %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/digestor/comments/_comment.html.erb: -------------------------------------------------------------------------------- 1 | Great story! 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/digestor/comments/_comments.html.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: "comments/comment", collection: commentable.comments %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/digestor/comments/_cycle_a.html.erb: -------------------------------------------------------------------------------- 1 | <% if some_condition %> 2 | <%= render partial: "cycle_b" %> 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionview/test/fixtures/digestor/comments/_cycle_b.html.erb: -------------------------------------------------------------------------------- 1 | <% if some_other_condition %> 2 | <%= render partial: "cycle_a" %> 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionview/test/fixtures/digestor/comments/cycle.html.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: "cycle_a" %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/digestor/comments/show.js.erb: -------------------------------------------------------------------------------- 1 | alert("<%=j render("comments/comment") %>") 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/digestor/events/index.html.erb: -------------------------------------------------------------------------------- 1 | <% # Template Dependency: events/* %> -------------------------------------------------------------------------------- /actionview/test/fixtures/digestor/level/_recursion.html.erb: -------------------------------------------------------------------------------- 1 | <%= render 'recursion' %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/digestor/level/below/index.html.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: "header" %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/digestor/level/recursion.html.erb: -------------------------------------------------------------------------------- 1 | <%= render 'recursion' %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/digestor/messages/_message.html.erb: -------------------------------------------------------------------------------- 1 | THIS BE WHERE THEM MESSAGE GO, YO! -------------------------------------------------------------------------------- /actionview/test/fixtures/digestor/messages/index.html.erb: -------------------------------------------------------------------------------- 1 | <%= render @messages %> 2 | <%= render @events %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/digestor/messages/peek.html.erb: -------------------------------------------------------------------------------- 1 | <%# Template Dependency: messages/message %> 2 | <%= render "comments/comments" %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/digestor/messages/thread.json.erb: -------------------------------------------------------------------------------- 1 | <%= render "comments/comments" %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/fun/games/_game.erb: -------------------------------------------------------------------------------- 1 | Fun <%= game.name %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/fun/games/hello_world.erb: -------------------------------------------------------------------------------- 1 | Living in a nested world -------------------------------------------------------------------------------- /actionview/test/fixtures/fun/serious/games/_game.erb: -------------------------------------------------------------------------------- 1 | Serious <%= game.name %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/games/_game.erb: -------------------------------------------------------------------------------- 1 | Just <%= game.name %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/good_customers/_good_customer.html.erb: -------------------------------------------------------------------------------- 1 | <%= greeting %> good customer: <%= good_customer.name %><%= good_customer_counter %> -------------------------------------------------------------------------------- /actionview/test/fixtures/helpers/abc_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module AbcHelper 4 | def bare_a() end 5 | end 6 | -------------------------------------------------------------------------------- /actionview/test/fixtures/helpers/helpery_test_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module HelperyTestHelper 4 | def helpery_test 5 | "Default" 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /actionview/test/fixtures/layout_tests/alt/hello.erb: -------------------------------------------------------------------------------- 1 | alt/hello.erb 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/layouts/_column.html.erb: -------------------------------------------------------------------------------- 1 | <div id="column"><%= yield :column %></div> 2 | <div id="content"><%= yield %></div> -------------------------------------------------------------------------------- /actionview/test/fixtures/layouts/_customers.erb: -------------------------------------------------------------------------------- 1 | <title><%= yield Struct.new(:name).new("David") %></title> -------------------------------------------------------------------------------- /actionview/test/fixtures/layouts/_partial_and_yield.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: 'test/partial' %> 2 | <%= yield %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/layouts/_yield_only.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/layouts/_yield_with_params.erb: -------------------------------------------------------------------------------- 1 | <%= yield 'Yield!' %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/layouts/render_partial_html.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: 'test/partialhtml' %> 2 | <%= yield %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/layouts/streaming.erb: -------------------------------------------------------------------------------- 1 | <%= yield :header -%> 2 | <%= yield -%> 3 | <%= yield :footer -%> 4 | <%= yield(:unknown).presence || "." -%> -------------------------------------------------------------------------------- /actionview/test/fixtures/layouts/streaming_with_locale.erb: -------------------------------------------------------------------------------- 1 | layout.locale: <%= I18n.locale %> 2 | <%= yield %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/layouts/yield.erb: -------------------------------------------------------------------------------- 1 | <title><%= yield :title %></title> 2 | <%= yield %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/layouts/yield_with_render_inline_inside.erb: -------------------------------------------------------------------------------- 1 | <%= render inline: 'welcome' %> 2 | <%= yield %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/layouts/yield_with_render_partial_inside.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: 'test/partial' %> 2 | <%= yield %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/mascot.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Mascot < ActiveRecord::Base 4 | belongs_to :company 5 | end 6 | -------------------------------------------------------------------------------- /actionview/test/fixtures/mascots.yml: -------------------------------------------------------------------------------- 1 | upload_bird: 2 | id: 1 3 | company_id: 1 4 | name: The Upload Bird -------------------------------------------------------------------------------- /actionview/test/fixtures/mascots/_mascot.html.erb: -------------------------------------------------------------------------------- 1 | <%= mascot.name %> -------------------------------------------------------------------------------- /actionview/test/fixtures/override/test/hello_world.erb: -------------------------------------------------------------------------------- 1 | Hello overridden world! -------------------------------------------------------------------------------- /actionview/test/fixtures/override2/layouts/test/sub.erb: -------------------------------------------------------------------------------- 1 | layout: <%= yield %> -------------------------------------------------------------------------------- /actionview/test/fixtures/plain_text.raw: -------------------------------------------------------------------------------- 1 | <%= hello_world %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/plain_text_with_characters.raw: -------------------------------------------------------------------------------- 1 | Here are some characters: !@#$%^&*()-="'}{` 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/projects.yml: -------------------------------------------------------------------------------- 1 | action_controller: 2 | id: 2 3 | name: Active Controller 4 | 5 | active_record: 6 | id: 1 7 | name: Active Record 8 | -------------------------------------------------------------------------------- /actionview/test/fixtures/projects/_project.erb: -------------------------------------------------------------------------------- 1 | <%= project.name %> -------------------------------------------------------------------------------- /actionview/test/fixtures/public/elsewhere/cools.js: -------------------------------------------------------------------------------- 1 | // cools.js -------------------------------------------------------------------------------- /actionview/test/fixtures/public/elsewhere/file.css: -------------------------------------------------------------------------------- 1 | /*file.css*/ -------------------------------------------------------------------------------- /actionview/test/fixtures/public/foo/baz.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #000; 3 | } 4 | -------------------------------------------------------------------------------- /actionview/test/fixtures/public/javascripts/application.js: -------------------------------------------------------------------------------- 1 | // application js -------------------------------------------------------------------------------- /actionview/test/fixtures/public/javascripts/bank.js: -------------------------------------------------------------------------------- 1 | // bank js -------------------------------------------------------------------------------- /actionview/test/fixtures/public/javascripts/common.javascript: -------------------------------------------------------------------------------- 1 | // common.javascript -------------------------------------------------------------------------------- /actionview/test/fixtures/public/javascripts/controls.js: -------------------------------------------------------------------------------- 1 | // controls js -------------------------------------------------------------------------------- /actionview/test/fixtures/public/javascripts/dragdrop.js: -------------------------------------------------------------------------------- 1 | // dragdrop js -------------------------------------------------------------------------------- /actionview/test/fixtures/public/javascripts/effects.js: -------------------------------------------------------------------------------- 1 | // effects js -------------------------------------------------------------------------------- /actionview/test/fixtures/public/javascripts/prototype.js: -------------------------------------------------------------------------------- 1 | // prototype js -------------------------------------------------------------------------------- /actionview/test/fixtures/public/javascripts/robber.js: -------------------------------------------------------------------------------- 1 | // robber js -------------------------------------------------------------------------------- /actionview/test/fixtures/public/javascripts/subdir/subdir.js: -------------------------------------------------------------------------------- 1 | // subdir js 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/public/javascripts/version.1.0.js: -------------------------------------------------------------------------------- 1 | // version.1.0 js -------------------------------------------------------------------------------- /actionview/test/fixtures/public/stylesheets/bank.css: -------------------------------------------------------------------------------- 1 | /* bank.css */ -------------------------------------------------------------------------------- /actionview/test/fixtures/public/stylesheets/random.styles: -------------------------------------------------------------------------------- 1 | /* random.styles */ -------------------------------------------------------------------------------- /actionview/test/fixtures/public/stylesheets/robber.css: -------------------------------------------------------------------------------- 1 | /* robber.css */ -------------------------------------------------------------------------------- /actionview/test/fixtures/public/stylesheets/subdir/subdir.css: -------------------------------------------------------------------------------- 1 | /* subdir.css */ 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/public/stylesheets/version.1.0.css: -------------------------------------------------------------------------------- 1 | /* version.1.0.css */ -------------------------------------------------------------------------------- /actionview/test/fixtures/replies/_reply.erb: -------------------------------------------------------------------------------- 1 | <%= reply.content %> -------------------------------------------------------------------------------- /actionview/test/fixtures/respond_to/using_defaults_with_all.html.erb: -------------------------------------------------------------------------------- 1 | HTML! 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/ruby_template.ruby: -------------------------------------------------------------------------------- 1 | body = +"" 2 | body << ["Hello", "from", "Ruby", "code"].join(" ") 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/shared.html.erb: -------------------------------------------------------------------------------- 1 | Elastica -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_200.html.erb: -------------------------------------------------------------------------------- 1 | <h1>Invalid partial</h1> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_FooBar.html.erb: -------------------------------------------------------------------------------- 1 | 🍣 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_a-in.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/actionview/test/fixtures/test/_a-in.html.erb -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_b_layout_for_partial.html.erb: -------------------------------------------------------------------------------- 1 | <b><%= yield %></b> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_b_layout_for_partial_with_object.html.erb: -------------------------------------------------------------------------------- 1 | <b class="<%= customer.name.downcase %>"><%= yield %></b> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_b_layout_for_partial_with_object_counter.html.erb: -------------------------------------------------------------------------------- 1 | <b data-counter="<%= customer_counter %>"><%= yield %></b> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_builder_tag_nested_in_content_tag.erb: -------------------------------------------------------------------------------- 1 | <%= tag.p do %> 2 | <%= tag.b 'Hello' %> 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_cached_customer.erb: -------------------------------------------------------------------------------- 1 | <% cache cached_customer do %> 2 | Hello: <%= cached_customer.name %> 3 | <% end %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_cached_customer_as.erb: -------------------------------------------------------------------------------- 1 | <% cache buyer do %> 2 | <%= greeting %>: <%= customer.name %> 3 | <% end %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_cached_set.erb: -------------------------------------------------------------------------------- 1 | <%= cached_set.first %> | <%= cached_set.second %> | <%= cached_set.third %> | <%= cached_set.fourth %> | <%= cached_set.fifth %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_changing_priority.html.erb: -------------------------------------------------------------------------------- 1 | HTML -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_changing_priority.json.erb: -------------------------------------------------------------------------------- 1 | JSON -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_content_tag_nested_in_content_tag.erb: -------------------------------------------------------------------------------- 1 | <%= content_tag 'p' do %> 2 | <%= content_tag 'b', 'Hello' %> 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_counter.html.erb: -------------------------------------------------------------------------------- 1 | <%= counter_counter %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_customer.erb: -------------------------------------------------------------------------------- 1 | Hello: <%= customer.name rescue "Anonymous" %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_customer.mobile.erb: -------------------------------------------------------------------------------- 1 | Hello: <%= customer.name rescue "Anonymous" %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_customer_greeting.erb: -------------------------------------------------------------------------------- 1 | <%= greeting %>: <%= customer_greeting.name %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_customer_with_var.erb: -------------------------------------------------------------------------------- 1 | <%= customer.name %> <%= customer.name %> <%= customer.name %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_directory/_partial_with_locales.html.erb: -------------------------------------------------------------------------------- 1 | Hello <%= name %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_first.html.erb: -------------------------------------------------------------------------------- 1 | "HTML" 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_first.xml.erb: -------------------------------------------------------------------------------- 1 | "XML" 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_first_json_partial.json.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: "test/second_json_partial" %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_first_layer.html.erb: -------------------------------------------------------------------------------- 1 | {"format":"HTML", "children": 2 | [ 3 | <%= render(partial: "first").chomp.html_safe %>, 4 | ]} 5 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_first_layer.xml.erb: -------------------------------------------------------------------------------- 1 | {"format":"XML", "children": 2 | [ 3 | <%= render(partial: "first").chomp.html_safe %> 4 | ]} 5 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_from_helper.erb: -------------------------------------------------------------------------------- 1 | <%= render_from_helper %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_js_html_fallback.html.erb: -------------------------------------------------------------------------------- 1 | <b>Hello from a HTML partial!</b> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_klass.erb: -------------------------------------------------------------------------------- 1 | <%= klass.class.name %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_label_with_block.erb: -------------------------------------------------------------------------------- 1 | <%= label('post', 'message')do %> 2 | Message 3 | <%= text_field 'post', 'message' %> 4 | <% end %> 5 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_layout_for_block_with_args.html.erb: -------------------------------------------------------------------------------- 1 | Before 2 | <%= yield 'arg1', 'arg2' %> 3 | After -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_layout_for_partial.html.erb: -------------------------------------------------------------------------------- 1 | Before (<%= name %>) 2 | <%= yield %> 3 | After -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_layout_with_partial_and_yield.html.erb: -------------------------------------------------------------------------------- 1 | Before 2 | <%= render partial: "test/partial" %> 3 | <%= yield %> 4 | After 5 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_local_inspector.html.erb: -------------------------------------------------------------------------------- 1 | <%= local_assigns.keys.map {|k| k.to_s }.sort.join(",") -%> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_multifetch.html.erb: -------------------------------------------------------------------------------- 1 | <%= topic.title %>, rendered: <%= topic.updated_at %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_nested_cached_customer.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: "test/cached_customer", locals: { cached_customer: cached_customer } %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_object_inspector.erb: -------------------------------------------------------------------------------- 1 | <%= object_inspector.inspect -%> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_one.html.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: "two" %> world 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_partial.erb: -------------------------------------------------------------------------------- 1 | invalid -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_partial.html.erb: -------------------------------------------------------------------------------- 1 | partial html -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_partial.js.erb: -------------------------------------------------------------------------------- 1 | partial js -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_partial_for_use_in_layout.html.erb: -------------------------------------------------------------------------------- 1 | Inside from partial (<%= name %>) -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_partial_iteration_1.erb: -------------------------------------------------------------------------------- 1 | <%= defined?(partial_iteration_1_iteration) %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_partial_iteration_2.erb: -------------------------------------------------------------------------------- 1 | <%= defined?(partial_iteration_2_iteration) -%> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_partial_name_in_local_assigns.erb: -------------------------------------------------------------------------------- 1 | <%= local_assigns.has_key?(:partial_name_in_local_assigns) %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_partial_name_local_variable.erb: -------------------------------------------------------------------------------- 1 | <%= partial_name_local_variable %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_partial_only.erb: -------------------------------------------------------------------------------- 1 | only partial -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_partial_with_layout.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: 'test/partial', layout: 'test/layout_for_partial', locals: { name: 'Bar!' } %> 2 | partial with layout 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_partial_with_only_html_version.html.erb: -------------------------------------------------------------------------------- 1 | partial with only HTML version -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_partial_with_partial.erb: -------------------------------------------------------------------------------- 1 | <%= render 'test/partial' %> 2 | partial with partial 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_partial_with_variants.html+grid.erb: -------------------------------------------------------------------------------- 1 | <h1>Partial with variants</h1> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_partialhtml.html: -------------------------------------------------------------------------------- 1 | <h1>partial html</h1> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_raise.html.erb: -------------------------------------------------------------------------------- 1 | <%= doesnt_exist %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_second.html.erb: -------------------------------------------------------------------------------- 1 | "HTML" 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_second.xml.erb: -------------------------------------------------------------------------------- 1 | "XML" 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_second_json_partial.json.erb: -------------------------------------------------------------------------------- 1 | Third level -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_second_layer.html.erb: -------------------------------------------------------------------------------- 1 | {"format":"HTML", "children": 2 | [ 3 | <%= render(partial: "first").chomp.html_safe %> 4 | ]} 5 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_second_layer.xml.erb: -------------------------------------------------------------------------------- 1 | {"format":"XML", "children": 2 | [ 3 | <%= render(partial: "first").chomp.html_safe %> 4 | ]} 5 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_template_not_named_customer.html.erb: -------------------------------------------------------------------------------- 1 | Hello: <%= customer.name %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_two.html.erb: -------------------------------------------------------------------------------- 1 | Hello -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_utf8_partial.html.erb: -------------------------------------------------------------------------------- 1 | <%= "текст" %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_utf8_partial_magic.html.erb: -------------------------------------------------------------------------------- 1 | <%# encoding: utf-8 -%> 2 | <%= "текст" %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/_🍣.erb: -------------------------------------------------------------------------------- 1 | 🍣 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/basic.html.erb: -------------------------------------------------------------------------------- 1 | Hello from basic.html.erb -------------------------------------------------------------------------------- /actionview/test/fixtures/test/cache_fragment_inside_render_layout_block_1.html.erb: -------------------------------------------------------------------------------- 1 | <%= render layout: "layouts/yield_only" do %><%= cache "foo" do %>CAT<% end %><% end %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/cache_fragment_inside_render_layout_block_2.html.erb: -------------------------------------------------------------------------------- 1 | <%= render layout: "layouts/yield_only" do %><%= cache "foo" do %>DOG<% end %><% end %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/caching_predicate.html.erb: -------------------------------------------------------------------------------- 1 | <%= cache "foo" do %> 2 | <%= "Cached!" if caching? %> 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/caching_predicate_outside_cache.html.erb: -------------------------------------------------------------------------------- 1 | <%= "Not cached!" unless caching? %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/calling_partial_with_layout.html.erb: -------------------------------------------------------------------------------- 1 | <%= render(:layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => { :name => "David" }) %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/dont_pick_me: -------------------------------------------------------------------------------- 1 | non-template file -------------------------------------------------------------------------------- /actionview/test/fixtures/test/dot.directory/render_template_with_ivar.erb: -------------------------------------------------------------------------------- 1 | The secret is <%= @secret %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/greeting.xml.erb: -------------------------------------------------------------------------------- 1 | <p>This is grand!</p> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/hello.builder: -------------------------------------------------------------------------------- 1 | xml.html do 2 | xml.p "Hello #{@name}" 3 | xml << render(template: "test/greeting") 4 | end 5 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/hello/hello.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /actionview/test/fixtures/test/hello_world.da.html.erb: -------------------------------------------------------------------------------- 1 | Hey verden -------------------------------------------------------------------------------- /actionview/test/fixtures/test/hello_world.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /actionview/test/fixtures/test/hello_world.erb~: -------------------------------------------------------------------------------- 1 | Don't pick me! -------------------------------------------------------------------------------- /actionview/test/fixtures/test/hello_world.html+phone.erb: -------------------------------------------------------------------------------- 1 | Hello phone! -------------------------------------------------------------------------------- /actionview/test/fixtures/test/hello_world.pt-BR.html.erb: -------------------------------------------------------------------------------- 1 | Ola mundo -------------------------------------------------------------------------------- /actionview/test/fixtures/test/hello_world.text+phone.erb: -------------------------------------------------------------------------------- 1 | Hello texty phone! -------------------------------------------------------------------------------- /actionview/test/fixtures/test/hello_world_with_partial.html.erb: -------------------------------------------------------------------------------- 1 | Hello world! 2 | <%= render '/test/partial' %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/html_template.html.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: "test/first_json_partial", formats: :json %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/js_html_fallback.js.erb: -------------------------------------------------------------------------------- 1 | document.write("<%= j render(partial: "js_html_fallback").chomp.html_safe %>") 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/layout_render_file.erb: -------------------------------------------------------------------------------- 1 | <% content_for :title do %>title<% end -%> 2 | <%= render template: 'layouts/yield' -%> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/layout_render_object.erb: -------------------------------------------------------------------------------- 1 | <%= render layout: "layouts/customers" do |customer| %><%= customer.name %><% end %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/list.erb: -------------------------------------------------------------------------------- 1 | <%= @test_unchanged = 'goodbye' %><%= render partial: 'customer', collection: @customers %><%= @test_unchanged %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/malformed/malformed.en.html.erb~: -------------------------------------------------------------------------------- 1 | Don't render me! -------------------------------------------------------------------------------- /actionview/test/fixtures/test/malformed/malformed.erb~: -------------------------------------------------------------------------------- 1 | Don't render me! -------------------------------------------------------------------------------- /actionview/test/fixtures/test/malformed/malformed.html.erb~: -------------------------------------------------------------------------------- 1 | Don't render me! -------------------------------------------------------------------------------- /actionview/test/fixtures/test/malformed/malformed~: -------------------------------------------------------------------------------- 1 | Don't render me! -------------------------------------------------------------------------------- /actionview/test/fixtures/test/nested_streaming.erb: -------------------------------------------------------------------------------- 1 | <%- content_for :header do -%>?<%- end -%> 2 | <%= render template: "test/streaming" %> 3 | ? -------------------------------------------------------------------------------- /actionview/test/fixtures/test/nil_return.erb: -------------------------------------------------------------------------------- 1 | This is nil: <%== nil %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/one.html.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: "test/two" %> world -------------------------------------------------------------------------------- /actionview/test/fixtures/test/render_file_inspect_local_assigns.erb: -------------------------------------------------------------------------------- 1 | <%= local_assigns.inspect.html_safe %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/render_file_unicode_local.erb: -------------------------------------------------------------------------------- 1 | <%= 🎃 %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/render_file_with_locals_and_default.erb: -------------------------------------------------------------------------------- 1 | <%= secret ||= 'one' %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/render_file_with_ruby_keyword_locals.erb: -------------------------------------------------------------------------------- 1 | The class is <%= local_assigns[:class] %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/render_partial_inside_directory.html.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: 'test/_directory/partial_with_locales', locals: {'name' => 'Jane'} %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/render_template_with_ivar.erb: -------------------------------------------------------------------------------- 1 | The secret is <%= @secret %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/render_template_with_locals.erb: -------------------------------------------------------------------------------- 1 | The secret is <%= secret %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/render_two_partials.html.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: 'partial', locals: {'first' => '1'} %> 2 | <%= render partial: 'partial', locals: {'second' => '2'} %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/runtime_error.html.erb: -------------------------------------------------------------------------------- 1 | <h1>Oh no!</h1> 2 | This template has a runtime error 3 | <b> 4 | <%= method_that_does_not_exist %> 5 | </b> 6 | Yikes! 7 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/streaming.erb: -------------------------------------------------------------------------------- 1 | <%- provide :header do -%>Yes, <%- end -%> 2 | this works 3 | <%- content_for :footer, " like a charm" -%> 4 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/streaming_buster.erb: -------------------------------------------------------------------------------- 1 | <%= yield :foo -%> 2 | This won't look 3 | <% provide :unknown, " good." -%> 4 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/streaming_with_locale.erb: -------------------------------------------------------------------------------- 1 | view.locale: <%= I18n.locale %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/sub_template_raise.html.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: "test/raise" %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/syntax_error.html.erb: -------------------------------------------------------------------------------- 1 | <%= foo( 2 | 1, 3 | 2, 4 | %> 5 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/template.erb: -------------------------------------------------------------------------------- 1 | <%= template.path %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/test_template_with_delegation_reserved_keywords.erb: -------------------------------------------------------------------------------- 1 | <%= _ %> <%= arg %> <%= args %> <%= block %> -------------------------------------------------------------------------------- /actionview/test/fixtures/test/uncacheable.html.erb: -------------------------------------------------------------------------------- 1 | <%= cache "uhoh" do %> 2 | <%= uncacheable! %> 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionview/test/fixtures/test/utf8.html.erb: -------------------------------------------------------------------------------- 1 | Русский <%= render partial: 'test/utf8_partial' %> 2 | <%= "日".encoding %> 3 | <%= @output_buffer.encoding %> 4 | <%= __ENCODING__ %> 5 | -------------------------------------------------------------------------------- /actionview/test/fixtures/topic.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Topic < ActiveRecord::Base 4 | has_many :replies, dependent: :destroy 5 | end 6 | -------------------------------------------------------------------------------- /actionview/test/fixtures/topics/_topic.html.erb: -------------------------------------------------------------------------------- 1 | <%= topic.title %> -------------------------------------------------------------------------------- /actionview/test/fixtures/translations/templates/_partial.html.erb: -------------------------------------------------------------------------------- 1 | <%= t('.foo') %> 2 | <%= yield %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/translations/templates/array.erb: -------------------------------------------------------------------------------- 1 | <%= t('.foo.bar') %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/translations/templates/default.erb: -------------------------------------------------------------------------------- 1 | <%= t('.missing', :default => :'.foo') %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/translations/templates/found.erb: -------------------------------------------------------------------------------- 1 | <%= t('.foo') %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/translations/templates/found_yield_block.html.erb: -------------------------------------------------------------------------------- 1 | <%= t('.foo') do |translation, key| %> 2 | <%= key %>: <%= translation %> 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionview/test/fixtures/translations/templates/found_yield_single_argument.html.erb: -------------------------------------------------------------------------------- 1 | <%= t('.foo') do |translation| %> 2 | <%= translation %> 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionview/test/fixtures/translations/templates/missing.erb: -------------------------------------------------------------------------------- 1 | <%= t('.missing') %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/translations/templates/missing_yield_block.erb: -------------------------------------------------------------------------------- 1 | <%= t('.missing') do |translation, key| %> 2 | <%= key %>: <%= translation %> 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionview/test/fixtures/translations/templates/missing_yield_single_argument_block.erb: -------------------------------------------------------------------------------- 1 | <%= t('.missing') do |translation| %> 2 | <%= translation %> 3 | <% end %> 4 | -------------------------------------------------------------------------------- /actionview/test/fixtures/translations/templates/partial_lazy_translation.html.erb: -------------------------------------------------------------------------------- 1 | <%= render("translations/templates/partial") %> 2 | -------------------------------------------------------------------------------- /actionview/test/fixtures/translations/templates/partial_lazy_translation_block.html.erb: -------------------------------------------------------------------------------- 1 | <%= render("translations/templates/partial") do %> 2 | <% end %> 3 | -------------------------------------------------------------------------------- /actionview/test/fixtures/with_format.json.erb: -------------------------------------------------------------------------------- 1 | <%= render partial: 'missing', formats: [:json] %> 2 | -------------------------------------------------------------------------------- /actionview/test/lib/test_renderable.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class TestRenderable 4 | def render_in(_view_context) 5 | "Hello, World!" 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /activejob/bin/test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | COMPONENT_ROOT = File.expand_path("..", __dir__) 5 | require_relative "../../tools/test" 6 | -------------------------------------------------------------------------------- /activejob/test/adapters/async.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | ActiveJob::Base.queue_adapter = :async 4 | ActiveJob::Base.queue_adapter.immediate = true 5 | -------------------------------------------------------------------------------- /activejob/test/adapters/backburner.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "support/backburner/inline" 4 | 5 | ActiveJob::Base.queue_adapter = :backburner 6 | -------------------------------------------------------------------------------- /activejob/test/adapters/inline.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | ActiveJob::Base.queue_adapter = :inline 4 | -------------------------------------------------------------------------------- /activejob/test/adapters/queue_classic.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "support/queue_classic/inline" 4 | ActiveJob::Base.queue_adapter = :queue_classic 5 | -------------------------------------------------------------------------------- /activejob/test/adapters/resque.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | ActiveJob::Base.queue_adapter = :resque 4 | Resque.inline = true 5 | -------------------------------------------------------------------------------- /activejob/test/adapters/sidekiq.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "sidekiq/testing/inline" 4 | ActiveJob::Base.queue_adapter = :sidekiq 5 | -------------------------------------------------------------------------------- /activejob/test/adapters/sneakers.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "support/sneakers/inline" 4 | ActiveJob::Base.queue_adapter = :sneakers 5 | -------------------------------------------------------------------------------- /activejob/test/adapters/sucker_punch.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "sucker_punch/testing/inline" 4 | ActiveJob::Base.queue_adapter = :sucker_punch 5 | -------------------------------------------------------------------------------- /activejob/test/jobs/application_job.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ApplicationJob < ActiveJob::Base 4 | end 5 | -------------------------------------------------------------------------------- /activejob/test/jobs/queue_adapter_job.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class QueueAdapterJob < ActiveJob::Base 4 | self.queue_adapter = :inline 5 | end 6 | -------------------------------------------------------------------------------- /activemodel/bin/test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | COMPONENT_ROOT = File.expand_path("..", __dir__) 5 | require_relative "../../tools/test" 6 | -------------------------------------------------------------------------------- /activemodel/test/models/sheep.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Sheep 4 | extend ActiveModel::Naming 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/.gitignore: -------------------------------------------------------------------------------- 1 | /sqlnet.log 2 | /test/config.yml 3 | /test/db/ 4 | /test/storage/ 5 | /test/fixtures/*.sqlite* 6 | -------------------------------------------------------------------------------- /activerecord/fixtures/journal_mode_test.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activerecord/fixtures/journal_mode_test.sqlite3 -------------------------------------------------------------------------------- /activerecord/test/activejob/unloadable_base_job.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class UnloadableBaseJob < PretendActiveJobIsNotPresent; end 4 | -------------------------------------------------------------------------------- /activerecord/test/assets/example.log: -------------------------------------------------------------------------------- 1 | # Logfile created on Wed Oct 31 16:05:13 +0000 2007 by logger.rb/1.5.2.9 2 | -------------------------------------------------------------------------------- /activerecord/test/assets/flowers.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activerecord/test/assets/flowers.jpg -------------------------------------------------------------------------------- /activerecord/test/assets/test.txt: -------------------------------------------------------------------------------- 1 | %00 2 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/1_need_quoting.yml: -------------------------------------------------------------------------------- 1 | - name: Foo 2 | - name: Bar 3 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/admin/accounts.yml: -------------------------------------------------------------------------------- 1 | signals37: 2 | name: 37signals 3 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/all/admin: -------------------------------------------------------------------------------- 1 | ../to_be_linked/ -------------------------------------------------------------------------------- /activerecord/test/fixtures/all/developers.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activerecord/test/fixtures/all/developers.yml -------------------------------------------------------------------------------- /activerecord/test/fixtures/all/namespaced/accounts.yml: -------------------------------------------------------------------------------- 1 | signals37: 2 | name: 37signals 3 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/all/people.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activerecord/test/fixtures/all/people.yml -------------------------------------------------------------------------------- /activerecord/test/fixtures/all/tasks.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activerecord/test/fixtures/all/tasks.yml -------------------------------------------------------------------------------- /activerecord/test/fixtures/author_favorites.yml: -------------------------------------------------------------------------------- 1 | david_mary: 2 | id: 1 3 | author_id: 1 4 | favorite_author_id: 2 -------------------------------------------------------------------------------- /activerecord/test/fixtures/bulbs.yml: -------------------------------------------------------------------------------- 1 | defaulty: 2 | name: defaulty 3 | 4 | special: 5 | name: special 6 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/cake_designers.yml: -------------------------------------------------------------------------------- 1 | flora: 2 | id: 1 3 | 4 | frosty: 5 | id: 2 6 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/chefs.yml: -------------------------------------------------------------------------------- 1 | gordon_ramsay: 2 | id: 1 3 | 4 | marco_pierre_white: 5 | id: 2 6 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/citations.yml: -------------------------------------------------------------------------------- 1 | <% 65536.times do |i| %> 2 | fixture_no_<%= i %>: 3 | id: <%= i %> 4 | book2_id: <%= i*i %> 5 | <% end %> 6 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/collections.yml: -------------------------------------------------------------------------------- 1 | collection_1: 2 | id: 1 3 | name: Collection 4 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/colleges.yml: -------------------------------------------------------------------------------- 1 | FIU: 2 | id: 1 3 | name: Florida International University 4 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/content.yml: -------------------------------------------------------------------------------- 1 | content: 2 | id: 1 3 | title: How to use Rails 4 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/content_positions.yml: -------------------------------------------------------------------------------- 1 | content_positions: 2 | id: 1 3 | content_id: 1 4 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/courses.yml: -------------------------------------------------------------------------------- 1 | ruby: 2 | id: 1 3 | name: Ruby Development 4 | college: FIU 5 | 6 | java: 7 | id: 2 8 | name: Java Development 9 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/cpk_authors.yml: -------------------------------------------------------------------------------- 1 | _fixture: 2 | model_class: Cpk::Author 3 | 4 | cpk_great_author: 5 | name: "Alice" 6 | 7 | cpk_famous_author_first_book: 8 | name: "Bob" 9 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/dashboards.yml: -------------------------------------------------------------------------------- 1 | cool_first: 2 | dashboard_id: d1 3 | name: my_dashboard 4 | second: 5 | dashboard_id: d2 6 | name: second 7 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/dead_parrots.yml: -------------------------------------------------------------------------------- 1 | deadbird: 2 | name: "Dusty DeadBird" 3 | treasures: [ruby, sapphire] 4 | parrot_sti_class: DeadParrot 5 | killer: blackbeard 6 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/dog_lovers.yml: -------------------------------------------------------------------------------- 1 | david: 2 | id: 1 3 | bred_dogs_count: 0 4 | trained_dogs_count: 1 5 | joanna: 6 | id: 2 7 | dogs_count: 1 8 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/dogs.yml: -------------------------------------------------------------------------------- 1 | sophie: 2 | id: 1 3 | trainer_id: 1 4 | dog_lover_id: 2 5 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/doubloons.yml: -------------------------------------------------------------------------------- 1 | blackbeards_doubloon: 2 | pirate: blackbeard 3 | weight: 2 4 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/drink_designers.yml: -------------------------------------------------------------------------------- 1 | turner: 2 | id: 1 3 | 4 | sparrow: 5 | id: 3 6 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/edges.yml: -------------------------------------------------------------------------------- 1 | <% (1..4).each do |id| %> 2 | edge_<%= id %>: 3 | source_id: <%= id %> 4 | sink_id: <%= id + 1 %> 5 | <% end %> 6 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/encrypted_book_that_ignores_cases.yml: -------------------------------------------------------------------------------- 1 | rfr: 2 | author_id: 1 3 | name: "Ruby for Rails" 4 | format: "ebook" 5 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/encrypted_books.yml: -------------------------------------------------------------------------------- 1 | awdr: 2 | author_id: 1 3 | name: "Agile Web Development with Rails" 4 | format: "paperback" 5 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/fk_object_to_point_to.yml: -------------------------------------------------------------------------------- 1 | first: 2 | id: 1 3 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/fk_test_has_fk.yml: -------------------------------------------------------------------------------- 1 | first: 2 | id: 1 3 | fk_id: 1 4 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/fk_test_has_pk.yml: -------------------------------------------------------------------------------- 1 | first: 2 | pk_id: 1 -------------------------------------------------------------------------------- /activerecord/test/fixtures/friendships.yml: -------------------------------------------------------------------------------- 1 | Connection 1: 2 | id: 1 3 | friend_id: 1 4 | follower_id: 2 5 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/humans.yml: -------------------------------------------------------------------------------- 1 | gordon: 2 | name: Gordon 3 | 4 | steve: 5 | name: Steve 6 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/items.yml: -------------------------------------------------------------------------------- 1 | dvd: 2 | id: 1 3 | name: Godfather 4 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/jobs.yml: -------------------------------------------------------------------------------- 1 | unicyclist: 2 | id: 1 3 | ideal_reference_id: 2 4 | clown: 5 | id: 2 6 | magician: 7 | id: 3 8 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/legacy_things.yml: -------------------------------------------------------------------------------- 1 | obtuse: 2 | id: 1 3 | tps_report_number: 500 4 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/live_parrots.yml: -------------------------------------------------------------------------------- 1 | dusty: 2 | name: "Dusty Bluebird" 3 | treasures: [ruby, sapphire] 4 | parrot_sti_class: LiveParrot 5 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/member_details.yml: -------------------------------------------------------------------------------- 1 | groucho: 2 | id: 1 3 | member_id: 1 4 | organization: nsa 5 | some_other_guy: 6 | id: 2 7 | member_id: 2 8 | organization: nsa 9 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/member_types.yml: -------------------------------------------------------------------------------- 1 | founding: 2 | id: 1 3 | name: Founding 4 | provisional: 5 | id: 2 6 | name: Provisional 7 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/minimalistics.yml: -------------------------------------------------------------------------------- 1 | zero: 2 | id: 0 3 | 4 | first: 5 | id: 1 6 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/minivans.yml: -------------------------------------------------------------------------------- 1 | cool_first: 2 | minivan_id: m1 3 | name: my_minivan 4 | speedometer_id: s1 5 | color: blue 6 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/mixed_case_monkeys.yml: -------------------------------------------------------------------------------- 1 | first: 2 | monkeyID: 1 3 | fleaCount: 42 4 | second: 5 | monkeyID: 2 6 | fleaCount: 43 7 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/movies.yml: -------------------------------------------------------------------------------- 1 | first: 2 | movieid: 1 3 | name: Terminator 4 | 5 | second: 6 | movieid: 2 7 | name: Gladiator 8 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/naked/yml/accounts.yml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/naked/yml/companies.yml: -------------------------------------------------------------------------------- 1 | # i wonder what will happen here 2 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/naked/yml/courses.yml: -------------------------------------------------------------------------------- 1 | qwerty 2 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/naked/yml/courses_with_invalid_key.yml: -------------------------------------------------------------------------------- 1 | one: 2 | id: 1 3 | two: ['not a hash'] 4 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/naked/yml/parrots.yml: -------------------------------------------------------------------------------- 1 | george: 2 | arrr: "Curious George" 3 | foobar: Foobar 4 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/naked/yml/trees.yml: -------------------------------------------------------------------------------- 1 | root: 2 | :id: 1 3 | :name: The Root 4 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/organizations.yml: -------------------------------------------------------------------------------- 1 | nsa: 2 | name: No Such Agency 3 | discordians: 4 | name: Discordians 5 | 6 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/other_comments.yml: -------------------------------------------------------------------------------- 1 | _fixture: 2 | model_class: Comment 3 | 4 | second_greetings: 5 | post: second_welcome 6 | body: Thank you for the second welcome 7 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/other_dogs.yml: -------------------------------------------------------------------------------- 1 | lassie: 2 | id: 1 3 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/paragraphs.yml: -------------------------------------------------------------------------------- 1 | <% 1001.times do |i| %> 2 | fixture_no_<%= i %>: 3 | id: <%= i %> 4 | book_id: <%= i*i %> 5 | <% end %> 6 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/primary_key_error/primary_key_error.yml: -------------------------------------------------------------------------------- 1 | _fixture: 2 | model_class: Author 3 | 4 | david: 5 | name: David 6 | owned_essay: a_modest_proposal 7 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/products.yml: -------------------------------------------------------------------------------- 1 | product_1: 2 | id: 1 3 | collection_id: 1 4 | name: Product 5 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/projects.yml: -------------------------------------------------------------------------------- 1 | action_controller: 2 | id: 2 3 | name: Active Controller 4 | 5 | active_record: 6 | id: 1 7 | name: Active Record 8 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/reserved_words/distinct.yml: -------------------------------------------------------------------------------- 1 | distinct1: 2 | id: 1 3 | 4 | distinct2: 5 | id: 2 6 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/reserved_words/select.yml: -------------------------------------------------------------------------------- 1 | select1: 2 | id: 1 3 | 4 | select2: 5 | id: 2 6 | 7 | select3: 8 | id: 3 9 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/reserved_words/values.yml: -------------------------------------------------------------------------------- 1 | values1: 2 | as: 1 3 | group_id: 2 4 | 5 | values2: 6 | as: 2 7 | group_id: 1 8 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/sharded_blogs.yml: -------------------------------------------------------------------------------- 1 | _fixture: 2 | model_class: Sharded::Blog 3 | 4 | sharded_blog_one: 5 | name: "Blog One" 6 | 7 | sharded_blog_two: 8 | name: "Blog two" 9 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/ships.yml: -------------------------------------------------------------------------------- 1 | black_pearl: 2 | name: "Black Pearl" 3 | pirate: blackbeard 4 | interceptor: 5 | id: 2 6 | name: "Interceptor" 7 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/strict_zines.yml: -------------------------------------------------------------------------------- 1 | going_out: 2 | title: Hello 3 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/string_key_objects.yml: -------------------------------------------------------------------------------- 1 | first: 2 | id: record1 3 | name: first record 4 | 5 | second: 6 | id: record2 7 | name: second record 8 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/tags.yml: -------------------------------------------------------------------------------- 1 | general: 2 | id: 1 3 | name: General 4 | 5 | misc: 6 | id: 2 7 | name: Misc 8 | 9 | blue: 10 | id: 3 11 | name: Blue 12 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/to_be_linked/accounts.yml: -------------------------------------------------------------------------------- 1 | signals37: 2 | name: 37signals 3 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/trees.yml: -------------------------------------------------------------------------------- 1 | root: 2 | id: 1 3 | name: The Root 4 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/uuid_children.yml: -------------------------------------------------------------------------------- 1 | sonny: 2 | uuid_parent: daddy 3 | name: Sonny 4 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/uuid_parents.yml: -------------------------------------------------------------------------------- 1 | daddy: 2 | name: Daddy 3 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/variants.yml: -------------------------------------------------------------------------------- 1 | variant_1: 2 | id: 1 3 | product_id: 1 4 | name: Variant 5 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/vertices.yml: -------------------------------------------------------------------------------- 1 | <% (1..5).each do |id| %> 2 | vertex_<%= id %>: 3 | id: <%= id %> 4 | <% end %> -------------------------------------------------------------------------------- /activerecord/test/fixtures/virtual_columns.yml: -------------------------------------------------------------------------------- 1 | one: 2 | name: hello 3 | 4 | two: 5 | name: world 6 | -------------------------------------------------------------------------------- /activerecord/test/fixtures/warehouse-things.yml: -------------------------------------------------------------------------------- 1 | one: 2 | id: 1 3 | value: 1000 -------------------------------------------------------------------------------- /activerecord/test/fixtures/zines.yml: -------------------------------------------------------------------------------- 1 | staying_in: 2 | title: Staying in '08 3 | 4 | going_out: 5 | title: Outdoor Pursuits 2k+8 6 | -------------------------------------------------------------------------------- /activerecord/test/migrations/empty/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activerecord/test/migrations/empty/.keep -------------------------------------------------------------------------------- /activerecord/test/models/admin.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Admin 4 | def self.table_name_prefix 5 | "admin_" 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /activerecord/test/models/admin/account.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Admin::Account < ActiveRecord::Base 4 | has_many :users 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/arunit2_model.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ARUnit2Model < ActiveRecord::Base 4 | self.abstract_class = true 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/autoloadable/extra_firm.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ExtraFirm < Company 4 | end 5 | -------------------------------------------------------------------------------- /activerecord/test/models/binary.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Binary < ActiveRecord::Base 4 | end 5 | -------------------------------------------------------------------------------- /activerecord/test/models/boolean.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Boolean < ActiveRecord::Base 4 | def has_fun 5 | super 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /activerecord/test/models/cake_designer.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class CakeDesigner < ActiveRecord::Base 4 | has_one :chef, as: :employable 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/carrier.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Carrier < ActiveRecord::Base 4 | end 5 | -------------------------------------------------------------------------------- /activerecord/test/models/cart.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Cart < ActiveRecord::Base 4 | self.primary_key = :id 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/column.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Column < ActiveRecord::Base 4 | belongs_to :record 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/column_name.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ColumnName < ActiveRecord::Base 4 | self.table_name = "colnametests" 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/country.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Country < ActiveRecord::Base 4 | has_and_belongs_to_many :treaties 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/dashboard.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Dashboard < ActiveRecord::Base 4 | self.primary_key = :dashboard_id 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/dats/tyre.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | # DATS = Deprecated Associations Test Suite. 4 | class DATS::Tyre < ActiveRecord::Base 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/default.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Default < ActiveRecord::Base 4 | end 5 | -------------------------------------------------------------------------------- /activerecord/test/models/department.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Department < ActiveRecord::Base 4 | has_many :chefs 5 | belongs_to :hotel 6 | end 7 | -------------------------------------------------------------------------------- /activerecord/test/models/discount.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Discount < ActiveRecord::Base 4 | end 5 | -------------------------------------------------------------------------------- /activerecord/test/models/dl_keyed_has_many.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class DlKeyedHasMany < ActiveRecord::Base 4 | self.primary_key = "many_key" 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/dl_keyed_has_many_through.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class DlKeyedHasManyThrough < ActiveRecord::Base 4 | self.primary_key = :through_key 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/dl_keyed_has_one.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class DlKeyedHasOne < ActiveRecord::Base 4 | self.primary_key = "has_one_key" 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/editorship.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Editorship < ActiveRecord::Base 4 | belongs_to :publication 5 | belongs_to :editor 6 | end 7 | -------------------------------------------------------------------------------- /activerecord/test/models/electron.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Electron < ActiveRecord::Base 4 | belongs_to :molecule 5 | 6 | validates_presence_of :name 7 | end 8 | -------------------------------------------------------------------------------- /activerecord/test/models/entrant.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Entrant < ActiveRecord::Base 4 | belongs_to :course 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/event.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Event < ActiveRecord::Base 4 | validates_uniqueness_of :title 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/frog.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Frog < ActiveRecord::Base 4 | after_save do 5 | with_lock do 6 | end 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /activerecord/test/models/guid.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Guid < ActiveRecord::Base 4 | end 5 | -------------------------------------------------------------------------------- /activerecord/test/models/hardback.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Hardback < ActiveRecord::Base 4 | end 5 | 6 | class BestHardback < Hardback 7 | end 8 | -------------------------------------------------------------------------------- /activerecord/test/models/invokes_an_undefined_method.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class InvokesAnUndefinedMethod 4 | this_method_is_undefined 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/keyboard.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Keyboard < ActiveRecord::Base 4 | self.primary_key = "key_number" 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/legacy_thing.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class LegacyThing < ActiveRecord::Base 4 | self.locking_column = :version 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/matey.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Matey < ActiveRecord::Base 4 | belongs_to :pirate 5 | belongs_to :target, class_name: "Pirate" 6 | end 7 | -------------------------------------------------------------------------------- /activerecord/test/models/measurement.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Measurement < ActiveRecord::Base 4 | end 5 | -------------------------------------------------------------------------------- /activerecord/test/models/member_type.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class MemberType < ActiveRecord::Base 4 | has_many :members 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/mentor.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Mentor < ActiveRecord::Base 4 | has_many :developers 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/minimalistic.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Minimalistic < ActiveRecord::Base 4 | end 5 | -------------------------------------------------------------------------------- /activerecord/test/models/mixed_case_monkey.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class MixedCaseMonkey < ActiveRecord::Base 4 | belongs_to :human 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/movie.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Movie < ActiveRecord::Base 4 | self.primary_key = "movieid" 5 | 6 | validates_presence_of :name 7 | end 8 | -------------------------------------------------------------------------------- /activerecord/test/models/need_quoting.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class NeedQuoting < ActiveRecord::Base 4 | self.table_name = "1_need_quoting" 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/non_primary_key.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class NonPrimaryKey < ActiveRecord::Base 4 | end 5 | -------------------------------------------------------------------------------- /activerecord/test/models/notification.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Notification < ActiveRecord::Base 4 | validates_presence_of :message 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/paragraph.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Paragraph < ActiveRecord::Base 4 | belongs_to :book 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/possession.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Possession < ActiveRecord::Base 4 | self.table_name = "having" 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/program_offering.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ProgramOffering < ActiveRecord::Base 4 | belongs_to :club 5 | belongs_to :program 6 | end 7 | -------------------------------------------------------------------------------- /activerecord/test/models/publisher.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Publisher 4 | end 5 | -------------------------------------------------------------------------------- /activerecord/test/models/publisher/magazine.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Publisher::Magazine < ActiveRecord::Base 4 | has_and_belongs_to_many :articles 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/raises_argument_error.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class RaisesArgumentError 4 | raise ArgumentError 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/raises_no_method_error.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class RaisesNoMethodError 4 | Object.new.calling_a_non_existing_method 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/recipe.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Recipe < ActiveRecord::Base 4 | belongs_to :chef 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/recipient.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Recipient < ActiveRecord::Base 4 | belongs_to :message, touch: true 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/record.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Record < ActiveRecord::Base 4 | end 5 | -------------------------------------------------------------------------------- /activerecord/test/models/squeak.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Squeak < ActiveRecord::Base 4 | belongs_to :mouse 5 | accepts_nested_attributes_for :mouse 6 | end 7 | -------------------------------------------------------------------------------- /activerecord/test/models/string_key_object.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class StringKeyObject < ActiveRecord::Base 4 | self.primary_key = :id 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/student.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Student < ActiveRecord::Base 4 | has_and_belongs_to_many :lessons 5 | belongs_to :college 6 | end 7 | -------------------------------------------------------------------------------- /activerecord/test/models/task.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Task < ActiveRecord::Base 4 | def updated_at 5 | ending 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /activerecord/test/models/treaty.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Treaty < ActiveRecord::Base 4 | has_and_belongs_to_many :countries 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/tree.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Tree < ActiveRecord::Base 4 | has_many :nodes, dependent: :destroy 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/uuid_child.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class UuidChild < ActiveRecord::Base 4 | belongs_to :uuid_parent 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/uuid_comment.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class UuidComment < ActiveRecord::Base 4 | has_one :uuid_entry, as: :entryable 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/uuid_message.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class UuidMessage < ActiveRecord::Base 4 | has_one :uuid_entry, as: :entryable 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/uuid_parent.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class UuidParent < ActiveRecord::Base 4 | has_many :uuid_children 5 | end 6 | -------------------------------------------------------------------------------- /activerecord/test/models/without_table.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class WithoutTable < ActiveRecord::Base 4 | default_scope -> { where(published: true) } 5 | end 6 | -------------------------------------------------------------------------------- /activestorage/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | ["env", { "modules": false } ] 4 | ], 5 | "plugins": [ 6 | "external-helpers" 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /activestorage/app/assets/javascripts/.gitattributes: -------------------------------------------------------------------------------- 1 | activestorage.js linguist-generated 2 | activestorage.esm.js linguist-generated 3 | -------------------------------------------------------------------------------- /activestorage/app/jobs/active_storage/base_job.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ActiveStorage::BaseJob < ActiveJob::Base 4 | end 5 | -------------------------------------------------------------------------------- /activestorage/bin/test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | COMPONENT_ROOT = File.expand_path("..", __dir__) 5 | require_relative "../../tools/test" 6 | -------------------------------------------------------------------------------- /activestorage/test/dummy/app/assets/config/manifest.js: -------------------------------------------------------------------------------- 1 | //= link_tree ../images 2 | //= link_directory ../stylesheets .css 3 | -------------------------------------------------------------------------------- /activestorage/test/dummy/app/assets/images/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/dummy/app/assets/images/.keep -------------------------------------------------------------------------------- /activestorage/test/dummy/app/channels/application_cable/channel.rb: -------------------------------------------------------------------------------- 1 | module ApplicationCable 2 | class Channel < ActionCable::Channel::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /activestorage/test/dummy/app/channels/application_cable/connection.rb: -------------------------------------------------------------------------------- 1 | module ApplicationCable 2 | class Connection < ActionCable::Connection::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /activestorage/test/dummy/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | end 3 | -------------------------------------------------------------------------------- /activestorage/test/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /activestorage/test/dummy/app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- 1 | class ApplicationMailer < ActionMailer::Base 2 | default from: "from@example.com" 3 | layout "mailer" 4 | end 5 | -------------------------------------------------------------------------------- /activestorage/test/dummy/app/models/application_record.rb: -------------------------------------------------------------------------------- 1 | class ApplicationRecord < ActiveRecord::Base 2 | primary_abstract_class 3 | end 4 | -------------------------------------------------------------------------------- /activestorage/test/dummy/app/models/concerns/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/dummy/app/models/concerns/.keep -------------------------------------------------------------------------------- /activestorage/test/dummy/app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /activestorage/test/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative "../config/boot" 3 | require "rake" 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /activestorage/test/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | end 3 | -------------------------------------------------------------------------------- /activestorage/test/dummy/lib/assets/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/dummy/lib/assets/.keep -------------------------------------------------------------------------------- /activestorage/test/dummy/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/dummy/log/.keep -------------------------------------------------------------------------------- /activestorage/test/dummy/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/dummy/public/apple-touch-icon.png -------------------------------------------------------------------------------- /activestorage/test/dummy/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/dummy/public/favicon.ico -------------------------------------------------------------------------------- /activestorage/test/dummy/storage/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/dummy/storage/.keep -------------------------------------------------------------------------------- /activestorage/test/fixtures/active_storage/attachments.yml: -------------------------------------------------------------------------------- 1 | first_avatar_attachment: 2 | name: avatar 3 | record: first (User) 4 | blob: first_avatar_blob 5 | -------------------------------------------------------------------------------- /activestorage/test/fixtures/files/audio.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/fixtures/files/audio.mp3 -------------------------------------------------------------------------------- /activestorage/test/fixtures/files/colors.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/fixtures/files/colors.bmp -------------------------------------------------------------------------------- /activestorage/test/fixtures/files/cropped.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/fixtures/files/cropped.pdf -------------------------------------------------------------------------------- /activestorage/test/fixtures/files/empty_file.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/fixtures/files/empty_file.txt -------------------------------------------------------------------------------- /activestorage/test/fixtures/files/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/fixtures/files/favicon.ico -------------------------------------------------------------------------------- /activestorage/test/fixtures/files/icon.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/fixtures/files/icon.psd -------------------------------------------------------------------------------- /activestorage/test/fixtures/files/image.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/fixtures/files/image.gif -------------------------------------------------------------------------------- /activestorage/test/fixtures/files/racecar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/fixtures/files/racecar.jpg -------------------------------------------------------------------------------- /activestorage/test/fixtures/files/racecar.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/fixtures/files/racecar.tif -------------------------------------------------------------------------------- /activestorage/test/fixtures/files/report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/fixtures/files/report.pdf -------------------------------------------------------------------------------- /activestorage/test/fixtures/files/rotated_video.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/fixtures/files/rotated_video.mp4 -------------------------------------------------------------------------------- /activestorage/test/fixtures/files/valley.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/fixtures/files/valley.webp -------------------------------------------------------------------------------- /activestorage/test/fixtures/files/video.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/fixtures/files/video.mp4 -------------------------------------------------------------------------------- /activestorage/test/fixtures/files/video.webm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/fixtures/files/video.webm -------------------------------------------------------------------------------- /activestorage/test/fixtures/users.yml: -------------------------------------------------------------------------------- 1 | first: 2 | name: $LABEL 3 | -------------------------------------------------------------------------------- /activestorage/test/service/configurations.yml.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/activestorage/test/service/configurations.yml.enc -------------------------------------------------------------------------------- /activesupport/.gitignore: -------------------------------------------------------------------------------- 1 | /test/fixtures/isolation_test/ 2 | -------------------------------------------------------------------------------- /activesupport/bin/test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | COMPONENT_ROOT = File.expand_path("..", __dir__) 5 | require_relative "../../tools/test" 6 | -------------------------------------------------------------------------------- /activesupport/lib/active_support/all.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support" 4 | require "active_support/time" 5 | require "active_support/core_ext" 6 | -------------------------------------------------------------------------------- /activesupport/lib/active_support/core_ext.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | Dir.glob(File.expand_path("core_ext/*.rb", __dir__)).sort.each do |path| 4 | require path 5 | end 6 | -------------------------------------------------------------------------------- /activesupport/lib/active_support/core_ext/big_decimal.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/big_decimal/conversions" 4 | -------------------------------------------------------------------------------- /activesupport/lib/active_support/core_ext/digest.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/digest/uuid" 4 | -------------------------------------------------------------------------------- /activesupport/lib/active_support/core_ext/file.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/file/atomic" 4 | -------------------------------------------------------------------------------- /activesupport/lib/active_support/core_ext/object/to_param.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/object/to_query" 4 | -------------------------------------------------------------------------------- /activesupport/lib/active_support/core_ext/symbol.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/symbol/starts_ends_with" 4 | -------------------------------------------------------------------------------- /activesupport/lib/active_support/json.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/json/decoding" 4 | require "active_support/json/encoding" 5 | -------------------------------------------------------------------------------- /activesupport/lib/active_support/testing/autorun.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "minitest" 4 | 5 | Minitest.autorun 6 | -------------------------------------------------------------------------------- /activesupport/test/autoloading_fixtures/raises_name_error.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class RaisesNameError 4 | FooBarBaz 5 | end 6 | -------------------------------------------------------------------------------- /activesupport/test/autoloading_fixtures/raises_no_method_error.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class RaisesNoMethodError 4 | self.foobar_method_doesnt_exist 5 | end 6 | -------------------------------------------------------------------------------- /activesupport/test/dependencies/check_warnings.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | $check_warnings_load_count += 1 4 | $checked_verbose = $VERBOSE 5 | -------------------------------------------------------------------------------- /activesupport/test/dependencies/conflict.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | Conflict = 1 4 | -------------------------------------------------------------------------------- /activesupport/test/dependencies/cross_site_depender.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class CrossSiteDepender 4 | CrossSiteDependency 5 | end 6 | -------------------------------------------------------------------------------- /activesupport/test/dependencies/module_folder/lib_class.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | ConstFromLib = 1 4 | 5 | module ModuleFolder 6 | class LibClass 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /activesupport/test/dependencies/requires_nonexistent0.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "RMagickDontExistDude" 4 | -------------------------------------------------------------------------------- /activesupport/test/dependencies/requires_nonexistent1.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require_dependency "requires_nonexistent0" 4 | -------------------------------------------------------------------------------- /activesupport/test/dependencies/service_one.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | $loaded_service_one ||= 0 4 | $loaded_service_one += 1 5 | 6 | class ServiceOne 7 | end 8 | -------------------------------------------------------------------------------- /activesupport/test/dependencies/service_two.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ServiceTwo 4 | end 5 | -------------------------------------------------------------------------------- /activesupport/test/file_fixtures/sample.txt: -------------------------------------------------------------------------------- 1 | sample file fixture 2 | -------------------------------------------------------------------------------- /activesupport/test/fixtures/autoload/another_class.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Fixtures::AnotherClass 4 | end 5 | -------------------------------------------------------------------------------- /activesupport/test/fixtures/autoload/some_class.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Fixtures::Autoload::SomeClass 4 | end 5 | -------------------------------------------------------------------------------- /activesupport/test/fixtures/xml/jdom_doctype.dtd: -------------------------------------------------------------------------------- 1 | <!ENTITY a "external entity"> 2 | -------------------------------------------------------------------------------- /activesupport/test/fixtures/xml/jdom_entities.txt: -------------------------------------------------------------------------------- 1 | <!ENTITY a "hello"> 2 | -------------------------------------------------------------------------------- /activesupport/test/fixtures/xml/jdom_include.txt: -------------------------------------------------------------------------------- 1 | include me 2 | -------------------------------------------------------------------------------- /guides/.document: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/.document -------------------------------------------------------------------------------- /guides/assets/images/association_basics/habtm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/association_basics/habtm.png -------------------------------------------------------------------------------- /guides/assets/images/association_basics/has_many.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/association_basics/has_many.png -------------------------------------------------------------------------------- /guides/assets/images/association_basics/has_one.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/association_basics/has_one.png -------------------------------------------------------------------------------- /guides/assets/images/docs_preview/annotation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/docs_preview/annotation.png -------------------------------------------------------------------------------- /guides/assets/images/docs_preview/status_checks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/docs_preview/status_checks.png -------------------------------------------------------------------------------- /guides/assets/images/dynamic_method_class_eval.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/dynamic_method_class_eval.png -------------------------------------------------------------------------------- /guides/assets/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/favicon.ico -------------------------------------------------------------------------------- /guides/assets/images/i18n/demo_html_safe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/i18n/demo_html_safe.png -------------------------------------------------------------------------------- /guides/assets/images/i18n/demo_localized_pirate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/i18n/demo_localized_pirate.png -------------------------------------------------------------------------------- /guides/assets/images/i18n/demo_translated_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/i18n/demo_translated_en.png -------------------------------------------------------------------------------- /guides/assets/images/i18n/demo_translated_pirate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/i18n/demo_translated_pirate.png -------------------------------------------------------------------------------- /guides/assets/images/i18n/demo_untranslated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/i18n/demo_untranslated.png -------------------------------------------------------------------------------- /guides/assets/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/icon.png -------------------------------------------------------------------------------- /guides/assets/images/rails_guides_kindle_cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/rails_guides_kindle_cover.jpg -------------------------------------------------------------------------------- /guides/assets/images/security/csrf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/security/csrf.png -------------------------------------------------------------------------------- /guides/assets/images/security/session_fixation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/security/session_fixation.png -------------------------------------------------------------------------------- /guides/assets/images/up_white_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/guides/assets/images/up_white_arrow.png -------------------------------------------------------------------------------- /guides/assets/javascripts/.gitattributes: -------------------------------------------------------------------------------- 1 | clipboard.js linguist-vendored 2 | turbo.js linguist-vendored 3 | -------------------------------------------------------------------------------- /guides/assets/robots.txt: -------------------------------------------------------------------------------- 1 | # Allow crawling of all content 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /guides/source/epub/copyright.html.erb: -------------------------------------------------------------------------------- 1 | <%= render 'license' %> -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "workspaces": [ 4 | "actioncable", 5 | "actiontext", 6 | "activestorage" 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /railties/.gitignore: -------------------------------------------------------------------------------- 1 | /log/ 2 | /test/500.html 3 | /test/fixtures/tmp/ 4 | /test/initializer/root/log/ 5 | /test/isolation/assets/yarn.lock 6 | /tmp/ 7 | -------------------------------------------------------------------------------- /railties/bin/test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | COMPONENT_ROOT = File.expand_path("..", __dir__) 5 | require_relative "../../tools/test" 6 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/erb/controller/templates/view.html.erb.tt: -------------------------------------------------------------------------------- 1 | <h1><%= class_name %>#<%= @action %></h1> 2 | <p>Find me in <%= @path %></p> 3 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/erb/mailer/templates/layout.text.erb.tt: -------------------------------------------------------------------------------- 1 | <%%= yield %> 2 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/erb/mailer/templates/view.html.erb.tt: -------------------------------------------------------------------------------- 1 | <h1><%= class_name %>#<%= @action %></h1> 2 | 3 | <p> 4 | <%%= @greeting %>, find me in <%= @path %> 5 | </p> 6 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/erb/mailer/templates/view.text.erb.tt: -------------------------------------------------------------------------------- 1 | <%= class_name %>#<%= @action %> 2 | 3 | <%%= @greeting %>, find me in <%= @path %> 4 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb.tt: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/rails/app/templates/app/models/application_record.rb.tt: -------------------------------------------------------------------------------- 1 | class ApplicationRecord < ActiveRecord::Base 2 | primary_abstract_class 3 | end 4 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/rails/app/templates/app/views/layouts/mailer.text.erb.tt: -------------------------------------------------------------------------------- 1 | <%%= yield %> 2 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/rails/app/templates/bin/dev.tt: -------------------------------------------------------------------------------- 1 | exec "./bin/rails", "server", *ARGV 2 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/rails/app/templates/bin/rake.tt: -------------------------------------------------------------------------------- 1 | require_relative "../config/boot" 2 | require "rake" 3 | Rake.application.run 4 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/rails/app/templates/bin/thrust.tt: -------------------------------------------------------------------------------- 1 | require "rubygems" 2 | require "bundler/setup" 3 | 4 | load Gem.bin_path("thruster", "thrust") 5 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/rails/app/templates/node-version.tt: -------------------------------------------------------------------------------- 1 | <%= node_version %> 2 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/rails/app/templates/public/robots.txt: -------------------------------------------------------------------------------- 1 | # See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file 2 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/rails/app/templates/ruby-version.tt: -------------------------------------------------------------------------------- 1 | <%= ENV["RBENV_VERSION"] || ENV["rvm_ruby_string"] || "#{RUBY_ENGINE}-#{RUBY_ENGINE_VERSION}" %> 2 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/rails/authentication/templates/app/models/session.rb.tt: -------------------------------------------------------------------------------- 1 | class Session < ApplicationRecord 2 | belongs_to :user 3 | end 4 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/rails/helper/templates/helper.rb.tt: -------------------------------------------------------------------------------- 1 | <% module_namespacing do -%> 2 | module <%= class_name %>Helper 3 | end 4 | <% end -%> 5 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/rails/plugin/templates/bin/test.tt: -------------------------------------------------------------------------------- 1 | $: << File.expand_path("../test", __dir__) 2 | 3 | require "bundler/setup" 4 | require "rails/plugin/test" 5 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/railtie.rb.tt: -------------------------------------------------------------------------------- 1 | <%= wrap_in_modules <<~rb 2 | class Railtie < ::Rails::Railtie 3 | end 4 | rb 5 | %> 6 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/version.rb.tt: -------------------------------------------------------------------------------- 1 | <%= wrap_in_modules 'VERSION = "0.1.0"' %> 2 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/rails/plugin/templates/rails/routes.rb.tt: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | mount <%= camelized_modules %>::Engine => "/<%= name %>" 3 | end 4 | -------------------------------------------------------------------------------- /railties/lib/rails/generators/rails/script/templates/script.rb.tt: -------------------------------------------------------------------------------- 1 | require_relative "<%= '../' * depth %>config/environment" 2 | 3 | # Your code goes here 4 | -------------------------------------------------------------------------------- /railties/lib/rails/templates/rails/info/properties.html.erb: -------------------------------------------------------------------------------- 1 | <%= @info.html_safe %> -------------------------------------------------------------------------------- /railties/test/fixtures/Rakefile: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | Rails.application.load_tasks 4 | -------------------------------------------------------------------------------- /railties/test/fixtures/files/racecar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/railties/test/fixtures/files/racecar.jpg -------------------------------------------------------------------------------- /railties/test/fixtures/lib/create_test_dummy_template.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | create_dummy_app("spec/dummy") 4 | -------------------------------------------------------------------------------- /railties/test/fixtures/lib/generators/fixjour_generator.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class FixjourGenerator < Rails::Generators::NamedBase 4 | end 5 | -------------------------------------------------------------------------------- /railties/test/fixtures/lib/generators/model_generator.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | raise "I should never be loaded" 4 | -------------------------------------------------------------------------------- /railties/test/fixtures/lib/generators/usage_template/USAGE: -------------------------------------------------------------------------------- 1 | :: <%= 1 + 1 %> :: -------------------------------------------------------------------------------- /railties/test/fixtures/lib/template.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | say "It works from file!" 4 | -------------------------------------------------------------------------------- /railties/test/fixtures/log/test.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rails/rails/04690da5fbe56141eb49590df9f79f2d048675f1/railties/test/fixtures/log/test.log -------------------------------------------------------------------------------- /tools/rail_inspector/lib/rail_inspector/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module RailInspector 4 | VERSION = "0.0.2" 5 | end 6 | -------------------------------------------------------------------------------- /tools/rail_inspector/test/test_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support" 4 | require "minitest/autorun" 5 | -------------------------------------------------------------------------------- /tools/releaser/Gemfile: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | source "https://rubygems.org" 4 | gemspec 5 | -------------------------------------------------------------------------------- /tools/releaser/README.md: -------------------------------------------------------------------------------- 1 | # Releaser 2 | 3 | Collection of helpers to release Rails. 4 | -------------------------------------------------------------------------------- /tools/releaser/bin/test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | COMPONENT_ROOT = File.expand_path("..", __dir__) 5 | require_relative "../../test" 6 | --------------------------------------------------------------------------------