Sha256: 0b1ec2c5ebeff2c8d34079499a7811ca322f19c819c74c81178bf42643439693

Contents?: true

Size: 502 Bytes

Versions: 6

Compression:

Stored size: 502 Bytes

Contents

<%= app_const %>.configure do
  unless config.secret_key_base = ENV['RAILS_SECRET_KEY']
    fail 'RAILS_SECRET_KEY must be set in production mode'
  end

  config.force_ssl = true

  config.cache_classes = true

  config.eager_load = true

  config.consider_all_requests_local       = false
  config.action_controller.perform_caching = true

  config.log_level = :info

  config.i18n.fallbacks = true

  config.active_support.deprecation = :notify

  config.log_formatter = ::Logger::Formatter.new
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
straptible-0.2.4 lib/straptible/rails/templates/config.api/environments/production.rb.tt
straptible-0.2.3 lib/straptible/rails/templates/config.api/environments/production.rb.tt
straptible-0.2.2 lib/straptible/rails/templates/config.api/environments/production.rb.tt
straptible-0.2.1 lib/straptible/rails/templates/config.api/environments/production.rb.tt
straptible-0.2.0 lib/straptible/rails/templates/config.api/environments/production.rb.tt
straptible-0.1.2 lib/straptible/rails/templates/config.api/environments/production.rb.tt