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
|
2013-01-07 08:38:02 +00:00
|
|
|
config.consider_all_requests_local = true
|
2011-07-12 08:00:57 +00:00
|
|
|
#config.action_view.debug_rjs = true
|
2012-07-12 03:47:24 +00:00
|
|
|
config.action_controller.perform_caching = true
|
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
|
2013-11-11 09:21:18 +00:00
|
|
|
config.action_mailer.raise_delivery_errors = true
|
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
|
2013-05-29 12:54:22 +00:00
|
|
|
config.action_dispatch.best_standards_support = :builtin
|
2011-07-12 08:00:57 +00:00
|
|
|
|
2012-07-26 04:09:28 +00:00
|
|
|
# config.cache_store = :mem_cache_store
|
2012-07-13 07:36:10 +00:00
|
|
|
|
2013-11-29 11:35:39 +00:00
|
|
|
config.action_mailer.default_url_options = { :host => 'harry.tp.rulingcom.com' }
|
2012-01-13 07:49:07 +00:00
|
|
|
|
2013-08-08 05:05:31 +00:00
|
|
|
config.assets.debug = false
|
2012-05-16 03:07:11 +00:00
|
|
|
|
|
|
|
|
2012-02-29 08:01:50 +00:00
|
|
|
# config.middleware.use ExceptionNotifier,
|
|
|
|
# :email_prefix => "[R4_error]",
|
|
|
|
# :sender_address => %{"notifier" <redmine@rulingcom.com>},
|
|
|
|
# :exception_recipients => %w{chris@rulingcom.com}
|
2013-05-29 12:54:22 +00:00
|
|
|
|
|
|
|
config.action_mailer.delivery_method = :smtp
|
|
|
|
config.action_mailer.smtp_settings = {
|
|
|
|
: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
|
|
|
|