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: 137,363 of 196,658
Downloads: 4,772

Daily

Ranking: 111,482 of 196,619
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,750,343,576bundler
81,416,600,134rake
291,020,526,382rspec

Owners

#GravatarHandle
1iconplatbr