{"id":15151846,"url":"https://github.com/yujideveloper/activerecord-pick","last_synced_at":"2025-09-29T21:31:17.982Z","repository":{"id":62552856,"uuid":"123578663","full_name":"yujideveloper/activerecord-pick","owner":"yujideveloper","description":"Backport of `ActiveRecord::Relation#pick` for Rails 5 and 4.2 applications.","archived":true,"fork":false,"pushed_at":"2022-06-20T14:28:15.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-18T01:04:19.334Z","etag":null,"topics":["activerecord","backport","backports","rails","rails4","rails5","ruby"],"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/yujideveloper.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-03-02T12:51:31.000Z","updated_at":"2023-01-27T23:45:33.000Z","dependencies_parsed_at":"2022-11-03T04:15:17.601Z","dependency_job_id":null,"html_url":"https://github.com/yujideveloper/activerecord-pick","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yujideveloper%2Factiverecord-pick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yujideveloper%2Factiverecord-pick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yujideveloper%2Factiverecord-pick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yujideveloper%2Factiverecord-pick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yujideveloper","download_url":"https://codeload.github.com/yujideveloper/activerecord-pick/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219865570,"owners_count":16554158,"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":["activerecord","backport","backports","rails","rails4","rails5","ruby"],"created_at":"2024-09-26T15:23:00.087Z","updated_at":"2025-09-29T21:31:17.703Z","avatar_url":"https://github.com/yujideveloper.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"*Rails 5.2 is no longer maintained since 2022-06-01. So, this gem is no longer maintained as well.*\n\n----\n\n# ActiveRecord::Pick\n\nBackport of `ActiveRecord::Relation#pick` for Rails 5 and 4.2 applications.\nhttps://github.com/rails/rails/pull/31941\n\n[![Gem Version](https://badge.fury.io/rb/activerecord-pick.svg)](https://badge.fury.io/rb/activerecord-pick)\n[![Build Status](https://travis-ci.org/yujideveloper/activerecord-pick.svg?branch=master)](https://travis-ci.org/yujideveloper/activerecord-pick)\n[![Maintainability](https://api.codeclimate.com/v1/badges/69b57b07aa990b2b5965/maintainability)](https://codeclimate.com/github/yujideveloper/activerecord-pick/maintainability)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'activerecord-pick'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install activerecord-pick\n\n## Usage\n\n``` ruby\nAccount.order(:id).pick(:email) #=\u003e \"account@example.com\"\nAccount.order(:id).pick(:email, :name) #=\u003e [\"account@example.com\", \"Account Name\"]\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/yujideveloper/activerecord-pick.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyujideveloper%2Factiverecord-pick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyujideveloper%2Factiverecord-pick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyujideveloper%2Factiverecord-pick/lists"}