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.
Kinx v0.21.0 Preview Released

Kinx v0.21.0 Preview Released

7
Comments
3 min read
Automatically cast params with the Rails Attributes API

Automatically cast params with the Rails Attributes API

14
Comments 1
3 min read
TLDR: Button to update status attribute of a table

TLDR: Button to update status attribute of a table

11
Comments
1 min read
Hotwire Bling!

Hotwire Bling!

15
Comments 2
3 min read
What's Here for Ruby Hash Doc

What's Here for Ruby Hash Doc

2
Comments
1 min read
Please don't test attr_reader, attr_writer, or attr_accessor

Please don't test attr_reader, attr_writer, or attr_accessor

7
Comments
1 min read
Dato.RSS - RSS with Ruby

Dato.RSS - RSS with Ruby

17
Comments
2 min read
Map, Reduce, Filter/Select: Ruby vs. JavaScript

Map, Reduce, Filter/Select: Ruby vs. JavaScript

7
Comments
2 min read
Understanding Ruby - Enumerable - Intro and Interfaces

Understanding Ruby - Enumerable - Intro and Interfaces

21
Comments 3
3 min read
My beloved Ruby on Rails cheat sheet

My beloved Ruby on Rails cheat sheet

152
Comments 3
6 min read
How to debug interactions between your code and the Rails framework (and other gems)

How to debug interactions between your code and the Rails framework (and other gems)

42
Comments 3
4 min read
Why avoid too many abstractions in tests?

Why avoid too many abstractions in tests?

4
Comments
3 min read
3 ways to prevent browser stylesheet caching

3 ways to prevent browser stylesheet caching

7
Comments
2 min read
Create a Basic API with Ruby on Rails

Create a Basic API with Ruby on Rails

5
Comments 2
6 min read
The Understated Power of ERB (Embedded Ruby)

The Understated Power of ERB (Embedded Ruby)

3
Comments
3 min read
Understanding Ruby - Blocks, Procs, and Lambdas

Understanding Ruby - Blocks, Procs, and Lambdas

111
Comments 4
11 min read
Show relevant chunks of text with Rails `excerpt` helper

Show relevant chunks of text with Rails `excerpt` helper

3
Comments
2 min read
Understanding Ruby - Enumerable - Grouping

Understanding Ruby - Enumerable - Grouping

17
Comments 1
6 min read
Understanding Ruby - Enumerable - Iterating and Taking

Understanding Ruby - Enumerable - Iterating and Taking

12
Comments 1
4 min read
Understanding Ruby - Enumerable - Coercion

Understanding Ruby - Enumerable - Coercion

11
Comments
3 min read
Understanding Ruby - Comparable

Understanding Ruby - Comparable

26
Comments 2
4 min read
Understanding Ruby - Enumerable - Combining

Understanding Ruby - Enumerable - Combining

10
Comments
5 min read
Use Rails `link_to_unless_current` for navigation links

Use Rails `link_to_unless_current` for navigation links

7
Comments 1
2 min read
Understanding Ruby - Enumerable - Transformations

Understanding Ruby - Enumerable - Transformations

10
Comments 2
3 min read
Understanding Ruby - Enumerable - Searching and Filtering

Understanding Ruby - Enumerable - Searching and Filtering

15
Comments
5 min read
How Pro Ruby Developers Customize VS Code

How Pro Ruby Developers Customize VS Code

56
Comments 7
3 min read
Understanding Ruby - Enumerable - Predicate Conditions

Understanding Ruby - Enumerable - Predicate Conditions

5
Comments 2
4 min read
Understanding Ruby - Enumerable - Counting

Understanding Ruby - Enumerable - Counting

6
Comments
3 min read
Understanding Ruby - Enumerable - Sorting and Comparing

Understanding Ruby - Enumerable - Sorting and Comparing

5
Comments
4 min read
Understanding Ruby - Triple Equals

Understanding Ruby - Triple Equals

94
Comments 4
7 min read
Infra1: Service Discovery, Cloud Native Proxy и деплой

Infra1: Service Discovery, Cloud Native Proxy и деплой

4
Comments
1 min read
Building GitHub-style Hovercards with StimulusJS and HTML-over-the-wire

Building GitHub-style Hovercards with StimulusJS and HTML-over-the-wire

3
Comments 1
10 min read
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 🔥

12
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

11
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
Implement HTTPS using Sockets and OpenSSL

Implement HTTPS using Sockets and OpenSSL

8
Comments
3 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
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
`Eval`ing twice to define toplevel module from String

`Eval`ing twice to define toplevel module from String

3
Comments
1 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
loading...