filter_parameter_logging for attributes in an array instead of a hash.
Any ideas at all?
On May 8, 10:56 am, Ram
<yourstruly.vi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> 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!