Issues » 73

Previous issues | Read this issue on the Web
Ruby Weekly Issue 73
December 22, 2011
From the Editor's Desk..
Welcome to issue 73 of Ruby Weekly. If you're taking a break over this holiday season, I hope you have a good one and a Merry Christmas to you all. If you're itching for something to do, though, don't forget the Ruby tradition of releasing libraries and updates on Christmas Day. I'll be doing a roundup of any for Ruby Inside next week :-)
Headlines
RailsConf 2012 Lands in Austin, Texas on April 23-25, 2012
O'Reilly has passed the reins over to Ruby Central and RailsConf 2012 will be taking place in Austin, Texas in late April. Little on the site so far but tickets are at least bookable.
JRubyConf: May 21-23, 2012 in Minneapolis, Minnesota
The 4th annual JRuby conference takes place between May 21-23, 2012. Not much info yet but you can register. The earlybird tickets are mind-bogglingly cheap.
Rails 3.2 Release Candidate 1 Now Available
Rails 3.2 is getting ready to be released. It's not as big a jump as 3.1 was from 3.0 but includes some performance improvements for dev mode and routes, tagged logging, and a key/value storage pattern.
rails/master is Now 4.0.0.beta: Ruby 1.8.7 Support Dropped
DHH announces that Rails 3.2 will be the last version of Rails to support Ruby 1.8.7 and that the master branch (a.k.a. 'head') of the GitHub-hosted Rails repo is now focused toward Rails 4.0 which is optimistically anticipated in mid 2012.
New eBook: Working with Unix Processes (from Ruby)
Articles and Tutorials
Getting Started with JRuby and Java 7: It's Ruby, But Fast
Java 7's JVM features significantly extended support for dynamic languages and in this walkthrough Charles Nutter shows how to get a Java 7 JVM up and running with JRuby. The result? Turbocharged Ruby performance (and JRuby was already the fastest implementation before this).
Write Better Cucumber Steps With HTML's 'rel' Attribute
Steve Klabnik points out an interesting way to have more loosely coupled test step matchers by leaning on HTML's often overlooked 'rel' attribute.
Learning From The Masters: 3 Ruby Metaprogramming Best Practices
Rake for Rails Developers
Ever wondered what's going on when you run 'rake ..something..' from a Rails project? Erik DeBill presents a simple walkthrough of what Rake is about and how you can create your own tasks for it.
The 'rails' Command and exec(2)
Jesse Storimer presents a compelling argument for using ./script/rails instead of plain old 'rails' on your Rails projects to get an improvement in load time.
Media
JRuby: Polyglot Heaven
At RubyConf 2011 Thomas Enebo and Charles Nutter of the JRuby core team talked about JRuby and explained how JRuby is a handy gateway to other languages and technologies via the JVM, including Clojure, JavaScript, and Mirah. A handy introduction.
The Ruby Rogues on.. Eloquent Ruby
The Ruby Rogues tackle Russ Olsen's awesome 'Eloquent Ruby' in the latest episode of their podcast. One of my favorite podcasts talking about one of my favorite books by one of my favorite tech authors. If you've not checked the book out yet, perhaps this will whet your appetite.
Libraries and code
Devise 2.0.0 RC1 Released (and How to Upgrade To It)
Devise is a popular flexible authentication system for Rails and its 2.0.0 release candidate has been released. Want to be ready for the upgrade? Jose Valim explains how.
Mechanize 2.1 Released
Mechanize is a popular Ruby library for automating interaction with Web sites. 2.1 can now verify SSL connections against the system certificate store, stream files straight to disk, support non-standard content encodings, support different instance based loggers, and more. A key update.
Presto Framework: A Lightweight Wrapper for Rack
Feeling weighed down by the heaviness of Sinatra? No? Oh. Well, anyway.. Presto is a super lightweight wrapper around Rack for putting together simple HTTP apps without exposing you to all of the Rack internals.
DoorKeeper: An OAuth 2 Provider built on Rails 3.1 Engines
Sinatra::Synchrony: Sinatra Extension for Major Concurrency Improvements
Sinatra::Synchrony is a small extension for Sinatra that dramatically improves the concurrency of your webapp. Powered by EventMachine and EM-Synchrony, it increases the number of clients your app can serve per process when you have a lot of traffic or slow IO calls.
Otto: Define Rack Apps in Plain Text
CookieTracker: Storing Custom User Settings in Cookies (for Rails 3)
CookieTracker synchronizes settings stored in cookies with instance variables of the same name making them available to use in controllers and views. It's for Rails 3 on Ruby 1.9 only.
Ruby Jobs of the Week
Software Engineer, Generalist at Samasource [San Francisco, California]
Ruby Developers (Jr. and Sr.) for Awesome Social Media Tech Co. at Wildfire Interactive [Redwood City, California]
Last but not least..
Hungry Academy: Get Paid to Learn Ruby and Rails in Washington DC
Billing itself as "a unique and game changing five-month learning experience", the Hungry Academy is a project set up by LivingSocial and JumpstartLabs that aims to turn all accepted applicants into proficient Rubyists in 2012.
The Ruby Game: Can You Write The Shortest or Fastest Code?
An interesting and light hearted online game where you have to write the shortest or fastest Ruby code possible. Beware, though, most of the top solutions shouldn't ever get near a real life app, so don't steal too many tricks ;-)
Published by Cooper Press.
Want to sponsor an issue? See our Q2 2014 media kit.

© 2014 Cooper Press Ltd. Email policy Privacy policy
Office 30, Fairfield Enterprise Centre, Louth, LN11 0LS, UK
Update your email address
or unsubscribe here

ONE e-mail each Thursday. Easy to unsubscribe. No spam — your e-mail address is safe
Published by Cooper Press and curated by Peter Cooper