config parameters for rails 4
remove attr_accessible
remove deprecated settings
don't use multiline anchors in regular expressions
fix specs
fixes for foundation