The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
If you use the
github-pages gem, you’re limited to Jekyll 3.9.0 and a limited set of themes and plugins, but with GitHub Actions, you can use the latest and greatest, and any theme or plugin you want. This tutorial shows you how step by step. [more inside]
Hello, as a follow-up to the Ruby Advent Calendar - join us in the new year in 2021 and claim a free day in the upcoming Ruby Blockchain Week 2021, January 3rd to January 9th - 7 Days of Ruby (Crypto) Gems. Why not highlight a blockchain / cryptos gem with your write-up in the ruby universe? Yes, you can! All welcome from no coiners to bitcon austrian school of economics “I HODL! You HODL! We HODL! Number Go UP!” maximalists to universum is the new ethereum world computer blockchainers. Cheers. Prost.
What if we can increase page load the speed by not duplicating work in the server rendering process? Russian Doll Caching describes layers of caching. Start from the smallest element, and then wrap it in bigger and bigger layers of caching, punching through to invalidate the cache with model updates. https://onrails.blog/2020/12/29/russian-doll-caching-building-hotwire-hnpwa-4/
Here is a quick tip that might speed up your bundle installs. By using
bundle config set jobs $(nproc) you can tell bundler to use all of your processors when installing gems in parallel. This should be the default behaviour according to my reading of the source code, but it isn’t. [more inside]
I found txtar package while working on my Go projects and liked the idea. Txtar archives helped me to package test fixtures in a clean and a human-friendly way. [more inside]
A friend told me about a job interview from years ago where he received feedback that he had used
private incorrectly. Let’s look at why it’s not “incorrect” to place constants under
A month or so ago we released following and email notifications for Speaker Deck. I thought I’d share how we whipped this together and why we did it the way we did. The end result is a stable notification system that gets the job done and will be easy to grow as Speaker Deck continues to grow. [more inside]
Benchmarking three real-world application/libraries on different Rubies - https://gettalong.org/blog/2020/benchmarking-rubies.html
A follow up on a previous article where Rails, React and ActionCable were used to build a Twitter clone with the new Hotwire library: [more inside]
Here is the second installment of my attempt to use HOTWire in a complicated, real world app. Today, I look at adding Turbo Streaming to the previous tutorial. It’s amazing how it integrates into the existing Rails stack, and adds so much interactivity with very little extra work. [more inside]
After the first part covering Kafka and Karafka fundamentals, it would be a time for the second part about consumers and some potential performance issues. [more inside]
Hello, let’s thank Thomas Leitner for the twenty fifth write-up in the Ruby Advent Calendar 2020: Day 25 - hexapdf Gem - Read and Write PDF Documents. Start from Zero or Merge, Extract, Optimize and Much More. Cheers. Prost. Happy Holidays. Merry Christmas.
Hello, let’s thank Valentino Stoll for the twenty fourth write-up in the Ruby Advent Calendar 2020: Day 24 - git_reflow Gem - Automate Your Git Workflow for You and Your Team. Build Your Own Git (Command Line) Commands @ Ruby Advent Calendar 2020 / 25 Days of Ruby Gems. Cheers. Prost
Follow along as we build the HOTWire Hacker News Progressive Webapp, or HHNPWA. This will build on the lessons from the Hacker News Progressive Web App, and will leverage all the enhancements that come from Turbo. In the end, you can compare the two, and decide for yourself what works. https://onrails.blog/2020/12/23/building-hhnpwa-1-setting-up-for-top-stories/