Command Line Gems and ARGV

In a previous post, we built a simple gem to generate a random title, the Titlegen gem [https://github.com/SophieDeBenedetto/titlegen]. In it's current state, our gem must be included in a project's Gemfile and called within a program via the line: Titlegen.generate_title… »

Action Cable Part II: Deploying Action Cable to Heroku

In my previous post [https://www.thegreatcodeadventure.com/rails-5-preview-action-cable/], we set up a basic chatting application using Action Cable. This post will server as the walk-through for deploying that app to Heroku. You may be familiar with the fact that Rails and Heroku and Websockets don't necessarily get… »

Rails 5 Preview: Action Cable Part I

For those of you out there who are eagerly awaiting the upcoming release of Rails 5 (okay, all of you), here's a preview of one of it's soon-to-be native features: Action Cable. Aside: For some reason, whenever I hear "Action Cable" I think of… »

Stubbing External Web Requests in RSpec Testing with VCR

Remember VCRs? Well, they're for more than just watching The Land Before Time a million times you should watch The Land Before Time a million times VCR is also an amazing Ruby gem that records your test suite's HTTP interactions and replays them during future test… »

REPL-ilze! Building an In-Browser Ruby REPL with Opal

One of the (many wonderful) features of Ruby that makes it such a great language for beginner coders is it's playground, IRB. *IRB is easily as fun as this playground* IRB stands for Interactive Ruby Shell. It is a REPL (Read, Evaluate, Print, Loop) environment that you can… »