Issues » 64

Read this issue on the Web
Ruby ♦ Weekly Issue 64
October 19, 2011
From the Editor's Desk..
It's issue (2 ** 6) of Ruby Weekly. This week I've reopened my Ruby Reloaded course for two new runs in November and December, but other than that no big news. I get the feeling we'll be seeing a final Ruby 1.9.3 release very soon though.. :-)
Headlines
Why Bundler 1.1 Will Be Much Faster (Than 1.0)
Since its debut, Bundler has become an essential part of daily development life for many Rubyists, though many have complained of its lack of speed. Pat Shaughnessy looks at where Bundler 1.0 was lacking and why the forthcoming Bundler 1.1 will be a lot faster.
Ruby Reloaded: My Online Course for Boosting Your Professional Ruby Skill Set
Ruby Reloaded is my course for intermediate Rubyists looking to 'level up' (TDD, OO design, and more). The 3rd and 4th runs are now open and run this November and December. Check out the details (and testimonials) and, if you're interested, use the code "WEEKLY" for $80 off.
DataMapper 1.2.0 Released
DataMapper is a popular ORM (Object Relational Mapper) and a powerful alternative to ActiveRecord for many developers. Version 1.2 brings support for Rails 3.1, rewrites of key components, and a raft of general improvements.
RubyGems.org Gets A Mobile Version at m.rubygems.org
From Our Sponsor
Scout: Sys-Adminless Hosted Server Monitoring, Built on Ruby
Monitoring a server cluster without a sys admin? You'll love Scout. You can be up and running within five minutes and then configure your monitoring and reporting scripts online (they'll be automatically and securely retrieved by each of your monitored servers). Easy for sysadmins and non-sysadmins alike.
Articles and Tutorials
What Ruby’s ||= Operator Really Does
Over the years, there's been some misconception over what 'a ||= b' really represents in Ruby. I pick up the threads, simply explain and demonstrate what's occurring, and link to discussions that go into more depth.
Ruby, Concurrency and You
Evan Phoenix, of both Engine Yard and the Rubinius project, explains the difference between concurrency and parallelism and looks at how Rubyists experience them on different implementations.
Understanding the Rails Logger
Graeme Mathieson digs into ActiveSupport's BufferedLogger, looks at buffered logging, how its flushing works, and how to tweak the flushing.
Getting Started with Padrino and BDD
Mustache, ERB and The Future of Templating
Kyle Neath of GitHub loves the Mustache logic-less template language but recognizes the reality of apps packed to the hilt with ERB. Along with Simon Rozet, he's come up with an approach to get Mustache-like detachment in regular ERB.
Contributing to Rubinius
Rubinius is a popular alternative Ruby implementation and it's ripe for new contributors who want to make an impact. In this post, Brian Ford explains how you can get your feet wet with working on Rubinius and how its build system works.
Submitting Your First Patch to Rubinius
How I Fast Test with Rails
Do Gem Downloads Correlate with Gem Usage? Survey Says: No
Loren Segal does some analysis on the initial data from GemStats.org crossed with download data from RubyGems.org and looks at whether high download counts really translate into a high level of direct usage of a gem. The metrics are a bit shaky but.. look, pretty charts!
Spec Helpers, Bundler.setup and Faster Rails Test Suites
Jeff Kreeftmeijer looks at the slowness of the spec_helper file created by rspec-rails when using RSpec with a Rails project and then digs into working around it to speed up your test runs.
Presentations and Videos
Stanford's OpenClassroom 'Web Applications with Ruby and Rails' Course
Stanford has opened up some of its courses to the Web under the OpenClassroom program. One is a "Web Applications" course built up of 104 lectures covering HTML, CSS, Ruby, Rails, security, and deployment.
Transforming Ruby Code [video]
A 22 minute presentation by Ben Hughes about programatically transforming Ruby code, its applications, and the tools you can employ to do it yourself.
Libraries and code
Factory Girl 2.2 Released
Factory Girl is a popular fixture replacement tool / object factory used in model tests. The 2.2 release brings, and I quote, 'a handful of awesomeness to the table.' The new features are well summarized in this post.
MacRuby's HotCocoa Gets Reheated
HotCocoa is a MacRuby library that simplifies the process of building Cocoa-based Mac apps. The project seemed to stall recently but Mark Rada and others have been working on a fork that's now becoming an official release.
Locale Detector: Detect User Language to Set Rails App Locale
Locale Detector is a gem that checks the HTTP_ACCEPT_LANGUAGE HTTP header sent by a user's browser in order to automatically set the I18n.locale setting in your Rails app.
Renee: The 'Super Friendly' Rack-based Web Framework
Renee is a new Rack-based library for writing webapps and it integrates with Rack to let you mix and match with other frameworks. It was born from an attempt to create a 'cleaner and more powerful' DSL than Sinatra. Interesting ideas abound.
Ruby Jobs of the Week
Rails Developer [Hayward, California]
The Institute of Mathematical Statistics is a society devoted to the development, dissemination, and application of statistics and probability. They're looking for a developer to help modernize the Current Index to Statistics (CIS), an online database that contains bibliographic data of published articles and books in statistics, probability, and related fields.
DevOps/Release/QA Automation Engineer at Apple [Cupertino, California]
Senior Rubyist at Ticket Evolution [Jersey City, New Jersey]
Ruby Developer at Fanhattan [San Mateo, California]
Last but not least..
Russ Olsen's Ruby Recommended Reading List
In an article for InformIT, Russ Olsen, author of Eloquent Ruby and Design Patterns in Ruby, guides us through the Ruby books he thinks are best at the beginner, intermediate and professional levels.
Published by Cooper Press.
Want to sponsor an issue? See our media kit.

© 2013 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