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 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:
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.
The Beginner's Guide to Ruby Case Statement
The Beginner’s Guide to Ruby Case Statement
The intricacies of implementing memoization in Ruby
Read: The intricacies of implementing memoization in Ruby [more inside]
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
Kickstart a New Rails Project
A detailed walkthrough on setting up databases, automating configurations, and maintaining code quality. Perfect for Rails developers starting fresh
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
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.
When (and When Not) to Use GraphQL in Your Rails App
Let’s explore when GraphQL is the right choice for your Ruby on Rails application and when it is not. Read Here - When (and When Not) to Use GraphQL in Your Rails App
Ruby pomodoro timer with exceptional tunes
SO. pomo. It is inspired by TJ Holowaychuk’s pomo I’m pretty sure I used in 2014. It’s a lightweight executable you can pop in your /usr/local/bin/pomo, sprinkle a little chmod +x /usr/local/bin/pomo magic on it, and BOOM! Pomotization complete. [more inside]
Rails 7.1 raises error when generating model attributes with reserved names.
rails_performance new release
now with P50/P95/P99 information. Please check it. A simple, free, and self-hosted alternative to New Relic