Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
GraphQL for Rails
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Sam Hon
April 03, 2018
Technology
74
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GraphQL for Rails
Ruby.SG meet up GraphQL talk on 3rd April 2018
Sam Hon
April 03, 2018
Other Decks in Technology
See All in Technology
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
140
遠藤な_めぐろLT #38 「社内のAI活用推進」@麻布台_20261009
endonanana
0
130
その Valkey 使いこなしていますか?
onk
PRO
5
1.5k
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
780
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
180
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
130
hackers_champloo_2026_tidb
makocchi
0
160
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.7k
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
110
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
200
How to Design Configuration for Rails Applications
willnet
1
810
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
480
The Art of Programming - Codeland 2020
erikaheidi
57
14k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
A Modern Web Designer's Workflow
chriscoyier
699
190k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
870
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
620
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
530
Transcript
GraphQL for Rails Sam Hon
I’m Sam, Co-founder Silicon Jungles (not here to convince you
GraphQL is better than XXX)
None
Team Silicon Jungles (At Hai Di Lao)
Shamelessly squeezed myself into the RDRC 2017 organizing committee
...and had fun!
Introduction to GraphQL https://facebook.github.io/graphql/October2016/
Companies using GraphQL (GitHub) https://githubengineering.com/the-github-graphql-api/#open-source
Companies using GraphQL (Shopify) https://www.graphql.com/articles/graphql-at-shopify
GraphQL In Your Tech Stack
GraphQL Example
DEMO
Named Fragments Inline Fragments Schema / DataTypes Fields Variables Aliases
Directives Features of GraphQL Query / Mutation Fragments Interface / Unions Interface: shares common fields Unions: may not share common fields or hierarchy
Setting up GraphQL for Rails
Setting up GraphQL for Rails config/application.rb
Default GraphQL Controller for Rails
Define a GraphQL Object Type
Define a GraphQL Query Type
RAILS DEMO
What about tests?
Setting up RSpec for GraphQL on Rails
RSpec for Student Query
RSpec for Student Type
Thank you Yes, We are hiring
We are hiring! Full Stack Web Alchemist eXtreme Programming •
User Centric Design • RAT • Retrospective Elixir + Phoenix • Ruby on Rails • React.JS • React Native • Electron GraphQL • JSON Web Tokens • REST PostgreSQL • Redis • Apollo Cache Terraform • Packer • Docker • Kubernetes • AWS Entrepreneurs • Startup Veterans • User Group Organizers
None