All threads / Rails for Beginners Part 21: Reset Password Token Mailer Discussion
Ask A Question


You’re not receiving notifications from this thread.

Rails for Beginners Part 21: Reset Password Token Mailer Discussion

Need rails 6.1.0 and above to access user.signed_id in case somene is having issues with that

On the upside, this led to me performing my first Rails app upgrade.

Thank you for the tip! I was getting pretty frustrated since, with all the Rails "magic" going on, I usually have no idea where the source of any issue is :/

I'm using Rails and user.signed_id doesn't work:

irb(main):003:0> user.signed_id
(irb):3:in <main>': undefined local variable or methoduser' for main:Object (NameError)

any ideas?

I'm getting the same error! Did you manage to figure it out?

you should first sign user to the user you want to test. if you have one user you use `user= User.last' to use it.

Dude thank you for this

How to invalid token after successful reset password?

Fantastic article. This is, in my opinion, one of the best posts ever written. Your work is excellent and inspiring. Thank you very much.
wordle game

what's the alternative for whom are using < version 6

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 68,099+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.