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.
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 https://itch.io/jam/gosu-game-jam-3 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: https://www.rubberduckdevshow.com/episodes/50-brittany-martin-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://www.honeybadger.io/blog/rspec-mocks/
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” https://andymaleh.blogspot.com/2022/07/montrealrb-2022-07-07-talk-how-i-built.html
RailsLiveReload new release
With the new version rails_live_reload now has improved turbo support, new faster websocket mode and other improvements. https://github.com/railsjazz/rails_live_reload/releases/tag/v0.2.0
Glimmer DSL for SWT Video Tutorial 23 - Game of Life
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 49 | Fast Text Search In Postgres
Hear two rubyists discuss how to do fast text search in a PostgreSQL database: https://www.rubberduckdevshow.com/episodes/49-fast-text-search-in-postgres/
Rails and AvoHQ tutorial
AvoHQ is an alternative to administrate or madmin. A hands-on tutorial. https://www.bootrails.com/blog/rails-avohq-tutorial/
[Screencast] Multifactor Authentication via TOTP with Rodauth
See how to add Time-based One-Time Password to a Rails app using Rodauth. https://youtu.be/9ON-kgXpz2A
12 Ways to Improve Your Monolith Before Transitioning to Microservices
Like tidying up a house before a total renovation, preparing your monolith is the first step towards transitioning to microservices. [more inside]