DEV Community

Ruby

This tag is for posts related to the Ruby language, including its libraries.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
How to avoid N+1 query using SQL views (materialized) in Rails application

How to avoid N+1 query using SQL views (materialized) in Rails application

Comments
3 min read
Rails virtual attributes use cases

Rails virtual attributes use cases

Comments
4 min read
Where to read ENV variables in Ruby on Rails application

Where to read ENV variables in Ruby on Rails application

Comments
2 min read
Hanami Shrine - file handling in Hanami

Hanami Shrine - file handling in Hanami

5
Comments 2
9 min read
Yes, Ruby is fast, but…

Yes, Ruby is fast, but…

54
Comments 10
5 min read
Why Kernel#times is slower than while ???

Why Kernel#times is slower than while ???

14
Comments 2
3 min read
sprockets_terser_with_source_maps v2.0.0 released!

sprockets_terser_with_source_maps v2.0.0 released!

Comments
1 min read
Simple Preferences to Any Resource with Ruby on Rails

Simple Preferences to Any Resource with Ruby on Rails

2
Comments
3 min read
Should You Use Ruby on Rails or Hanami?

Should You Use Ruby on Rails or Hanami?

2
Comments 1
10 min read
Warden of Hanami - hanami.rb basic authentication

Warden of Hanami - hanami.rb basic authentication

9
Comments 2
11 min read
Ruby Array Methods That Will Blow Your Mind, Pt. 5: The rejected ones

Ruby Array Methods That Will Blow Your Mind, Pt. 5: The rejected ones

7
Comments
2 min read
ViewComponent Cheatsheet

ViewComponent Cheatsheet

1
Comments 1
1 min read
Hanami and HTMX - progress bar

Hanami and HTMX - progress bar

3
Comments 1
9 min read
Rails Core Classes Method Lookup Changes: A Deep Dive into Include vs Prepend

Rails Core Classes Method Lookup Changes: A Deep Dive into Include vs Prepend

6
Comments
4 min read
Playing with DragonRuby Game Toolkit (DRGTK)

Playing with DragonRuby Game Toolkit (DRGTK)

2
Comments 3
2 min read
É necessário voltar ao começo

É necessário voltar ao começo

Comments
3 min read
Ruby on Rails 4.2.X upgrade issue with meta_request — undefined method normalize_key

Ruby on Rails 4.2.X upgrade issue with meta_request — undefined method normalize_key

Comments
2 min read
Install Ruby and Rails on Fedora 40

Install Ruby and Rails on Fedora 40

Comments
2 min read
Rails Designer v0.11.0 released: new Command Menu

Rails Designer v0.11.0 released: new Command Menu

1
Comments
1 min read
Inline SVG Icons in Your Rails App

Inline SVG Icons in Your Rails App

1
Comments 4
2 min read
Ruby Array Methods That Will Blow Your Mind, Pt. 4: Fusions

Ruby Array Methods That Will Blow Your Mind, Pt. 4: Fusions

6
Comments
2 min read
Generate magic tokens in Rails with generates_token_for

Generate magic tokens in Rails with generates_token_for

3
Comments
4 min read
Refactoring for Readability in Ruby: a Showcase

Refactoring for Readability in Ruby: a Showcase

14
Comments 11
7 min read
CLI in ruby using OptionParser or GetoptLong

CLI in ruby using OptionParser or GetoptLong

2
Comments
2 min read
RVM Ruby 2.6.0 — built with custom openssl version on Ubuntu 22.04

RVM Ruby 2.6.0 — built with custom openssl version on Ubuntu 22.04

1
Comments 2
4 min read
How to iterate over a Ruby array

How to iterate over a Ruby array

1
Comments
2 min read
Creating Passkey Authentication in a Rails 7 Application

Creating Passkey Authentication in a Rails 7 Application

1
Comments
4 min read
3 resources from Beginner to PRO to learn Ruby on Rails

3 resources from Beginner to PRO to learn Ruby on Rails

8
Comments
1 min read
21 Helpful and trending Ruby gems.

21 Helpful and trending Ruby gems.

6
Comments 1
5 min read
The Art of Monkey Patching in Ruby

The Art of Monkey Patching in Ruby

