We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Prefer a hash style that string style for AR queries
#bad workflow_scope.where("id = ?", params[:id]) # good workflow_scope.where(id: params[:id])
I think this rule should be included to the rails rubocop config so we don't need to add a separate rule
The text was updated successfully, but these errors were encountered:
Agreed 👍
Sorry, something went wrong.
I've spent some time in order to find this cop, but I haven't found anything. Looks like we have to implement our own
No branches or pull requests
Prefer a hash style that string style for AR queries
I think this rule should be included to the rails rubocop config so we don't need to add a separate rule
The text was updated successfully, but these errors were encountered: