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.
My beloved Stimulus.js cheat sheet

My beloved Stimulus.js cheat sheet

32
Comments 1
1 min read
Immutable ActiveRecord

Immutable ActiveRecord

4
Comments
5 min read
Deploy Rails static assets to CloudFront CDN - during Docker build time

Deploy Rails static assets to CloudFront CDN - during Docker build time

16
Comments 7
6 min read
MVC and REST, Simplified

MVC and REST, Simplified

3
Comments
3 min read
How to use modals with forms in Rails using Turbo

How to use modals with forms in Rails using Turbo

68
Comments 13
5 min read
Avoiding session replay attacks in Rails

Avoiding session replay attacks in Rails

11
Comments
6 min read
Changing sate before saving to the database in Rails

Changing sate before saving to the database in Rails

5
Comments
3 min read
Bulk Update: Active Record Vs. native SQL

Bulk Update: Active Record Vs. native SQL

12
Comments 1
5 min read
Basic Rails Website Header

Basic Rails Website Header

7
Comments
4 min read
Open Source event tracking and gamification engine

Open Source event tracking and gamification engine

5
Comments
1 min read
Running Rails Console Commands on Terminal

Running Rails Console Commands on Terminal

3
Comments
1 min read
Moving from direct has_many to has_many :through

Moving from direct has_many to has_many :through

2
Comments
3 min read
Resize Images with Active Storage in Rails

Resize Images with Active Storage in Rails

41
Comments 2
2 min read
How to use FormBuilder in Ruby on Rails

How to use FormBuilder in Ruby on Rails

5
Comments
4 min read
How to access a Hash either string or symbol keys

How to access a Hash either string or symbol keys

2
Comments
1 min read
Understanding Ruby On Rails in 10 Tweets

Understanding Ruby On Rails in 10 Tweets

30
Comments 3
1 min read
Rails 6 ActionCable basics with React

Rails 6 ActionCable basics with React

9
Comments
3 min read
The Basics of Rails I18n - Translate errors, models, and attributes

The Basics of Rails I18n - Translate errors, models, and attributes

29
Comments 1
5 min read
Using Bcrypt with Ruby

Using Bcrypt with Ruby

9
Comments
2 min read
Log in with JWT Authentication in Rails and React

Log in with JWT Authentication in Rails and React

16
Comments
4 min read
Rails DB Schema Visualization

Rails DB Schema Visualization

20
Comments 1
2 min read
Stop using the environment variables for sensitive keys in Rails

Stop using the environment variables for sensitive keys in Rails

15
Comments
4 min read
Building a JavaScript frontend and Rails API backend Project for Beginners

Building a JavaScript frontend and Rails API backend Project for Beginners

10
Comments 1
3 min read
Great Ruby Gems Most People Haven’t Heard About

Great Ruby Gems Most People Haven’t Heard About

18
Comments 3
3 min read
Happy New Year 2021 to Ruby developers!

Happy New Year 2021 to Ruby developers!

8
Comments 1
1 min read
The server is back, baby

The server is back, baby

34
Comments 2
2 min read
Understanding blank?, present?, empty?, any?, and nil? in Ruby (and Rails)

Understanding blank?, present?, empty?, any?, and nil? in Ruby (and Rails)

45
Comments 4
4 min read
Dynamically Create Objects With Plain Ruby on Rails. (No Javascript)

Dynamically Create Objects With Plain Ruby on Rails. (No Javascript)

7
Comments
4 min read
Flash messages with Hotwire

Flash messages with Hotwire

33
Comments 3
2 min read
Using Rails UJS Confirmations in Stimulus and StimulusReflex

Using Rails UJS Confirmations in Stimulus and StimulusReflex

11
Comments 3
2 min read
One does not simply build a rails project...

One does not simply build a rails project...

6
Comments
2 min read
Inline Editing With turbo_frame_tag (hotwire-rails)

