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

Encrypted Password Doesn't Work

Hi. I am working on the integration testing friendships part right now and it is not accepting the encrypted password I had to copy down from the video (because you did not provide it in the project files) and it is not working. This is what I am using. Please post the correct one or how to fix this. "$2a$10$Fh/Hm8RxDsuPTeBUr6864.GARlcmt7zF2WspaXGr3BIv2C27N.osq"

It's working for me. Are you using the password "testing" when you call sign_in_as?

sign_in_as users(:jim), "testing"

The encrypted password is listed in a code snippet below the video.

1 Answer

Did Ben's answer help out at all?