Skip to content

Commit

Permalink
Merge pull request #20 from samphilipd/sam/address_rails_5.0_deprecat…
Browse files Browse the repository at this point in the history
…ion_warnings

Fix deprecation warnings for Rails 5.0
  • Loading branch information
derrickreimer committed Jan 21, 2016
2 parents 76c56fc + 4c0ac6d commit 2591226
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/dummy/config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
config.action_controller.perform_caching = true

# Disable Rails's static asset server (Apache or nginx will already do this)
config.serve_static_assets = false
config.serve_static_files = false

# Compress JavaScripts and CSS
config.assets.compress = true
Expand Down
4 changes: 3 additions & 1 deletion test/dummy/config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
config.cache_classes = true

# Configure static asset server for tests with Cache-Control for performance
config.serve_static_assets = true
config.serve_static_files = true
config.static_cache_control = "public, max-age=3600"

# Log error messages when you accidentally call methods on nil
Expand Down Expand Up @@ -38,4 +38,6 @@

# Required for Rails >= 4.2
config.eager_load = true

config.active_support.test_order = :random
end

0 comments on commit 2591226

Please sign in to comment.