-
Notifications
You must be signed in to change notification settings - Fork 63
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
If parameter has symbol, it will be error #219
Comments
Could you make a repro, something like this: |
Sorry, it will take times in my environment if you are okay just try this one in your router. Rails.application.routes.draw do
defaults format: :json do
end
end And then, I found workaround thankfully if I rewrite Rails.application.routes.draw do
defaults format: 'json' do
end
end |
Thanks for the workaround @lion-man44. A bit more info for @exoego, while running the gem locally with a bit of debug code:
|
@lion-man44 @johnphamvan |
Thanks for maintaining this project @exoego! |
Thanks for fixing this @exoego |
I just update this gem v0.18.0 and got error like this.
I found problem here.
This code can't get Symbol.
if you use
json
in router or something, probably it includes Symbol in value this code.This is my parameters.
So, could anyone help to submit PR like this?
I tried to create PR but I couldn't understand how to write test code in this gem.
The text was updated successfully, but these errors were encountered: