If you don’t know how something is called (e.g. **
) in Ruby, check this project: What do you call this in Ruby?.
Recommend ruby-install and chruby. What’s .ruby-version?
Stable versions across all implementations, please check Ruby Versions. Currently you should use Ruby 2.6+ (2021 July 22, Ruby 2.5 is EOL).
-
Idiosyncratic Ruby - 75+ posts of Ruby’s Specialities
-
Master Enumerable and this post
-
The _why documentary
-
Rubular to tinker RegExps
-
strftimer - because who can remember?
-
Ruby API documentations
But Hey! I am a book person.
Strongly recommend Polished Ruby Programming published in 2021 by Jeremy Evans for anyone who passed the introductory stage.
A free one to get started, hands on: Learn Ruby the Hard Way.
What really got me Ah, I understood a little bit Ruby now, is "Confident Ruby" by Avdi Grimm. If you want to understand deeper about Ruby at lower level: Ruby Under a Microscope.
Writing better code in Ruby: Principles of Object Oriented Design in Ruby and 99 Bottles of OOP by Sandi Metz.
Read their blog post. Watch their Conference presentation (search on YouTube or ConfreaksTV)
- Aaron Patterson — Legendary tenderlove, GC, Ruby & Rails Commiter
- Avdi Grimm — RubyTapas, he also wrote many Ruby books.
- Hongli Lai — Author of Phusion, Passenger, Ruby Memory
- Justin Searls — Great Presenter on Engineering Practices
-
Michel Martens — Simplicity-driven developer
- mote Template Engine in just 42 LOC
- syro A simple router for web applications
- micromachine Minimal Finite State Machine
- Mike Perham — Author of Sidekiq - Twitter
- Nate Berkopec — Rails performance posts on Speedshop Blog (Newsletter), Puma
- Matthew Draper — Rails Core Team, ActiveRecord, Threads, ActionCable
- Ryan Davis — Many ruby infrastructures are maintained solely by him
- Richard Schneems — Sprockets, Rack, Puma, Heroku
- Sam Saffron - Benchmarking, performance
- Samuel Williams Concurrency, Async I/O, Fibers
- Sandi Metz — HOWTO write great Ruby code
-
Andrew Kane — He wrote many great articles on Ruby on Rails & Ruby.
- ankane/production_rails - Best practices for running Rails in production
- ankane/secure_rails - Rails Security Best Practices
- ankane/search_guide - Best Search practices for developers and code to implement them.
- ankane/the-ultimate-guide-to-ruby-timeouts - Everything you need to know about Timeout in Ruby
- ankane/shorts - Short, random tutorials and posts
- Piotr Szotkowski
- Jeremy Evans — Ruby Committer, Lead developer for Sequel and Roda
- Janko — Author of Shrine (File Upload), Ruby off Rails evangelist
- Luca Guidi — Author of Hanami
- Ryuta Kamizono — Rails Core Team
- Colby Swandale — Author of ruby api, ex-bundler maintainer
- Jim Weirich — author of Rake, inspirations for many people
Find more folks: https://github.com/trending/developers/ruby?since=monthly
-
Thoughtbot's blog: Giant Robots
They have moved toward Elixir and Elm, but still a lot of gems there.
-
Concise easy to consume posts about new features of Ruby and Ruby on Rails.
-
The Pug Automatic by Henrik Nyh
Useful techniques, tricks regarding Ruby and Rails.
-
MONKEY & CROW by Adam Sanderson
Some deep articles about Ruby Standard Library, Ruby language and Rails.
He writes so many deep dive posts of Ruby
Here is common recommended choice of certain things I learned from talking to people, my experience, etc.
Why you have to pick a good library, gem. Because once your application grew, some libraries have things that they are not good at for your particular edge cases and it's very expensive or a lot of effort to change. These libraries are validated and flexible to handle real-world challenges.
Nowadays I tried to choose boring ones an minimal production (standard library, what big company is using).
- Background job: Sidekiq (A case study)
- File Uploads: shrine with image_processing
- Making Requests: HTTPX gem, HTTP gem
- Markdown: CommonMarker with
HTML::Pipeline
- Emoji: Gemoji and Twemoji (this blog)
- Concurrency Tools: Concurrent Ruby
- Async I/O: https://github.com/socketry
- Time Calculations: Monotonic Time
- CLI apps: tty
- Learn how to configure all libs’s Timeout
- Nokogiri for HTML, XML parsing
- Parser and AST gem
- Scraping: Kimurai Scraping Framework
- Others: See what is trending on GitHub.
- I am a puts debuggerer by Tenderlove
- Processing large CSV files with Ruby
- 10 tips for debugging on production
- IO in Ruby
Follow @RubyInside / Ruby Weekly to read more like this.
But Hey! I want to read some real Code.
See Code Reading.
See Companies using Ruby.
Double quote: https://github.com/rails/rails/pull/38841