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: 136,642 of 195,762
Downloads: 4,755

Daily

Ranking: 60,205 of 195,747
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,629,697,366bundler
81,384,293,602rake
291,006,320,288rspec

Owners

#GravatarHandle
1iconplatbr