inossidabile / protector

Comfortable (seriously) white-list security restrictions for models on a field level
MIT License
270 stars 31 forks source link

do not re-permit manually permitted params #32

Closed AlexanderPavlenko closed 11 years ago

AlexanderPavlenko commented 11 years ago

Fixes https://github.com/inossidabile/protector/issues/30 Permitting by attributes list doesn't work in general case when attribute isn't a scalar.