Password sent to Server

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 ?

Thanks.

On Wed, Oct 17, 2012 at 2:17 PM, Avi [email protected] 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.

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.

On Wed, Oct 17, 2012 at 3:31 PM, Avi [email protected] wrote:

Filter parameters seems not to be working.

As Colin usually say, please don’t top post.

What made you think it isn’t working? can you paste some code and part
of
the log as proof that it is not working?
If you added additional parameter to the config file, you need to
restart
your server for the changes to take effect.

server?

To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/fcjpV_gok84J.

For more options, visit https://groups.google.com/groups/opt_out.

Filter parameters seems not to be working.