---
title: "This week's Ruby news: Passenger 5, Ruby 2.2.1, GC tuning and more"
publication: "Ruby Weekly"
issue: 236
published_at: "2015-03-05"
canonical_url: "https://rubyweekly.com/issues/236"
---

This week's Ruby news: Passenger 5, Ruby 2.2.1, GC tuning and more

This week's Ruby and Rails news[Read this e-mail on the Web](http://rubyweekly.com/issues/236)

Ruby WeeklyIssue 236 — March 5, 2015

Phusion[Phusion Passenger 5.0.1 Released, Now Production Ready](https://blog.phusion.nl/2015/03/04/phusion-passenger-5-0-1-released/)The popular Ruby application server takes a big step forward with version 5 (such as better performance and better WebSocket support) and it’s now out of beta.


Ruby News[Ruby 2.2.1 Released](https://www.ruby-lang.org/en/news/2015/03/03/ruby-2-2-1-released/)A minor update to 2.2 that mostly fixes an FFI build failure and [memory leak issue](https://bugs.ruby-lang.org/issues/10686) with the Symbol GC.


Albert Still[Understanding The Enigma Machine with 30 Lines of Ruby](http://red-badger.com/blog/2015/02/23/understanding-the-enigma-machine-with-30-lines-of-ruby-star-of-the-2014-film-the-imitation-game/)The famous decryption machine used in the UK during World War 2.


MailgunSponsored[Forget net/smtp, try sending email with the Mailgun API](http://www.mailgun.com/?utm_source=rubyweeklymar5&utm_medium=email&utm_campaign=forgetsmtp)RESTful API abstracts away the messy details of sending transactional or bulk email. No gem installation required. The first 10,000 emails are free each month. [Try Mailgun now](http://www.mailgun.com/#rubysample)

[![Mailgun\](https://copm.s3.amazonaws.com/05875376.png)](http://www.mailgun.com/?utm_source=rubyweeklymar5&utm_medium=email&utm_campaign=forgetsmtp)


Omniref[Why Blocks Make Ruby Methods 439% Slower](https://www.omniref.com/ruby/2.2.0/symbols/Proc/yield?#annotation=4087638=711=1)An interesting look at the differences involved when you either explicitly call blocks or just yield to them.


Lourens[MRI Garbage Collection: Tuning Approaches for Rails Apps](https://bearmetal.eu/theden/rails-garbage-collection-tuning-approaches/)Despite all the improvements to MRI’s garbage collector, there are still things you can tune and optimize. Learn how to find optimal GC settings here.


SitePoint[Loading Code with Ruby](http://www.sitepoint.com/loading-code-ruby/)A 6 minute screencast where Robert Qualls dives into the Ruby load path, how require and load work, and how to make sure your code always gets loaded.


Jakub Kosinski[Use Your Gettext Translations in Your React Components](https://blog.arkency.com/2015/03/use-your-gettext-translations-in-your-react-components/)If you’ve internationalized your backend app with gettext, it might be convenient to share those translations with the JavaScript-based front-end too.


Phusion[What's New in Passenger 5: Perf and HTTP JSON API](https://blog.phusion.nl/2015/03/04/whats-new-in-passenger-5-part-1-performance-and-http-json-api/)What’s new in the Ruby, Node.js and Python app server. Much improved performance for starters.


Jobs

- [Sr. TechOps Engineer at Swiftype (San Francisco, CA)](https://swiftype.com/jobs/senior-techops-engineer?utm_source=rubyweekly&utm_medium=email)Swiftype combines passion energy with technical problems that we love to work on. We’re a small group of developers building incredibly powerful, scalable infrastructure software that pushes boundaries. We’re looking for talented people to join our team! Swiftype
- [Software Engineer at Collaborative Drug Discovery (Burlingame, CA)](https://www.collaborativedrug.com/pages/employment?#h-1)Do you enjoy using Rails, HTML5 and ES6 to build robust applications for analysis and visualization? Our software speeds the discovery of new medicines. Aptitude and interest matter more to us than experience. Collaborative Drug Discovery
- [Whether you're looking for a new job or just testing the water, Hired is there for you.](http://hired.com/?utm_source=newsletters&utm_medium=rubyweekly&utm_campaign=n-mar5_15-rubyweeklyspons&utm_content=looking)In 1 week you'll get 5+ offers from top tech companies around the US and UK. Want to learn more? Check out Hired today! Hired.com

In brief

- [Rails 4.2.1.rc3 and 4.1.10.rc3 Released](http://weblog.rubyonrails.org/2015/3/2/Rails-4-2-1-rc3-and-4-1-10-rc3-have-been-released/?utm_source=rubyweekly&utm_medium=email) news 
Final releases are expected today (Thursday, March 5) is no other bugs are found. Official Rails Blog
- [Register for Free Online Rails Security Training on March 18!](https://attendee.gotowebinar.com/rt/205783861472794113?utm_source=SecCasts+Live&utm_campaign=61070c0563-SecCasts_Live_Part_21_26_2015&utm_medium=email&utm_term=0_2833bbfcb7-61070c0563-170390821) news 
In this one-hour session, we will present the top 3 vulnerabilities in Rails and how to avoid them. nVisiumSponsored
- [GORUCO 2015 (Jun 20, NYC) Call for Proposals](https://goruco.wufoo.com/forms/goruco-2015-call-for-proposals/?utm_source=rubyweekly&utm_medium=email) news 
The popular one-day, single-track event in New York City is accepting proposals until the 24th. GORUCO
- [Running the Ruby Middleman Static Site Generator on Microsoft Azure](http://www.hanselman.com/blog/RunningTheRubyMiddlemanStaticSiteGeneratorOnMicrosoftAzure.aspx?utm_source=rubyweekly&utm_medium=email) tutorial Scott Hanselman
- [How to Write Command-Line Applications in Ruby with GLI](http://blog.lunarlogic.io/2015/how-to-write-command-line-applications-in-ruby-with-gli/?utm_source=rubyweekly&utm_medium=email) tutorial Przemyslaw Dabek
- [The Case for 'case'](http://6ftdan.com/allyourdev/2015/03/03/ruby-the-case-for-case/?utm_source=rubyweekly&utm_medium=email) tutorial 
A case/when/else primer. Daniel P. Clark
- [A Faster Way to Cache Complicated Data Models (in Rails)](https://www.justinweiss.com/blog/2015/03/03/a-faster-way-to-cache-complicated-data-models/?utm_source=rubyweekly&utm_medium=email) tutorial Justin Weiss
- [Keep Your Rails Routes Clean and Organized](https://medium.com/@KamilLelonek/keep-your-rails-routes-clean-and-organized-83e78f2c11f2?utm_source=rubyweekly&utm_medium=email) tutorial Kamil Lelonek
- [The UK Ruby Contract Drought is Real](https://medium.com/@louisror/the-uk-ruby-contract-drought-is-real-27-feb-2015-fbac443b81da?utm_source=rubyweekly&utm_medium=email) opinion 
This has provoked [a discussion on Hacker News](https://news.ycombinator.com/item?id=9123683) too. Louis Goff-Beardsley
- [Using open-uri? Check Your Code - You're Playing with Fire](http://sakurity.com/blog/2015/02/28/openuri.html?utm_source=rubyweekly&utm_medium=email) opinion Egor Homakov
- [8 Things I Learned During 8 Years of Ruby and Rails](http://solnic.eu/2015/03/04/8-things-i-learned-during-8-years-of-ruby-and-rails.html?utm_source=rubyweekly&utm_medium=email) opinion Piotr Solnica
- [From A Ruby Monolith to Microservices in Go, Lessons Learned](https://sourcegraph.com/blog/live/gopherconindia/112656568167?utm_source=rubyweekly&utm_medium=email) opinion Niket Patel
- [Advanced Ruby on Rails Error Tracking - A Few Lines of Code is All it Takes](https://raygun.io/ruby-on-rails?utm_source=rubyweekly&utm_medium=email&utm_content=sponsored-link&utm_campaign=march5) tools 
Real-time error tracking for Ruby on Rails that you can set up in minutes. RaygunSponsored
- [Hoboken: A Sinatra Project Generator](http://bobnadler.com/articles/2014/09/09/hoboken-a-sinatra-project-generator.html?utm_source=rubyweekly&utm_medium=email) tools Bob Nadler, Jr
- [regexp-examples: Generate Strings That Match A Given Regular Expression](https://github.com/tom-lord/regexp-examples?utm_source=rubyweekly&utm_medium=email) code 
For example: `/ab+/.examples #= ['ab', 'abb', 'abbb']` Tom Lord

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/236)

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