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
SomeModel.where(id: value) fails #223
Labels
Comments
Can you print what HTTP request is sent to the API with the |
###################################################################################
We also set our controller to ignore the extra id parameter from where, and we get the same "TypeError: no implicit conversion of Array into Hash" |
Hi! Same problem here. Any idea? |
looks like this was fixed by #437. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can execute the following:
When I try to execute the same search using where, it fails.
RESULT:
I have a search form that allows a user to search by any combination of fields including id, and have to workaround this issue by checking the form parameters and explicitly issuing a Model.find if it's an ID search.
The text was updated successfully, but these errors were encountered: