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.
Skeleton Frames
In this episode, we look at implementing a temporary loader for turbo frame tags to give a visual of data that is loading.
Datadog APM for Rails on Heroku
Learn how to set up Datadog APM for a Rails application hosted on Heroku:
Ruby Git Server
I recently wanted to set up a Git server. Using the git-http-backend CGI made it super easy to integrate it with my Rails app:
Rails on Heroku: How to Use Less Memory Pt. 1
If you’ve built, run, or maintained a Rails app for any extended amount of time, you’ve likely run into the dreaded R14… [more inside]
What is the difference between include and extend in Ruby?
An article that explains the difference between include and extend Module methods for sharing functionality between Ruby classes, with examples from Rails applications.
What has changed in Rails this year?
I wrote a summary of what has changed in the framework this year. [more inside]
Understanding Ruby’s sort_by Method
Understanding Ruby’s sort_by Method
New release of actual_db_schema: UX improvements & full automation
I’m excited to announce v0.8.0 of the actual_db_schema gem! 🚀 This latest release takes your Rails development workflow to the next level, delivering a smoother and more efficient experience while simplifying DB schema management like never before. 🎉 [more inside]
HyperActiveForm: a gem to encapsulate your form logic into objects
I created HyperActiveForm to implement Form Objects into a Rails app. Easily extract form validations and logic into a handy and testable class.
Registration flow for Rails 8 auth generator
Here’s how to add registrations to the new Rails generated auth.
How To Spot Covert Discrimination in the Ruby Community
Covert discrimination is often hard to spot because it happens as personal microdiscrimination against one person or few people only without them belonging to a common minority group. As such, the people discriminated against are not protected by any minority group anti-discrimination measures, and are often abused without the abuse being detectable by outsiders because the abusing discriminators treat outsiders without discrimination, so they become none the wiser about the microdiscrimination happening against the one individual or few that are discriminated against. That is why I wrote a guide to spot covert discrimination in the Ruby Community and beyond.
New Gem: EnhancedErrors - See Variable Values in Errors and Spec Failures
I’m pleased to share the new EnhancedErrors Gem. The Concept: [more inside]
Video for /dev/mtl 2024 Talk "Frontend Ruby with Glimmer DSL for Web"
The video for my /dev/mtl 2024 talk “Frontend Ruby with Glimmer DSL for Web” has been published! It is totally mind blowing!!! 🤯 Happy Holidays!
Glimmer Hangman (RubyConf 2024 Hack Day App)
Merry Christmas! During the RubyConf 2024 Hack Day Event for Glimmer DSL for LibUI, which was associated with the RubyConf 2024 workshop “How To Build Basic Desktop Applications in Ruby”, I started the implementation of Hangman, the word game, in Ruby as a GUI desktop app. Well, I am happy to announce that I finally worked on it again yesterday and completed it, releasing version 1.0.0! And, it’s implemented with some of the most amazing Ruby code! Just install the glimmer_hangman Ruby gem and run the command hangman and you’ll have the game running on your machine instantly!
3 Ways to build a Rails API
In this tutorial, I cover three different ways of building an API with Ruby on Rails - a new API-only app, an API inside a normal Rails app and converting a Rails app to an API.
Video for Verona's RubyDay 2024 "Using Ruby on AWS's Lambda"
The GRUSP team has finally released the video of my workshop regarding Ruby on AWS’s Lambda. Watch it here:
Message Encryption with a OneTimePad
Here is a new gem for those of use who want to roll our own message encryption. The one_time_pad gem can generate and use a matrix of substitution cyphers to code and decode messages. It will not keep the pros from reading your messages but it should prevent any casual observer from learning your secrets. [more inside]
Video for RubyConf 2024 Workshop "How To Build Basic Desktop Applications in Ruby"
The video for my RubyConf 2024 Workshop “How To Build Basic Desktop Applications in Ruby” has been released: [more inside]
A Casual Conversation with KOW (Karl Oscar Weber) on Camping, Open Source, and More
This is a right humdinger of an episode of Fullstack Ruby! I got the chance to talk with Karl Oscar Weber all about the Camping web framework, as well as his Grilled Cheese livestream, working as a freelancer, and how to criticize by creating as a programmer in a world fraught with political upheaval. Great craic, as the Irish say.
Writing unit tests with Minitest
In this video lesson, I show how to add Rails unit tests in an ecommerce app using Minitest and fixtures. We’ll use the tests to improve the code and add model validations.
What's new in Ruby 3.4
Dive into the latest features of Ruby 3.4, including the new it block parameter, chilled strings, the Prism parser, and modular GC. Read more
"Master Hotwire" ebook
For some time now I’ve been working on an e-book about Hotwire, specifically aimed at Experienced Software Engineers. Why that focus? It’s simple: If you’re experienced I can save you time while giving you more information. For books the biggest cost is actually your time investment, not the price of the book. If this sounds interesting, I’m happy to say that the Beta version of the book is ready and available at: :)