Some links I recommend for Ruby ️
Install and Manage Ruby Versions
ruby-install and chruby.
Key sites
- Idiosyncratic Ruby - All Ruby Specialities
- Enumerable and this post
- Ruby References (2.6)
- Ruby Standard Gems
- Parser and AST gem
- strftimer - because who can remember?
- Rubular to tinker RegExps
- The Ruby Style Guide
- Ruby API
But Hey! I am a book person.
Books
What really got me Ah, I understood now, is "Confident Ruby" by Avdi Grimm.
If you want to understand deeper about Ruby at lower level: Ruby Under a Microscope.
OOP in Ruby: POODR and 99bottles.
Important People
Read their blog post, watch their Conference presentation (search on YouTube or ConfreaksTV)
-
The _why documentary
-
Jim Weirich (author of Rake, inspirations for many people)
His last commit. Read this memoir -
Aaron Patterson Legendary tenderlove, GC, Ruby & Rails Commiter
-
Avdi Grimm - RubyTapas
-
Hongli Lai Author of Phusion, Passenger, Ruby Memory
-
Justin Searls - Great Presenter on Engineering Practices
-
Michel Martens - Simplicity - See
He wrote bunch of gems with aim for simplicity!
- mote Template Engine in just 42 LOC
- syro A simple router for web applications
- micromachine Minimal Finite State Machine
From these gems, you can learn the idea of the working knowledge of a common web components.
-
Mike Perham - Author of Sidekiq
-
Nate Berkopec - Rails performance posts on Speedshop Blog
-
Ryan Davis - Many ruby infrastructures are maintained solely by him
-
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
Blog
-
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 Ruby & 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
Scenarios
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).
- Either Net::HTTP or HTTP gem (Why it's great)
See what is trending on GitHub.
- Markdown: CommonMarker with
HTML::Pipeline
- Emoji: Gemoji and Twemoji (this blog)
- Concurrency: Concurrent Ruby
- Async I/O: https://github.com/socketry
- Time Calculations: Monotonic Time
- CLI apps: tty
- Timeout
Good Posts
- I am a puts debuggerer by Tenderlove
- Processing large CSV files with Ruby
But Hey! I want to read some real Code.
Code Reading
Sequel, Stripe Ruby Library, Hound (Rails app)
Conferences
Send me email for feedback.