{"id":15543779,"url":"https://github.com/amiel/has_metadata_and_delegates","last_synced_at":"2025-07-28T11:03:35.728Z","repository":{"id":688280,"uuid":"332352","full_name":"amiel/has_metadata_and_delegates","owner":"amiel","description":"Delegates methods to a metadata association, and automatically creates it if necessary.","archived":false,"fork":false,"pushed_at":"2010-10-28T16:04:55.000Z","size":96,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-03T12:33:10.011Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amiel.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-10-09T17:56:08.000Z","updated_at":"2019-08-13T14:28:32.000Z","dependencies_parsed_at":"2022-08-16T10:45:09.219Z","dependency_job_id":null,"html_url":"https://github.com/amiel/has_metadata_and_delegates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amiel/has_metadata_and_delegates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiel%2Fhas_metadata_and_delegates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiel%2Fhas_metadata_and_delegates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiel%2Fhas_metadata_and_delegates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiel%2Fhas_metadata_and_delegates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amiel","download_url":"https://codeload.github.com/amiel/has_metadata_and_delegates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiel%2Fhas_metadata_and_delegates/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267505099,"owners_count":24098346,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"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-10-02T12:28:22.235Z","updated_at":"2025-07-28T11:03:35.701Z","avatar_url":"https://github.com/amiel.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Has Metadata And Delegates\n\nDelegates methods to a metadata association, and automatically creates it if necessary.\n\n== Example\n\n\tclass User \u003c ActiveRecord::Base\n\t\thas_one :metadata, :class_name =\u003e 'UserMetadata'\n\t\thas_metadata_and_delegates :invite_count, :'foobar*'\n\tend\n\t\n\tclass UserMetadata \u003c ActiveRecord::Base\n\tend\n\n\tUser.first.metadata_without_creation # =\u003e nil\n\tUser.first.foobar = 'blah'\n\tUser.first.metadata.foobar # =\u003e 'blah'\n\n== Rails Versions\n\nThis plugin is known to work in versions of rails 2.x. It has not been tested in rails 3.\n\nPlease let me know what experience you have if you try this with rails 3.\n\nCopyright (c) 2009 Amiel Martin, released under the MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famiel%2Fhas_metadata_and_delegates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famiel%2Fhas_metadata_and_delegates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famiel%2Fhas_metadata_and_delegates/lists"}