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.
How to tell when it's safe to remove a feature flag?
We wrote up a little bit about what we’re doing to make it easier to cleanup feature flags, which is notoriously hard. [more inside]
Frontmatter on Rails
Add Frontmatter to Rails and use structured data in your views. In this post we’ll customize ActionView, add our own ActiveRecord-like objects, and build a small app. [more inside]
Generate authentication like Rails 8 will
Waiting for the new release of Rails, here is a tutorial about how to generate authentication - without the need to code it from scratch. [more inside]
Business Class 1.5 with single-server Kamal deployments
Business Class get its last piece of the puzzle, deployments with Kamal. Just a few commands in the command like will take your new project online.
Programming (Bitcon) Ordinals (in Ruby) - Step-by-Step Book / Guide
Hello, i moved the free online Programming (Bitscoin) Ordinals - Step-by-Step Book / Guide - yes, in ruby to its own “top-level” repo for easier browsing, (re)using of scripts and more. the first two chapters include: 1) Sub 1k - Inside The First Thousand Ordinal Inscriptions, 2) Collections, Collections, Collections - Inside Ordinal Punks, Bitscoin Shrooms, D.I.Y. Punks & More. happy blockchaining and data analytics with ruby. ps: yes, bitscoin is blacklisted (cancled) here, thus bitcon. why not?
Using Jekyll as a static website generator in 2024
Personal choices, plugins, and basic configurations adopted to manage my Jekyll-based blog read more
Cross-Platform application with Ruby + Tauri
Is there any way to create a cross-platform client application that consumes a fraction of resources than Electron would use… with Ruby? 🤯 [more inside]
Ruby on Rails load testing habits
Here are the techniques I’ve acquired over more than 10 years of regular load testing : https://www.rorvswild.com/blog/2024/ruby-on-rails-load-testing-habits
The Tech Stack I choose to build my email courses
I detail here the tech stack that I use to build my email courses project: Ruby on Rails, SQLite, Avo, Sitepress and more. [more inside]
Exploring Campfire
In this episode, we explore the Campfire code from 37signals’ Once product line. We’ll install the product and grab the code base to get it up and running on our development environment. https://www.driftingruby.com/episodes/exploring-campfire
ML: An Introduction to Classification And Regression Trees in Ruby
This is the first article of a series about ML in Ruby. The FastRuby.io team will explore some principles of machine learning, namely binary classifiers, and walk through how they connect to each other, in Ruby. [more inside]
Behaviour Driven Development in Ruby with RSpec
We’ll learn about RSpec and how it helps with Behaviour Driven Development in Ruby: https://blog.appsignal.com/2024/01/24/behaviour-driven-development-in-ruby-with-rspec.html
Lode 1.0.0: A PStore enhancer
Lode — as in geological deposit or a vein of minerals — is a PStore of object data that can be mined for valuable information. Granted, the PStore gem is a more esoteric default library written by the Ruby Core team but, with Lode, you can build upon PStore with more flexible functionality that wasn’t possible before. Enjoy!
Rails on Docker without Docker
I wrote https://fly.io/ruby-dispatch/rails-on-docker-without-docker/ to share observations I’ve made and questions I’ve gotten about Docker, Kamal, and Fly.io. The biggest surprise to me is how some Rails devs don’t want to take time away from building their apps to install, learn, and figure out Docker, so I make a case for how Fly.io can gradually introduce Docker without slowing down velocity.
Solid Queue & understanding UPDATE SKIP LOCKED
Recently, 37signals open-sourced Solid Queue and Rosa Gutiérrez Escudero’s blog made us look into “UPDATE SKIP LOCKED”. Here is the blog we have written on Solid Queue & understanding UPDATE SKIP LOCKED.
ViewComponent in the Wild III: TailwindCSS classes & HTML attributes
Ruby on Rails full-stack development is back on track and GitHub’s ViewComponent library is still #1 for bringing sanity to HTML; in this post, see how to manage TailwindCSS classes and HTML attributes in view components: ViewComponent in the Wild III: TailwindCSS classes & HTML attributes
Extralite 2.6 Released
I’m excited to announce the release of Extralite 2.6. Extralite is a Ruby gem for working with SQLite databases, offering great performance (up to 14X the performance of the sqlite3 gem!), comprehensive support for concurrent query execution, and advanced features such as batch query execution and backups. [more inside]
Punks, The Mini Edition (12×12px) - Let's Generate The Presidents and Punk Rocks
Hello, i updated the quick starter kit for punks, the mini edition in 12px (“classic” is 24px). yes, 75% less pixels. Generate the presidents (of the united states), that is, joe (biden), donald (trump), nikki (haley) or let’s rock the punks with punk rocks. use text-to-image prompts. e.g. joe, regular shades, blue cap or rock gray, peak spike red. Yes, in ruby. happy pixel pushing with ruby.