Closed Mariusio closed 3 years ago
I have the same issues like you, also using ruby 3.0.0
NoMethodError (undefined method `has_one_time_password' for User:Class)
Looks like there's a fix being worked on here: https://github.com/heapsource/active_model_otp/pull/77
Glad to see a release with this fix 🎉 🎉
@Maarius I think we can close this issue, because https://github.com/heapsource/active_model_otp/pull/77 was merged 🏁
Awesome! Thanks for the ping @pedrofurtado
I was trying to update my rails app to ruby 3.0.0 and noticed that when I tried to sign up new users using devise I get the following error:
The issue goes away when I comment
has_one_time_password
out in theUser
model so it seems quite likely that it is related to this gem. Is this issue known / expected? Otherwise I can gladly post the exact steps to reproduce.