1. about the config  `  config.action_view.raise_on_missing_translations = true `
if it is in application.rb , will make error
but without is test will error,

so I moved it from application.rb to enviroments/test.rb
2. make protected_attributes gem effective in all enviroment by modifying the gemfile