Inline Editing With turbo_frame_tag (hotwire-rails)

34
Comments 3
1 min read
How to Prepare Your Rails App for an Upgrade

How to Prepare Your Rails App for an Upgrade

7
Comments
4 min read
Rails N+1 queries and eager loading

Rails N+1 queries and eager loading

48
Comments 10
3 min read
Deploy a Rails API/React Frontend App to Heroku with Sessions & Cookies Authentication

Deploy a Rails API/React Frontend App to Heroku with Sessions & Cookies Authentication

18
Comments 3
6 min read
Workaround for "rails g scaffold" hangs

Workaround for "rails g scaffold" hangs

2
Comments 1
1 min read
Travel in time in development/staging/... in your Rails app

Travel in time in development/staging/... in your Rails app

5
Comments 2
1 min read
Design a multitenant application on Rails 6 with horizontal sharding

Design a multitenant application on Rails 6 with horizontal sharding

25
Comments 6
3 min read
Happy Ruby 3 Release Day!!!

Happy Ruby 3 Release Day!!!

4
Comments
1 min read
From Turbolinks to Turbo

From Turbolinks to Turbo

16
Comments 6
1 min read
Real-Time Partial Updates in Ruby on Rails using hotwire-rails

Real-Time Partial Updates in Ruby on Rails using hotwire-rails

60
Comments 14
1 min read
Webpacker 6: Image Asset Guide

Webpacker 6: Image Asset Guide

16
Comments 1
1 min read
Webpacker 6: Tutorial Setup

Webpacker 6: Tutorial Setup

30
Comments 1
1 min read
Webpacker 6: CSS Loaders

Webpacker 6: CSS Loaders

12
Comments 3
1 min read
Webpacker 6: Upgrade Guide

Webpacker 6: Upgrade Guide

21
Comments 2
2 min read
Webpacker 6: Tailwind CSS 2.0 Integration

Webpacker 6: Tailwind CSS 2.0 Integration

12
Comments 1
2 min read
Multitenant Architecture on Rails 6.1

Multitenant Architecture on Rails 6.1

16
Comments
3 min read
How to paginate items using Turbo

How to paginate items using Turbo

38
Comments 6
3 min read
Resolving the ActionController::InvalidAuthenticityToken Error in a Rails/React App

Resolving the ActionController::InvalidAuthenticityToken Error in a Rails/React App

9
Comments 1
3 min read
Ruby on Rails Model Patterns and Anti-patterns

Ruby on Rails Model Patterns and Anti-patterns

17
Comments
9 min read
Ruby on Rails: Embed Youtube videos with ActionText: TLDR

Ruby on Rails: Embed Youtube videos with ActionText: TLDR

15
Comments 1
4 min read
Receive Bitcoin from BIP32 in Rails 6

Receive Bitcoin from BIP32 in Rails 6

5
Comments
1 min read
Developer Happiness: StimulusReflex v3.4

Developer Happiness: StimulusReflex v3.4

43
Comments 3
5 min read
Adding Multifactor Authentication in Rails 6 with Rodauth

Adding Multifactor Authentication in Rails 6 with Rodauth

10
Comments
8 min read
My beloved Ruby Cheat Sheet

My beloved Ruby Cheat Sheet

94
Comments 10
7 min read
How to debug your rails app using pry-rails

How to debug your rails app using pry-rails

17
Comments
5 min read
Modern CRM in Ruby on Rails — Part 2

Modern CRM in Ruby on Rails — Part 2

4
Comments
1 min read
Simple dropdown with tailwindcss and stimulus

Simple dropdown with tailwindcss and stimulus

26
Comments 2
6 min read
How to copy Heroku production database into development environment?

How to copy Heroku production database into development environment?

8
Comments
1 min read
Part 2: Add A Dead-Man's Switch To A Rails Application

Part 2: Add A Dead-Man's Switch To A Rails Application

13
Comments
6 min read
loading...