rails/strong_parameters — pull request #42 by miry (2012-10-05 12:08:55+00:00)
Title: Don't check attr_protected attrs if we use strong_params

Skip using the `MassAssignmentSecurity::sanitize_for_mass_assignment` if we use the strong_params.

The problem was

```
class User < AR:Base
def custom_name=(val) #There are no attribute with custom_name
end
end
```

And I need always use `without_protection` option for the `assignment_attributes` or `attr_accessible`, even when use permitted attributes. I think it is not corrected, when I have already permitted this attribute.