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
While using the syntax respond_with(@foo) it was causing the error "uninitialized constant Mime::JSON".
respond_with(@foo)
I had to use the original syntax of: respond_to do |format| format.json { render @foo ) end
respond_to do |format| format.json { render @foo ) end
The text was updated successfully, but these errors were encountered:
Can you provide an example application that reproduce the issue?
Sorry, something went wrong.
not at this time, sorry.
Closing as stale. Happy to help if more info is provided, thanks.
No branches or pull requests
While using the syntax
respond_with(@foo)
it was causing the error "uninitialized constant Mime::JSON".
I had to use the original syntax of:
respond_to do |format| format.json { render @foo ) end
The text was updated successfully, but these errors were encountered: