Tuesday, August 23, 2011

[Rails] Re: How to filter db column(s) from log.

After a long interlude, I found my problem with
config.filter_parameters. I can't count how many hours I have wasted
due to a typo :( The original line was:

config.filter_parameters = [:password, :document_file]

the correct line is:

config.filter_parameters = [:password, :documents_file]

This isn't the first time that I have gotten burned by rails'
pluralization.

Many thanks for all who commented and pointed me in the right direction.

Don Z.

--
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@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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate