Joshua Muheim
2006-Dec-10 22:29 UTC
Prevent Rails from writing models'' data into development.log
Hi all I store some images in my DB. Every time I do something with them using Rails, Rails writes their binary data field into the development.log file, what makes this very unreadable. Is there a way to tell Rails which fields it can write to development.log and which ones not? Thanks Josh -- 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 -~----------~----~----~----~------~----~------~--~---
Jean-François
2006-Dec-10 23:01 UTC
Re: Prevent Rails from writing models'' data into development.log
Hello Joshua,> I store some images in my DB. Every time I do something with them using > Rails, Rails writes their binary data field into the development.log > file, what makes this very unreadable. > > Is there a way to tell Rails which fields it can write to > development.log and which ones not?AC#filtered_parameter_logging can help. See : http://weblog.rubyonrails.org/2006/8/21/filtered-parameter-logging -- Jean-François. -- À la renverse. --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---