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.
You don't know RSpec: intro to RSpec for RSpec professionals
A story about RSpec basic features and not-so-known functionalities hidden in them
How to check if hash has key in Ruby
With Ruby, there are some cases where you want to check if a given key is already in the hash.
How to deal with PostgreSQL Backups using Kamal
I wrote about how to deal with postgresql database backups in your kamal deployment. [more inside]
How we prevented financial loses in a SaaS app
🚀 Exciting success story! 🌐 We thwarted financial losses in SaaS app. Found premium users without a Stripe subscription, fixed bugs, and synced historical data. Result? Zero financial losses and our data now aligns seamlessly with Stripe. 💪 [more inside]
Software Development Security: Essential Tips for Cyber Safety
Explore the challenges and guiding principles of software development security. Learn about features of security testing. Strengthen your defense against cyber attacks with expert tips.Software Development Security
Upsert no longer ignores on_duplicate if unique_by is specified
What Developers Should Know About Postgres With Andrew Atkinson
In this episode, we discuss what Rails software developers should know about Postgres with Andrew Atkinson: We also discuss his new book: High Performance PostgreSQL for Rails
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 :
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]
How to encode an URL String in Ruby
Fresh version of a classic problem - URL encoding in Ruby. I recently had the problem - here is how I solved it :) [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]