Archive for the ·

Rails

· Category...

Rails v2.0 undefined method `server_settings=’ for ActionMailer::Base:Class (NoMethodError)

6 comments

The first thing that bit me after moving to Rails V2.0 was action_mailer settings that failed:

undefined method `server_settings=’ for ActionMailer::Base:Class (NoMethodError)

server_settings has been renamed to smtp_settings

Change your environment.rb to:

config.action_mailer.smtp_settings = {
….
}

That fixed the problem.

Rails v2.0 released

2 comments

http://weblog.rubyonrails.org/2007/12/7/rails-2-0-it-s-done. Awesome news.