Filter_parameter_logging for multi model forms

Hi all,

I have a multi model form setup in the classic Ryan B. Complex
forms style ( for my signup page.

The two models in this are the Account model and the User model and
this structure cannot be changed right now. The User model has
password and password_conf attributes which are, unfortunately, taken
alongwith the rest of the User’s attributes into an array
user_attributes[]. This array is then processed in the Account model
as is the method shown in the above screencasts.

Now i understand filter_parameter_logging works for hashes and sub
hashes. But in this case, its an array. Any ideas on how i can handle
this? Hack into filter_parameter_logging?

Any and all thoughts are most welcome!


filter_parameter_logging for attributes in an array instead of a hash.
Any ideas at all?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs