Re: [Rails] Password sent to Server
On Wed, Oct 17, 2012 at 2:17 PM, Avi <aavinash.behera@gmail.com> wrote:
Hello All,Is there any generic way in rails 3, to prevent password to go into the server?In my rails application, while creating a new user, I don't want password to be sent to the server.How can I do that ?
if you mean stop rails from logging the password, you should look config.filter_parameters option.
it's in application.rb. just add the parameter names you want to filter out.
Thanks.--
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.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/y79A_iT3cM0J.
For more options, visit https://groups.google.com/groups/opt_out.
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.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 https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home