title: Allow only specific emails to register in Rails app (Devise)
body: <p>I am using Devise to authenticate and register users in my Rails app. However, I only want users who have an email with a specific ending to be able to sign up and access it (let's say @xyz.com). What do I need to do to reflect that?</p>