Hi all, I have a multi model form setup in the classic Ryan Bates Complex forms style (railscasts.com/episodes/73) 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! Thanks!
on 2009-05-08 07:56
on 2009-05-11 11:18
filter_parameter_logging for attributes in an array instead of a hash. Any ideas at all?