Sha256: 2ba92c535244c1016353de06e35c12b10bf7dae0697af5f25fef6af83f70e23f

Contents?: true

Size: 824 Bytes

Versions: 15

Compression:

Stored size: 824 Bytes

Contents

Jets.application.configure do
  config.cache_classes = false
  config.eager_load = ENV["CI"].present?
  config.cache_store = :null_store

<%- unless options[:mode] == 'job' -%>
  config.consider_all_requests_local = true
  config.server_timing = true

  config.jets_controller.perform_caching = false

  # Raise exceptions instead of rendering exception templates.
  config.action_dispatch.show_exceptions = false

  # Tell Action Mailer not to deliver emails to the real world.
  # The :test delivery method accumulates sent emails in the
  # ActionMailer::Base.deliveries array.
  # Docs: http://rubyonjets.com/docs/email-sending/
  config.action_mailer.delivery_method = :test
  config.action_mailer.perform_caching = false
  # config.action_mailer.default_url_options = { host: 'localhost', port: 8888 }
<%- end -%>
end

Version data entries

15 entries across 15 versions & 1 rubygems

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