Ruby implementation of GraphQL
Branch: master
Clone or download
Latest commit f0e8462 Feb 22, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github doc(CONTRIBUTING) Add Mar 13, 2017
benchmark Add memory benchmark Oct 5, 2018
cop Add a cop to catch misused .none? Feb 6, 2019
gemfiles Add sqlite version constraint Feb 13, 2019
guides pro-1.9.12 Feb 22, 2019
javascript_client Use https:// everywhere where possible Feb 12, 2019
lib Cache call to retrieve query string from document Feb 21, 2019
spec Get query string from document if it wasn't passed in explicitly to `… Feb 21, 2019
.codeclimate.yml Don't run code climate on tests Jul 30, 2018
.gitattributes Suppress showing diffs for .lock and .snap files in GitHub PRs Sep 20, 2017
.gitignore pr feedback, ignore .vscode directory Dec 17, 2018
.rubocop.yml fix duplicate method in G::A::A::QueryComplexity Feb 21, 2019
.travis.yml Merge branch 'master' into 1.9-dev Jan 10, 2019
.yardopts doc(guides) write some new guides Oct 19, 2016
Appraisals Add sqlite version constraint Feb 13, 2019 pro-1.9.12 Feb 22, 2019 Replace `-> (...)` with `->(...)` to be Ruby 1.9.3 compatible Oct 16, 2016 1.9.3 Feb 21, 2019
CNAME Add custom domain for gh-pages May 27, 2017
Gemfile add jekyll-redirect-from to Gemfile for fixing 'bundle exec rake site… Dec 21, 2018
Guardfile Try removing incompatible guard-bundler Jan 4, 2019
MIT-LICENSE Initial commit Feb 5, 2015
Rakefile Add a large result benchmark Oct 5, 2018
graphql-ruby.png feat(website) make new layout May 27, 2017
graphql-ruby.svg feat(website) make new layout May 27, 2017
graphql.gemspec Use https:// everywhere where possible Feb 12, 2019 Use https:// everywhere where possible Feb 12, 2019

graphql graphql-ruby

Build Status Gem Version Code Climate Test Coverage built with love

A Ruby implementation of GraphQL.


Install from RubyGems by adding it to your Gemfile, then bundling.

# Gemfile
gem 'graphql'
$ bundle install

Getting Started

$ rails generate graphql:install

After this, you may need to run bundle install again, as by default graphiql-rails is added on installation.

Or, see "Getting Started".


I also sell GraphQL::Pro which provides several features on top of the GraphQL runtime, including Pundit authorization, CanCan authorization, Pusher-based subscriptions and persisted queries. Besides that, Pro customers get email support and an opportunity to support graphql-ruby's development!


  • Implement the GraphQL spec & support a Relay front end
  • Provide idiomatic, plain-Ruby API with similarities to reference implementation where possible
  • Support Ruby on Rails and Relay

Getting Involved