Sha256: b73a601b3dbc4f3caa44a26e2e3b20795d9056e9f9d8d3977dbd19762c20c11f

Contents?: true

Size: 1.47 KB

Versions: 4

Compression:

Stored size: 1.47 KB

Contents

Dummy::Application.configure do
  # Settings specified here will take precedence over those in config/application.rb

  # In the development environment your application's code is reloaded on
  # every request.  This slows down response time but is perfect for development
  # since you don't have to restart the web server when you make code changes.
  config.cache_classes = false

  # Log error messages when you accidentally call methods on nil.
  config.whiny_nils = true

  # Show full error reports and disable caching
  config.consider_all_requests_local       = true
  config.action_controller.perform_caching = false

  # Don't care if the mailer can't send
  config.action_mailer.raise_delivery_errors = false

  # Print deprecation notices to the Rails logger
  config.active_support.deprecation = :log

  # Only use best-standards-support built into browsers
  config.action_dispatch.best_standards_support = :builtin

  # Do not compress assets
  config.assets.compress = false

  # Expands the lines which load the assets
  config.assets.debug = true
  
  # These 2 lines auto-reload conversations
  # This first line adds our gem's lib directory to the list of directories that will be searched
  # when we encounter a missing constant
  config.autoload_paths += %W(#{config.root}/../conversations/lib)
  # This line tells rails to unload the root constant (module/class) for our gem on every request
  ActiveSupport::Dependencies.explicitly_unloadable_constants << 'Conversations'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
conversations-0.0.2.2 spec/dummy/config/environments/development.rb
conversations-0.0.2.1 spec/dummy/config/environments/development.rb
conversations-0.0.2 spec/dummy/config/environments/development.rb
conversations-0.0.1 spec/dummy/config/environments/development.rb