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?
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 :
– Jean-François.
–
À la renverse.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.