Added mass-assignment handling (in case of whitelist_attributes).