refactoring from attr_accessible to strong paramaters