Tutorials



Use Dynamic Program to solve the sum of natural numbers using Ruby.
Given a range of natural numbers, from 1 to 100 for example, find the sum of all the given numbers. Below, we will implement some solutions then solve this on a small set of number that will work on any size of numbers that are in order.

The best data slicer! Watch a 3 minute screencast at http://tableprintgem.com
TablePrint shows objects in nicely formatted columns for easy reading. It even lets you nest other tables of related objects, contextualizing data across tables. It's incredibly flexible, yet simple, making it easy to see exactly the data you care...

An RSpec time issue (and it’s not about timezones)
We ran into an infrequent test failure that was only happening at a specific time of day. Through regular working hours, the test passed routinely, but around 7:30pm EDT, suddenly it would always fail on CI — which then would stop Github from allo...




How Ruby 2.6 allowed me to do another open source contribution
There are multiple HTTP clients available to Ruby developers. Some of them wrap Ruby built-in classed to provide more friendly API (like HTTParty wrapping Net::HTTP). Some are written in pure Ruby (like Excon) and others take usage of libcurl C li...

Do you really know public, private and protected in Ruby?
Public, private and protected access - all of the programmers are familiar with that concept. Nothing special, we work with them on a daily basis. However, as Ruby programmers, do we really know the details?You can check yourself with these five s...