2012-03-05 08:19:08 +00:00
|
|
|
Orbit::Application.configure do
|
2011-04-13 10:19:51 +00:00
|
|
|
# Settings specified here will take precedence over those in config/application.rb
|
2009-05-07 16:53:18 +00:00
|
|
|
|
2010-03-08 08:04:05 +00:00
|
|
|
# In the development environment your application's code is reloaded on
|
|
|
|
# every request. This slows down response time but is perfect for development
|
|
|
|
# since you don't have to restart the webserver when you make code changes.
|
|
|
|
config.cache_classes = false
|
2009-05-07 16:53:18 +00:00
|
|
|
|
2010-03-08 08:04:05 +00:00
|
|
|
# Log error messages when you accidentally call methods on nil.
|
|
|
|
config.whiny_nils = true
|
2009-05-07 16:53:18 +00:00
|
|
|
|
2010-03-08 08:04:05 +00:00
|
|
|
# Show full error reports and disable caching
|
2012-01-24 03:38:53 +00:00
|
|
|
config.consider_all_requests_local = false
|
2011-07-12 08:00:57 +00:00
|
|
|
#config.action_view.debug_rjs = true
|
2010-03-08 08:04:05 +00:00
|
|
|
config.action_controller.perform_caching = false
|
2009-05-07 16:53:18 +00:00
|
|
|
|
2010-03-08 08:04:05 +00:00
|
|
|
# Don't care if the mailer can't send
|
|
|
|
config.action_mailer.raise_delivery_errors = false
|
2010-03-04 08:33:26 +00:00
|
|
|
|
2011-04-13 10:19:51 +00:00
|
|
|
# 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
|
2011-07-12 08:00:57 +00:00
|
|
|
|
2012-01-13 07:49:07 +00:00
|
|
|
|
2012-02-22 06:43:24 +00:00
|
|
|
# config.middleware.use ExceptionNotifier,
|
|
|
|
# :email_prefix => "[R4_error]",
|
|
|
|
# :sender_address => %{"notifier" <redmine@rulingcom.com>},
|
|
|
|
# :exception_recipients => %w{chris@rulingcom.com}
|
2012-02-06 08:25:33 +00:00
|
|
|
|
2012-04-13 04:10:47 +00:00
|
|
|
config.action_mailer.delivery_method = :smtp
|
|
|
|
config.action_mailer.smtp_settings = {
|
|
|
|
:tls => true,
|
|
|
|
:enable_starttls_auto => true,
|
|
|
|
:address => "smtp.gmail.com",
|
|
|
|
:port => '587',
|
|
|
|
:domain => "smtp.gmail.com",
|
|
|
|
:authentication => "plain",
|
|
|
|
:user_name => "redmine@rulingcom.com",
|
|
|
|
:password => "rulingredmine" }
|
2010-03-08 08:04:05 +00:00
|
|
|
end
|
2011-04-13 10:19:51 +00:00
|
|
|
|