lib/searchlogic/named_scopes/alias_scope.rb in binarylogic-searchlogic-2.1.13 vs lib/searchlogic/named_scopes/alias_scope.rb in binarylogic-searchlogic-2.2.0

- old
+ new

@@ -46,9 +46,10 @@ def alias_scopes # :nodoc: @alias_scopes ||= {} end def alias_scope?(name) # :nodoc: + return false if name.blank? alias_scopes.key?(name.to_sym) end def condition?(name) # :nodoc: super || alias_scope?(name) \ No newline at end of file