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.
Server-sent Events and WebSockets in Rack for Ruby
In the final part of our three-part series, we’ll use server-sent events (SSEs) and WebSockets to establish a persistent connection in a Rack app: https://blog.appsignal.com/2024/11/27/server-sent-events-and-websockets-in-rack-for-ruby.html
A small pulsating animation
As a backend developer I get excited when I can do a small UI tweak like Adding a pulsating effect on a menu item and of course I then created a Phlex component for that menu item
Rails 8 Upgrade Guide 2025: Step-by-Step Instructions for a Smooth Transition
There must be 1000s of Ruby on Rails apps still running on version 5, 6, 6.1, 7, 7.1, etc. Upgrading your Rails 5 app to version 8 is a herculean task. My latest article on how to upgrade your non-8-version Ruby on Rails application to version 8 provides a detailed guide you can follow to make this process less herculean. Read it here - Rails 8 Upgrade Guide 2025: Step-by-Step Instructions for a Smooth Transition.
Using non-root users on Kamal servers
Here’s a short post on using non-root users to connect to servers managed by Kamal.
Server monitoring (CPU, memory, storage) with rails_performance gem
https://github.com/igorkasyanchuk/rails_performance?tab=readme-ov-file#server-monitoring . With every new release getting closer to the NewRelic/Datadog free and self-hosted alternative :) Now you can monitor your server CPU load, memory, and storage with the latest gem release. [more inside]
How I built Rails docs for Terminalwire.com using Sitepress.cc
Finally recorded a presentation about Sitepress at https://youtu.be/K2N8fp2P7Ms where I cover my motivations for building Sitepress eight years ago and show how I created the Rails docs for Terminalwire at https://terminalwire.com/docs/rails with Markdown templates, Fromtmatter, and page models. [more inside]
Ultimate Rails Security Guide: Best Practices for Ruby on Rails Applications in 2025
Both web applications and mobile applications industries are at the peak of their life. Whatever softwares, ERPs, CRMs, Code Repos, etc., we use today are in majority either a SaaS or Self-hosted web app. Rails 8 with Strada can now be used to build both web and mobile apps thus security has to be the prime concern in your MVPs built using Rails8 and onwards. This article lists the advanced techniques and built-in features on how to secure your Ruby on Rails applications in 2025 and beyond. Read it here - Ultimate Rails Security Guide: Best Practices for Ruby on Rails Applications in 2025.
Database Schema Ownership
Check out a new database ownership tool. It is neat for big teams. More details in the article.
10 Costly Ruby on Rails Upgrade Mistakes to Avoid in 2025
Discover the top 10 Ruby on Rails upgrade mistakes that can cost companies over $100K. Learn how to avoid these pitfalls and ensure smooth transitions. Read it here - 10 Costly Ruby on Rails Upgrade Mistakes to Avoid in 2025.
Rack for Ruby: Socket Hijacking
Rack is the foundation for every popular Ruby web framework in existence. In part two of this three-part series, we’ll run through socket hijacking: https://blog.appsignal.com/2024/11/20/rack-for-ruby-socket-hijacking.html
Comprehensive Guide to Implementing Content Security Policies in Ruby on Rails 8
Learn how to enhance web application security with Content Security Policies (CSP) in Ruby on Rails 8. Read it here - Comprehensive Guide to Implementing Content Security Policies in Ruby on Rails 8.
Ruby on Rails Security Audit Checklist 2025: 23 Proven Steps to Secure Your App
Learn how to secure your Ruby on Rails application with this comprehensive 23-point security audit checklist. Download the FREE Checklist Template for Auditing Security of your Rails App. Read the post here - Ruby on Rails Security Audit Checklist 2025.
RubyConf 2024 Recap
A summary of my time at RubyConf 2024. https://kevinjmurphy.com/posts/rubyconf-2024-recap/
Performance Boost with Bridgetown 2.0 Beta 3
The third beta of Bridgetown 2.0 web framework has now been released, featuring a major performance boost for full builds, ESM support for all local configuration files of the frontend pipeline (no more CommonJS!), i18n support for fast refresh, and more.
Copy to Clipboard with Stimulus & Rails
Add a Copy to Clipboard feature to your Rails app with Stimulus. Step-by-step guide for integrating modern JavaScript sprinkles with Rails https://danielabaron.me/blog/stimulus-copy-to-clipboard/
Kickstart a New Rails Project
A detailed walkthrough on setting up databases, automating configurations, and maintaining code quality. Perfect for Rails developers starting fresh https://danielabaron.me/blog/kickstart-a-new-rails-project/
Build a Slack App with Rails
Learn how to build a Slack application with Rails in this multi-part series. Part 1 covers setting up a new Rails app, configuring OAuth for authentication, and laying the foundation for Retro Pulse, an app designed to enhance agile retrospectives on Slack https://danielabaron.me/blog/rails-slack-app-part1-oauth/
Parsing External Data with DTOs: A Practical Guide
Learn to parse external data using DTOs in Ruby on Rails. Discover why they matter, when to use them, and how to implement them with practical examples. [more inside]
Why 78% of Rails Upgrades Fail: And How to Ensure Yours Doesn't
This article is just a humble attempt to guide Ruby on Rails developers on how NOT to make their Rails Version UPGRADE FAIL for their app. Read it here - Why 78% of Rails Upgrades Fail: And How to Ensure Yours Doesn’t. There are a few custom modules shown in the article that you can use to properly upgrade your app. These module do not fasten the process but improve your upgrade process so it won’t fail.
Show all running apps on the server with Kamal
A simple tip how to show all running apps with Kamal.