{"id":14969822,"url":"https://github.com/pikachuexe/where_lower","last_synced_at":"2025-09-14T09:30:31.297Z","repository":{"id":7592536,"uuid":"8949024","full_name":"PikachuEXE/where_lower","owner":"PikachuEXE","description":"Provide an easy way to use case insensitive `where` in ActiveRecord.","archived":false,"fork":false,"pushed_at":"2024-12-26T00:23:21.000Z","size":110,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-02T09:21:58.452Z","etag":null,"topics":["activerecord","gem","rails","ruby","ruby-on-rails"],"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/PikachuEXE.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["PikachuEXE"]}},"created_at":"2013-03-22T09:48:26.000Z","updated_at":"2024-12-26T00:23:24.000Z","dependencies_parsed_at":"2023-02-18T04:30:19.198Z","dependency_job_id":"d57f9757-c70f-4afa-a4cf-33315b4938b7","html_url":"https://github.com/PikachuEXE/where_lower","commit_stats":{"total_commits":156,"total_committers":3,"mean_commits":52.0,"dds":0.03205128205128205,"last_synced_commit":"7f1a7bb6b6fc987dee9f8094c1c9d40f16baf558"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PikachuEXE%2Fwhere_lower","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PikachuEXE%2Fwhere_lower/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PikachuEXE%2Fwhere_lower/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PikachuEXE%2Fwhere_lower/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PikachuEXE","download_url":"https://codeload.github.com/PikachuEXE/where_lower/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232962565,"owners_count":18603379,"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","gem","rails","ruby","ruby-on-rails"],"created_at":"2024-09-24T13:42:27.071Z","updated_at":"2025-01-08T02:13:19.311Z","avatar_url":"https://github.com/PikachuEXE.png","language":"Ruby","funding_links":["https://github.com/sponsors/PikachuEXE"],"categories":[],"sub_categories":[],"readme":"# where_lower\n\nProvide an easy way to use case insensitive `where` in ActiveRecord.\n\n\n## Status\n\n[![GitHub Build Status](https://img.shields.io/github/actions/workflow/status/PikachuEXE/where_lower/tests.yaml?branch=master\u0026style=flat-square)](https://github.com/PikachuEXE/where_lower/actions/workflows/tests.yaml)\n\n[![Gem Version](http://img.shields.io/gem/v/where_lower.svg?style=flat-square)](http://badge.fury.io/rb/where_lower)\n[![License](https://img.shields.io/github/license/PikachuEXE/where_lower.svg?style=flat-square)](http://badge.fury.io/rb/where_lower)\n\n[![Coverage Status](http://img.shields.io/coveralls/PikachuEXE/where_lower.svg?style=flat-square)](https://coveralls.io/r/PikachuEXE/where_lower)\n[![Code Climate](https://img.shields.io/codeclimate/maintainability/PikachuEXE/where_lower.svg?style=flat-square)](https://codeclimate.com/github/PikachuEXE/where_lower)\n[![Inch CI](https://inch-ci.org/github/PikachuEXE/where_lower.svg?branch=master)](https://inch-ci.org/github/PikachuEXE/where_lower)\n\n\u003e The above badges are generated by https://shields.io/\n\n\n## Installation\n\n```ruby\ngem 'where_lower'\n```\n\n\n## Usage\nSupports `String`, `Array`, `Range`  \nValues in `Array` and `Range` will be converted to `String` and then `downcase`  \nOther types will not be touched\n\n```ruby\nSomeActiveRecordClass.where_lower(attribute1: 'AbC', attribute2: ['stRing', 123, :symBol], attribute3: ('AA'..'AZ'))\n```\n\n### Since `0.3.0`\nYou can pass a nested hash (1 level deep only) for association condition\n```ruby\nrecord.association_records.where_lower(association_table: {association_column: value})\n```\n\nYou can also add table name in key if you are using it with association  \nI don't plan to support any \"smart\" table guessing though\n```ruby\nrecord.association_records.where_lower('association_table.association_column' =\u003e value)\n```\n\n\n## Contributors\n- [Matthew Rudy Jacobs](https://github.com/matthewrudy) (Who wrote the first version of `where_lower` method)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpikachuexe%2Fwhere_lower","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpikachuexe%2Fwhere_lower","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpikachuexe%2Fwhere_lower/lists"}