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,371 of 183,107
Downloads: 4,052

Daily

Ranking: 86,038 of 183,092
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,407,087,911bundler
10953,844,246rake
25817,849,894rspec

Owners

#GravatarHandle
1iconplatbr