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 User Authentication with Rails Password Resets and Testing Password Resets

Password Resets Quiz

Fill in the blank to complete the following code by calling the "generate_password_reset_token!" method on the user object after the user object is found:

This one had me confused at first too. I tried several different things. I didn't notice the . between the bl blanks at first. Also the answer can be found in the teachers notes under the video. I don't want to give the answer away. . I hope this helps But the word on the first line is . . . user._________________________!

1 Answer

It's user.generate_password_reset_token!