Quantcast
Viewing all articles
Browse latest Browse all 42

Answer by Misha Krul for Rails ActionView::MissingTemplate, Template Is Missing for mailer

Figured it out.

I tried regenerating the mailer via bundle exec rails generate mailer contact_us and noticed that it created a mailer at app/mailers/contact_us_mailer.rb .. My original mailer was located at app/mailers/contact_us_mailer/. Something about having the namespaced path must have been throwing off the Rails magic.


Viewing all articles
Browse latest Browse all 42

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>