Letter_opener has never worked in my Rails project. I just upgraded to Rails 5.2 from 5.1.
I have version letter_opener 1.8.1 added to my Gemfile but if I try to add the config file as specified in the README, I get
uninitialized constant LetterOpener (NameError)
I have this line added to config/environments/development.rb: config.action_mailer.delivery_method = :letter_opener
however when trying to send an email using deliver_now I get this error:
RuntimeError: Invalid delivery method :letter_opener
Letter_opener has never worked in my Rails project. I just upgraded to Rails 5.2 from 5.1. I have version letter_opener 1.8.1 added to my Gemfile but if I try to add the config file as specified in the README, I get
uninitialized constant LetterOpener (NameError)
I have this line added to config/environments/development.rb:config.action_mailer.delivery_method = :letter_opener
however when trying to send an email usingdeliver_now
I get this error:RuntimeError: Invalid delivery method :letter_opener