Skip to content

Instantly share code, notes, and snippets.

@michon
Last active March 28, 2017 11:01
Show Gist options
  • Save michon/e3bae20ab9a1acd16f53dd80c259fe68 to your computer and use it in GitHub Desktop.
Save michon/e3bae20ab9a1acd16f53dd80c259fe68 to your computer and use it in GitHub Desktop.
production.rb
Rails.application.configure do
#==Configuracion de Action mailer.
config.action_mailer.default_url_options = { :host => 'softgalia.com' }
config.action_mailer.default :charset => 'utf-8'
config.action_mailer.raise_delivery_errors = true
config.action_mailer.perform_deliveries = true
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => 'localhost',
:domain => 'dechado13.softgalia.com',
:port => 465,
:user_name => 'dechado13@web8.softgalia.com',
:authentication => :login,
:enable_starttls_auto => false,
:tls => true,
:openssl_verify_mode => 'none',
:password => 'G6XsjbGX'}
config.cache_classes = true
config.eager_load = true
config.consider_all_requests_local = false
config.action_controller.perform_caching = true
config.serve_static_files = true
config.assets.js_compressor = :uglifier
config.serve_static_files = true
config.assets.digest = true
config.log_level = :debug
config.i18n.fallbacks = true
config.active_support.deprecation = :notify
config.log_formatter = ::Logger::Formatter.new
config.active_record.dump_schema_after_migration = false
config.action_controller.asset_host = "http://dechado13.softgalia.com/"
config.asset_host ="http://dechado13.softgalia.com/"
config.assets.initialize_on_precompile = true
config.assets.compile = true
config.action_controller.perform_caching = true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment