Rails 3 has been released, memcached received a new Ruby library, and RubyDoc.info is in your RubyGems generating your YARD docs. Also, API versioning, extended transaction support, tutorials and more are on this episode of Ruby5.
Listen to this episode on Ruby5
This episode is sponsored by Screencasts.org
Screencasts.org is a new website that provides thoughtful, high-quality, in-depth video tutorials for popular programming languages and frameworks. They craft, edit, and cut the filler, so the time you dedicate to watching each screencast is time well spent.
For a limited time, Ruby5 listeners will receive a 20% discount on all screencasts. Check out the episode previews at http://screencasts.org/ruby5.
Rails 3.0 has been officially released
This Sunday, Rails 3.0 was officially released. If you've been listening to this podcast and somehow still don't know anything about it, then there's not much we can do for you, now. Read up on the release on the Rails weblog or .. just go back to doing whatever it was you were doing before you got here. Thanks. (And congratulations and thank you to the core team and all of the contributors!)
Dalli - memcached for Ruby
Mike Perham recently released Dalli, a new memcached library for Ruby, written in Ruby. This new code was sponsored by NorthScale to utilize the new binary protocols in newer versions of memcached. It's smaller, faster, and well tested than it's predecessors. It's also a drop-in replacement, in most cases.
Rails 3 Tutorial
Michael Hartl recently published a free online book which covers Rails 3 from the ground, up. In addition, it goes into detail about using git and GitHub, RSpec, and deployment with Heroku.
RubyDoc.info – A YARD Documentation Server
In the past few days, RDoc.info has been replaced with a new service by Loren Segal and Nick Plante called RubyDoc.info. This new service utilizes YARD to generate more aesthetically pleasing and useable documentation for all gems on RubyGems.org and any GitHub projects that you request.
af_after_transaction
If you're performing complex database logic in your application, then you (hopefully) know about transactions. And, if so, you know that there are occasions where you want to execute certain code if and when a transaction is successful. And, Michael Grosser decided to codify that sentiment with ar_after_transaction. It gives you an after_commit hook where you can write methods that should run only on complete, success.
Restful Route Versions
Rails does an exceptional job at generating APIs for your application. But, if you've ever built an API in the past, you know that the best practice is to version your API, to prevent future updates from breaking everyone's integrations. To that end, Hemant Kumar just released resftul route versions, a plugin which allows you to version features of your API from within your routes file.
Appreciate Rails 3 with Charity:Water
The Rails 3 team has put together a small charity drive to go along with the Rails 3 release. If you've got a few spare bucks and want to show your appreciation for their hard work, consider donating to the Rails 3 Charity:Water fund drive (or, maybe some other charity of your choice).