added spec and code for mass assignments