Issues » 58

Previous issues | Read this issue on the Web
Ruby Weekly Issue 58
September 8, 2011
From the Editor's Desk..
A seriously bumper issue this week (hope you have a coffee ready for all of these great links) and we're again sponsored proudly by Scout! Want to reliably monitor a server cluster without a sys admin? You'll love Scout (and you can even write plugins for Scout in Ruby itself).
Updates on the Overhaul
A month ago, I reviewed the official Ruby language Web site and discovered it was riddled with out of date content and inaccuracies. Many great folks leapt into action and now Jean-Denis Vauguet has put together a quick update on how things are going with
Rails' Creator, DHH, Looking to Drive in Le Mans 2013
Ruby on Rails 3.0: A Free Student Manual
The Rails 3.0 'free student manual', a 183-page PDF written by Bryan Bibat, breezes through the basics of Rails and building a Rails 3.0 app. It's a slightly scrappy but laudable effort and he's working on updating it to 3.1 as we speak.
Phusion Passenger 3.0.9 Released
Articles and Tutorials
A MiniTest::Spec Tutorial: Elegant Spec-Style Testing That Comes With Ruby
Over on Ruby Inside this week, I put together an introduction to MiniTest::Spec, a super lightweight RSpec-esque testing library available in the Ruby 1.9 stdlib (and on 1.8 with a quick gem install).
The Chatlog of The Conversation That Caused Ruby to Be Called 'Ruby'
A blast from the past (Christmas Day, 2003) when Hiroshi Sugihara shared a chatlog from Ruby's earliest days back in 1993 that showed how the name 'Ruby' came about.
Getting to Know ActiveSupport::Callbacks
How 37signals Sets Up A New Machine for Ruby Development
David Heinemeier Hansson (creator of Rails and partner at 37signals) quickly explains what key tools 37signals' developers use to work on Rails apps on their Macs.
Deploying A Rails 3.1 App: Some Gotchas
Making ri Useful
Ever tried the 'ri' Ruby documentation tool and found it doesn't return anything of value? R. Tyler Croy explains how to 'fix' it and get the right documentation built for a productive ri.
Testing Singletons Effectively in Ruby
Making a Mockery of TDD
Avdi Grimm says: 'To be a successful mockist, you must dislike mocks.' He moves on to explain the divide between developers who heavily use mocks in unit tests and those who don't and explains why mock objects are a code smell.
The Secret to Rails OO Design: More Ruby Classes
An interesting blog post by Steve Klabnik where he looks at some patterns of using regular Ruby classes to break up functionality in Rails models (rather than keeping it all piled up there).
How to Run a Sinatra App using JRuby
A Ruby Optimization Example: Executing A Block in a Different Context
Matt Aimonetti looks at the inefficiencies of using instance_eval to execute a passed block in a different context and then, importantly, a workaround to 'precompile' the block and improve performance (which is improved upon in the comments section).
Textmate to Vim: Reproducing 100+ TM Commands in Vim
Videos and Screencasts
RailsCasts: Upgrading to Rails 3.1
In just 8 minutes, Ryan Bates shares a flurry of useful Rails 3.0 to 3.1 migration and upgrading tips and tricks, focused on dealing with the new asset pipeline.
Obie Fernandez Interviews Wayne Seguin (Mr. RVM)
Libraries and code
ComaLisp: A Lispy Abuse of Ruby
ComaLisp is a dialect of Lisp written in Ruby, built by Howard Yeh.
ruby-debug-pry: Add Pry to Good Old ruby-debug
Maxixe: Simple Statistical Segmenter For Any Written Language
Maxixe is an interesting library that can analyze a corpus and then split another text into 'segments'. Mostly use for Asian languages, in English this could split something like "ilovemydog" into "i love my dog" by learning the tokens from a larger corpus.
Alondra: Real-time Push Server Framework for Rails 3.1 Apps
Alondra is a framework for adding real-time push events to your Rails 3.1 apps, powered by EventMachine, ZeroMQ, and WebSockets.
Super-Easy Default Attributes on ActiveRecord Associations in Rails
Combustion: Better Rails Engine Testing
Combustion is a minimal Rails app packaged into a gem that's suited for testing 'Rails engines', themselves modular Rails applications that can be joined together.
sinatra-assetpack: Transparent Asset Packaging for Sinatra
sinatra-assetpack gives you a convenient way to set up how the serving of your JavaScript, images and CSS are served up in your Sinatra app. No special routes to create by hand, just load up the gem, set a few options, and off you go.
handlebars_assets: Use handlebars.js Templates With Rails 3.1's Asset Pipeline
minitest-rails: MiniTest Integration for Rails 3.1
Ruby Jobs of the Week
Sr Ruby Developer for the Internet Marketing Ninjas [Saratoga, New York]
Internet Marketing Ninjas is looking for expert Ruby developers (and junior ones too) to work on their industry-leading Internet marketing tools. A 60-150k salary range is given with a signing bonus too for good measure. Ideally you'll have some Rails 3 experience already under your belt.
Front-End Software Engineer for [Arlington, Virginia]
Ruby and Rails Engineers (Edinburgh, Scotland)
FreeAgent are looking for full-time Ruby engineers of all levels to join their engineering team in a brand new office in beautiful Edinburgh.
See 20 other great Ruby jobs at the Ruby Inside job board
Last but not least..
RubyPair: An App To Find People to Pair Program With (Locally and Remotely)
RubyPair is a searchable directly of individuals who would like to remote/in-person pair on things Ruby, built by Evan Light. An interesting concept.
Scout (this week's sponsor): A Pioneer in Hosted Server Monitoring
I never want to 'junk up' Ruby Weekly with gaudy ads or 'sponsored mailings' you're not expecting to receive, so any support you can give to unintrusive issue sponsors like Scout is much appreciated :-) (Even just a 'click and read.')
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