Passing spec for user product information

This commit is contained in:
2014-04-23 17:06:46 +02:00
parent ea498cb9c5
commit 546e4499ea
42 changed files with 190 additions and 482 deletions
+5
View File
@@ -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
+8 -4
View File
@@ -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
+3
View File
@@ -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