1
Comments
3 min read
What is a Ruby implementation?

What is a Ruby implementation?

Comments
6 min read
Ruby is not dying — It’s Aging like fine wine

Ruby is not dying — It’s Aging like fine wine

Comments
4 min read
Syntax, syntax, syntax

Syntax, syntax, syntax

Comments
2 min read
Supercharging Rails: Enabling Ruby's YJIT Compiler in Production

Supercharging Rails: Enabling Ruby's YJIT Compiler in Production

4
Comments
4 min read
¿Por qué debería usar Ruby on Rails?

¿Por qué debería usar Ruby on Rails?

1
Comments
8 min read
Ruby Array Methods That Will Blow Your Mind, Pt. 3: Lord of the Slices

Ruby Array Methods That Will Blow Your Mind, Pt. 3: Lord of the Slices

6
Comments
2 min read
Unlock Superior Security: Implementing 2FA in Ruby on Rails with a Twist!

Unlock Superior Security: Implementing 2FA in Ruby on Rails with a Twist!

6
Comments
2 min read
Ruby regex guide

Ruby regex guide

Comments
5 min read
Ruby Array Methods That Will Blow Your Mind, Pt. 2: Splitters Everywhere

Ruby Array Methods That Will Blow Your Mind, Pt. 2: Splitters Everywhere

7
Comments
3 min read
ViewComponent over Turbo Stream Broadcasts

ViewComponent over Turbo Stream Broadcasts

1
Comments
2 min read
Tracks Not At RailsConf 2024

Tracks Not At RailsConf 2024

Comments
2 min read
Dynamic Data Management with jsonb in Rails

Dynamic Data Management with jsonb in Rails

1
Comments
2 min read
Is ActiveRecord right in omitting parentheses in queries? (and how ChatGPT lies again)

Is ActiveRecord right in omitting parentheses in queries? (and how ChatGPT lies again)

1
Comments
4 min read
Making a (Sidekiq) Batch Recipe

Making a (Sidekiq) Batch Recipe

6
Comments 1
7 min read
Coinbase Commerce Client: Easily Integrate Cryptocurrency Payments in Ruby on Rails

Coinbase Commerce Client: Easily Integrate Cryptocurrency Payments in Ruby on Rails

4
Comments
9 min read
Authentication in Ruby: build a simple online form with Ruby on Rails

Authentication in Ruby: build a simple online form with Ruby on Rails

22
Comments 4
7 min read
My honest opinion about Hatchbox

My honest opinion about Hatchbox

1
Comments
2 min read
PayPal REST API

PayPal REST API

5
Comments 1
3 min read
Am I the only one who doesn't put parentheses around the parameters in Ruby method definitions?

Am I the only one who doesn't put parentheses around the parameters in Ruby method definitions?

12
Comments 2
5 min read
History of the endless method syntax

History of the endless method syntax

2
Comments
5 min read
Guide to Slots in Rails' ViewComponent

Guide to Slots in Rails' ViewComponent

1
Comments
4 min read
The Crumbling Codebase

The Crumbling Codebase

1
Comments
2 min read
Create a MacOS desktop application with pure Ruby (Tutorial)

Create a MacOS desktop application with pure Ruby (Tutorial)

7
Comments 2
1 min read
Ruby Arrays Cheatsheet

Ruby Arrays Cheatsheet

2
Comments
9 min read
Mastering Kredis in Ruby: Your Essential Guide

Mastering Kredis in Ruby: Your Essential Guide

8
Comments
8 min read
Building a Sinatra app in Ruby

Building a Sinatra app in Ruby

1
Comments 1
10 min read
How to add or remove a Stimulus controller

How to add or remove a Stimulus controller

3
Comments
1 min read
How To Reduce Tech Debt to Keep Your Ruby on Rails Application Effortlessly Adaptable

How To Reduce Tech Debt to Keep Your Ruby on Rails Application Effortlessly Adaptable

5
Comments
3 min read
Ruby Array Methods That Will Blow Your Mind.

Ruby Array Methods That Will Blow Your Mind.

18
Comments 5
2 min read
Priority Queue em Ruby

Priority Queue em Ruby

2
Comments
6 min read
loading...