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 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]
Get Started with Hotwire in Your Ruby on Rails App
Learn the basics of Hotwire and how to use it in your Rails app. https://blog.appsignal.com/2022/07/06/get-started-with-hotwire-in-your-ruby-on-rails-app.html
Use React & Hotwire Together. The Best of Both Worlds.
In this video, we’re looking at how you can use React components with Hotwire. https://youtu.be/_w_S4J1q7ds
A guide to updating your CircleCI config to run Ruby 2.7.6 or 3.1.2
I ran into issues trying to run Ruby 2.7.6 in a Rails app that was using the deprecated “circleci/” images. I wrote a guide that shows how to Run Ruby 2.7.6 or 3.1.2 in CircleCI using the newer orbs and “cimg/” images. I hope it helps someone!
[Podcast] Code and the Coding Coder who Code it - Episode 8 - RailsConf: HomeEdition
New Episode of the Code and the Coding Coder who Code it podcast is out! This episode was a special one for me. I was invited to be on the podcast panel at RailsConf: HomeEdition! The panelists and I discuss what we’re all up to, if you can still build a career in ruby (spoiler: You can!), and how our ecosystem can benefit from more Ruby frameworks and podcasts. [more inside]
Multi-tenancy vs. Action Cable: Introducing Action Cable command callbacks
This blog post introduces the upcoming Action Cable API—command callbacks, which could be useful, for example, to make connections and channels tenant-aware in a simple, controller-like, way.
[Screencast] File Uploads and Cloud Storage
AWS S3 has been a reliable service over the years and for a long time it was the only option. However, in the past few years, there has been more cloud storage options that have popped up with compatible S3 APIs. These services can sometimes offer better pricing and speeds. https://www.driftingruby.com/episodes/file-uploads-and-cloud-storage
Ruby Enumerable Module
Definition and explanations about the enumerable module : https://www.bootrails.com/blog/ruby-enumerable-module/
Rubber Duck Dev Show Episode 48 | Ruby Fibers
Hear two rubyists discuss Ruby Fibers how they work as well as the enhancements offered by Ruby 3. Lastly, we cover Ruby Sets and their benefits: https://www.rubberduckdevshow.com/episodes/48-ruby-fibers/
Glimmer DSL for SWT Video Tutorial 22 - Hello, Canvas Drag and Drop!
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]
[Guide] How to Contribute to Ruby on Rails
If you ever get to the Ruby on Rails repository hoping to contribute you see +384 open issues. Which one should you pick? How do people even get started? Even worse: they all seem pretty hard. [more inside]
Ruby-on-Rails, TailwindCSS : a tutorial
This time will be more about opinions than technique, but you can still try Tailwind with Rails this way : [more inside]
Randomly failing system tests with slow-scrolling Chrome
The excitement of a new mac quickly died with the introduction of randomly failing system tests. [more inside]
Release Management for Microservices
Releasing microservices applications is hard when code is scattered among dozens of repos. Here’s why using a monorepo might make more sense. [more inside]
The most underrated Rails helper: dom_id
One of the oldest helpers in Rails is also the most underrated. dom_id
shines for building apps with Hotwire, allowing you to easily target parts of the page without a bunch of nasty string interpolation. [more inside]
Vite-lizing Rails: get live reload and hot replacement with Vite Ruby
Recently, AnyCable author Vladimir Dementyev upgraded his AnyCable demo application to Ruby 3 and Rails 7 with its new asset management tooling. As a result, assets:precompile
became fast as lightning, but we lost one important productivity feature along the way: live reloading.
Now, with this Vite Ruby setup, we’ve got Rails with live reloading and hot replacement ready to go!
Vite-lizing Rails:
get live reload and hot replacement with Vite Ruby
Woody Zuill on How Mob Programming Makes the Difference
An insightful interview about the benefits of mob programming: https://semaphoreci.com/blog/woody-zuill-mob-programming?utm_medium=social&utm_source=smgroups&utm_campaign=woodyzuill
store_model 1.0.0
store_model is a gem for wrapping JSONB values to ActiveRecord–like models. [more inside]
New Whatsapp SDK gem!
Whatsapp just announced its Cloud API with Whatsapp messaging. I built a Ruby gem and decided to make it open source. https://github.com/ignacio-chiazzo/ruby_whatsapp_sdk
Rubocop - 4 ways to get rid of your frustration!
In this episode, I’ll show you how to ONLY LOVE Rubocop and never get frustrated by it. [more inside]