ruby on rails - Capybara's visit method returns : NoMethodError: undefined method `to_i' for true:TrueClass -


i'm trying go through confirmation process :

request_url = "/users/confirmation?confirmation_token=azq32sozne1xuswljbat" 

then when :

visit request_url 

it returns :

nomethoderror: undefined method `to_i' true:trueclass 

i thought, originally, devise, doesn't hit of debuggers never makes there. what's more puzzling made no adjustments area of app, i'm confused how arose.

any ideas on how debug this?

my guess confirmation token doesn't exist. @ code surrounding error, have saying

my_variable = true my_variable.to_i 

you're calling .to_i somewhere on boolean, no good.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -