The latest news in the Ruby and Rails community.

Subscribe to our mailing list!

Episode #55

March 2, 2010

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 SinatraFakeWebServ...

Stories

Using Sinatra to Test Remote Services in Rails

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.

Visit site → Permalink

Previous Episodes

Episode #54

Hobo, ExtJS, Google Forms, and Delorians are covered in this episode of Ruby5. Also, we discuss the Ruby Best Practices book and XML generation.

Episode #53

Gemcutter becomes RubyGems.org, Messiah, Divining Rod, Rails 3 generators, Slurper, Rails hosting roundup, and Harmony are all covered in this episode of Ruby5.

Episode #52

RailsConf 2010, JavaOne 2010, Google Buzz, Moonshine, RailsMetrics, charting tools, jquery animations, and tools for pair programmers round out the topics for this week's Ruby5.

Episode #51

XRefresh, Core Data with Rails, and the Harbor Framework are on this episode of Ruby5. Also, we touch on Ripple, HolyGrail, and monitoring Delayed Job with Bluepill.

View the archives →

Looking to learn about Ruby? Take a look at the Ruby Path on Code School

This podcast is produced and distributed by Code School. Copyright © 2015 Code School LLC