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,983 of 193,540
Downloads: 4,690

Daily

Ranking: 103,856 of 193,523
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,477,387,544bundler
81,341,038,984rake
29987,418,354rspec

Owners

#GravatarHandle
1iconplatbr