{"id":19725380,"url":"https://github.com/bodacious/dog_the_data_hunter","last_synced_at":"2026-06-13T17:01:39.275Z","repository":{"id":66871713,"uuid":"731671","full_name":"Bodacious/dog_the_data_hunter","owner":"Bodacious","description":"Easily search multiple model attributes at once","archived":false,"fork":false,"pushed_at":"2010-06-26T14:40:34.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T01:47:06.963Z","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/Bodacious.png","metadata":{"files":{"readme":"README.markdown","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":"2010-06-21T08:55:30.000Z","updated_at":"2013-10-09T11:26:57.000Z","dependencies_parsed_at":"2023-02-20T13:15:25.486Z","dependency_job_id":null,"html_url":"https://github.com/Bodacious/dog_the_data_hunter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Bodacious/dog_the_data_hunter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodacious%2Fdog_the_data_hunter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodacious%2Fdog_the_data_hunter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodacious%2Fdog_the_data_hunter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodacious%2Fdog_the_data_hunter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bodacious","download_url":"https://codeload.github.com/Bodacious/dog_the_data_hunter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodacious%2Fdog_the_data_hunter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34292326,"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-13T02:00:06.617Z","response_time":62,"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-11T23:29:33.248Z","updated_at":"2026-06-13T17:01:39.245Z","avatar_url":"https://github.com/Bodacious.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"DogTheDataHunter\n================\n\nAdds a named scope named search to any of your models. Once included, you can search on any attribute you specify.\n\n\nExample\n=======\n\nYou have a User model and would like to be able to search all users by either their first name, last name or email address:\n\n     class User \u003c ActiveRecord::Base\n     \n       include DogTheDataHunter\n\n       search_attributes :first_name, :last_name, :email, :exact_match =\u003e false\n\n     end\n\nThis creates a named scope on the model called \"search\" which you can pass a string to:\n    \n    User.search(\"Gavin\").all(:order =\u003e \"last_name, first_name\")\n\nOptions:\n\n* \u003ctt\u003e:exact_match\u003c/tt\u003e - Should the string that is passed be an exact match for the column data or simply LIKE it?\n\n\nCopyright (c) 2010 [Gavin Morrice](\"http://gavinmorrice.com\"), released under the MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodacious%2Fdog_the_data_hunter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbodacious%2Fdog_the_data_hunter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodacious%2Fdog_the_data_hunter/lists"}