thoughtbot/pacecar — Issue #28: Shouldn't _inside/_outside be available for numeric too?
Author: dolzenko
Created: 2012-01-08 14:40:51+00:00
State: open

Obnoxious idea guy here again, it looks to me like `_inside/_outside` scopes can be as well used on numeric columns, WDYT?

Comment.rating_inside(2, 5) # => SELECT "comments".* FROM "comments" WHERE ("comments"."rating" BETWEEN 2 AND 5)