Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

alborz
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
alborz
Full Stack JavaScript Techdegree Graduate 30,885 Points

The link from the password reset email brings the user to a page that says it doesn't exist

Hi,

In my Ruby Todolist app, after I attempt to reset the password for one of my users I successfully receive the email for the reset.

However, when I click the link I am taken to a page that says:

"The page you were looking for doesn't exist.

You may have mistyped the address or the page may have moved.

If you are the application owner check the logs for more information."

Here is what my log says:

Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
2014-12-31T18:11:43.815464+00:00 app[web.1]: Processing by PasswordResetsController#create as HTML
2014-12-31T18:11:43.815497+00:00 app[web.1]:   Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8V/7zhF+/OqQUAst8ux38QIkq+wrtc6Jbvi3E/ktEs=", "email"=>"testemail118@gmail.com", "commit"=>"Reset Password"}
2014-12-31T18:11:43.829576+00:00 app[web.1]:   Rendered notifier/password_reset.text.erb (0.4ms)
2014-12-31T18:11:43.814483+00:00 app[web.1]: Started POST "/password_resets" for 70.109.57.91 at 2014-12-31 18:11:43 +0000
2014-12-31T18:11:44.310811+00:00 heroku[router]: at=info method=POST path="/password_resets" host=wutitdo.herokuapp.com request_id=6888da34-29dd-424f-9feb-ebdb2e80b57f fwd="70.109.57.91" dyno=web.1 connect=1ms service=498ms status=302 bytes=1264
2014-12-31T18:11:44.307649+00:00 app[web.1]: 
2014-12-31T18:11:44.307656+00:00 app[web.1]: Sent mail to testemail118@gmail.com (476.4ms)
2014-12-31T18:11:44.308345+00:00 app[web.1]: Redirected to http://wutitdo.herokuapp.com/login
2014-12-31T18:11:44.432708+00:00 app[web.1]: Started GET "/login" for 70.109.57.91 at 2014-12-31 18:11:44 +0000
2014-12-31T18:11:44.436046+00:00 app[web.1]:   Rendered user_sessions/new.html.erb within layouts/application (0.9ms)
2014-12-31T18:11:44.308589+00:00 app[web.1]: Completed 302 Found in 493ms (ActiveRecord: 5.5ms)
2014-12-31T18:11:44.434039+00:00 app[web.1]: Processing by UserSessionsController#new as HTML
2014-12-31T18:11:44.436987+00:00 app[web.1]: Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
2014-12-31T18:11:44.440715+00:00 heroku[router]: at=info method=GET path="/login" host=wutitdo.herokuapp.com request_id=e15dfe04-06df-436e-8009-42108cb0c96f fwd="70.109.57.91" dyno=web.1 connect=1ms service=7ms status=200 bytes=2601

I'm not sure what the issue is.