I am running Rails 2.3.2.
I had something like the following in my environment.rb file:
ActionMailer::Base.delivery_method=:smtp
ActionMailer::Base.server_settings={ :whatever }
Strangely, everything seemed to work just fine. Then Rails started
complaining about my environment. Specifically, it complained that
ActionMailer::Base did not have a server_settings method. A little
Googling revealed that apparently things had gotten changed and that
now I was supposed to use:
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = { :whatever }
Now I''m getting complaints that there is no local variable or method,
''config''.
Can someone please tell me how to correctly make this configuration in
my version of Rails? As I say, I have no idea how it ever worked. If
anyone has any thoughts on that, I''d love to hear them as well. TIA.
... doug
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.