---
title: "An interview with Michael Hartl"
publication: "Ruby Weekly"
issue: 512
published_at: "2020-07-30"
canonical_url: "https://rubyweekly.com/issues/512"
---

Plus more of this week's Ruby news, views, and libraries.       

#512 — July 30, 2020 

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

🎉 At the end of this week's issue we have an interview with the man, the legend, _Michael Hartl_ of _Rails Tutorial_ fame – don't miss it 😄  

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/uosew4zkgse1t2bqdsck.jpg)](https://developer.squareup.com/blog/the-state-of-ruby-3-typing/)   

[The State of Ruby 3 Typing: Introducing RBS](https://developer.squareup.com/blog/the-state-of-ruby-3-typing/) — Back in May we mentioned [RBS](https://github.com/ruby/rbs), a language being used for type signatures in Ruby programs, but this is a much more accessible introduction to the concepts around it. RBS and the tooling around it will ship with the eventual Ruby 3. 

Soutaro Matsumoto   

[RubyMine 2020.2 Released](https://blog.jetbrains.com/ruby/2020/07/rubymine-2020-2-released/) — RubyMine is a commercial Ruby IDE but popular enough for a release to be noteworthy :-) There’s a new UI feature for tracking and listing issues within a file of code, support for the Liquid template language, and full GitHub pull request support. 

JetBrains   [![\](https://copm.s3.amazonaws.com/86781cd7.png)](https://semaphoreci.com/resources/cicd-docker-kubernetes?utm_source=rubyweekly&utm_medium=cpc&utm_campaign=rubyweekly-20200730) 

[CI/CD with Docker and Kubernetes eBook by Semaphore](https://semaphoreci.com/resources/cicd-docker-kubernetes?utm_source=rubyweekly&utm_medium=cpc&utm_campaign=rubyweekly-20200730) — Download the free eBook and learn how to deliver cloud-native applications at high velocity. 

Semaphore sponsor    

[TTY::Logger 0.4.0: Structured, Attractive Logging on the Terminal](https://github.com/piotrmurach/tty-logger) — Nice looking colorized and formatted logging. Part of the popular [TTY suite](https://ttytoolkit.org/) of libraries, which I encourage you to check out when you get the chance. There are libraries for [colorizing output](https://github.com/piotrmurach/pastel), [moving the cursor around](https://github.com/piotrmurach/tty-cursor), [writing big fancy text](https://github.com/piotrmurach/tty-font) and [more.](https://ttytoolkit.org/components/) 

Piotr Murach     

**⚡️ Quick bytes:** 

- If you're feeling nostalgic for a bit of Ruby history, [Past Rubies](http://www.pastrubies.com/) is a project (and newsletter) looking back at Ruby news from long ago.
- On the Ruby on Rails Podcast, Brittany Martin and Haroon Ahmed [have talked about](http://5by5.tv/rubyonrails/328) `rails new .. --minimal`, a [new way](https://github.com/rails/rails/pull/39282) to create a truly lightweight Rails app.
- And don't forget to check out the Michael Hartl interview at the end of this issue ;-)   

💻 Jobs  

[Senior Rails Developer (Remote/Flexible)](https://www.notion.so/aregenerativecompany/Senior-Rails-Developer-Remote-Flexible-c9044799dd0544e283062b55d16bda77) — YourGrocer delivers fresh food from local independent shops, and we're looking for an experienced developer to join our growing team. 

YOURGROCER.COM   

[One Application, Hundreds of Hiring Managers](https://www.vettery.com/tech?utm_source=newsletter&utm_medium=cooper-rubyweekly&utm_term=tech&utm_content=grouped&utm_campaign=ad-77583) — Use Vettery to connect with hiring managers at startups and Fortune 500 companies. It's free for job-seekers. 

Vettery  

ℹ️ _Interested in running a job listing in Ruby Weekly? There's [more info here](https://booking.cooperpress.com/jobs)_. 

📘 Articles & Tutorials  

[To `bundle exec` or Not? That Is the Question](https://www.ombulabs.com/blog/ruby/learning/understanding-bundler.html) — If you’ve ever impulsively used `bundle exec` without thinking about it and then wondered if you really _need_ to, this explanation may help. 

Ariel Juodziukynas   

[Be Cautious with Coercion Methods](https://solnic.codes/2020/07/29/be-cautious-with-ruby-coercion-methods/) — A quick look at Ruby’s built in coercion methods (all those mostly starting with `to_...`) and some caveats that come with their usage. 

Piotr Solnica   

[Best-Practices on How to Speed Up Your Postgres Queries. Free eBook](https://pganalyze.com/ebooks/optimizing-postgres-query-performance?utm_source=RubyWeeklySecondary07302020) 

pganalyze sponsor   

[How I Write Tests for My Rails (API) Apps](https://prathamesh.tech/2020/07/28/how-i-write-tests-for-my-rails-api-apps/) — _“My strategy of writing tests for Rails applications. Integration tests over unit tests. No to 100% test coverage.”_ 

Prathamesh Sonpatki   

[Some SQL Tricks of an Application DBA](https://hakibenita.com/sql-tricks-application-dba) — A neat article with a variety of non-trivial tips for database development. If you ever touch SQL, you should find something useful here or at least enjoy the exploration. 

Haki Benita   

[A Silly Thing You Can Do with the Ruby Parser](https://penelope.zone/2019/12/22/a-silly-thing-you-can-do-with-the-ruby-parser.html) — ‘Silly’ is like catnip to me. The trick here is defining a class in a `rescue` clause. You probably don’t want to, but.. you can 🤷‍♂️ 

Penelope   

▶[Noah Gibbs on When _Not_ to use Rails](https://railswithjason.simplecast.fm/noah-gibbs-3) 

Rails with Jason Podcast podcast  

🛠 Code and Tools  

[RSpec Queue: Optimally Distribute and Run RSpec Suites Among Parallel Workers](https://github.com/skroutz/rspecq) — Speed up those CI builds by running your RSpec suites across workers in parallel, all controlled by a centralized queue. 

Skroutz   

[ImageInfo: Finds The Size and Type of Images from the Web](https://github.com/gottfrois/image_info) — We first linked this 5 years ago but it’s just had an update. It tries to find out image size info for images over HTTP by fetching as little of the file as possible. 

Pierre-Louis Gottfrois   

[Prevent Outages with Timely Upgrades of Your Rails Project](https://kodius.com/upgrade-your-rails) — Outdated Rails dependencies don't mesh well with cloud dependencies. Act before your cloud provider leaves you dangling. 

Kodius sponsor   

[To ERB and Beyond: What’s New in Bridgetown 0.16 “Crystal Springs”](https://www.bridgetownrb.com/release/whats-new-in-0.16-crystal-springs/) — [Bridgetown](https://www.bridgetownrb.com/), a Ruby static site generator, has added plugins for Haml and Slim, which you can use with their Liquid templates for great good. 

Jared White   

[Counter Culture: 'Turbo-Charged' Counter Caches for Rails Apps](https://github.com/magnusvk/counter_culture) — Boasts improvements over standard Rails counter caches. 

Magnus von Koeller   

[Torch.rb: Deep Learning for Ruby](https://github.com/ankane/torch.rb) — A way to use [Torch](https://pytorch.org/), an open source machine learning framework, more commonly associated with Python. 

Andrew Kane   

[dyndnsd.rb 3.0: A Small, Extensible DynDNS Server Powered by Rack](https://github.com/cmur2/dyndnsd) 

Christian Nicolai       ![Michael Hartl](https://res.cloudinary.com/cpress/image/upload/v1596038819/wsrazwlj07enrvq4bnia.jpg) 

💬 A Q&A with…
Michael Hartl
creator of [Ruby on Rails Tutorial](https://www.railstutorial.org/), author of [The Tau Manifesto](https://tauday.com/tau-manifesto), and founder of [Learn Enough](https://www.learnenough.com/).  

His Ruby on Rails tutorial is a rite of passage for many budding Rubyists, including at least one of the curators of this newsletter. We’re grateful that he’s taken the time to answer a few questions today: 

Back in 2010 when you did the first Rails Tutorial, did you think it’d be popular a decade on? 

I certainly hoped so. I could tell from its design and momentum that Rails had a good chance of being a relevant technology for many years to come. And the Web certainly wasn’t going anywhere! 

What accounts for its staying power? 

It owes a lot to the staying power of Rails itself. Rails creator David Heinemeier Hansson and the other core Rails developers have done a great job of keeping Rails relevant in a changing web development landscape. 

As for the Rails Tutorial specifically, it has helped to have the support of the Rails community, which has made the Rails Tutorial (along with its parent company, Learn Enough) a viable business. The financial support of Rails Tutorial customers has made it possible to continue updating the tutorial as Rails has evolved and grown. 

What most excites you about Ruby’s and/or Rails’ future? 

Ruby has a beauty and malleability that set it apart from competitors like Python and JavaScript. With Ruby-based companies like Stripe and Square supporting it, I expect Ruby to continue to thrive. 

Rails, meanwhile, powers some of the biggest and most technologically savvy sites on the Web. Did you know that, in the run-up to Rails 6, both GitHub and Shopify ran their production sites off of the latest development version of Rails? That’s the kind of battle-testing that hardly any other frameworks can match. 

You claim to be a philosopher. How do you use that in your everyday Ruby/development work? 

I assume you’re referring to the inclusion of “natural philosophy” in my Twitter bio. That term is an old-timey phrase that roughly means “science”, but it suggests a more integrated and even “spiritual” approach to its subject. It emphasizes that science very much belongs as part of the “liberal arts”. That’s the view I took in my own studies, even as I eventually specialized en route to a Ph.D. in theoretical physics. 

As a developer and educator, I apply this approach to integrate other areas of knowledge into my work, including fields like literature, history, and art. For example, if you look closely at the Learn Enough tutorials, you’ll find frequent references to Greek mythology, Roman history, and English literature. I think developing an appreciation of that broader perspective is an important part of a technical education. 

What will the Rails Tutorial look like in 2030? 

In 2030, the Rails Tutorial will be delivered by direct upload to your neural implant, like kung fu in The Matrix. _“Whoa,”_ exclaimed Keanu. _“I know Ruby on Rails!”_   

Michael is cofounder and principal author at [Learn Enough](https://www.learnenough.com).          

Curated by [Peter Cooper](https://twitter.com/peterc), [Glenn Goodrich](https://twitter.com/ruprict) and [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
