aboutsummaryrefslogtreecommitdiffstats
path: root/config/environments/development.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r--config/environments/development.rb13
1 files changed, 10 insertions, 3 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 66244c886..8c7cdf6f4 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -34,6 +34,15 @@ Rails.application.configure do
# Raises error for missing translations
# config.action_view.raise_on_missing_translations = true
+ #config.active_record.auto_explain_threshold_in_seconds = (RUBY_PLATFORM == "java" ? nil : 0.5)
+
+ config.action_mailer.default_url_options = { :host => 'localhost:3000' }
+
+ config.action_mailer.delivery_method = :sendmail
+ # change to true to allow email to be sent during development
+ config.action_mailer.perform_deliveries = true
+ config.action_mailer.raise_delivery_errors = true
+ config.action_mailer.default :charset => "utf-8"
# replace this with your production tracker code
GA.tracker = "UA-AAAAAAAA"
@@ -63,9 +72,7 @@ Rails.application.configure do
# link to validation specification pages
config.validation_spec = "http://www.chouette.mobi/neptune-validation/v20/"
- config.action_mailer.default_url_options = { :host => 'localhost:3000' }
-
- # Configure the e-mail address which will be shown in Devise::Maile
+ # Configure the e-mail address which will be shown in Devise::Mailer
config.mailer_sender = "appli@chouette.mobi"
config.action_mailer.delivery_method = :sendmail