DEV Community

Discussion on: Magic Links with Ruby On Rails and Devise

Collapse
 
thenasser93 profile image
Nasser Q - ناصر

I did the whole tutorial and put
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
config.action_mailer.delivery_method = :letter_opener
in development environment but it says "There was an error, please try again!"

Collapse
 
matiascarpintini profile image
Matias Carpintini

Can u share me more info? When you get that error? Server logs ss would help :D

Collapse
 
thenasser93 profile image
Nasser Q - ناصر • Edited

Sorry for the late response!

This's what I got!

ibb.co/By07pQz

Thread Thread
 
matiascarpintini profile image
Matias Carpintini

Didn't see the error there. Last request has 200 response code, have you reproduced the error?