validate_signature error

I'm using sinatra, and I've found out that when I use token = session.request_token(params) after the first redirect the params variable is a hash with strings as keys and validation_signature expects a symbol.