{"id":28585934,"url":"https://github.com/phusion/activerecord-string-enum","last_synced_at":"2025-06-11T06:12:24.918Z","repository":{"id":28806454,"uuid":"32329537","full_name":"phusion/activerecord-string-enum","owner":"phusion","description":"Make ActiveRecord 4's Enum store as strings instead of integers.","archived":false,"fork":false,"pushed_at":"2024-01-03T21:39:13.000Z","size":15,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-18T18:51:35.015Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/phusion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-16T14:14:22.000Z","updated_at":"2024-02-06T15:08:15.000Z","dependencies_parsed_at":"2022-09-05T01:20:20.168Z","dependency_job_id":null,"html_url":"https://github.com/phusion/activerecord-string-enum","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phusion%2Factiverecord-string-enum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phusion%2Factiverecord-string-enum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phusion%2Factiverecord-string-enum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phusion%2Factiverecord-string-enum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phusion","download_url":"https://codeload.github.com/phusion/activerecord-string-enum/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phusion%2Factiverecord-string-enum/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259211928,"owners_count":22822385,"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":"2025-06-11T06:12:23.705Z","updated_at":"2025-06-11T06:12:24.911Z","avatar_url":"https://github.com/phusion.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Activerecord::StringEnum\n\nMake ActiveRecord 4's Enum store as strings instead of integers.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'activerecord-string-enum'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install activerecord-string-enum\n\n## Usage\n\n    class Task \u003c ActiveRecord::Base\n        extend ActiveRecord::StringEnum\n    \n        str_enum :status, [:running, :finished]\n    end\n\n## Contributing\n\n1. Fork it ( https://github.com/phusion/activerecord-string-enum/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphusion%2Factiverecord-string-enum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphusion%2Factiverecord-string-enum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphusion%2Factiverecord-string-enum/lists"}