Fixing config for Rails 4
Using protected_attributes gem for backwards compatibility