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

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

Create Rails-7 app with Vite

8
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

7
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

4
Comments
2 min read
Setup Vite, Svelte, Bootstrap / Foundation on Rails-7 (Overview)

Setup Vite, Svelte, Bootstrap / Foundation on Rails-7 (Overview)

7
Comments
3 min read
Using the semi-secret `within` matcher in RSpec

Using the semi-secret `within` matcher in RSpec

Comments
1 min read
You Shall Not Pass: The Ins and Outs of Authentication

You Shall Not Pass: The Ins and Outs of Authentication

6
Comments
7 min read
Rails guide - Adding linter - Part 3

Rails guide - Adding linter - Part 3

4
Comments
2 min read
Rails guide - Adding Docker - Part 2

Rails guide - Adding Docker - Part 2

9
Comments 1
2 min read
Export User Data As CSV and Send An Email with Ruby on Rails

Export User Data As CSV and Send An Email with Ruby on Rails

8
Comments
3 min read
Setting Empty-String JSONB Values to Null When Sorting with Ransack

Setting Empty-String JSONB Values to Null When Sorting with Ransack

Comments
5 min read
Ruby on Rails tutorial: Getting started with Contentful

Ruby on Rails tutorial: Getting started with Contentful

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

HTTP redirects in a Turbo-Rails app

13
Comments
2 min read
Validations in Ruby on Rails

Validations in Ruby on Rails

1
Comments
2 min read
Basics of Rails Generators

Basics of Rails Generators

6
Comments
2 min read
Build a Rails script watcher/runner using fswatch

Build a Rails script watcher/runner using fswatch

15
Comments 1
2 min read
Encryption, Authentication, and Authorization in Ruby on Rails

Encryption, Authentication, and Authorization in Ruby on Rails

2
Comments
8 min read
How Cross-Site Request Forgery Works

How Cross-Site Request Forgery Works

6
Comments
4 min read
Generate more detailed errors in controllers using 'rescue_from' in Ruby on Rails

Generate more detailed errors in controllers using 'rescue_from' in Ruby on Rails

12
Comments
2 min read
Your Auth Cheat Sheet

Your Auth Cheat Sheet

Comments
4 min read
Serializers in Rails

Serializers in Rails

1
Comments
2 min read
I created my own Rails Omniauth Amazon Selling Partner API Strategy

I created my own Rails Omniauth Amazon Selling Partner API Strategy

6
Comments
3 min read
Ruby on Rails: Serialization Made Easy

Ruby on Rails: Serialization Made Easy

7
Comments
5 min read
[Ruby][Sorbet] Use sorbet-coerce to make it easy with type conversion

[Ruby][Sorbet] Use sorbet-coerce to make it easy with type conversion

Comments
1 min read
[Ruby][Sorbet] How to write the type of accessor methods (attr_* series methods)

[Ruby][Sorbet] How to write the type of accessor methods (attr_* series methods)

Comments
1 min read
[Ruby][Sorbet] What to do when the RBI generated by tapioca does not have the expected type

[Ruby][Sorbet] What to do when the RBI generated by tapioca does not have the expected type

Comments
1 min read
[Ruby][Sorbet] T::Struct == is an identity comparison, not an equivalence comparison

[Ruby][Sorbet] T::Struct == is an identity comparison, not an equivalence comparison

Comments
1 min read
[Ruby][Sorbet] Using T.unsafe to escape type constraints

[Ruby][Sorbet] Using T.unsafe to escape type constraints

Comments
1 min read
[Ruby][Sorbet] How to make a Rakefile typed

[Ruby][Sorbet] How to make a Rakefile typed

Comments
1 min read
[Rails][Sorbet] How to add kaminari type definitions in sorbet-rails

[Rails][Sorbet] How to add kaminari type definitions in sorbet-rails

Comments
1 min read
[Ruby][Sorbet][tapioca] What to do when gem type definition conflicts cannot be resolved

[Ruby][Sorbet][tapioca] What to do when gem type definition conflicts cannot be resolved

Comments
1 min read
(Not always) Cool methods to be careful when working with rails

(Not always) Cool methods to be careful when working with rails

8
Comments
4 min read
Using Alpine.js directives on form_with in Ruby on Rails

Using Alpine.js directives on form_with in Ruby on Rails

6
Comments
1 min read
Send Emails using SendGrid SDK for Ruby on Rails using Dynamic SendGrid Email Templates

Send Emails using SendGrid SDK for Ruby on Rails using Dynamic SendGrid Email Templates

5
Comments 2
3 min read
How to use TinyMCE with rails esbuild and stimulusjs

How to use TinyMCE with rails esbuild and stimulusjs

12
Comments
2 min read
Cansado de conferir o schema.rb

Cansado de conferir o schema.rb

1
Comments
1 min read
Deploy Rails Application To Railway.app

Deploy Rails Application To Railway.app

5
Comments 1
1 min read
Data migrations with Rails

Data migrations with Rails

12
Comments
3 min read
Active Storage Variants Failing Locally

Active Storage Variants Failing Locally

2
Comments 1
1 min read
Form validations in Ruby On Rails Application.

Form validations in Ruby On Rails Application.

7
Comments 1
3 min read
ActiveRecord vs. Ecto - querying the database

ActiveRecord vs. Ecto - querying the database

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

1
Comments
10 min read
Comparison Validator in Rails 7

Comparison Validator in Rails 7

1
Comments
2 min read
Signout Users

Signout Users

1
Comments
1 min read
HelloSign Integration with React and Ruby on Rails

HelloSign Integration with React and Ruby on Rails

5
Comments
4 min read
[Ruby][Sorbet] What to do when you can't write types in Ruby files (when meta-programming)

[Ruby][Sorbet] What to do when you can't write types in Ruby files (when meta-programming)

Comments
1 min read
[Rails][Sorbet] Rubocop Settings

[Rails][Sorbet] Rubocop Settings

Comments
1 min read
[Ruby][Sorbet] How to check RBI file update omission with CI

[Ruby][Sorbet] How to check RBI file update omission with CI

Comments
1 min read
Rails Connection Pool vs PgBouncer

Rails Connection Pool vs PgBouncer

8
Comments
4 min read
N+1 and general query optimization

N+1 and general query optimization

20
Comments 2
3 min read
Enable your SaaS users to access paid features with webhooks

Enable your SaaS users to access paid features with webhooks

8
Comments
6 min read
Dockerizing a Rails application for production deployment

Dockerizing a Rails application for production deployment

3
Comments 1
6 min read
Github Pre-commit Hook Setup In Ruby On Rails for maintaining coding standards and productive.

Github Pre-commit Hook Setup In Ruby On Rails for maintaining coding standards and productive.

6
Comments 1
4 min read
Using Rails Service Objects

Using Rails Service Objects

3
Comments
8 min read
The Pitfalls of the Destroy Method in Active Record

The Pitfalls of the Destroy Method in Active Record

4
Comments
4 min read
loading...