All threads / Invite using phone number instead of email
Ask A Question


You’re not receiving notifications from this thread.

Invite using phone number instead of email

kshitijLohbare asked in Rails

I am using devise gem for authenticating users. I modified it a bit to let users signup using a mobile number instead of email id. Which now works as expected.
What I want to do next is inviting users in a project using the phone number. I saw the tutorial for inviting users using the devise_invitable gem. Should I try and modify the gem to use invite on the mobile number or build a custom method?
I am still a bit new to rails, if you can also point me to a resource to enable this use case, that would be really helpful.
Thanks :)

Join the discussion

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

Join 66,029+ 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.