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.
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 inst...
While Ruby on Rails was first released in 2004, and a lot has happened since then, it’s still relevant in 2018. Here is a list of resources if you want to learn Ruby on Rails in 2018.
Learn Elixir not because you will get a better job out of it, but because learning functional programming will make you a better programmer.
Do you find unless to be confusing? I know I do. Especially if it’s combined with one or more boolean operators.
The Ruby sort method works by comparing elements of a collection through the spaceship operator, and using the quicksort algorithm.
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.
The Ruby Enumerable module deserves the top spot in the popularity contest. It packs so many great methods that it’s hard to think of an application that wouldn’t use it.