---
title: "This week's Ruby news, issue 251"
publication: "Ruby Weekly"
issue: 251
published_at: "2015-06-18"
canonical_url: "https://rubyweekly.com/issues/251"
---

This week's Ruby news, issue 251

Building Street Fighter II in Ruby, a Matz keynote, new Rails releases, and advanced error handling.[Read this e-mail on the Web](http://rubyweekly.com/issues/251)

Ruby WeeklyIssue 251 — June 18, 2015

Riding Rails[Rails 3.2.22, 4.1.11 and 4.2.2 Released](http://weblog.rubyonrails.org/2015/6/16/Rails-3-2-22-4-1-11-and-4-2-2-have-been-released-and-more/)Each contains fixes for some recently discovered vulnerabilities. An interesting side benefit is Rails 3.2.22 now means Rails 3.2 supports Ruby 2.2 for the first time.


Darko Gjorgjievski[Ruby Error Handling, Beyond the Basics](http://www.sitepoint.com/ruby-error-handling-beyond-basics/)A variety of principles of error handling in Ruby, including things like cleaning up before exiting, error logging, never rescuing Exception, and alternatives to raising exceptions.


Nikolay Nemshilov[Building Street Fighter II in Ruby (video)](http://nikolay.rocks/2015-06-16-building-streetfighter)A fun, well-recorded 25 minute look at making a Street Fighter clone in Ruby using the Gosu 2D game development library.


DigitalOceanSponsored[Spin up a server or two, on us. Use promo DO10](https://www.digitalocean.com/?utm_medium=paid_newsletters&utm_source=cooperpress&utm_campaign=javascriptweekly&utm_content=SpinUp2_DO10_P_hp)DigitalOcean provides simple cloud infrastructure that’s built for developers. You can deploy an SSD cloud server in under a minute and run it for as little as $5/mo (512MB RAM, 20GB SSD, 1CPU, 1TB transfer). Use promo code DO10 for $10 credit.

[![DigitalOcean\](https://copm.s3.amazonaws.com/a5a1e008.jpg)](https://www.digitalocean.com/?utm_medium=paid_newsletters&utm_source=cooperpress&utm_campaign=javascriptweekly&utm_content=SpinUp2_DO10_P_hp)


YouTube[Matz's RedDotRuby 2015 Keynote: Super Dry Ruby](https://www.youtube.com/watch?v=bqWBB8-iEac)Ruby’s creator covers the history and background to Ruby’s design before moving on to Ruby’s future beyond the Web and a look at Streem, a new language built by Matz to experiment with future Ruby concurrency models.


Starr Horne[Using Lambdas in Ruby](http://blog.honeybadger.io/using-lambdas-in-ruby/)A quick look at some properties of Ruby’s lambdas (versus blocks and procs).


Jorge Bejar[How to Build A Rails 5 API Only and Backbone Application](http://wyeworks.com/blog/2015/6/11/how-to-build-a-rails-5-api-only-and-backbone-application)The ‘Rails API’ project, which makes it easy to create API-only projects in Rails, is becoming a core part of Rails in version 5. How will it work?


SitePoint[What's New in Rails 5](http://www.sitepoint.com/whats-new-rails-5/)Rails 5 isn’t too far away and Vasu K quickly covers what we should expect to see from it. One key point is Rails 5 will only work on Ruby 2.2.1 and above which may present challenges for upgraders.


Jobs

- [Senior Engineers at FreeAgent. Edinburgh or remote (UK-only)](https://freeagent.workable.com/jobs/61163?utm_source=rubyweekly&utm_medium=email)FreeAgent are democratising accounting for freelancers and micro-businesses. We're one of the fastest-growing tech companies in the UK and we're looking for web-savvy engineers to come and join the fun. FreeAgent
- [Senior Backend Engineer at Drivy (Paris, France)](https://jobs.lever.co/drivy/08071b26-a86d-4e04-8a9d-1163da98bb3d?utm_source=rubyweekly&utm_medium=email)We're building the #1 peer-to-peer car rental service in Europe and we're looking for an experienced Ruby developer to help us tackle some exciting challenges! Drivy
- [Top Ruby Freelancers Wanted (Telecommute)](http://www.toptal.com/javascript?utm_source=cooperpress&utm_medium=newsletter&utm_content=ruby_weekly&utm_campaign=absolute_overfloweth)We only hire the absolute top-tier Ruby developers and if you survive our ultra-screening™ process, the projects overfloweth. (Must read, write speak English extremely well.) Toptal

In brief

- [Ruby for Good: A Community Hackathon Conference (July 31, Northern Virginia)](http://rubyforgood.com/?utm_source=rubyweekly&utm_medium=email) news 
An all inclusive hack event where Rubyists contribute to charities, non-profits, open source and other good causes. Ruby for Good
- [Avoid Race Conditions in Rails with Postgres Locks](http://www.leighhalliday.com/avoid-race-conditions-with-postgres-locks?utm_source=rubyweekly&utm_medium=email) tutorial Leigh Halliday
- [Understanding the rails-jquery CSRF Vulnerability (CVE-2015-1840)](http://blog.honeybadger.io/understanding-the-rails-jquery-csrf-vulnerability-cve-2015-1840/?utm_source=rubyweekly&utm_medium=email) tutorial 
A look at a vulnerability in rails-jquery that can expose CSRF tokens. Starr Horne
- [Rack: First Principles](http://rubylogs.com/rack-first-principles/?utm_source=rubyweekly&utm_medium=email) tutorial 
Most Ruby webapps (including those on Rails) use Rack at some level. If you’re not familiar with what Rack is or what it does, this is a quick primer. Ilija Eftimov
- [Splat Goes Ruby](https://dev.firmafon.dk/blog/splat-goes-ruby/?utm_source=rubyweekly&utm_medium=email) tutorial 
A look at the role of the ‘splat’ (*) in Ruby through several quick examples. Kasper Timm Hansen
- [3 Steps to Share A Session Between Rails 3 and Rails 4 Apps](https://medium.com/@egor_vorobiev/3-steps-to-share-a-session-between-rails-3-and-rails-4-applications-9618766e6c2a?utm_source=rubyweekly&utm_medium=email) tutorial Egor Vorobiev
- [Julia for Rubyists: Crunch Those Numbers](http://www.sitepoint.com/julia-rubyists-crunch-numbers/?utm_source=rubyweekly&utm_medium=email) tutorial 
Julia is a high-level, high-performance dynamic programming language commonly used in scientific and math domains. SitePoint
- [How to Setup Vagrant for Rails Development](http://learn.onemonth.com/how-to-setup-vagrant-for-rails?utm_source=rubyweekly&utm_medium=email) tutorial video 
Both as a text tutorial and screencast. Chris Oliver
- [RubyMotion: Cross-Platform Mobile Development the Right Way](https://www.youtube.com/watch?v=ZV5zCXHIqNY) video Laurent Sansonetti
- [Rails application.rb Recommendations](http://erniemiller.org/2015/06/16/rails-application-rb-recommendations/?utm_source=rubyweekly&utm_medium=email) opinion Ernie Miller
- [Production-ready Redis with top-tier support, analytics, and Resque integration](http://www.redisgreen.net/docs.html?utm_source=rubyweekly&utm_medium=email&utm_campaign=perf1) tools 
Thousands of apps use RedisGreen to get the best support, analytics, performance and uptime for their Redis servers. Find out the difference a well-managed in-memory datastore makes. RedisGreenSponsored
- [Material Theme: A Google Material Design-esque Sublime Text 3 Theme](https://github.com/equinusocio/material-theme?utm_source=rubyweekly&utm_medium=email) tools Mattia Astorino
- [http-dos-detector: Detect Huge Number of HTTP Requests on Apache and Nginx using mruby](https://github.com/matsumoto-r/http-dos-detector?utm_source=rubyweekly&utm_medium=email) code 
An interesting examples of a Ruby based Apache and nginx extension via mruby. Ryosuke Matsumoto
- [csv-importer: CSV Import for Humans](https://github.com/BrewhouseTeam/csv-importer?utm_source=rubyweekly&utm_medium=email) code 
Aims to handle validations, column mapping, import and reporting. Brewhouse
- [gem-compare: A RubyGems Plugin That Compares Versions of The Given Gem](https://github.com/fedora-ruby/gem-compare?utm_source=rubyweekly&utm_medium=email) code tools Fedora Ruby
- [Codeship: The fast and customizable Continuous Delivery platform](https://codeship.com?utm_source=rubyweekly&utm_medium=email) tools 
Codeship is a hosted Continuous Integration and Delivery platform focusing on speed, security, and customizability. Join customers like CareerBuilder and start testing and deploying your Ruby projects with Codeship today. CodeshipSponsored

Curated by [Peter Cooper](https://twitter.com/peterc) and [Glenn Goodrich](https://twitter.com/ruprict), and published by [Cooperpress](https://cooperpress.com/).
Send feedback by simply replying to this mail.
Want to sponsor an issue? See our [media kit.](https://cooperpress.com/mediakit)
Want to post a job? Email us or [use our self-serve system.](https://booking.cooperpress.com/jobs)

[Unsubscribe](*|UNSUB|*) | [Change email address](*|UPDATE_PROFILE|*) | [Read this issue on the Web](http://rubyweekly.com/issues/251)

© Cooperpress Ltd. Office 30, Lincoln Way, Louth, LN11 0LS, UK
[Email policy](https://cooperpress.com/spam.html) [Privacy policy](https://cooperpress.com/privacy.html)
