ruby on rails - devise gem confirmation email sent 302 error -
i using devise gem user registration. confirm email not sent. 302 error.
user.rb add together :confirmable
migration successful.
# config/environments/development.rb config.action_mailer.default_url_options = { :host => 'localhost:3000' } config.action_mailer.raise_delivery_errors = false config.action_mailer.delivery_method = :smtp config.action_mailer.perform_deliveries = true config.action_mailer.default :charset => "utf-8" config.action_mailer.smtp_settings = { :address => 'smtp.gmail.com', :port => 587, :domain => "domain.com", :authentication => :plain, :user_name => "gmail@gmail.com", :password => "password" }
ruby-on-rails ruby-on-rails-3 ruby-on-rails-4 devise devise-confirmable
No comments:
Post a Comment