Rake Routes
by Stephen Ball
Connecting Objects with Observable
Dec 5, 2018
ruby & programming
Today let’s dive a bit into the Observable module from Ruby’s standard library. Let’s say we’re launching a rocket. Fortunately we have a very high
Let’s Use Hwacha to Scan URLs
Dec 18, 2013
ruby & gem spotlight
I’ve written a gem, Hwacha, as a wrapper around Typhoeus to allow for quick and easy response checking for multiple URLs. Let’s go through some
Customize Your IRB
Mar 19, 2013
ruby
You probably spend a lot of time in IRB (or the Rails console) but have you taken the time to customize it? Today we’ll take a look at the things
Gem Spotlight: interactive_editor
Jan 4, 2013
ruby & programming & gem spotlight
Today we’ll take a quick look at one of my favorite gems: interactive_editor. Have you ever been in a REPL session (rails console, irb, pry, etc.)
How to use bundler instead of rvm gemsets
Mar 20, 2012
ruby & programming
Listening to the latest Ruby Rogues I was intrigued to hear André Arko describe how using bundler can completely obviate using rvm gemsets. He said
How to write (and test) a gem to serve static files on the Rails asset pipeline
Mar 15, 2012
ruby & rails & programming
Today we write (and test!) a gem that simply adds new static assets to a Rails project. I puzzled out most of this while working on my
A Taste of Metaprogramming
Mar 1, 2012
ruby & programming
Today we take a small taste from the wide ranging metaprogramming abilities that Ruby gives us. We’ll be looking at and to take a class of
Fun with Rock, Paper, Scissors
Feb 28, 2012
ruby & programming & metaprogramming
James Edward Gray II’s Ruby Quiz #16 was to implement Rock, Paper, Scissors playing classes to compete on a playing field managed by a given Game
Let’s Write a Gem: Part 2
Feb 23, 2012
ruby & programming
Continued from Let’s Write a Gem, Part 1 In this post we’ll finish our tutorial gem. Along the way I’ll point out some confusing pitfalls you can
Let’s Write a Gem: Part 1
Feb 21, 2012
ruby & programming
Gems. Gotta love em. If you’re a Ruby developer then you already know that gems are simply fundamental to Ruby programming. Let’s write one. Right
Parsing Dates and Times from Strings using strptime
Feb 10, 2012
ruby & programming & data
Howdy y’all. As much as we’d prefer to just deal with nicely formatted data; the real world sometimes requires that we parse weird datetime strings
Anonymous blocks as function arguments in Ruby
Feb 9, 2012
ruby & programming
A quick tidbit that comes in handy when you want to write some idiomatic Ruby: how to write methods that accept optional blocks of code to execute.