Issues » 83

Previous issues | Read this issue on the Web
Ruby Weekly Issue 83
March 1, 2012
Headlines
Refinery CMS 2.0.0 Released
Refinery CMS is a Rails based CMS which in its new 2.0.0 incarnation is now fully Rails 3.2 and asset pipeline compliant. This post sums up some of the changes. Congrats to them.
For Rails 4, PATCH Is The New Primary HTTP Method for Updates
Xavier Noria of the Rails core team shares a new development that's in edge Rails (and due to be released in Rails 4): switching to using HTTP's 'PATCH' verb for making partial updates to resources.
Code School Unleashes 'Rails Testing for Zombies'
From Our Sponsor..
CloudSpokes: Ready to compete with code in the cloud and win cash?
With 30K members and over $300,000 in developer contest prizes awarded, CloudSpokes is the Industry’s first cross-cloud development community. Join now to compete in public cloud development contests to win cash, earn achievements, and fine tune your skills.
Reading
The Joke Is On Us: How Ruby 1.9 Supports the Goto Statement
Pat Shaughnessy is back with a dive into Ruby's support for the concept of "goto" (a la your favorite pre 1990s programming languages). Did you realize Ruby has a hidden feature to support GOTOs and labels? Neither did I. Wow!
Performance Cost of Ruby ORM Model Instantiation
Matt Aimonetti presents an analysis and graph of the call stack involved when initializing an object with ActiveRecord, Sequel, and DataMapper.
Rails Went Off The Rails: Why I'm Rebuilding Archaeopteryx In CoffeeScript
The never-dull Giles Bowkett explains why he thinks Rails is old and busted and picks quite a few Ruby related scabs along the way. Sure, it's dramatic, but you might enjoy it.
Learning from Rails' Failures
And if Giles hadn't kicked Rails enough, Matt Aimonetti takes another look at it and explains what he doesn't think works well and what we can learn from Rails' mistakes.
Let's Write a Gem
Stephen Ball presents a two part series on building a Ruby library and gem from scratch including best practices like BDD.
Work-Stealing and Recursive Partitioning with Fork/Join in JRuby
The Fork/Join framework in JDK7 implements a clever work-stealing technique for parallel execution. Ilya Grigorik explains what it does and shows off some JRuby-based examples.
Ruby Generated Poetry
Andrew McDonough recently gave a lightning talk about a simple 'poetry generator' he built in Ruby. It's a naive approach but the outcome is great.
Watching and Listening
Play by Play with Aaron 'Tenderlove' Patterson
PeepCode has released the latest in its 'play by play' series with a two hour peep over the shoulder of popular Rubyist Aaron Patterson's shoulder. It costs a little money but it has gotten an excellent reaction so far.
Twitter Bootstrap Basics by RailsCasts
If you're not yet sick of hearing about Twitter Bootstrap or want to learn how to work with it using Rails, Ryan Bates' latest screencast is a great place to start.
Libraries and Code
SimpleForm 2.0: Rails Form Creator, Now With Twitter Bootstrap Support
SimpleForm is a popular DSL for creating forms in Rails apps and version 2 is now out. It includes a new wrapper API to create custom input stacks and also includes some integration features for Twitter Bootstrap.
A Rails 3 App in a Single File
UnixUtils: Like FileUtils But For Using Unix Tools
Like FileUtils, but provides access to zip, unzip, bzip2, bunzip2, tar, untar, sed, du, md5sum, shasum, cut, head, tail, wc, curl, etc. The README explains why you wouldn't want to just spawn these yourself.
Funnel: Full Rails Source for a Freelancer Business Management Tool
Cheddar: Convert Human Input Strings into Numbers
Want to convert '15 hundred' to 1500? Or '$200 million' to 200000000? Cheddar has got your back.
Bitwise: Fast, Memory Efficient Bitwise Ops on Large Binary Strings
Mutation Testing in Rubinius with Mutant
Remember Heckle on Ruby 1.8? Mutant brings similar fun to Rubinius by modifying your code and running your tests to check they fail.
Sunzi: Ruby-powered Server Provisioning Utility for Minimalists
Mocktra: A Webmock DSL using Sinatra
Unwind: Takes a Forwarding URL, Figures Out Its Final Destination
Jobs
Senior Ruby Engineer at Spinnakr [District of Columbia]
Veteran Rubyist to Join Team of Financial Software Engineers at Fynanz, Inc. [New York City]
Last but not least..
Ruby Patterns from GitHub's Codebase
Zach Holman of GitHub presents some things that the developers at GitHub have done to help with the maintainability and reliability of their Ruby apps. Key takeaways are their 'bootstrap' script and using TomDoc for documentation.
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