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

Accept nested functions in Dangerous Query Methods #1082

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

aidanharan
Copy link
Contributor

Fix to accept nested functions in Dangerous Query Methods (see rails/rails#44010).

Tests needed to be coerced as SQL Server uses len() instead of length().

@aidanharan aidanharan self-assigned this Sep 13, 2023
@aidanharan aidanharan marked this pull request as ready for review September 13, 2023 14:49
@aidanharan aidanharan merged commit ebf14dc into main Sep 13, 2023
@aidanharan aidanharan deleted the dangerous_query_method_allow_nested_functions branch September 13, 2023 15:07
lavika pushed a commit to lavika/activerecord-sqlserver-adapter that referenced this pull request Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant