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

GraphiQL::Rails::EditorsController#show raising on new Rails 6 app #80

Closed
kurko opened this issue Jan 19, 2020 · 3 comments
Closed

GraphiQL::Rails::EditorsController#show raising on new Rails 6 app #80

kurko opened this issue Jan 19, 2020 · 3 comments

Comments

@kurko
Copy link

kurko commented Jan 19, 2020

After rails g graphql:install, accessing the view raises this in development:

Started GET "/graphiql" for 172.19.0.1 at 2020-01-19 01:45:59 +0000
Processing by GraphiQL::Rails::EditorsController#show as HTML
  Parameters: {"graphql_path"=>"/graphql"}
  Rendering /usr/local/bundle/gems/graphiql-rails-1.7.0views/graphiql/rails/editors/show.html.erb
  Rendered /usr/local/bundle/gems/graphiql-rails-1.7.0views/graphiql/rails/editors/show.html.erb (Duration: 171.3ms | Allocations: 4865)
Completed 500 Internal Server Error in 211ms (ActiveRecord: 0.0ms | Allocations: 6087)

I'm having a hard time figuring out the stack trace. Will post back when I get to it.

Any ideas in the mean time?

@kurko
Copy link
Author

kurko commented Jan 19, 2020

Nvm. It was a problem with another gem (xray). Removing that fixed the issue. Then I faced #75, but fixed it.

@kurko kurko closed this as completed Jan 19, 2020
@jesster2k10
Copy link

@kurko Hey, I got this same issue but I don't have any X-ray gem installed. Do you know what the specific cause of the issue was

@kurko
Copy link
Author

kurko commented Apr 27, 2020

@jesster2k10 it was just xray, really. I removed it and things worked. Have you checked your Gemfile.lock? This was a brand new project I was experimenting with.

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

No branches or pull requests

2 participants