Skip to content

Instantly share code, notes, and snippets.

View jonoliver's full-sized avatar
💀
null === null

Jon Oliver jonoliver

💀
null === null
View GitHub Profile
@seyhunak
seyhunak / devise.rb
Created May 22, 2012 14:02
Devise, Sendgrid
config/initializers/devise.rb :
config.mailer_sender = "mail-to-send@from.com"
config/environments/production.rb :
config.action_mailer.default_url_options = { :host => 'your.websitedomain.com' }
ActionMailer::Base.smtp_settings = {
:address => "smtp.sendgrid.net",
:port => "25",
:authentication => :plain,