Sha256: 25e1a7ab14898c17db8f834e83fed8275691881bff9827aa2356c43b524c7e98

Contents?: true

Size: 928 Bytes

Versions: 13

Compression:

Stored size: 928 Bytes

Contents

Jets.application.configure do
  # Docs: https://rubyonjets.com/docs/config/reference/

  config.cache_classes = false
  config.eager_load = false
  config.logging.event = false # can be useful for CloudWatch

<%- unless options[:mode] == 'job' -%>
  # Show full error reports.
  config.consider_all_requests_local = true

  # Enable server timing
  config.server_timing = true

  # Enable/disable caching. By default caching is disabled.
  if Jets.root.join("tmp/caching-dev.txt").exist?
    config.jets_controller.perform_caching = true
    config.cache_store = :memory_store
  else
    config.jets_controller.perform_caching = false
    config.cache_store = :null_store
  end

  # Docs: http://rubyonjets.com/docs/email-sending/
  config.action_mailer.raise_delivery_errors = false
  config.action_mailer.perform_caching = false
  # config.action_mailer.default_url_options = { host: 'localhost', port: 8888 }
<%- end -%>
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
jets-5.0.13 lib/jets/generators/overrides/app/templates/config/environments/development.rb.tt
jets-5.0.12 lib/jets/generators/overrides/app/templates/config/environments/development.rb.tt
jets-5.0.11 lib/jets/generators/overrides/app/templates/config/environments/development.rb.tt
jets-5.0.10 lib/jets/generators/overrides/app/templates/config/environments/development.rb.tt
jets-5.0.9 lib/jets/generators/overrides/app/templates/config/environments/development.rb.tt
jets-5.0.8 lib/jets/generators/overrides/app/templates/config/environments/development.rb.tt
jets-5.0.7 lib/jets/generators/overrides/app/templates/config/environments/development.rb.tt
jets-5.0.6 lib/jets/generators/overrides/app/templates/config/environments/development.rb.tt
jets-5.0.5 lib/jets/generators/overrides/app/templates/config/environments/development.rb.tt
jets-5.0.4 lib/jets/generators/overrides/app/templates/config/environments/development.rb.tt
jets-5.0.3 lib/jets/generators/overrides/app/templates/config/environments/development.rb.tt
jets-5.0.2 lib/jets/generators/overrides/app/templates/config/environments/development.rb.tt
jets-5.0.1 lib/jets/generators/overrides/app/templates/config/environments/development.rb.tt