{"id":20061669,"url":"https://github.com/tylerrick/has_many_through_with_join_model","last_synced_at":"2026-06-08T11:32:34.383Z","repository":{"id":1144916,"uuid":"1026670","full_name":"TylerRick/has_many_through_with_join_model","owner":"TylerRick","description":"Access the associated join model from any element in your has_many :through association collection","archived":false,"fork":false,"pushed_at":"2011-04-18T00:45:28.000Z","size":341,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-15T06:15:21.308Z","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/TylerRick.png","metadata":{"files":{"readme":"Readme.rdoc","changelog":null,"contributing":null,"funding":null,"license":"License","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-10-26T20:25:03.000Z","updated_at":"2015-02-02T21:14:35.000Z","dependencies_parsed_at":"2022-08-16T12:15:19.394Z","dependency_job_id":null,"html_url":"https://github.com/TylerRick/has_many_through_with_join_model","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TylerRick/has_many_through_with_join_model","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fhas_many_through_with_join_model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fhas_many_through_with_join_model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fhas_many_through_with_join_model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fhas_many_through_with_join_model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TylerRick","download_url":"https://codeload.github.com/TylerRick/has_many_through_with_join_model/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fhas_many_through_with_join_model/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34061122,"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-08T02:00:07.615Z","response_time":111,"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.589Z","updated_at":"2026-06-08T11:32:34.366Z","avatar_url":"https://github.com/TylerRick.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= has_many_through_with_join_model\n\nAccess the associated join model from any element in your has_many :through association collection\n\n== Getting started\n\n./script/plugin install git://github.com/TylerRick/has_many_through_with_join_model.git\n\n  class Group\n    has_many :users, :through =\u003e :memberships, :extend =\u003e WithJoinModel\n  end\n  \n  group.users.with_join.map(\u0026:membership) # =\u003e [\u003cMembership\u003e, \u003cMembership\u003e, ...]\n  group.users.with_join.map(\u0026:join)       # =\u003e [\u003cMembership\u003e, \u003cMembership\u003e, ...]\n\n== Name ideas?\n\nPlease let me know if you have suggestions for improving naming -- the plugin, the module name/namespace (WithJoinModel?), the methods (with_join? join? through?), etc.\n\nFor that matter, suggestions of any sort are welcome:\nhttp://github.com/TylerRick/has_many_through_with_join_model/issues\n\n== Note on Patches/Pull Requests\n \n* Fork the project.\n* Make your feature addition or bug fix.\n* Add tests for it. This is important so I don't break it in a\n  future version unintentionally.\n* Commit, do not mess with rakefile, version, or history.\n  (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)\n* Send me a pull request.\n\n== Copyright\n\nCopyright (c) 2010 Tyler Rick. See LICENSE for details.\n\nThe initial starting point for setting up the specs was attribute_normalizer -- thanks for showing me how to write specs for an ActiveRecord plugin.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylerrick%2Fhas_many_through_with_join_model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftylerrick%2Fhas_many_through_with_join_model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylerrick%2Fhas_many_through_with_join_model/lists"}