Skip to content

Instantly share code, notes, and snippets.


Steven Walker iamwalker

View GitHub Profile
View gist:1220eeaacbfef1899786
# Use this hook to configure devise mailer, warden hooks and so forth.
# Many of these configuration options can be set straight in your model.
Devise.setup do |config|
# The secret key used by Devise. Devise uses this key to generate
# random tokens. Changing this key will render invalid all existing
# confirmation, reset password and unlock tokens in the database.
# config.secret_key = 'eabffa7a17b9dba6e9f5c36b5db9bc5d27c4d5edd38bd4becba270cf7a23f7d7a879656e5fd8ca948716f7cf6312c03b6302f073988f7532c72df5c6032e9737'
# ==> Mailer Configuration
# Configure the e-mail address which will be shown in Devise::Mailer,