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

Fix for ActiveRecord::UnknownAttributeReference in ransack #1207

Conversation

TechnologyHypofriend
Copy link

This PR fixing issue with Rails 6.1 and explicit whitelisting potentially dangerous SQL.

Screenshot 2021-02-23 at 14 40 37

More information here:
https://api.rubyonrails.org/classes/ActiveRecord/UnknownAttributeReference.html

@scarroll32
Copy link
Member

Looks good, thank you for this contribution @pavel-jurasek-hypofriend-de 🚀

@scarroll32 scarroll32 merged commit 3a3ca21 into activerecord-hackery:master Feb 23, 2021
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

Successfully merging this pull request may close these issues.

3 participants