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.
punkmaker gem - make your own (pixel) punk base (archetype) heads w/ your own colors
hello, back to (punk) pixel art. i have put together the (pixel) punkmaker (gem) for punk heads / characters that lets you use your own colors for base (arche)types incl. humans, zombies, apes, aliens, mummies, robots, and much more. yes, you can. happy image generating and pixel pushing with ruby.
Easy introduction to Connection Pool in ruby
Connection pool is on old engineering concept, yet it’s not so popular amongst Ruby on Rails developers. Let me present a simple example of using Connection Pool for maintaining connections to RabbitMQ. [more inside]
Cost-efficient Risk-free Ruby On Rails app redesign
This is how we’ve done it and the results we’ve achieved. [more inside]
Becoming a 10x Developer with ChatGPT and Copilot: A Rubyist's Perspective
Is the concept of a ‘10x developer’ still relevant in the age of advanced language models like ChatGPT and Copilot? In this article, I explore how these AI-powered tools can significantly boost productivity for Ruby developers. From effortlessly writing verbose test cases to generating utility snippets for libraries you rarely use, these tools are game-changers. I even delve into how ChatGPT can assist in navigating tricky office communications. Whether you’re a seasoned Rubyist or new to the language, you’ll find valuable insights on leveraging AI for more efficient and effective coding. [more inside]
Dependent Dropdowns with Hotwire
The latest issue of Rails Tricks covers how to do dependent dropdowns with Hotwire: https://greg.molnar.io/blog/rails-tricks-issue-17/
Fixing Thor’s CLI Quirks
I’ve been wanting to build a CLI in Ruby, and Thor is the obvious library to use. But Thor has some weird behaviors that were driving me crazy. Here’s what I found, and how I extended Thor to fix it. https://mattbrictson.com/blog/fixing-thor-cli-behavior
ActiveRecord Internals: You are still not ready for this
🇬🇧Hello everyone, since I began my journey in Rails association sorcery recently. Here is an insight in Rails association internals ! (You might be not ready for this :p) [more inside]
Tutorial: Ruby GUI with Glimmer (by Mattias Velamsson)
Mattias Velamsson recently shared a beginner’s tutorial for making a GUI (Graphical User Interface) in Ruby titled “Ruby GUI with Glimmer”. It provides a step-by-step code walkthrough that produces a full-fledged web-API-driven table-based business application. It uses various gems and APIs like glimmer-dsl-libui, dotenv, Net::HTTP, URI, JSON, and the Exchange Rates Data API. [more inside]
Programming & Child Development With Noah Gibbs | Rubber Duck Dev Show 97
In this episode, we discuss learning to program and child development with Noah Gibbs: https://www.rubberduckdevshow.com/episodes/97-programming-child-development-with-noah-gibbs/
punkme gem v0.1 - (pixel) punk yourself with your own skintone, hair style ( & color)
hello, back to (punk) pixel art. i have put together the world’s 1st (pixel) punkme (gem) for punk heads / characters that lets you use your own skintone, hair styles (& colors) and more. deep pink (blonde) barbie punk(ette)s? deep purple (mohawk) punks? yes, you can. happy image generating and pixel pushing with ruby.
Add a favicon to your Ruby on Rails app in 2 minutes
Hey, just a short article — you can add a favicon to your Ruby on Rails app in less than 2 minutes
OpenAI transcription API and ActiveStorage analyzers
Read my blogpost about Connecting the OpenAI transcription API and ActiveStorage analyzers to transcribe audiofiles with AI
table_inspector v0.6.0 is released. Add more concise statement and more customizable
table_inspector v0.6.0 is released. This release allows you to call a class method on model class to print the database table structure. Add a new option style
that allows you to customize the table’s appearance.
barbershop gem v0.1 - make your own punk hair styles incl. mohawk, wild & crazy, ...
hello, back to (punk) pixel art. i have put together the world’s 1st barbershop (gem) for punks that lets you make your own men’s hair styles incl. mohawk, wild & crazy, long & short and more and lets you use your own hair colors incl. white, silver, blonde, pink, purple, red, and more. happy hair dressing and pixel pushing with ruby.
How to Fix Heroku's Noisy Neighbors
You’ve probably experienced Heroku’s noisy neighbors issues… [more inside]
A Simple Stimulus tabs Controller 🗂️
Learn how to build a simple tabs controller using Stimulus. [more inside]
Working with Rails Engines, Importmap and TailwindCSS for assets.
Have you ever wondered how to make Rails Engines play nice with Importmap and TailwindCSS? [more inside]
ruby-clock 2.0 is out!
ruby-clock is a ruby job scheduler (i.e. cron replacement) which runs jobs each in their own thread in a persistent process. It’s easy to use and has lots of bells and whistles! https://github.com/jjb/ruby-clock/blob/main/CHANGELOG.md
How to isolate I18n configuration in a Rails Engine
I wrote up these notes to capture what I had learned internationalizing GoodJob’s dashboard, and also hopefully help other Rails Engine developers. [more inside]
Speed up your default Rake task with the multitask option
Rake has the ability to run tasks in parallel. For Rails projects with many test and linting tasks, this can be a huge time-saver. On my project, running in parallel makes my default Rake task finish 3x faster! Make sure to declare your default task as a list of prerequisites, then run bin/rake -m
. This post goes into more detail: https://mattbrictson.com/blog/rake-multitask
The latest issue of Rails Tricks is out!
Covering how to make data imports with Active Record fast: https://greg.molnar.io/blog/rails-tricks-issue-16/