Issues » 129

This week's Ruby news Previous issues | Read this issue on the Web
Ruby Weekly Issue 129
January 24, 2013
In Browser Path Matching with JavaScript Makes It Into Rails 4.0
When debugging routes it can sometimes be difficult to understand exactly how the paths are matched. This pull request by Richard Schneeman adds a JS based path matching widget to the /rails/info/routes page. Includes a handy animated GIF to show off the feature.
Jump Start Sinatra: Up To Speed With Sinatra in a Weekend
A new book from SitePoint written by Darren Jones. They gave me a copy which I've skimmed and it seems pretty good if you want a thorough and up to date introduction to Sinatra.
GORUCO 2013: Call for Proposals (New York City, June 8)
A popular conference. CFP ends March 14th.
Open Source Rails: A Catalog of Open Source Rails Applications
From our Sponsor
Do you hate editing i18n yaml files?
What if you never had to open those files again .. Locale is a slick web interface for editing and automatically updating your i18n files. No more emailing translation files, no more file conversion hassles, no more mangled variables. There's no cost for small and open source projects. Try it today.
Tricks for Working With Text and Files in Ruby
A fine article from the always high quality Practicing Ruby journal.
An Introduction to Mutation Testing with Mutant
Explains what mutation testing is (and how it can make your code more robust) and how to use the Mutant tool to perform mutation testing on your Ruby projects. If you're ready to take another step up the TDD ladder, start here.
Phusion Passenger 4 Technology Preview: Out-Of-Band Work
The Out-of-Band Work feature allows one to perform arbitrary long-running work outside request cycles without blocking HTTP clients. The primary use case is to run the garbage collector in between request cycles so that your requests will finish faster because they will be interrupted less by the garbage collector.
The new Rack (1.5.0) Socket Hijacking API
Singletons, Threads, and Flexibility
Brian Leonard, Chief Architect and Technical Co-founder of TaskRabbit, looks at how we can get around module/class level singleton configuration/execution to reach more flexible, thread safe solutions.
Ruby MRI Source Code Idioms #1: Accessing Data Via Macros
MRI guru Pat Shaughnessy is back with another in-depth look into MRI's heavy use of C macros and how they're used when working with arrays internally.
Using GIFs in your GitHub Pull Requests (for Good, not Evil)
Relates to Richard Schneeman 'In Browser Path Matching' pull request included in the Featured items (above).
Keeping Domain Models Cohesive with Collaborators
An example of using a collaborator to prevent non-domain responsibilities from creeping into a domain model.
Rolling With Sinatra
Darren Jones, author of Jump Start Sinatra, asked several Rubyists about their structural and stylistic preferences when building Sinatra apps.
Deploying a Rails app on Nginx/Puma with Capistrano
Building Rich Domain Models in Rails: Separating Persistence
Libraries and Code
Slodown: The Ultimate User Input Rendering Pipeline
Converts Markdown into HTML, adds syntax highlighting, supports rich media embeds, auto-links contained URLs, and sanitizes the final HTML.
Rack 1.5.0 Released
minitest-spec-rails: Make Rails 3 or 4 use MiniTest::Spec
Rails 4 was on its way to using MiniTest::Spec as the superclass for ActiveSupport::TestCase. But in one of many reversals, the work was pulled. Minitest-Spec-Rails makes reintroducing MiniTest::Spec support for both Rails 3 and edge Rails easy.
KidsRuby Robot Edition: New Release With Sphero Robot, Ubuntu, and Raspberry Pi Support
KidsRuby is a simple Ruby-based development environment aimed at teaching kids to program.
Stretcher: Fast, Elegant, ElasticSearch Client Library
A concise, fast ElasticSearch client that tries to stay out of your way and follows the ElasticSearch API as closely as possible making advanced techniques easier to implement. (If you've not seen ElasticSearch yet, it's a powerful open source distributed search engine server.)
SecureHeaders: Applies Several Security HTTP Headers to Your Rails App
Comes from Twitter. Helps with Content Security Policy, HTTP Strict Transport Security, X-Frame-Options, X-Content-Type-Options and more.
rspec-given: Given/When/Then Keywords for RSpec Specifications
See the examples in the README to get a feel for if it'd suit you. A key new addition is 'natural assertions' which let you write assertions using natural Ruby code without any specific matchers (an idea I've personally been very keen to see become more popular).
AngularJS Scaffold: Rails Scaffolding using AngularJS + Twitter Bootstrap
Lead Backend Engineer (Rails) at PlayQ (Philadelphia, PA or Remote OK)
A leading social gaming company looking for an engineer to be responsible for backend systems including technologies such as Ruby, Rails, MySQL, and Couchbase.
Ruby Developer at HouseTrip (London, UK)
Europe’s largest holiday rental booking, HouseTrip was ranked by Wired Magazine the number two start-up in Europe (2012). We're currently looking for passionate Ruby developers to help make it a distributed, world-class web application.
Full Stack Web Application Developer at Zoodles (Mountain View, CA)
Last but not least..
Postgres Weekly: A New Weekly Newsletter, Coming Soon
In 2013 I'm going to be adding several new newsletters to the Cooper Press stable (of which Ruby Weekly is the oldest). One launching in the next few weeks will cover PostgreSQL, the popular open source database engine. We have a great, experienced curator lined up so it should be great. I have an even bigger one to announce next week, however ;-)
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