DEV Community 👩‍💻👨‍💻

Ruby on Rails

Ruby on Rails is a popular web framework that happens to power dev.to ❤️

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Set up a basic multi-tenant architecture in Rails 7

Set up a basic multi-tenant architecture in Rails 7

Reactions 5 Comments
4 min read
Rails validations, Exceptions, and Error Handling

Rails validations, Exceptions, and Error Handling

Comments
5 min read
STI, Associations, and Polymorphism‽ Oh my!

STI, Associations, and Polymorphism‽ Oh my!

Comments
4 min read
GitHub Action using pre-installed Postgres

GitHub Action using pre-installed Postgres

Comments
2 min read
How to run Rubocop for Rails in GitHub Actions?

How to run Rubocop for Rails in GitHub Actions?

Reactions 1 Comments
3 min read
Transforming Education: Using OpenAI and Ruby to Summarise Wikipedia for Children

Transforming Education: Using OpenAI and Ruby to Summarise Wikipedia for Children

Reactions 1 Comments
5 min read
Install Ruby 3.2.0 with YJIT

Install Ruby 3.2.0 with YJIT

Reactions 10 Comments
3 min read
How to Treat Your Followers

How to Treat Your Followers

Reactions 2 Comments
4 min read
Creating an AI email parser using Ruby and OpenAI (GPT-3)

Creating an AI email parser using Ruby and OpenAI (GPT-3)

Reactions 3 Comments
4 min read
What to do if Sidekiq job is stuck

What to do if Sidekiq job is stuck

Comments
3 min read
Routing with Rails

Routing with Rails

Reactions 1 Comments
1 min read
Writing better Action Mailers: Revisiting a core Rails concept

Writing better Action Mailers: Revisiting a core Rails concept

Reactions 4 Comments
8 min read
CORS issue in Ruby on Rails(Duplicate Response Headers)

CORS issue in Ruby on Rails(Duplicate Response Headers)

Comments
2 min read
Pattern Matching Interfaces in Ruby

Pattern Matching Interfaces in Ruby

Reactions 7 Comments
15 min read
SERIAL in SQLite

SERIAL in SQLite

Reactions 1 Comments
1 min read
Secure CSRF Token Storage in Rails 7 using Encrypted Cookies

Secure CSRF Token Storage in Rails 7 using Encrypted Cookies

Comments
2 min read
Database Views & Rails Active Record: defining new Model classes out of views

Database Views & Rails Active Record: defining new Model classes out of views

Reactions 1 Comments
14 min read
Introducing Validations

Introducing Validations

Reactions 3 Comments
4 min read
Ruby On Rails Beginners - Demystify the magic. Part 1: The Ruby looks a little different

Ruby On Rails Beginners - Demystify the magic. Part 1: The Ruby looks a little different

Reactions 2 Comments
2 min read
Active Record Encryption and Rollover with ENV's instead of credentials

Active Record Encryption and Rollover with ENV's instead of credentials

Reactions 1 Comments
2 min read
Troubleshooting weird DB connection errors in Rails with PostgreSQL

Troubleshooting weird DB connection errors in Rails with PostgreSQL

Reactions 1 Comments
2 min read
Why parameterized objects in Rails are so powerful

Why parameterized objects in Rails are so powerful

Reactions 2 Comments
3 min read
Rails Routing - resources vs. resource Methods

Rails Routing - resources vs. resource Methods

Comments
4 min read
Learning Ruby: a retrospective

Learning Ruby: a retrospective

Comments
4 min read
Creating a secure API architecture in Rails with few example

Creating a secure API architecture in Rails with few example

Reactions 8 Comments
7 min read
Rails Hotwire: mastering techniques for streamlining inline editing in your user interface

Rails Hotwire: mastering techniques for streamlining inline editing in your user interface

Reactions 12 Comments
5 min read
Object Oriented Ruby

Object Oriented Ruby

Reactions 1 Comments
3 min read
How to bundle assets in a Rails engine

How to bundle assets in a Rails engine

Reactions 8 Comments
3 min read
Refactoring instance variables to local variables in Rails controllers

Refactoring instance variables to local variables in Rails controllers

Reactions 10 Comments
8 min read
Error Handling with Ruby on Rails

Error Handling with Ruby on Rails

Comments
3 min read
Running Debugger in Rails 7 of containerized app

Running Debugger in Rails 7 of containerized app

Comments
2 min read
Otimizando consultas no banco de dados com o Rails

Otimizando consultas no banco de dados com o Rails

Reactions 1 Comments
3 min read
How to break up a rails monolith

How to break up a rails monolith

Reactions 1 Comments
4 min read
Relationships in Rails

Relationships in Rails

Reactions 1 Comments
4 min read
A powerful search feature with what Rails provides out of the box

A powerful search feature with what Rails provides out of the box

Reactions 5 Comments 1
7 min read
A Deep Dive into Active Record Validations

A Deep Dive into Active Record Validations

Reactions 1 Comments
10 min read
Default to Deny for More Secure Apps

Default to Deny for More Secure Apps

Reactions 2 Comments
3 min read
Create a Business Language for a Rails Application

Create a Business Language for a Rails Application

Reactions 3 Comments
10 min read
How to upgrade a Ruby on Rails application?

How to upgrade a Ruby on Rails application?

Reactions 2 Comments
3 min read
Building the Ultimate Search for Rails - Episode 1

Building the Ultimate Search for Rails - Episode 1

Reactions 15 Comments 3
14 min read
Rails Live Coding

Rails Live Coding

Reactions 2 Comments
3 min read
Using Rails Action Cable with a React Client

Using Rails Action Cable with a React Client

Reactions 1 Comments
4 min read
Using FormObject pattern in Ruby APIs

Using FormObject pattern in Ruby APIs

Reactions 4 Comments
4 min read
Second Time Around -Flatiron Ruby Code Challenge

Second Time Around -Flatiron Ruby Code Challenge

Reactions 2 Comments
5 min read
Enforcing Unique Constraints Across Multiple Columns in Ruby on Rails

Enforcing Unique Constraints Across Multiple Columns in Ruby on Rails

Comments
3 min read
RESTful routes are still quite powerful -- or how to RESTfully download

RESTful routes are still quite powerful -- or how to RESTfully download

Reactions 2 Comments
3 min read
Ruby On Rails: Multiple roles for a given model

Ruby On Rails: Multiple roles for a given model

Reactions 3 Comments
2 min read
How to Generate GPT Output in JSON Format for Ruby developers

How to Generate GPT Output in JSON Format for Ruby developers

Reactions 7 Comments
4 min read
Resolving GraphQL/ExtractType rubocop offense in mutation type rails

Resolving GraphQL/ExtractType rubocop offense in mutation type rails

Reactions 1 Comments
2 min read
Optimizing Mastodon Performance: Finding and Fixing its N+1 Queries

Optimizing Mastodon Performance: Finding and Fixing its N+1 Queries

Reactions 13 Comments
7 min read
DJ-1: Creating a Rails API with Postgres and Docker

DJ-1: Creating a Rails API with Postgres and Docker

Reactions 2 Comments
5 min read
How to update React state on nested objects that are serialized in Rails

How to update React state on nested objects that are serialized in Rails

Reactions 3 Comments 2
3 min read
Eliminate N+1 queries and improve Rails app performance with this effective Eager Loading tip

Eliminate N+1 queries and improve Rails app performance with this effective Eager Loading tip

Reactions 1 Comments
3 min read
How to Improve the Performance of Your Rails App by Eliminating N+1 Database Queries

How to Improve the Performance of Your Rails App by Eliminating N+1 Database Queries

Reactions 12 Comments
4 min read
A Tale of Hashery and Woe: How Mutable Hash Keys Led to an ActiveRecord Bug

A Tale of Hashery and Woe: How Mutable Hash Keys Led to an ActiveRecord Bug

Reactions 7 Comments
5 min read
Introducing the Rails Template Project

Introducing the Rails Template Project

Reactions 5 Comments
2 min read
Dockerizing a Simple Rails Application for Deployment

Dockerizing a Simple Rails Application for Deployment

Reactions 7 Comments 1
15 min read
O básico de Action Cable em Rails 7

O básico de Action Cable em Rails 7

Comments
4 min read
Rescue Me: Techniques for Active Record Error Handling in Ruby on Rails

Rescue Me: Techniques for Active Record Error Handling in Ruby on Rails

Reactions 3 Comments
5 min read
Preloading associations on an Array of Objects

Preloading associations on an Array of Objects

Reactions 5 Comments
3 min read
loading...