See the full issue archive.
Subscribe to Ruby Weekly here.
Issue 57 - September 1, 2011
Big news this week: the final production release of Rails 3.1 is here. Congratulations to the Rails core team and, especially, Aaron Patterson for the release. It's a big one!
A significant new Rails release is here: 3.1. It's probably one of the most significant Rails releases, short of Rails 3 itself. Prototype gives way to jQuery, CoffeeScript arrives, Rack::Cache gets included, reversible migrations, the asset pipeline, Sass, and more.
Xavier Noria of the Rails core team announces that as of Rails 3.1, the official Rails API site will be switching to SDoc for its documentation presentation format. It certainly looks nicer than the old one, so great work.
RubyGems has suffered from a long standing (but just discovered) code injection flaw. RubyGems 1.8.10 is, therefore, an important update since it patches it up. For more on this, see 'rubygems-pwn' later in this newsletter.
Ever heard of the concept of using Ruby modules to create 'mixins' to mix functionality into existing classes? If you have but you're not up to speed with the concept, Craig Wickesser presents a basic introduction to the concepts involved here.
Michael Bleigh of Intridea presents an awesome introduction to Guard, a handy Ruby-powered general purpose set of tools for watching when files are changed in your project and taking action based on it. However, while Guard is a Ruby project, his examples go a bit broader than that.
Eric Allam of EnvyLabs demonstrates how to use Rails 3.1's new Sprockets-powered 'asset pipeline' feature outside of a Rails application setting.
Jason Nah goes through the steps that he took to get HTTPS running on a Rails application running locally on OS X under Pow.
David Tuite looks at some of the new features in the latest version of perhaps the most popular 'object factory' library used in the Ruby testing world, Factory Girl. Useful tips here if you use FG.
In this week's RailsCasts Ryan Bates spends just a few minute looking at Foreman, a handy took for managing the multiple processes that may be associated with your Rails app (e.g. Web servers, queue workers, other daemons).
Redcar is a clean and intuitive open-source editor written in Ruby. This short screencast shows you how to install Redcar and use it to navigate around a Rails project.
Daniel Kehoe has put together several detailed tutorials and example apps for the just-released Rails 3.1, including examples showing how to use Devise with RSpec and Cucumber, Devise with Mongoid, and OmniAuth with Mongoid.
Stasis is a new Ruby-based static site generator (think nanoc or Jekyll). It's very light but powerful, supporting, among other things, controllers that contain Ruby code that can be run before templates are rendered.
Gritter allows you to easily add Growl-like notifications to your Rails applications (including those on 3.1) using a jQuery plugin also called 'gritter'.
Versions of RubyGems prior to 1.8.10 can fall foul of a code injection bug as demonstrated by the rubygems-pwn gem by Postmodern. If you want to learn more about the vulnerability, this is what you need to read.
FreeAgent, leading pioneers in web-based accounting, are looking for full-time Ruby engineers of all levels to join their engineering team in a brand new office in beautiful Edinburgh. It's a fantastic opportunity to join a young, exciting and fast-growing company, helping to develop a much-loved and high-traffic customer-facing web app. We pay well and you’ll have the best kit, flexible hours, 33 days annual leave, pension scheme and more.
Klint Finley presents an interview with Ruby's benevolent dictator, Yukihiro "Matz" Matsumoto. He asks him about his new role at Heroku and, intriguingly, Matz's second favorite language (after Ruby).
Address: Office 30, Lincoln Way, Fairfield Enterprise Centre, Louth, Lincs, UK, LN11 9EJ