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.
Service layer for business logic — Organizing code in a Rails monolith

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

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

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

Reactions 4 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

Reactions 6 Comments
6 min read
Ruby && Web 3.0 -- Gems

Ruby && Web 3.0 -- Gems

Reactions 5 Comments 2
6 min read
ActionText: Safe listing attributes and tags

ActionText: Safe listing attributes and tags

Reactions 2 Comments
1 min read
Custom error pages in Rails

Custom error pages in Rails

Reactions 5 Comments
2 min read
Ruby on Rails Naming Conventions

Ruby on Rails Naming Conventions

Reactions 6 Comments
2 min read
Security Best Practices for Your Rails Application

Security Best Practices for Your Rails Application

Reactions 2 Comments
10 min read
Indexes in SQL {Using Rails}

Indexes in SQL {Using Rails}

Reactions 2 Comments
2 min read
Many-to-Many Relationships

Many-to-Many Relationships

Reactions 2 Comments
1 min read
Configure Vultr CORS to accept direct uploads from Active Storage

Configure Vultr CORS to accept direct uploads from Active Storage

Comments
2 min read
Active Model Serializers

Active Model Serializers

Reactions 2 Comments
3 min read
Rails Generators

Rails Generators

Comments
2 min read
Использование Scientist для рефакторинга критических участков Ruby on Rails приложения

Использование Scientist для рефакторинга критических участков Ruby on Rails приложения

Comments
3 min read
Keeping my Ruby Class Methods small and focussed

Keeping my Ruby Class Methods small and focussed

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

Reactions 5 Comments
2 min read
Javascript and Rails API!

Javascript and Rails API!

Comments
8 min read
Custom serializers with Ruby on Rails for nested objects

Custom serializers with Ruby on Rails for nested objects

Comments
3 min read
Custom templates for Rails scaffolding

Custom templates for Rails scaffolding

Reactions 1 Comments
4 min read
pluck vs. select

pluck vs. select

Reactions 1 Comments
2 min read
How to find the number of Books updated by the program in Rails

How to find the number of Books updated by the program in Rails

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

What It Took to Build a Rails Integration for Rodauth

Reactions 3 Comments
11 min read
The art of handling errors with rescue_from and Rails

The art of handling errors with rescue_from and Rails

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

Turbo 7.2: A guide to Custom Turbo Stream Actions

Reactions 10 Comments
8 min read
[Solved] Error while Installing mysql2 Gem in M1 Mac

[Solved] Error while Installing mysql2 Gem in M1 Mac

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

How to migrate a Rails app from Heroku to Railway

Reactions 3 Comments
3 min read
The GraphQL N+1 Problem and SQL Window Functions

The GraphQL N+1 Problem and SQL Window Functions

Reactions 10 Comments 1
8 min read
Confusion about each, collect, select and map method

Confusion about each, collect, select and map method

Reactions 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

Reactions 1 Comments
4 min read
Rails Command Line Tips and Tricks

Rails Command Line Tips and Tricks

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

RSpec's spec_helper vs rails_helper Explained

Reactions 4 Comments
5 min read
HTTP redirects in a Turbo-Rails app

HTTP redirects in a Turbo-Rails app

Reactions 9 Comments
2 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

Reactions 2 Comments 1
2 min read
Minitest vs. RSpec in Rails

Minitest vs. RSpec in Rails

Reactions 1 Comments
10 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

Reactions 4 Comments
15 min read
ActionText: Modify the rendering of ActiveStorage attachments

ActionText: Modify the rendering of ActiveStorage attachments

Reactions 4 Comments 7
1 min read
Encryption, Authentication, and Authorization in Ruby on Rails

Encryption, Authentication, and Authorization in Ruby on Rails

Reactions 1 Comments
8 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
Active Storage Variants Failing Locally

Active Storage Variants Failing Locally

Comments
1 min read
will_save_change_to_attribute?(attribute) in Rails

will_save_change_to_attribute?(attribute) in Rails

Reactions 1 Comments
1 min read
Ruby & Active Record Associations

Ruby & Active Record Associations

Reactions 4 Comments
4 min read
Rails tricks you may not know

Rails tricks you may not know

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

.gitignore does not unignore my file!

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

ActionStore: Real-time Svelte stores for Rails

Reactions 1 Comments
2 min read
Signout Users

Signout Users

Comments
1 min read
How to integrate an extremely fast and relevant search into your Rails app using Meilisearch and React

How to integrate an extremely fast and relevant search into your Rails app using Meilisearch and React

Reactions 1 Comments
10 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

Reactions 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)

Reactions 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

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

How to install latest version of Zammad on Ubuntu 22.04?

Reactions 1 Comments
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

Reactions 9 Comments
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

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

Rails Hash to Struct - A monkey patch

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

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

Comments
1 min read
loading...