Sha256: 881ab56b1207c95ee5d6a4245fe6a60ecab401b75f6c53c2858b0649af76b480
Contents?: true
Size: 855 Bytes
Versions: 1
Compression:
Stored size: 855 Bytes
Contents
where_lower =========== Provide an easy way to use case insensitive `where` in ActiveRecord. ### Support =========== Tested against: - Active Record of version `3.1`, `3.2` and `4.0` - Ruby `1.9.2`, `1.9.3`, `2.0.0` (except Rails 4 with `1.9.2`) [![Build Status](https://travis-ci.org/PikachuEXE/where_lower.png?branch=master)](https://travis-ci.org/PikachuEXE/where_lower) Install ======= ```ruby gem 'where_lower' ``` Usage ===== Supports `String`, `Array`, `Range` Values in `Array` and `Range` will be converted to `String` and then `downcase` Other types will not be touched ```ruby SomeActiveRecordClass.where_lower(attribute1: 'AbC', attribute2: ['stRing', 123, :symBol], attribute3: ('AA'..'AZ')) ``` Contributors ============ [Matthew Rudy Jacobs](https://github.com/matthewrudy) (Who wrote the first version of `where_lower` method)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
where_lower-0.1.0 | README.md |