plataformatec/has_scope — Issue #23: Documentation or code issue?
Author: tjoyal
Created: 2012-01-25 22:25:18+00:00
State: open

Documentation :
:default - Default value for the scope. Whenever supplied the scope is always called.

# Dosent call the scope :
has_scope :for_parent, :default => nil

# Call the scope :
has_scope :for_parent, :default => nil, :allow_blank => true

Would have suggest a fix but I am not quite sure what would be the best behaviour.