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.
Handling Errors in Ruby

Handling Errors in Ruby

Reactions 1 Comments
2 min read
How to Prevent Bot Spam on Your Ruby on Rails Website

How to Prevent Bot Spam on Your Ruby on Rails Website

Reactions 6 Comments 2
4 min read
Rails Run-Through

Rails Run-Through

Reactions 4 Comments
4 min read
Writing and testing a custom RuboCop cop

Writing and testing a custom RuboCop cop

Reactions 7 Comments
5 min read
A Comprehensive Guide to Rails Internationalization

A Comprehensive Guide to Rails Internationalization

Reactions 8 Comments
14 min read
All the ways to render an ActionText Attachment

All the ways to render an ActionText Attachment

Reactions 15 Comments
2 min read
Friendly IDs for Ruby on Rails

Friendly IDs for Ruby on Rails

Reactions 15 Comments 2
2 min read
Alternative ways to freeze a string in Ruby

Alternative ways to freeze a string in Ruby

Reactions 7 Comments
4 min read
How do you deal with test record leaks?

How do you deal with test record leaks?

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

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

Reactions 9 Comments
7 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 - A Hidden Gem: Seed Dump

Rails - A Hidden Gem: Seed Dump

Reactions 5 Comments
4 min read
How To Create A Ruby On Rails API With Scaffold - Full 10 Step Guide In 5 Minutes

How To Create A Ruby On Rails API With Scaffold - Full 10 Step Guide In 5 Minutes

Reactions 18 Comments 2
5 min read
Rails guide - Project patterns - Part 6

Rails guide - Project patterns - Part 6

Reactions 5 Comments
2 min read
Rails system tests for multiple screen sizes

Rails system tests for multiple screen sizes

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

pluck vs. select

Reactions 1 Comments
2 min read
Ruby on Rails Naming Conventions

Ruby on Rails Naming Conventions

Reactions 8 Comments 2
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
Setup TailwindCSS, postcss and esbuild on Rails 7

Setup TailwindCSS, postcss and esbuild on Rails 7

Reactions 1 Comments
8 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
Ruby && Web 3.0 -- Gems

Ruby && Web 3.0 -- Gems

Reactions 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

Reactions 8 Comments
2 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 6 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 7 Comments
6 min read
Turbo 7.2: A guide to Custom Turbo Stream Actions

Turbo 7.2: A guide to Custom Turbo Stream Actions

Reactions 11 Comments
8 min read
ActionText: Safe listing attributes and tags

ActionText: Safe listing attributes and tags

Reactions 3 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
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 2
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
Custom error pages in Rails

Custom error pages in Rails

Reactions 7 Comments
2 min read
Custom templates for Rails scaffolding

Custom templates for Rails scaffolding

Reactions 3 Comments
4 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
JIT Compilers for Ruby and Rails: An Overview

JIT Compilers for Ruby and Rails: An Overview

Comments
5 min read
Active Storage Variants Failing Locally

Active Storage Variants Failing Locally

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

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