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,609 of 187,255
Downloads: 4,385

Daily

Ranking: 98,642 of 187,239
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,973,645,220bundler
101,152,124,538rake
27919,498,517rspec

Owners

#GravatarHandle
1iconplatbr