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.
Polymorphysm 101. Part 1 of 3. Polymorphyc Comments.

Polymorphysm 101. Part 1 of 3. Polymorphyc Comments.

10
Comments
2 min read
Postal address, reusability, polymorphism and concerns in Ruby on Rails

Postal address, reusability, polymorphism and concerns in Ruby on Rails

35
Comments 1
3 min read
Open Source Real-world Ruby and Rails Applications 🔥

Open Source Real-world Ruby and Rails Applications 🔥

13
Comments 4
2 min read
Use the Rails helper `highlight` when showing search results

Use the Rails helper `highlight` when showing search results

6
Comments
2 min read
Load Test Your Rails Apps with Apache JMeter

Load Test Your Rails Apps with Apache JMeter

5
Comments
12 min read
SOLID Principles: For maintainable, flexible, and extensible code

SOLID Principles: For maintainable, flexible, and extensible code

12
Comments
6 min read
Testability requires modularity - lessons from maintaining monoliths at scale

Testability requires modularity - lessons from maintaining monoliths at scale

12
Comments
4 min read
Understanding Ruby - to_proc and Function Interfaces

Understanding Ruby - to_proc and Function Interfaces

33
Comments 5
6 min read
Rails 7 will require Ruby 2.7+

Rails 7 will require Ruby 2.7+

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

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

13
Comments
4 min read
Implement HTTPS using Sockets and OpenSSL

Implement HTTPS using Sockets and OpenSSL

8
Comments
3 min read
Definitive Pattern Matching - Array-like Structures

Definitive Pattern Matching - Array-like Structures

19
Comments
9 min read
Accidental complexity and closed source

Accidental complexity and closed source

6
Comments
5 min read
Build a Chat system using Rails 5 API Action Cable and ReactJS with multiple private rooms and group chat option

Build a Chat system using Rails 5 API Action Cable and ReactJS with multiple private rooms and group chat option

18
Comments 2
6 min read
How to use Scopes in Ruby on Rails

How to use Scopes in Ruby on Rails

9
Comments
2 min read
Should I use instance_eval or class_eval?

Should I use instance_eval or class_eval?

2
Comments
7 min read
How CRuby decides an `if` is a modifier

How CRuby decides an `if` is a modifier

6
Comments
3 min read
Prevent ActiveStorage to kill your Rails app

Prevent ActiveStorage to kill your Rails app

23
Comments 3
4 min read
Dreams from the multiverse where Crystal is as popular as Go and Rust

Dreams from the multiverse where Crystal is as popular as Go and Rust

28
Comments 5
3 min read
Ultimate Command Line Reference 2021 - Bash, Git, Node, Python, Ruby, PHP

Ultimate Command Line Reference 2021 - Bash, Git, Node, Python, Ruby, PHP

3
Comments
3 min read
Better Testing with Dependency Injection

Better Testing with Dependency Injection

2
Comments
3 min read
Five things I learned about SAML from studying a realistic example

Five things I learned about SAML from studying a realistic example

14
Comments
4 min read
Devise Profile Usernames

Devise Profile Usernames

26
Comments 1
5 min read
Learn Python, PHP, Ruby and Javascript in one Blog Post

Learn Python, PHP, Ruby and Javascript in one Blog Post

52
Comments 5
4 min read
Unpacking SAML with AppMaps and VSCode

Unpacking SAML with AppMaps and VSCode

9
Comments
4 min read
Build a Text-to-Speech Application With Hanami

Build a Text-to-Speech Application With Hanami

10
Comments 1
10 min read
When not to use instance variables in RSpec

When not to use instance variables in RSpec

9
Comments
8 min read
LQIP in Rails using Thumbor and base64

LQIP in Rails using Thumbor and base64

2
Comments
3 min read
How SerpApi sped up data extraction from HTML from 3s to 800ms (or How to profile and optimize Ruby code and C extension)

How SerpApi sped up data extraction from HTML from 3s to 800ms (or How to profile and optimize Ruby code and C extension)

8
Comments
16 min read
Explaining RSpec minimal code style rules in 2 minutes

Explaining RSpec minimal code style rules in 2 minutes

3
Comments
2 min read
Intuitive Ruby Event Router

Intuitive Ruby Event Router

6
Comments 6
3 min read
SQL query from the view: considered hazardous!

SQL query from the view: considered hazardous!

8
Comments 4
5 min read
Matchable - Class-level Pattern Matching Macros Explained

Matchable - Class-level Pattern Matching Macros Explained

20
Comments
11 min read
Explaining RSpec describe, context in 2 minutes

Explaining RSpec describe, context in 2 minutes

11
Comments
1 min read
Rails — Melhorando a performance das suas views com cache

Rails — Melhorando a performance das suas views com cache

1
Comments
10 min read
Best Ruby on Rails Books For Beginners

Best Ruby on Rails Books For Beginners

26
Comments
4 min read
Deploy Ruby on Rails on Heroku

Deploy Ruby on Rails on Heroku

9
Comments
6 min read
The DELETE Method

The DELETE Method

10
Comments 1
3 min read
Day 1

Day 1

2
Comments
1 min read
Explaining RSpec instance_double in 2 minutes

Explaining RSpec instance_double in 2 minutes

10
Comments
1 min read
First Look at Crystal Programming

First Look at Crystal Programming

5
Comments 3
3 min read
PHP Cheatsheet for Rubyists

PHP Cheatsheet for Rubyists

5
Comments 1
2 min read
How to unblock yourself with the AppMap extension for VSCode

How to unblock yourself with the AppMap extension for VSCode

2
Comments
3 min read
Active Record Callbacks Introduction

Active Record Callbacks Introduction

4
Comments
2 min read
Wipe Windows Directory

Wipe Windows Directory

2
Comments
1 min read
Building HTTP server with Ruby

Building HTTP server with Ruby

7
Comments
7 min read
Testing Rails 6 Zeitwerk Autoloading

Testing Rails 6 Zeitwerk Autoloading

11
Comments 3
2 min read
Building My First Trading Bot (And How It Lost All My Money)

Building My First Trading Bot (And How It Lost All My Money)

9
Comments 3
7 min read
How to store raw values with Rails.cache

How to store raw values with Rails.cache

12
Comments 1
5 min read
The Paths of Least Resistance

The Paths of Least Resistance

6
Comments
3 min read
ActiveRecord Associations: The Beautiful and Complicated

ActiveRecord Associations: The Beautiful and Complicated

1
Comments
3 min read
Interesting throw/catch behaviour in Ruby

Interesting throw/catch behaviour in Ruby

2
Comments
3 min read
Using Hanami after a decade building Rails apps

Using Hanami after a decade building Rails apps

24
Comments 1
5 min read
Ruby Modules: include vs extend vs prepend

Ruby Modules: include vs extend vs prepend

29
Comments 4
4 min read
Building a Multimedia Content Sharing Website With Rails

Building a Multimedia Content Sharing Website With Rails

8
Comments 2
6 min read
My first ever PR(Pull Request) to an open-source project experience

My first ever PR(Pull Request) to an open-source project experience

3
Comments
5 min read
Demystifying cookie security in Rails 6

Demystifying cookie security in Rails 6

55
Comments 4
8 min read
Easy has_secure_password Rails API Authentication

Easy has_secure_password Rails API Authentication

8
Comments
2 min read
Designing a Ruby Serverless Runtime

Designing a Ruby Serverless Runtime

4
Comments
11 min read
Explaining RSpec doubles, mocks and stubs in 2 minutes

Explaining RSpec doubles, mocks and stubs in 2 minutes

9
Comments
2 min read
loading...