Categories: None [Edit]

where_unless_blank

https://rubygems.org/gems/where_unless_blank
https://github.com/platbr/where_unless_blank
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.

Total

Ranking: 135,899 of 180,702
Downloads: 3,852

Daily

Ranking: 80,006 of 180,689
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,107,069,537bundler
16863,261,344rake
24772,716,171rspec

Owners

#GravatarHandle
1iconplatbr