lib/rsolr-ext/request/queryable.rb in mwmitchell-rsolr-ext-0.5.8 vs lib/rsolr-ext/request/queryable.rb in mwmitchell-rsolr-ext-0.5.9
- old
+ new
@@ -21,10 +21,10 @@
# the values are either processed as a Range or
# passed back into build_query (recursive)
def build_query(value, quote_string=false)
case value
when String,Symbol
- return quote_string ? quote(value.to_s) : value.to_s
+ quote_string ? quote(value.to_s) : value.to_s
when Array
value.collect do |v|
build_query(v, quote_string)
end.flatten
when Hash
\ No newline at end of file