6:04 Play Subscribe with or

Episode #258 - March 27th, 2012

0d2bf6fbf141a1995560fa9273992ff0.jpg?s=18&r=pg&d=http%3a%2f%2fwww.gravatar.com%2favatar%2f8ebf4339f7c8cd73b53d1d1d3eba7c35 Nathaniel Bibler 2df14bd29ca441a9d4656f0abae2e0ab.jpg?s=18&r=pg&d=http%3a%2f%2fwww.gravatar.com%2favatar%2f8ebf4339f7c8cd73b53d1d1d3eba7c35 Gregg Pollack

Factory 3.0 says bye to Ruby 1.8 and Rails 2, heroku_san ensures you do your deploys right, Bullet 2.3.0 speeds up your queries, gambas inlines your PDF generation, RVM asks for a testing hand, and Jared Carroll shows how to test an external API.

This episode is sponsored by Top Ruby Jobs. Everyone deserves to love their job (and it's probably in Ruby).

  • Top Ruby Jobs
  • Factory Girl 3.0
  • heroku_san
  • Bullet 2.3.0
  • gambas
  • Help RVM
  • Testing external APIs
  • RailsConf 2012
  • Ruby5

How to test external APIs Jump to Story

Jared Carroll released a great writeup over on the Carbon Emitter, where he details how you should test external APIs. He walks through how to use RSpec and Capybara to write a failing integration test and shows how to make those tests pass step-by-step. He creates domain models, an adapter layer, shows how to stub collaborators when unit testing, and ultimately shows how to make the whole thing work, and even tosses in a little VCR to make it fast.

June 18, 2013

It's Rails day as Heroku moves to Ruby 2.0, Rails 2.3's life is lingering, we build Awesome APIs, visit removing Views, cut back on Callbacks, expand our Environments, and tackle Changed Tests on this episode of Ruby5.

June 14th, 2013

Rails 4.0 rc2, Understanding the GIL, Font Awesome Rails, String Inquirer, and gist dep are all featured in this RubyLoco powered Ruby5

June 11th, 2013

RubyGems paranoia, unexpected chained scopes in Rails 4, Rubberband flamethrowers, Stripe with Rails, and efficient Git pairing.

June 7th, 2013

Interact with GitHub through Octokit, choosing a European payment gateway, importing and exporting databases with DbSync, pluck values from your tables, using ember-auth with Rails 3 and Authlogic, and field-level access control with Protector all in this episode of Ruby5!