learn

learn
What is Type-Driven Design/Development in Ruby

What is Type-Driven Design/Development in Ruby

Feb 5, 2021 - 2 min read

Type Driven Development and Ruby might sound like apples and oranges but it's actually very useful....

How to Use Strings in Ruby

How to Use Strings in Ruby

Jul 29, 2020 - 7 min read

I remember when I first heard about strings. I wanted to create a command line application that would ask the user for his name and age....

How to Use the Ruby Map Method

How to Use the Ruby Map Method

Jul 29, 2020 - 4 min read

I think it’s so cool that the Ruby map method exists. It means that Ruby has support for higher-order functions, and functional programming....

How to Test Ruby Modules With Rspec

How to Test Ruby Modules With Rspec

Jul 20, 2018 - 3 min read

When you have a module that you include in other classes, the way you test it might not be obvious. This is what I'm going to show you in this tutorial....

Let vs. Let! vs. Instance Variables in RSpec

Let vs. Let! vs. Instance Variables in RSpec

Jul 19, 2018 - 4 min read

A common source of confusion when using RSpec is whether to use let, let!, or an instance variable, for storing state. In this article I’ll try to explain the difference between let, let!, and instanc...

If vs. Unless in Ruby

If vs. Unless in Ruby

Jul 9, 2018 - 3 min read

Do you find unless to be confusing? I know I do. Especially if it’s combined with one or more boolean operators....

Ruby's Sort and Sort_by

Ruby's Sort and Sort_by

Jul 8, 2018 - 6 min read

The Ruby sort method works by comparing elements of a collection through the spaceship operator, and using the quicksort algorithm....

Why You Too Should Learn Elixir

Why You Too Should Learn Elixir

Jul 8, 2018 - 8 min read

Learn Elixir not because you will get a better job out of it, but because learning functional programming will make you a better programmer....

What Is a Ruby Reducer?

What Is a Ruby Reducer?

Jul 7, 2018 - 3 min read

The term comes from the world of functional programming, and it’s often paired with map. You’ve probably heard the term map/reduce if you’ve been in the programming world for more than a few months....

SERIOUS ABOUT LEARNING RAILS?

Every other week you'll get at least 1 actionable tip on how to become a better Ruby on Rails developer.
    We won't send you spam. Unsubscribe at any time.
    Built with ConvertKit