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.

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.

Filter parameters seems not to be working.

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.