Created
August 21, 2015 13:37
-
-
Save amandaclarck/55b9f973a34b6f291462 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rails.application.configure do | |
config.cache_classes = false | |
# Show full error reports and disable caching | |
config.consider_all_requests_local = true | |
config.action_controller.perform_caching = false | |
config.eager_load = false | |
# Don't care if the mailer can't send | |
config.action_mailer.raise_delivery_errors = false | |
# Print deprecation notices to the Rails logger | |
config.active_support.deprecation = :log | |
# Only use best-standards-support built into browsers | |
config.action_dispatch.best_standards_support = :builtin | |
# Do not compress assets | |
config.assets.compress = false | |
config.action_mailer.default_url_options = { :host => 'localhost:3000' } | |
config.action_mailer.delivery_method = :smtp | |
config.action_mailer.perform_deliveries = true | |
config.action_mailer.raise_delivery_errors = true | |
config.action_mailer.default :charset => "utf-8" | |
ActionMailer::Base.smtp_settings = { | |
address: "smtp.gmail.com", | |
port: 587, | |
authentication: :plain, | |
domain: 'localhost', | |
user_name: '[email protected]', | |
password: 'timedilma13', | |
enable_starttls_auto: true | |
} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment