[Awesome Ruby Gem] Use type_scopes gem to provide useful scopes based on columns' types (dates, times, strings and numerics)
Type Scopes
Type scopes creates useful semantic scopes based on the type of the columns of your models. It handles dates, times, strings, numerics and booleans.