Skip to content
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

Rails 5.1.5 causing "uninitialized constant Mime::JSON" when rendering json #190

Closed
chabgood opened this issue Mar 26, 2018 · 3 comments
Closed

Comments

@chabgood
Copy link

chabgood commented Mar 26, 2018

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

@rafaelfranca
Copy link
Collaborator

Can you provide an example application that reproduce the issue?

@chabgood
Copy link
Author

not at this time, sorry.

@carlosantoniodasilva
Copy link
Member

Closing as stale. Happy to help if more info is provided, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants