# Filter\_parameter\_logging for multi model forms

**URL:** <https://www.ruby-forum.com/t/filter-parameter-logging-for-multi-model-forms/167478>\
**Category:** Rails\
**Created:** [May 8, 2009, 7:56am UTC](https://www.ruby-forum.com/t/filter-parameter-logging-for-multi-model-forms/167478 "2009-05-08T07:56:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9bd4f/32.png) [@ram](https://www.ruby-forum.com/u/ram)\
**Post date:** [May 8, 2009, 7:56am UTC](https://www.ruby-forum.com/t/filter-parameter-logging-for-multi-model-forms/167478/1 "2009-05-08T07:56:54Z")

</div>

Hi all,

I have a multi model form setup in the classic Ryan B. Complex  
forms style ([#73 Complex Forms Part 1 - RailsCasts](http://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!

---

<div class="post-metadata">

**Author:** ![ram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9bd4f/32.png) [@ram](https://www.ruby-forum.com/u/ram)\
**Post date:** [May 11, 2009, 11:18am UTC](https://www.ruby-forum.com/t/filter-parameter-logging-for-multi-model-forms/167478/2 "2009-05-11T11:18:18Z")

</div>

filter\_parameter\_logging for attributes in an array instead of a hash.  
Any ideas at all?
