Skip to content

Instantly share code, notes, and snippets.

@rafaelrpbelo
Created August 19, 2013 18:12
Show Gist options
  • Save rafaelrpbelo/6272259 to your computer and use it in GitHub Desktop.
Save rafaelrpbelo/6272259 to your computer and use it in GitHub Desktop.
application.rb
Ipcarrier::Application.configure do
config.cache_classes = true
config.eager_load = true
config.consider_all_requests_local = false
config.action_controller.perform_caching = true
config.serve_static_assets = false
config.assets.js_compressor = :uglifier
# config.assets.css_compressor = :sass
config.assets.compile = false
config.assets.digest = true
config.assets.version = '1.0'
config.log_level = :info
# config.assets.precompile += %w( search.js )
config.i18n.fallbacks = true
config.active_support.deprecation = :notify
config.log_formatter = ::Logger::Formatter.new
config.action_mailer.default :charset => "utf-8"
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
address: 'mail.test.us',
port: ****,
domain: 'test.us',
user_name: 'mailman@ipcarrier.us',
password: '*******',
authentication: 'login',
openssl_verify_mode: 'none',
# enable_starttls_auto: true,
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment