plataformatec/has_scope — pull request #37 by krzysiekherod (2013-04-14 11:44:40+00:00)
Title: default value as a proc without argument

Sometimes, for example when the scope is a date, or time, it's good to use proc to define default value, and then syntax like this:
has_scope :at, :default => ->(controller) { Date.today }
is too cluttered, as we don't need anything from controller.