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.
What is a ruby gem, how is it made, and what are the pros and cons with an example.

What is a ruby gem, how is it made, and what are the pros and cons with an example.

4
Comments
6 min read
Nested ActiveRecord Transactions

Nested ActiveRecord Transactions

4
Comments 1
4 min read
Ruby on Rails, The Ultimate Guide to strip, lstip and rstrip Methods

Ruby on Rails, The Ultimate Guide to strip, lstip and rstrip Methods

1
Comments
4 min read
How to Build Your Own Rails Generator

How to Build Your Own Rails Generator

2
Comments
8 min read
Rails Service Objects — A Guide and an Example

Rails Service Objects — A Guide and an Example

9
Comments
6 min read
MVC in Ruby on Rails

MVC in Ruby on Rails

5
Comments
2 min read
A Guide to Rails View Helpers

A Guide to Rails View Helpers

Comments
9 min read
A simple way to efficiently calculate and represent average data in Rails

A simple way to efficiently calculate and represent average data in Rails

1
Comments
2 min read
Organize Your Downloads Folder with Ruby #2

Organize Your Downloads Folder with Ruby #2

3
Comments
3 min read
Using Database Level Associations v/s Active Record Associations in Ruby On Rails

Using Database Level Associations v/s Active Record Associations in Ruby On Rails

1
Comments
2 min read
Events, events, events

Events, events, events

4
Comments 1
4 min read
Seeding to Rails from an API

Seeding to Rails from an API

1
Comments
4 min read
Object Inheritance Basics Review (Ruby)

Object Inheritance Basics Review (Ruby)

Comments
3 min read
Write your own Domain Specific Language in Ruby

Write your own Domain Specific Language in Ruby

2
Comments 1
12 min read
Routing with Rails

Routing with Rails

1
Comments
1 min read
Writing better Action Mailers: Revisiting a core Rails concept

Writing better Action Mailers: Revisiting a core Rails concept

4
Comments
8 min read
Ruby on Rails: Mac Install Guide

Ruby on Rails: Mac Install Guide

8
Comments 1
3 min read
How to use the Browser Geolocation API with StimulusJS and Rails

How to use the Browser Geolocation API with StimulusJS and Rails

3
Comments
2 min read
Criar agenda de compromissos usando Rails 4 [outdated]

Criar agenda de compromissos usando Rails 4 [outdated]

1
Comments
2 min read
Set up a basic multi-tenant architecture in Rails without gem - 2

Set up a basic multi-tenant architecture in Rails without gem - 2

11
Comments 3
4 min read
Mastering GPT-3: The mathematics of logprobs for Ruby Devs

Mastering GPT-3: The mathematics of logprobs for Ruby Devs

2
Comments 2
13 min read
Uniqueness validation does not work since the beginning of Ruby on Rails.

Uniqueness validation does not work since the beginning of Ruby on Rails.

Comments
4 min read
We should adopt and use new Ruby features

We should adopt and use new Ruby features

4
Comments 3
4 min read
How to check Battery Health on iPadOS/macOS

How to check Battery Health on iPadOS/macOS

Comments
2 min read
Interspersing arrays in Ruby

Interspersing arrays in Ruby

1
Comments
7 min read
What is Ruby on Rails?

What is Ruby on Rails?

5
Comments 1
2 min read
Rails 7: production deploy from scratch (Ubuntu 22.04 edition)

Rails 7: production deploy from scratch (Ubuntu 22.04 edition)

8
Comments 3
5 min read
gem MapkickJS for beautiful JavaScript maps with one line of Ruby

gem MapkickJS for beautiful JavaScript maps with one line of Ruby

4
Comments
2 min read
Ruby For All Podcast: My Guest Experience 🎙️

Ruby For All Podcast: My Guest Experience 🎙️

3
Comments
1 min read
Rails Model Validation: A Comprehensive Guide with Code Examples

Rails Model Validation: A Comprehensive Guide with Code Examples

8
Comments
5 min read
Intro to Enumerables in Ruby, and an example with Active Record

Intro to Enumerables in Ruby, and an example with Active Record

Comments
10 min read
Active Record Validations

Active Record Validations

Comments
5 min read
Intro to Building a Ruby on Rails Back End

Intro to Building a Ruby on Rails Back End

4
Comments 3
10 min read
Calling Ruby Methods in C: Avoid Memory Leaks

Calling Ruby Methods in C: Avoid Memory Leaks

1
Comments
5 min read
Sweet alert 2 in Ruby on Rails 7

Sweet alert 2 in Ruby on Rails 7

1
Comments
3 min read
Set up a basic multi-tenant architecture in Rails 7 - 1

Set up a basic multi-tenant architecture in Rails 7 - 1

26
Comments 5
5 min read
gem Geocoder - calculate coordinates, distances, search nearby

gem Geocoder - calculate coordinates, distances, search nearby

1
Comments
4 min read
Update Rails 6.1 a Rails 7

Update Rails 6.1 a Rails 7

1
Comments
4 min read
Monkey-patching: Messing with your Ruby methods

Monkey-patching: Messing with your Ruby methods

Comments
7 min read
FormService: a PORO ServiceObjects with a state

FormService: a PORO ServiceObjects with a state

2
Comments 4
5 min read
What you (probably) don't know yet about pattern matching in Ruby?

What you (probably) don't know yet about pattern matching in Ruby?

3
Comments
3 min read
Building AWS Ruby Lambdas that Require Gems with Native Extension

Building AWS Ruby Lambdas that Require Gems with Native Extension

2
Comments
5 min read
Jozef Behr | 10 Ruby tricks to improve your code (or not)

Jozef Behr | 10 Ruby tricks to improve your code (or not)

2
Comments
4 min read
Documenting Forem's v1 API

Documenting Forem's v1 API

82
Comments 11
14 min read
Scraping with Ruby p.1

Scraping with Ruby p.1

2
Comments
2 min read
Sending Emails with Ruby on Rails

Sending Emails with Ruby on Rails

Comments 1
6 min read
What to do if Sidekiq job is stuck

What to do if Sidekiq job is stuck

Comments
3 min read
The Auth Boys

The Auth Boys

2
Comments 2
2 min read
TIL: ruby factory bot and models association : `after(:build)`

TIL: ruby factory bot and models association : `after(:build)`

3
Comments
3 min read
CORS issue in Ruby on Rails(Duplicate Response Headers)

CORS issue in Ruby on Rails(Duplicate Response Headers)

Comments
2 min read
STI, Associations, and Polymorphism‽ Oh my!

STI, Associations, and Polymorphism‽ Oh my!

Comments
4 min read
Sinatra and Active Records to Perform CURD Actions

Sinatra and Active Records to Perform CURD Actions

Comments
4 min read
Pattern Matching Interfaces in Ruby

Pattern Matching Interfaces in Ruby

7
Comments
15 min read
Secure CSRF Token Storage in Rails 7 using Encrypted Cookies

Secure CSRF Token Storage in Rails 7 using Encrypted Cookies

1
Comments 1
2 min read
Single Responsibility for Beginners (2/2)

Single Responsibility for Beginners (2/2)

4
Comments
6 min read
Object Oriented Ruby

Object Oriented Ruby

1
Comments
3 min read
Hiding API keys with Rails

Hiding API keys with Rails

1
Comments
2 min read
In defense of Ruby's short-hand syntax

In defense of Ruby's short-hand syntax

3
Comments
3 min read
A Guide to Memoization in Ruby

A Guide to Memoization in Ruby

Comments
7 min read
Hashes with default procs

Hashes with default procs

4
Comments 2
1 min read
loading...