Tutorials





Two Ways of Finding the Element That Occurs the Most in an Array with Ruby.
In my post I will discuss a specific task operated on an array, that to me is a bit interesting and I like it, and also exemplifies the Ruby idea that there are multiple ways of performing one task, and a single one isn’t considered “right”. Isn’t...


How I Built a Simple Command Line App in Ruby with ActiveRecord
Command line apps — boring? I used to think so. When I first got interested in programming many years ago, I wanted to dive in at the deep end and build the next big AAA game. This inevitably led to much frustration, and I gave up on programming f...

Debugging in Ruby—Busting a Year-old Bug in Sprockets
Debugging is an important skill to develop as you work your way up to more complex projects. Seasoned engineers have a sixth sense for squashing bugs and have built up an impressive collection of tools that help them diagnose and fix bugs.I'm a me...

Secure Your Rails Staging Environment with HTTP Basic Authentication
A sensible approach to testing features before you ship them to customers is to use a staging environment that closely resembles your live, customer-facing, production application.It’s important to make sure that only people inside your organisati...