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

14
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

7
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

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

Ruby on Rails: Serialization Made Easy

7
Comments
5 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] 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] Using T.unsafe to escape type constraints

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

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] 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] How to make a Rakefile typed

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

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
[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
(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

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

How to use TinyMCE with rails esbuild and stimulusjs

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

8
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
[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
[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][Sorbet] Rubocop Settings

[Rails][Sorbet] Rubocop Settings

Comments
1 min read
Rails Connection Pool vs PgBouncer

Rails Connection Pool vs PgBouncer

15
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

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

8
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
Gnarly Learnings from August 2022

Gnarly Learnings from August 2022

2
Comments
3 min read
How to configure Rails, ActiveJob, Grape to use JSON log

How to configure Rails, ActiveJob, Grape to use JSON log

2
Comments
2 min read
Create an API with Rails 7 and PostgreSQL

Create an API with Rails 7 and PostgreSQL

31
Comments 9
5 min read
Cron Job With Whenever Gem Setup — Ruby On Rails

Cron Job With Whenever Gem Setup — Ruby On Rails

6
Comments
2 min read
Rails guide - Creating the app - Part 1

Rails guide - Creating the app - Part 1

9
Comments
1 min read
Why Use MongoDB with Ruby

Why Use MongoDB with Ruby

7
Comments
5 min read
How to use Ruby on Rails Concerns

How to use Ruby on Rails Concerns

2
Comments
1 min read
How to Safely Deserialize Data in Ruby on Rails

How to Safely Deserialize Data in Ruby on Rails

31
Comments
6 min read
Full-text Search with Elasticsearch in Rails

Full-text Search with Elasticsearch in Rails

8
Comments
12 min read
Using Rails Model or SQL query in Ruby On Rails

Using Rails Model or SQL query in Ruby On Rails

3
Comments
1 min read
loading...