-
Notifications
You must be signed in to change notification settings - Fork 101
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
Only passing string values #108
Comments
I'm struggling for days with the same thing. I managed to save a number field by adding @user.gender = params[:gender].to_i but no matter what number I send from the form, the parse database receives a 0..... Please help. |
If you are talking about Rails, it might be a strong params issue.
That should work as long as you have the strong params options set correctly in the bottom of your controller. I think it becomes 0 because it's quietly failing. It shouldn't look like this. It should look like this. |
How can I define that the object is a pointer rather than a string.
No matter what I do, I get the following
111 invalid type for key menu, expected *Menu, but got string
The text was updated successfully, but these errors were encountered: