How (and why) to run SQLite in production: RubyConf Taiwan 2023
This is my personal site, where I write about Ruby, programming, and any of my varied fascinations.
This is my personal site, where I write about Ruby, programming, and any of my varied fascinations.

All of us rails developers have used generators before. Either it is when we run rails new or rails generate scaffold. These commands…

This article was originally written by Jeffery Morhous on the Honeybadger Developer Blog. In Ruby on...
Let's explore Strong Migrations, a gem that can help you maintain good practices with your database migrations in Ruby on Rails.
Let's compare some Active Record features to its lesser-known but powerful cousin, Sequel.
JavaScript is in the vogue now, but Ruby on Rails can become your startup’s secret competitive advantage.
Active Record and PostgreSQLThis guide covers PostgreSQL specific usage of Active Record.After reading this guide, you will know: How to use PostgreSQL's datatypes. How to use UUID primary keys. How to include non-key columns in indexes. How to use deferrable foreign keys. How…
In the first part of our series, we'll explore two Hotwire methods to make modals accessible in your Rails application.

Getting data *into* your database is easy, but querying large datasets is challenging—especially without the right indexes. Pavel Tkachenko teaches how to write performant SQL queries with EXPLAIN and ANALYZE.

In part six of our series, we'll use Litesearch, the last piece of the puzzle in LiteStack.
Learn how to authorize requests at the routing layer to improve security and ergonomics.

The ~/.railsrc file configures your Rails applications and lets you pre-configure the gems you want in all your Rails apps.

Work on Rails 8 is starting, so I dug through the official GitHub milestone to break down all the upcoming goodies for you. There's plenty coming, including Solid Queue, Solid Cache and Kamal becoming defaults, better support for PWAs, an official LSP, and more!

When working on large-scale projects, quickly creating test data or dummy data can be crucial. In...

In the first part of a two-part series, we'll introduce how to use the Action Policy gem for a Ruby on Rails blog application.

In the first part of this series, we'll set up an example Rails application and introduce the basics of LiteStack.
Now available in a beta, Rails 7.1 will generate all Dockerfiles needed for deployment, tuned for production use.

Let's dive into what RuboCop is, how it helps developers, how to use it, and some key practical use cases.

Learn how to improve the interface of your existing Active Record Models with this underutilized API.
Documentation and guides from the team at Fly.io.

This version of Rails has been years in the conceptual making. It’s the fulfillment of a vision to present a truly full-stack approach to web development that tackles both the front- and back-end challenges with equal vigor. An omakase menu that includes everything from the…
Thanks to gems, it is easy to implement a search engine into Rails applications. Of course, you have to choose which gem to use. While there are countless options, four stand out as the best. You will be happy with any of these options.

In part one of this series on Devise, we'll cover the basics of the Devise gem.

Google login can provide a convenient and seamless authentication option for your users. In this...
A complete and concise overview to help you create custom Rails Generators and avoid the speed bumps that might otherwise slow you down.
Security should be one of the main areas of concern while developing a website application. To...
A helpful list of resources for people who are just getting started out with Rails.

Introduction In this article we will go over exception handling and validation in Rails....

In this blog, we'll explore how to use background jobs with Sidekiq in Rails 7 to handle long-running...

Let's look into three options for code loading in Ruby: using load, require, and autoload.

Stripe Connect provides a suite of tools and APIs that allow you to create, manage, and scale your...

Webpacker was retired for Rails 7. Let’s explore some options for replacing it when making an upgrade.

This article explains Rack, including both the protocol and the gem, as well as the concept of middleware.

In this post, we’ll learn about Rails sessions, including what is a session, why we need them, and why they're so important. I’ll also take you behind the scenes and show you how Rails implements sessions and where the `session` method actually comes from. Hint: it’s not in the…
Discover the Best Ruby gems to enhance your project and make development easier. From testing to deployment, these gems will streamline your workflow.

This post shows how you can use the notes command in Rails to search through your codebase for comments starting with a specific keyword. By default, it searches the codebase for FIXME, OPTIMIZE, and TODO comments, but you can also configure it to use custom keywords.

If you are a frequent user of Ruby on Rails, you know that building authentication and user...

Introduction Views and Common Table Expression or CTE are two important concept in...
Kamal (MRSK) deploys web apps anywhere from bare metal to cloud VMs using Docker with zero downtime. In this episode, we will set up a Digital Ocean infrastructure with a Load Balancer, Virtual Machines, and a PostgreSQL database. We'll use Kamal (MRSK) to provision and deploy…

Despite its strong opinions and powerful conventions, Rails is a highly flexible and configurable framework. If you don’t like something, there’s almost certainly a way to change it. This article provides a brief overview of configuring Rails applications and environments.

It's easy to get going with logging with Rails, but not so easy to master it. Discover how you can get the most from your logs.

How to add bootstrap in rails 7 Bootstrap is a popular CSS framework that can help you...

Although Hotwire is closely tied to Ruby on Rails, you don't really need Rails to learn, play, and experiment with Hotwire.

What is RailsEngine? A Rails engine is a self-contained piece of functionality that can be...

As a software developer, one of the best feelings has to be thinking up a great feature for your...
What is docker? and how to use it with ruby on rails applications? and benefits of using...

Let's take a look at what we can expect from the upcoming Rails 7.1 release.
Leaked OnlyFans photos and video of manny.codes
Rails 7 is now more flexible in terms of the front-end technologies we want to use for our projects. Webpacker has been retired and right now is not really recommended to use for new projects.