---
title: "Writing GraphQL Queries in Native Ruby"
publication: "Ruby Weekly"
issue: 426
published_at: "2018-11-22"
canonical_url: "https://rubyweekly.com/issues/426"
---

This week's Ruby news, issue 426       

#426 — November 22, 2018 

[Read on the Web](https://rubyweekly.com/issues/426)   

Ruby Weekly    

🦃 Hey - we're keeping things short this week in respect of Thanksgiving. If you celebrate, we hope you have a good one. Back to full service next week.
 _— Peter Cooper, Cooperpress_   

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/xfgs3qtfbeotig9ppxzj.jpg)](https://www.contentful.com/blog/2018/11/20/graphql-ruby-love-backend-developer/)  

[GQLi: Writing GraphQL Queries in Native Ruby](https://www.contentful.com/blog/2018/11/20/graphql-ruby-love-backend-developer/) — The folks at Contentful are working on a library ([GQLi](https://github.com/contentful-labs/gqli.rb)) that allows you to write GraphQL queries in native Ruby. Very promising. 

Contentful   

[Building SQL Expressions with Sequel](https://bits.citrusbyte.com/building-sql-expressions-with-sequel/) — A great, in-depth introduction to Sequel, an interesting alternative to Active Record. _“Sequel’s API for building SQL expressions allows you to consistently stay in Ruby even for very advanced use cases.”_ 

Janko Marohnic   [![\](https://copm.s3.amazonaws.com/d1b25a49.png)](https://railslts.com) 

[Long Term Support for Ruby on Rails 4.2, 3.2 and 2.3](https://railslts.com) — Rails LTS provides extended support for old versions of Ruby on Rails. Drop-in gem replacements are available for Rails 4.2, Rails 3.2 and Rails 2.3. You can even run your old Rails app with modern Ruby versions. 

Rails LTS sponsor   

['Clean Code' Concepts Adapted for Ruby](https://github.com/uohzxela/clean-code-ruby) — [Clean Code](https://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882) is a long-standing, popular book on the art of ‘software craftsmanship’ and this guide shows off its suggested approaches for making Ruby code more readable and reusable. 

Alex Jiao   

[When I Use Controller/Request Specs in Rails and When I Don't](https://www.codewithjason.com/use-controller-request-specs-rails-dont/) — Based on recommendations from the RSpec team and his own experience, Jason describes the only two scenarios where request specs are reasonable. 

Jason Swett   

[Ruby 3x3 and RubyConf Los Angeles](http://engineering.appfolio.com/appfolio-engineering/2018/11/19/rubyconf-los-angeles-and-ruby-3x3) — Noah’s been to quite a few Ruby events recently and has been discussing the future of Ruby and Ruby performance with the core team and others. Where do things stand? (Spoiler: _“expect Ruby 3x3 around Christmas of 2020”_) 

Noah Gibbs   

[The Benefits of Materialized Views (and How to Use Them with Rails)](https://medium.com/@rebo_dood/the-benefits-of-materialized-views-and-how-to-use-them-in-your-ruby-on-rails-project-4ac1b5432881) — A ‘materialized view’ is essentially a ‘live’ SQL query whose results are accessible as a database table. It’s supported by several database systems though Postgres is the most likely candidate with Rails. 

Ryan Rebo  

💻 Jobs  

[Senior Ruby Developer](https://companycam.com/careers/ruby-on-rails-developer/?&utm_source=cooperpress&utm_medium=newsletter&utm_campaign=job_listing&utm_content=ruby_rails&utm_term=q4_2018) — We are a rapid growing startup in the construction space, helping companies to streamline field documentation and communication. 

CompanyCam LLC   

[Join Our Career Marketplace & Get Matched With A Job You Love](https://www.hired.com/ruby) — Through Hired, software engineers have transparency into salary offers, competing opportunities, and job details. 

Hired  

📘 Tutorials  

[Fibers Are The Right Solution](https://www.codeotaku.com/journal/2018-11/fibers-are-the-right-solution/index) — After looking at various approaches to concurrency, the claim here is Fibers offer the safest and least intrusive bang for your buck. 

Samuel Williams   

[What Is MJIT in Ruby 2.6 and How Does It Work?](https://www.rubyguides.com/2018/11/ruby-mjit/?tl_inbound=1&tl_target_all=1&tl_form_type=1&tl_period_type=1) — An accessible look into using the JIT options in Ruby 2.6, what they do, and some benchmarks. 

Jesus Castello   

[Five Security Issues in Rails Apps From Real Life](https://frontdeveloper.pl/2018/10/5-security-issues-in-ruby-on-rails/) — Common (yet often unaddressed) security issues that Igor is also kind enough to show you how to fix. 

Igor Springer  

🔧 Code & Tools  

[Standard: A Ruby Style Guide, with Linter and Automatic Code Fixer](https://github.com/testdouble/standard) — A ‘spiritual port’ of [StandardJS](https://standardjs.com/). _(Psst.. don’t forget our [JavaScript Weekly](https://javascriptweekly.com/?utm_source=rw&utm_medium=email&utm_campaign=cross_promo&utm_content=426) newsletter if you also develop with JavaScript.)_ 

test double   

[Iguvium: A Gem for Extracting Tables from PDFs](https://github.com/adworse/iguvium) — Renders a PDF into an image, looks for table-like structures & tries to place characters into detected cells. 

Dima Ermilov   

[typerb: Strong Type Checking for Ruby](https://github.com/olegantonyan/typerb) — Uses the RubyVM::AST additions to 2.6. 

Oleg Antonyan   

[Zammad: A Web-Based Open Source Helpdesk/Customer Support System](https://github.com/zammad/zammad) — Implemented as a Rails 5 app. 

Zammad         

Curated by [Cooperpress](https://cooperpress.com/) 

[Change your email address](https://rubyweekly.com/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://rubyweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
