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

python 3.x - Mapping specific letters onto a list of words -

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -