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.
pluck vs. select

pluck vs. select

1
Comments
2 min read
Service layer for business logic — Organizing code in a Rails monolith

Service layer for business logic — Organizing code in a Rails monolith

11
Comments
7 min read
Ruby on Rails Naming Conventions

Ruby on Rails Naming Conventions

10
Comments 2
2 min read
What It Took to Build a Rails Integration for Rodauth

What It Took to Build a Rails Integration for Rodauth

3
Comments
11 min read
Setup TailwindCSS, postcss and esbuild on Rails 7

Setup TailwindCSS, postcss and esbuild on Rails 7

1
Comments
8 min read
Security Best Practices for Your Rails Application

Security Best Practices for Your Rails Application

5
Comments
10 min read
Ruby && Web 3.0 -- Gems

Ruby && Web 3.0 -- Gems

7
Comments 2
6 min read
The art of handling errors with rescue_from and Rails

The art of handling errors with rescue_from and Rails

8
Comments
2 min read
Indexes in SQL {Using Rails}

Indexes in SQL {Using Rails}

2
Comments
2 min read
Ruby on Rails 7 - High-performance frontend development with Esbuild, Rollup & Vite

Ruby on Rails 7 - High-performance frontend development with Esbuild, Rollup & Vite

21
Comments 4
6 min read
Active Model Serializers

Active Model Serializers

2
Comments
3 min read
How to create unique index skipping empty values in Rails + Postgres?

How to create unique index skipping empty values in Rails + Postgres?

7
Comments
2 min read
Turbo 7.2: A guide to Custom Turbo Stream Actions

Turbo 7.2: A guide to Custom Turbo Stream Actions

23
Comments
8 min read
Rails Generators

Rails Generators

Comments
2 min read
ActionText: Safe listing attributes and tags

ActionText: Safe listing attributes and tags

5
Comments
1 min read
[Solved] Error while Installing mysql2 Gem in M1 Mac

[Solved] Error while Installing mysql2 Gem in M1 Mac

Comments
2 min read
What are Active Model Serializers?

What are Active Model Serializers?

Comments
2 min read
Rails guide - Project patterns - Part 6

Rails guide - Project patterns - Part 6

5
Comments
2 min read
The GraphQL N+1 Problem and SQL Window Functions

The GraphQL N+1 Problem and SQL Window Functions

12
Comments 4
8 min read
Confusion about each, collect, select and map method

Confusion about each, collect, select and map method

3
Comments
3 min read
Building a Ruby on Rails App with a Legacy Database

Building a Ruby on Rails App with a Legacy Database

1
Comments
4 min read
Custom error pages in Rails

Custom error pages in Rails

18
Comments 3
2 min read
Javascript and Rails API!

Javascript and Rails API!

Comments
8 min read
Rails Command Line Tips and Tricks

Rails Command Line Tips and Tricks

3
Comments
2 min read
RSpec's spec_helper vs rails_helper Explained

RSpec's spec_helper vs rails_helper Explained

6
Comments
5 min read
Custom templates for Rails scaffolding

Custom templates for Rails scaffolding

3
Comments
4 min read
An Intro to Metaprogramming in Ruby

An Intro to Metaprogramming in Ruby

Comments
1 min read
Associations: Rails Many-to-Many Relationships

Associations: Rails Many-to-Many Relationships

2
Comments 1
2 min read
Navigating Session Token Authentication in Shopify for Embedded, Server-Side Rendered Rails Apps

Navigating Session Token Authentication in Shopify for Embedded, Server-Side Rendered Rails Apps

4
Comments
15 min read
Minitest vs. RSpec in Rails

Minitest vs. RSpec in Rails

2
Comments
10 min read
ActionText: Modify the rendering of ActiveStorage attachments

ActionText: Modify the rendering of ActiveStorage attachments

4
Comments 7
1 min read
JIT Compilers for Ruby and Rails: An Overview

JIT Compilers for Ruby and Rails: An Overview

Comments
5 min read
File Uploads Without Form Helpers

File Uploads Without Form Helpers

Comments
1 min read
Feature Flags On Rails Routes

Feature Flags On Rails Routes

Comments
1 min read
will_save_change_to_attribute?(attribute) in Rails

will_save_change_to_attribute?(attribute) in Rails

1
Comments
1 min read
Ruby & Active Record Associations

Ruby & Active Record Associations

4
Comments
4 min read
Rails tricks you may not know

Rails tricks you may not know

5
Comments
3 min read
Database inheritance in a nutshell

Database inheritance in a nutshell

3
Comments
3 min read
.gitignore does not unignore my file!

.gitignore does not unignore my file!

1
Comments
3 min read
ActionStore: Real-time Svelte stores for Rails

ActionStore: Real-time Svelte stores for Rails

2
Comments
2 min read
Understanding Polymorphic Associations in Rails

Understanding Polymorphic Associations in Rails

1
Comments
4 min read
How to Configure your New Rails API to Use PostgreSQL

How to Configure your New Rails API to Use PostgreSQL

Comments
1 min read
Valid? & Invalid? in Ruby

Valid? & Invalid? in Ruby

1
Comments 1
6 min read
PGP - Encrypt/Decrypt file with Ruby on Rails (Part 3)

PGP - Encrypt/Decrypt file with Ruby on Rails (Part 3)

1
Comments
2 min read
How to Configure Active Storage with Amazon AWS S3 Cloud Storage

How to Configure Active Storage with Amazon AWS S3 Cloud Storage

5
Comments
4 min read
How to migrate a Rails app from Heroku to Railway

How to migrate a Rails app from Heroku to Railway

3
Comments
3 min read
How to install latest version of Zammad on Ubuntu 22.04?

How to install latest version of Zammad on Ubuntu 22.04?

1
Comments 1
5 min read
Heroku Alternative: How to Deploy A ReactJS Rails API App to Render

Heroku Alternative: How to Deploy A ReactJS Rails API App to Render

13
Comments 2
4 min read
Uso de .nil?, .blank? e .present? em Rails

Uso de .nil?, .blank? e .present? em Rails

Comments
1 min read
Rails guide - Adding CI - Part 5

Rails guide - Adding CI - Part 5

5
Comments
2 min read
Rails Hash to Struct - A monkey patch

Rails Hash to Struct - A monkey patch

3
Comments
4 min read
Rails UJS on Vite (⚠️ together with Turbo?)

Rails UJS on Vite (⚠️ together with Turbo?)

Comments
1 min read
Detecting new and shifting public holidays with Ruby

Detecting new and shifting public holidays with Ruby

Comments
5 min read
Rails: Using Lots of ActionText Inputs on the Same Page

Rails: Using Lots of ActionText Inputs on the Same Page

4
Comments
1 min read
Remote debugging in Rails 7

Remote debugging in Rails 7

19
Comments
2 min read
Install Rails in Mac (M1)

Install Rails in Mac (M1)

3
Comments
2 min read
ActiveModel::Serializer and You

ActiveModel::Serializer and You

3
Comments
4 min read
How to Add Custom Folders to the Rails Asset Pipeline

How to Add Custom Folders to the Rails Asset Pipeline

Comments
1 min read
MetricsCollector for Ruby on Rails

MetricsCollector for Ruby on Rails

2
Comments
3 min read
Ruby on Rails, MVC architecture & data modeling

Ruby on Rails, MVC architecture & data modeling

1
Comments
7 min read
loading...