Unverified Commit 6937f342 authored by azul's avatar azul
Browse files

upgrade: drop outdated config settings (rails 4.0)

parent 4aa5bdfc
......@@ -40,13 +40,6 @@ module Crabgrass
config.active_support.deprecation = :notify
# Enforce whitelist mode for mass assignment.
# This will create an empty whitelist of attributes available for mass-assignment for all models
# in your app. As such, your models will need to explicitly whitelist or blacklist accessible
# parameters by using an attr_accessible or attr_protected declaration.
#
# We use strong parameters instead like rails4 does.
#config.active_record.whitelist_attributes = true
config.session_store :cookie_store,
:key => 'crabgrass_session'
......
......@@ -9,8 +9,3 @@ unless defined?(UNIT_TESTING)
Haml.init_rails(binding)
end
# enable cache_digests for haml templates...
# https://github.com/rails/cache_digests/pull/46
# UPGRADE - this can go away once we use rails4 with haml_rails v5
CacheDigests::DependencyTracker.register_tracker :haml, CacheDigests::DependencyTracker::ERBTracker
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment