Skip to content

Instantly share code, notes, and snippets.

ActionMailer::Base.smtp_settings = {
:enable_starttls_auto => true,
:address => 'smtp.gmail.com',
:port => 587,
:domain => 'your.domain.com',
:authentication => :plain,
:user_name => 'login@your.domain.com',
:password => 'some_password'
}
# old and busted
map.connect "about-us", :controller => "about", :action => "index"
#new hotness
match "about-us", :to => "about#index"