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.
Mastering Rails Web Navigation with link_to and button_to Helpers - Part 2
Having laid the groundwork in Part 1, we’re now poised to dive into the heart of web navigation in Rails. In this part, we’ll focus on the magic of the link_to and button_to helpers, starting with the ever-versatile link_to. These helpers are the unsung heroes that power the seamless navigation experience we often take for granted. [more inside]
Mastering Rails Web Navigation with link_to and button_to Helpers - Part 1
We explore the Rails web navigation system, understand how Rails handles requests, and delve deep into the world of middleware. Part 1 [more inside]
The Burnout Show With Kota Weaver | Rubber Duck Dev Show 105
In this episode, we discuss dealing with burnout (mostly in software development) with Kota Weaver:
Better Know A Ruby Thing: Constants
Constants aren’t constant, how Ruby finds and uses constants, and, of course, what metaprogramming you can do when constants are missing. [more inside]
Glimmer DSL for LibUI Scaffolding + Snake Game
Glimmer DSL for LibUI 0.9.x versions include support for a new Glimmer Command, Application Scaffolding, Custom Component Scaffolding, Custom Component Gem Scaffolding, and more. These features greatly improve Software Engineering Productivity when building desktop applications with Glimmer DSL for LibUI. Glimmer Scaffolding could be thought of as the “Desktop Application” equivalent of Rails Scaffolding and Generators. In fact, I ate my own dog food and used the new Application Scaffolding feature to effortlessly scaffold a Glimmer Snake game.
Adding ActiveRecord slugs by creating a general Sluggable concern
Here’s how to add slugs to models in Rails including a restricted path validator and some tests :)
rouge-gtk_theme_loader v0.3.2
rouge-gtk_theme_loader loads GtkSourceView themes into the Rouge syntax highlighter, so you can get access to a wide variety of themes. It has been updated to support mapping more attributes. [more inside]
Better Know A Ruby Thing: Method Missing
The first in a series of articles about Ruby features, this one covers method_missing – what it does, how to use it well, and how to use it badly…
Glimmer Wordle 1.1.5 Released
Glimmer Wordle 1.1.5 has just been released with official support for Windows. Although the game worked on Windows before, thanks to the platform-independent Glimmer DSL for SWT GUI library it was built with, styling was not tweaked for Windows till now in version 1.1.5. [more inside]
Advanced Usages of Action Policy for Ruby on Rails
Let’s explore some advanced usages of Action Policy, including pre-checks, scopes, caching, and aliases:
About Ruby: A tale of searching for the main
I tried in this article About Ruby: A tale of searching for the main to provide a different flow of answering questions about Ruby than pointing to documentation. [more inside]
Better Rails Forms with Superform
I wrote about a complete clean-sheet rewrite I did of Rails form helpers at The forms can permit their own parameters, so no strong parameters are needed. They’re also highly composable because they’re implemented using 100% Plain ‘ol Ruby Objects.
Understand Rails async database queries by reimplementing them in 51 lines of simple
ActiveRecord async loading of db queries can be a very easy and valuable optimisation but mis-using them could turn ugly. Understanding how they actually work is a great way to make the most out of them in a safe way:
Beyond Technical Complexity with Thiago Pinto | Rubber Duck Dev Show 104
In this episode, we discuss complexity that exists beyond the technology we use to build our application solutions with Thiago Pinto:
Deploy Your Rails Applications the Easy Way With Kamal
If you’re looking for a simple way to deploy your Rails apps on the infrastructure of your choice, Kamal makes the process effortless. Is it a good choice for you?