Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config.filter_paremeters not working with Grape #989

Closed
blakeperdue opened this issue Apr 16, 2015 · 1 comment
Closed

config.filter_paremeters not working with Grape #989

blakeperdue opened this issue Apr 16, 2015 · 1 comment

Comments

@blakeperdue
Copy link

Adding a filter to /config/initializers/filter_parameter_logging.rb is not working in Rails 4 with Grape v0.11.0

I have added a filter: Rails.application.config.filter_parameters += [:password, :authentication_token] but I'm still seeing :authentication_token in my logs:

SELECT users.* FROM usersWHEREusers.authentication_token = '$2a$10$ZTygoKxHQnQGeb4oWJyq283hdkHc2IOrxOgX9r0IXcE2JikptFIT.' LIMIT 1

Any ideas how to get filtering working?

@dm1try
Copy link
Member

dm1try commented Jun 9, 2015

I'll close. Related to #556

@dm1try dm1try closed this as completed Jun 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants