You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying out the gem in development but am having trouble with action_mailer:
16:07 $ rails console
Type 'jobs_help' to see how to connect to the available job servers to manage jobs
/.../ruby/3.3.5/lib/ruby/gems/3.3.0/gems/audits1984-0.1.7/app/mailers/audits1984/application_mailer.rb:2:in `<module:Audits1984>': uninitialized constant Audits1984::ActionMailer (NameError)
class ApplicationMailer < ActionMailer::Base
^^^^^^^^^^^^
Did you mean? ActionView
from /.../ruby/3.3.5/lib/ruby/gems/3.3.0/gems/audits1984-0.1.7/app/mailers/audits1984/application_mailer.rb:1:in `<main>'
from /.../ruby/3.3.5/lib/ruby/3.3.0/bundled_gems.rb:75:in `require'
from /.../ruby/3.3.5/lib/ruby/3.3.0/bundled_gems.rb:75:in `block (2 levels) in replace_require'
We cherry pick the Rails engines used by our app and we don't use action_mailer. I tried to uncomment the require "action_mailer/railtie" on our application.rb but ended up hitting other problems.
Any thoughts around this?
PS: I ended up moving on to other things for now 😭 Will come back to this another time 🙏 🤞
The text was updated successfully, but these errors were encountered:
Hey folks! 👋
I'm trying out the gem in development but am having trouble with
action_mailer
:We cherry pick the Rails engines used by our app and we don't use
action_mailer
. I tried to uncomment therequire "action_mailer/railtie"
on ourapplication.rb
but ended up hitting other problems.Any thoughts around this?
PS: I ended up moving on to other things for now 😭 Will come back to this another time 🙏 🤞
The text was updated successfully, but these errors were encountered: