Passing spec for user product information
This commit is contained in:
@@ -53,4 +53,9 @@ Qwaiter::Application.configure do
|
||||
|
||||
# Expands the lines which load the assets
|
||||
config.assets.debug = true
|
||||
|
||||
# Adds additional error checking when serving assets at runtime.
|
||||
# Checks for improperly declared sprockets dependencies.
|
||||
# Raises helpful error messages.
|
||||
config.assets.raise_runtime_errors = true
|
||||
end
|
||||
|
||||
@@ -11,12 +11,13 @@ Qwaiter::Application.configure do
|
||||
config.eager_load = true
|
||||
|
||||
# Full error reports are disabled and caching is turned on
|
||||
config.consider_all_requests_local = false
|
||||
config.action_controller.perform_caching = true
|
||||
config.consider_all_requests_local = true
|
||||
config.action_controller.perform_caching = false
|
||||
config.action_controller.action_on_unpermitted_parameters = :log
|
||||
|
||||
# Disable Rails's static asset server (Apache or nginx will already do this)
|
||||
config.serve_static_assets = false
|
||||
# Configure static asset server for tests with Cache-Control for performance.
|
||||
config.serve_static_assets = true
|
||||
config.static_cache_control = 'public, max-age=3600'
|
||||
|
||||
# Compress JavaScripts and CSS
|
||||
config.assets.compress = true
|
||||
@@ -85,4 +86,7 @@ Qwaiter::Application.configure do
|
||||
# Log the query plan for queries taking more than this (works
|
||||
# with SQLite, MySQL, and PostgreSQL)
|
||||
# config.active_record.auto_explain_threshold_in_seconds = 0.5
|
||||
#
|
||||
# # Print deprecation notices to the stderr.
|
||||
config.active_support.deprecation = :stder
|
||||
end
|
||||
|
||||
@@ -13,8 +13,11 @@ Qwaiter::Application.configure do
|
||||
config.eager_load = true
|
||||
|
||||
# Configure static asset server for tests with Cache-Control for performance
|
||||
config.assets.compile = true
|
||||
config.assets.digest = false
|
||||
config.serve_static_assets = true
|
||||
config.static_cache_control = "public, max-age=3600"
|
||||
config.assets.compress = false
|
||||
|
||||
config.ember.variant = :development
|
||||
|
||||
|
||||
Reference in New Issue
Block a user