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,800 of 187,622
Downloads: 4,419

Daily

Ranking: 139,079 of 187,603
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,012,753,026bundler
101,166,409,648rake
28925,351,231rspec

Owners

#GravatarHandle
1iconplatbr