Defect #6000
closedSafe Attributes prevents plugin extension of Issue model...
Description
I don’t know if this problem is limited purely to the issue model, or if it exists elsewhere in other models as well…
The addition of the safe_attributes method, well, really the entire paradigm of setting attributes this way, severely hamstrings other developers’ abilities to write plugins that extend the issue model. accepts_nested_attributes_for goes out the window, because now all the submitted for elements for those get ignored and thrown into the bit bucket.
To some extent, I can understand why this was done, but I don’t understand doing it without providing a way to easily EXTEND the safe_attributes array, without having to set some constant to replace it completely. Hopefully this can be remedied soon, as I have plugins dependent upon extending the Issue model :\