{"id":19667353,"url":"https://github.com/willnet/actiontextnplus1","last_synced_at":"2026-06-10T06:44:07.462Z","repository":{"id":36630123,"uuid":"198000720","full_name":"willnet/actiontextnplus1","owner":"willnet","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-19T13:52:56.000Z","size":1186,"stargazers_count":0,"open_issues_count":34,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-24T02:16:41.734Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willnet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-21T01:56:38.000Z","updated_at":"2019-07-21T02:03:46.000Z","dependencies_parsed_at":"2023-02-11T02:45:53.872Z","dependency_job_id":null,"html_url":"https://github.com/willnet/actiontextnplus1","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Factiontextnplus1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Factiontextnplus1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Factiontextnplus1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Factiontextnplus1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willnet","download_url":"https://codeload.github.com/willnet/actiontextnplus1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240976424,"owners_count":19887484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T16:31:51.754Z","updated_at":"2026-06-10T06:44:02.426Z","avatar_url":"https://github.com/willnet.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\nSample Rails Application for [eager load doesn't work as expected in Action Text · Issue #36177 · rails/rails](https://github.com/rails/rails/issues/36177)\n\n## Setup\n\n1. git clone\n2. ./bin/setup\n3. Add some messages like this\n\n![/messages](./messages.png)\n\n4. see log/development.log\n\nex:\n```\nStarted GET \"/messages\" for ::1 at 2019-07-21 10:55:02 +0900\n   (0.3ms)  SELECT sqlite_version(*)\n   (0.1ms)  SELECT \"schema_migrations\".\"version\" FROM \"schema_migrations\" ORDER BY \"schema_migrations\".\"version\" ASC\nProcessing by MessagesController#index as HTML\n  Rendering messages/index.html.erb within layouts/application\n  Message Load (0.1ms)  SELECT \"messages\".* FROM \"messages\"\n  ↳ app/views/messages/index.html.erb:14\n  ActionText::RichText Load (0.2ms)  SELECT \"action_text_rich_texts\".* FROM \"action_text_rich_texts\" WHERE \"action_text_rich_texts\".\"record_type\" = ? AND \"action_text_rich_texts\".\"name\" = ? AND \"action_text_rich_texts\".\"record_id\" IN (?, ?, ?)  [[\"record_type\", \"Message\"], [\"name\", \"content\"], [\"record_id\", 1], [\"record_id\", 2], [\"record_id\", 3]]\n  ↳ app/views/messages/index.html.erb:14\n  ActiveStorage::Attachment Load (0.3ms)  SELECT \"active_storage_attachments\".* FROM \"active_storage_attachments\" WHERE \"active_storage_attachments\".\"record_type\" = ? AND \"active_storage_attachments\".\"name\" = ? AND \"active_storage_attachments\".\"record_id\" IN (?, ?, ?)  [[\"record_type\", \"ActionText::RichText\"], [\"name\", \"embeds\"], [\"record_id\", 1], [\"record_id\", 2], [\"record_id\", 3]]\n  ↳ app/views/messages/index.html.erb:14\n  ActiveStorage::Blob Load (0.1ms)  SELECT \"active_storage_blobs\".* FROM \"active_storage_blobs\" WHERE \"active_storage_blobs\".\"id\" IN (?, ?, ?)  [[\"id\", 1], [\"id\", 2], [\"id\", 3]]\n  ↳ app/views/messages/index.html.erb:14\n  ActiveStorage::Blob Load (0.2ms)  SELECT \"active_storage_blobs\".* FROM \"active_storage_blobs\" WHERE \"active_storage_blobs\".\"id\" = ? LIMIT ?  [[\"id\", 1], [\"LIMIT\", 1]]\n  ↳ app/views/messages/index.html.erb:16\n  Rendered active_storage/blobs/_blob.html.erb (Duration: 7.6ms | Allocations: 3147)\n  Rendered /Users/willnet/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/bundler/gems/rails-a390001bbe48/actiontext/app/views/action_text/content/_layout.html.erb (Duration: 14.5ms | Allocations: 7143)\n  ActiveStorage::Blob Load (0.2ms)  SELECT \"active_storage_blobs\".* FROM \"active_storage_blobs\" WHERE \"active_storage_blobs\".\"id\" = ? LIMIT ?  [[\"id\", 2], [\"LIMIT\", 1]]\n  ↳ app/views/messages/index.html.erb:16\n  Rendered active_storage/blobs/_blob.html.erb (Duration: 0.7ms | Allocations: 521)\n  Rendered /Users/willnet/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/bundler/gems/rails-a390001bbe48/actiontext/app/views/action_text/content/_layout.html.erb (Duration: 5.5ms | Allocations: 3717)\n  ActiveStorage::Blob Load (0.1ms)  SELECT \"active_storage_blobs\".* FROM \"active_storage_blobs\" WHERE \"active_storage_blobs\".\"id\" = ? LIMIT ?  [[\"id\", 3], [\"LIMIT\", 1]]\n  ↳ app/views/messages/index.html.erb:16\n  Rendered active_storage/blobs/_blob.html.erb (Duration: 0.9ms | Allocations: 521)\n  Rendered /Users/willnet/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/bundler/gems/rails-a390001bbe48/actiontext/app/views/action_text/content/_layout.html.erb (Duration: 4.6ms | Allocations: 3739)\n  Rendered messages/index.html.erb within layouts/application (Duration: 90.7ms | Allocations: 52152)\nCompleted 200 OK in 927ms (Views: 911.9ms | ActiveRecord: 3.1ms | Allocations: 1507212)\n```\n\nThere are many `ActiveStorage::Blob Load`!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillnet%2Factiontextnplus1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillnet%2Factiontextnplus1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillnet%2Factiontextnplus1/lists"}