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
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Rubber Duck Dev Show Episode 51 | Andrew Mason & Collin Jilbert of Ruby Radar
Hear four rubyists discuss various aspects of programming as the Rubber Duck Devs host Andrew Mason & Collin Jilbert from the Ruby Radar Newsletter:
Turbo Frames vs. Turbo Streams
This video goes over the differences between Turbo Frames and Turbo Streams.
Testing microservices
Microservices need a different approach when it comes to testing. The microservices test pyramid is more complex. Here’s how to use it:
Hanami v2.0.0.beta1
Hanami 2 first beta: app-centric revolution & CLI. What to expect in 2.0 and 2.1. app/ directory is now the primary home for your code.
MongoDB adapter for Ruby Object Mapper
Another version of mongodb rom adapter:
[AnyCasts RailsConf special] Turbo Streams vs. consistency
In this AnyCasts episode, I’m exploring the (in-)consistency of Turbo Streams and how to reach better delivery guarantees (with and without AnyCable superpowers).
Gosu Game Jam Theme Voting Begins
The gosu game library is having it’s third jam starting August 14th. Theme voting has started, join the jam at and vote on some themes.
7 levels of test coverage
An opinionated approach to different levels of test coverage in Ruby applications! [more inside]
Bridgetown 1.1 “Belmont” Has Landed
New features include i18n support for multilingual websites, integration with Shoelace & Lit components, HTML & XML Inspectors, Sass support with esbuild, and Markdown enhancements. And just published: a website migration guide from Jekyll. Check out the full announcement here.
Down the caching‑hole: adventures in ‘HTTP caching and Faraday’ land
I added an automated caching mechanism to Octokit …and everything went wrong! But thanks to my fantastic misadventures, you’ll learn about HTTP caches, how Faraday middleware work, and how to use them to automagically start caching API calls.
gem-compare goes 1.2.0
Read about new contributions and contributors to gem-compare 1.1. and 1.2.
Request Spec Realistic Error Response
RSpec request specs can test endpoints that raise exceptions handled by Rails to return 4xx or 5xx responses. To test the returned response code, rather than the exception, you need extra setup. Read more.
Glimmer DSL for SWT v4.24.0.2
Glimmer DSL for SWT v4.24.0.2 has been released with the following changes: [more inside]
Glimmer DSL for SWT Video Tutorial 24 - Hello, Canvas Data-Binding!
Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! [more inside]
Rubber Duck Dev Show Episode 50 | Brittany Martin From The Ruby On Rails Podcast
Hear three rubyists talk about podcasting, project management and more as the Rubber Duck Devs host our special guest Brittany Martin from the Ruby On Rails Podcast:
Intro To Rspec Mocks
RSpec provides tools that help you test the behavior of your Ruby objects. Join Abiodun Olowode for a tour of mocks, stubs, and spies—and learn how to use them in your Ruby projects!
https://semaphoreci.com/blog/deploy-microservices?
The perfect place to host a microservice application is largely determined by its size and scaling requirements. So, let’s go over the 5 main ways we can deploy microservices. [more inside]
Holly Cummins on Getting Into and Testing Microservices
An insightful interview about the challenges #microservices come with and the right way to test them. [more inside]
Deploy Your Ruby on Rails App Using Capistrano
In this article, we will configure Capistrano in a Ruby on Rails application. We will then deploy the app to a cloud instance that runs Ubuntu as an operating system, independent of your hosting provider. [more inside]
7 ways to improve your next support rotation with event storage
Broad overview of how having event storage (like Rails Event Store or Active Event Store) helps when working on support tasks. [more inside]
Adding keyboard shortcuts and hotkeys to Hotwire apps
A review of the ecosystem for adding hotkeys to your Hotwire apps: stimulus-hotkeys, stimulus-use/useHotkeys, HotKey.js, and github/hotkey [more inside]
Rails log monitoring tutorial
How to build an in-house solution for log monitoring [more inside]
Ruby language evolution on a large scale (as observed from Ukraine)
The blogpost dedicated to the publishing of Ruby Evolution: a brief list of new significant features that emerged in the language since version 2.0 (2013).
How I Built My Code Editor in Ruby
I gave a talk at the Montreal.rb meetup group on 2022-07-07 titled: “How I Built My Code Editor in Ruby”