5:55 Play Subscribe with or Intro song by Falseta

Episode #55 - March 2, 2010

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

Internationalization, Oracle and Tomcat, and QR Codes are covered on today's episode of Ruby5. Also, we cover Frank, Tilt, acts_as_archive, and the SinatraFakeWebService.

Subscribe to our mailing list!

This episode is sponsored by Jumpstart Lab. The best training you’ve ever had or 110% money back, guaranteed.

  • Jumpstart Lab
  • Translations
  • SinatraFakeWebService
  • Oracle and Tomcat
  • QR Coding
  • acts_as_archive
  • Frank
  • Tilt
  • Ruby5

Using Sinatra to Test Remote Services in Rails Jump to Story

When you're writing application tests and need to stub out an external resource, you've got options. Primarily, FakeWeb is the library of choice right now, easily recording and mocking fairly complex requests and interactions. However, FakeWeb does not easily differentiate requests which change based on the data parameters posted. So, if you like FakeWeb, but need something more robust, check out SinatraFakeWebService by Elad Meidar which allows you to script a fake resource within Sinatra and your tests.

October 16th, 2014

Unary Operators, Writing fast Ruby, each_with_object, ES6 Transpiler and HStore

October 14th, 2014

RailsRumble, Ruby Motion for Rails devs, how Ruby Hashes work, how to deal with data migrations, clean up your routes file, and get better logs.

October 7th, 2014

Rails data migrations, tools for optimization, Bundler::Updater, using UUID with Postgres, 20,000 Leagues Under Active Record, and Ruby 2.2.0

October 3rd, 2014

Greenscreen.io, rails-disco, onboarding your junior devs, being a better Rubyist, staging environments, and the anti-pattern of absolutes all in this episode of the Ruby5.