hi, i''m doing a filter parameters on some parameters (password, personal data like name, surname, etc), it works quite good, when it gets the request in the log there''s [FILTERED], but some lines after in the sql query, like insert into users... there''s the name, surname and other not hidden... how can i hidden also that? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
jin wrote:> hi, i''m doing a filter parameters on some parameters (password, personal > data like name, surname, etc), it works quite good, when it gets the > request in the log there''s [FILTERED], but some lines after in the sql > query, like insert into users... there''s the name, surname and other not > hidden... how can i hidden also that?anyone? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 3/18/07, jin <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > jin wrote: > > hi, i''m doing a filter parameters on some parameters (password, personal > > data like name, surname, etc), it works quite good, when it gets the > > request in the log there''s [FILTERED], but some lines after in the sql > > query, like insert into users... there''s the name, surname and other not > > hidden... how can i hidden also that? > > anyone?Because of the way Rails is programmed, that''s not an easy thing to do. Turning off the logging of SQL queries will fix the problem, as will using the silence method for sensitive SQL queries. Jeremy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---