You have disabled auto-rotation for stories. Re-enable?
Envy Labs provides Rails application development, training, and code rescue. We also produce podcasts (like this one!) and screencasts to promote businesses, products, and the open source community. See us next week at RailsConf 2010 in Baltimore, MD where we'll be participating in Ignite RailsConf, putting on the Ruby Hero Awards, and leading a Rails 3 tutorial session.
Last year, CodeRack was used to promote Rack middleware development through friendly open source competition. This year, the team at lunar logic polska are turning CodeRack into a directory of useful Rack middleware. So, if you're looking for middleware or have created something of your own, check out the new CodeRack.org.
Nick Plante wrote up a great tutorial this week showing all of the code necessary to integration your Ruby application with Google Analytics through OAuth. Using this method, you'll have access to the data collected from your users' Analytics accounts.
As we all know, it's bad form to actually contact 3rd party web services from within your test environment. So, to help keep you from doing just that, there's another library available called VCR, which provides an almost comedic DSL - if you were at all cognizant in the 80's. It will automatically record your first contact and the response(s) and automatically play them back in all subsequent tests. And, the data is stored in simple YAML, so it's easy to inspect and manipulate.
What if you could easily read the source or code comments of your Ruby application from directly within IRB? With method_extensions by Evgeniy Dolzhenko, you can do just that and more. Need information about a method? Just inspect it for file name and line location, code comments, source, or even know what parent method would be called, if that method were to call super. Super useful.
Now that your views, emails, and flash messages all support a dozen different locales (they do, don't they?), what do you do about your routes? English SEO might not be so useful if you're targeting a German audience. So with i18n_routing, you can give the Rails router the power to intelligently map localized paths and slugs in your application. Willkommen i18n_routing!
We're all familiar with "private" and "protected" annotations in Ruby source. But what about "admin_only" or "omg_fail"? Diego Carrion wrote up a cool article showing how Cucumber and VRaptor use custom annotations and even gives some examples and code for how you can make them yourself.
Over on InfoQ, Robert Bazinet spoke with James Every and Rob Conery about TekPub, a commercial screencasting and training website. They talk about why TekPub went from a Rails application, to a .NET app, and back again from the technical to the financial viewpoints. If you've got .NET friends (can you really call them that. really?) you should send this along.
The closing song this episode is a cut from Hanuman by Rodrigo y Gabriela.
Ruby5 is released Tuesday and Friday mornings. To stay informed about and active with this podcast, we encourage you to do one of the following:
This Ruby5 was co-produced and edited by Audio Guru Jacob Woods. If you have audio which needs polishing or editing.. please send him an email.
An epic journey from Bmore on Rails Hospitality, the path to Rails 2.3.9?!, Moving from Rails 2 to Rails 3, and Migrating from unobtrusive Prototype to jQuery. We make a quick stop for Cider, discuss Open Source Policy and take a lap with therubyracer.
Three new versions of Ruby on Rails in just as many days! Also, Spira, running Vim in IRB, the Rails 3 router, and a new Ruby VM shootout on this episode of Ruby5.
Google Web Fonts, Faker.js, Unicorn, Suspenders, rails-i18n, attribute_normalizer, reflexive, and the acts_as_conference CFP in this Friday edition of Ruby5.
Several Ruby interpreters have been updated, TextMate gains some IntelliSense, and there's a lot to do in Baltimore on this episode of Ruby5. Not to mention that the May 2010 BugMash is officially in the books!
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