{"id":20061668,"url":"https://github.com/tylerrick/cells-capture","last_synced_at":"2026-06-20T20:31:11.284Z","repository":{"id":66442457,"uuid":"1508183","full_name":"TylerRick/cells-capture","owner":"TylerRick","description":"Provides helpers that allow your cell views to communicate with the view that rendered the cell","archived":false,"fork":false,"pushed_at":"2011-03-21T19:55:13.000Z","size":172,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-15T06:14:16.163Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/TylerRick.png","metadata":{"files":{"readme":"Readme","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":"2011-03-21T19:35:35.000Z","updated_at":"2013-10-15T08:49:32.000Z","dependencies_parsed_at":"2023-02-20T04:15:43.235Z","dependency_job_id":null,"html_url":"https://github.com/TylerRick/cells-capture","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TylerRick/cells-capture","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fcells-capture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fcells-capture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fcells-capture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fcells-capture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TylerRick","download_url":"https://codeload.github.com/TylerRick/cells-capture/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fcells-capture/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34585195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-13T13:21:27.584Z","updated_at":"2026-06-20T20:31:11.251Z","avatar_url":"https://github.com/TylerRick.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Cells Capture helpers\n\n== Intro\n\nThis adds some helpers to Cells \u003chttp://github.com/apotonick/cells\u003e.\n\nExample:\n\napp/cells/capture_test/display.html.erb\n\n  \u003c% outer_content_for :greetings do %\u003e\n    \u003ch1\u003eHello world!\u003c/h1\u003e\n  \u003c% end %\u003e\n\nIf you then render this cell from a view (doesn't work from a controller because it requires the view context), say like this:\n\napp/views/home/index.html.erb\n\n  \u003c%= render_cell :capture_test, :display %\u003e\n\nThis executes #content_for in the context of the outer ActionView view context. The captured markup can then be accessed in your outer action view or in your layout, like this:\n\napp/views/layouts/application.html.erb:\n\n  \u003c%= content_for :greetings %\u003e\n\n== Known issues\n\nIt appears that the markup within the outer_content_for block in your cell view appends that markup to your cell view instead of simply capturing it. This is a serious problem and I'm not sure why it is happening.\n\n== History\n\nSee the comments on https://github.com/TylerRick/cells/commit/b06def3f6d37011d7ababd527e57e65aadbe08a1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylerrick%2Fcells-capture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftylerrick%2Fcells-capture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylerrick%2Fcells-capture/lists"}