You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it's possible that params get passed in as Fixnum or Boolean types that won't respond to blank? when iterating and constructing the query string. adding a to_s will prevent exceptions.
def params
flat = {}
@options[:params].merge!(:track => @options[:filters]) unless @options[:filters].blank?
@options[:params].each do |param, val|
next if val.to_s.empty?
val = val.join(",") if val.respond_to?(:join)
flat[escape(param)] = escape(val)
end
flat
end
The text was updated successfully, but these errors were encountered:
json_stream.rb:298
it's possible that params get passed in as Fixnum or Boolean types that won't respond to blank? when iterating and constructing the query string. adding a to_s will prevent exceptions.
The text was updated successfully, but these errors were encountered: