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.
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.
Rails form_with tutorial
“form_with” is a Rails helper that allows the construction of web forms optimized for communication with the server. [more inside]
Numeric operations on value objects in Ruby
Here’s a little Ruby puzzle. Imagine you have a Value class that wraps a number, and implements numeric operations. How would you go about implementing the class in a way that lets you do something like 2 + Value.new(3) and returns Value.new(5)? [more inside]
RubyWM - an X11 window manager in pure Ruby
I’ve just pushed a still very rough version of my Ruby X11 window manager to Github [more inside]
Montreal.rb Jan 2024 Building an AI Medical Scribe in Ruby
The video of the Jan 2024 Montreal.rb Ruby Meetup A.I. talk “Building an AI Medical Scribe in Ruby” by Jean-Sebastien Boulanger (CTO of Circle Medical) has been posted. Description: “In this talk, I’ll share insights from our experience creating an AI medical scribe using Ruby at Circle Medical, a hybrid primary care provider seeing over 50,000 patients monthly. We leveraged Large Language Models (LLMs) to create a scribe to enhance clinical documentation and save doctors’ time.” [more inside]
New version of actual_db_schema gem
Just released version 0.7.0 of the actual_db_schema gem! Now it tracks the branch from which phantom migrations are run. See the PR: https://github.com/widefix/actual_db_schema/pull/39 [more inside]
Unleashing the Magic of Ruby on Rails: A Fun-filled Journey into Web Development Wond
Are you ready to embark on a magical adventure through the whimsical world of Ruby on Rails? Buckle up, fellow developers, as we take a joyous ride into the enchanted realm of web development.
Reading Kamal configuration
Ever thought of reusing your Kamal’s config/deploy.yml configuration? This is how.
Rubygems introduced a file option to specify Ruby version in Gemfile
Rubygems introduced a file option to specify the Ruby version in Gemfile. [more inside]