added protected_attributesgem for Rails 4 support

https://github.com/rails/protected_attributes