RubyGems Navigation menu

where_unless_blank 1.1.0

The behavior of "where" when querrying for a null value is include the statment and return rows with null value. This gem creates a simple way to remove statements with null/blank values from query. Very usefull for search forms avoiding you to worry about unfilled fields.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.1.0 - September 30, 2019 (19 KB)
  2. 1.0.0 - September 27, 2019 (18.5 KB)

Development Dependencies (3):

bundler ~> 1.17
rake ~> 10.0
rspec ~> 3.0

Owners:

Pushed by:

Authors:

  • Wagner Caixeta

SHA 256 checksum:

723cb93f7ce0c86dd46ae563739c934ba2a05c664dd27aa0755dbd8b2671506a

Total downloads 3,841

For this version 2,242

Licenses:

N/A

Required Ruby Version: >= 0

Links: