{"id":17141563,"url":"https://github.com/tomgi/acts_as_finder","last_synced_at":"2025-03-24T08:22:35.618Z","repository":{"id":3786703,"uuid":"4864645","full_name":"tomgi/acts_as_finder","owner":"tomgi","description":null,"archived":false,"fork":false,"pushed_at":"2012-07-03T18:43:26.000Z","size":157,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T16:42:13.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/acts_as_finder","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/tomgi.png","metadata":{"files":{"readme":"README.md","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":"2012-07-02T20:43:52.000Z","updated_at":"2014-04-24T00:19:33.000Z","dependencies_parsed_at":"2022-08-17T23:00:10.053Z","dependency_job_id":null,"html_url":"https://github.com/tomgi/acts_as_finder","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomgi%2Facts_as_finder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomgi%2Facts_as_finder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomgi%2Facts_as_finder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomgi%2Facts_as_finder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomgi","download_url":"https://codeload.github.com/tomgi/acts_as_finder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245233090,"owners_count":20581739,"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-10-14T20:25:50.305Z","updated_at":"2025-03-24T08:22:35.591Z","avatar_url":"https://github.com/tomgi.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ActsAsFinder\n\nThis `acts_as` extension provides the capabilities for beautiful record finding by specified column(s).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'acts_as_finder'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install acts_as_finder\n\n## Example Usage\n\nAssume you have following model:\n\n    class Language \u003c ActiveRecord::Base\n      acts_as_finder :short_name, :name\n    end\n\t\nAnd records in database:\n\n    +----+------------+---------+\n    | id | short_name | name    |\n    +----+------------+---------+\n    | 1  | EN         | English |\n    | 2  | PL         | Polish  |\n    +----+------------+---------+\n\nNow you can use this extension like this:\n\n    \u003e\u003e Language.EN\n    =\u003e #\u003cLanguage id: 1, short_name: \"EN\", name: \"English\"\u003e \n\n    \u003e\u003e Language.Polish\n    =\u003e #\u003cLanguage id: 2, short_name: \"PL\", name: \"Polish\"\u003e\n    \n## Build Status\n[![Build Status](https://secure.travis-ci.org/tomgi/acts_as_finder.png)](https://secure.travis-ci.org/tomgi/acts_as_finder)\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Added some feature'`)\n4. Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.\n5. Push to the branch (`git push origin my-new-feature`)\n6. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomgi%2Facts_as_finder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomgi%2Facts_as_finder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomgi%2Facts_as_finder/lists"}