Search code examples
ruby-on-railsruby-on-rails-3emaildevise

skip confirmation e-mail in development with devise


I am using devise and I want to be able to skip the confirmation e-mail while I am in development mode. Since my application can't send e-mail while running on my local machine, I will just get the alert message saying that you need to be confirmed before accessing the application.


Solution

  • try Letter Opener gem from Ryan Bates

    https://github.com/ryanb/letter_opener

    it will open the email in the browser without sending it. You don't want to be skipping stuff out if you're in development because stuff will get missed/forgotten about.