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.
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

8
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

9
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

22
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?

10
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
Mastering Ruby Iterators: Understanding each, collect, select, and map Methods

Mastering Ruby Iterators: Understanding each, collect, select, and map Methods

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

22
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
Custom templates for Rails scaffolding

Custom templates for Rails scaffolding

4
Comments 1
4 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
Feature Flags On Rails Routes

Feature Flags On Rails Routes

Comments
1 min read
File Uploads Without Form Helpers

File Uploads Without Form Helpers

Comments
1 min read
will_save_change_to_attribute?(attribute) in Rails

will_save_change_to_attribute?(attribute) in Rails

2
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

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

.gitignore does not unignore my file!

1
Comments
3 min read
Understanding Polymorphic Associations in Rails

Understanding Polymorphic Associations in Rails

2
Comments
4 min read
Keeping my Ruby Class Methods small and focussed

Keeping my Ruby Class Methods small and focussed

Comments
3 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)

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

5
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
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
Rails guide - Adding tests - Part 4

Rails guide - Adding tests - Part 4

9
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
Configure Vultr CORS to accept direct uploads from Active Storage

Configure Vultr CORS to accept direct uploads from Active Storage

Comments
2 min read
Setup Turbo on Vite

Setup Turbo on Vite

3
Comments
2 min read
Create Rails-7 app with Vite

Create Rails-7 app with Vite

10
Comments
2 min read
How to avoid callbacks using services.

How to avoid callbacks using services.

5
Comments
2 min read
Setup Svelte as Custom Element on Vite

Setup Svelte as Custom Element on Vite

8
Comments 1
3 min read
Setup Foundation-Sites on Rails-7 and Vite

Setup Foundation-Sites on Rails-7 and Vite

5
Comments
2 min read
Setup Bootstrap on Rails-7 and Vite

Setup Bootstrap on Rails-7 and Vite

6
Comments
2 min read
loading...