---
title: "This week's Ruby news, issue 277"
publication: "Ruby Weekly"
issue: 277
published_at: "2015-12-17"
canonical_url: "https://rubyweekly.com/issues/277"
---

This week's Ruby news, issue 277

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

Ruby WeeklyIssue 277 — December 17, 2015

Jamis Buck[Introspecting Block Parameters](http://weblog.jamisbuck.org/2015/12/12/little-things-proc-parameters.html)Jamis Buck cleverly bends Ruby to his will yet again (remember [dynamic def](http://weblog.jamisbuck.org/2015/10/17/dynamic-def.html)?) - this time using `Proc#parameters` to implement a clever way to access data in a hash.


Ruby News[Ruby 2.3.0 Preview 2 Released](https://www.ruby-lang.org/en/news/2015/12/11/ruby-2-3-0-preview2-released/)We’ve covered 2.3’s features a few times already, but new this time are [RubyVM::InstructionSequence methods](https://bugs.ruby-lang.org/issues/11788) (`#to_binary` and `.load_from_binary`) for exporting and importing Ruby bytecode, as well as `Enumerator::Lazy#grep_v` and [using unary - and + on String](https://bugs.ruby-lang.org/issues/11782) to return frozen and modifiable strings respectively.


Richard Schneeman[The Definitive Guide to Ruby Heap Dumps, Part II](http://blog.codeship.com/the-definitive-guide-to-ruby-heap-dumps-part-ii/)Richard Schneeman continues his series by demonstrating how to generate a heap dump from an app running on Heroku and analyze the results.


CorgibytesSponsored[Hate Fixing Bugs? Lucky You. We Love It.](http://corgibytes.com)Tackling technical debt and integrating disparate systems is fun, too. (Yes, really.)

[![Corgibytes\](https://copm.s3.amazonaws.com/b6e5138a.png)](http://corgibytes.com?utm_source=rubyweekly&utm_medium=email)


Robert Pankowecki[In-Memory Fake Adapters](http://blog.arkency.com/2015/12/in-memory-fake-adapters/)A look at the practice of making fake adapters to third party services to enable more robust testing of the main app.


Ruby News[Ruby 2.2.4 Released](https://www.ruby-lang.org/en/news/2015/12/16/ruby-2-2-4-released/)Includes a [security fix](https://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/) for Fiddle (the libffi wrapper) and DL, plus some minor bug fixes. [Ruby 2.1.8](https://www.ruby-lang.org/en/news/2015/12/16/ruby-2-1-8-released/) and [2.0.0-p648](https://www.ruby-lang.org/en/news/2015/12/16/ruby-2-0-0-p648-released/) have also been released to fix the vulnerability.


InfoWorld[IBM's Open Source JVM Project Could Also Speed Up Ruby](http://www.infoworld.com/article/3014128/open-source-tools/ibms-open-source-jvm-project-could-also-speed-ruby-python.html)The OMR project makes pieces of IBM’s J9 JVM available to other language runtimes. A technical explanation and some bits to play with [are available here.](https://github.com/rubyomr-preview/rubyomr-preview)


Mike Perham[How to Test Multithreaded Code](http://www.mikeperham.com/2015/12/14/how-to-test-multithreaded-code/)The creator of Sidekiq knows a thing or two about threaded code and shares some tips on how to test multithreaded code here.


Jobs

- [Principal RoR Engineer in Austin, Texas](https://www.scoutrfp.com/were-hiring?gh_jid=133131)We are working on a SaaS platform in Rails, Angular.js, CoffeeScript and Postgres. Join a well backed ground floor opportunity and help design and develop the product. Scout RFP
- [Get Multiple Job Offers Without Applying](https://hired.com/?utm_source=newsletters&utm_medium=rubyweekly&utm_campaign=q4_15-petercooperpress&utm_term=job&utm_content=121715-multipleoffers)Through Hired, companies find you - and offer salary and other benefits upfront. Stop applying for jobs and let jobs apply for you. Hired.com

In brief

- [Add Action Cable to rails/master](https://github.com/rails/rails/pull/22585?utm_source=rubyweekly&utm_medium=email) news 
Action Cable is a framework for real-time communication over WebSockets from Rails. DHH
- [Software Engineering Bootcamp with Dev Job Guarantee or your Tuition Refunded](https://www.bloc.io/software-engineering-program?utm_source=display&utm_medium=display&utm_content=display&utm_campaign=cooperpress_rubyweekly_set) course 
Curriculum designed with input from engineering teams at Google, Facebook, and Twitter Bloc.ioSponsored
- [A Quick Introduction to Ruby Refinements](http://jakeyesbeck.com/2015/12/13/ruby-refinements/?utm_source=rubyweekly&utm_medium=email) tutorial Jake Yesbeck
- [4 Ways to Get The Most Out of Your Rails Logs](http://blog.scoutapp.com/articles/2015/12/09/4-ways-to-get-the-most-out-of-your-rails-logs?utm_source=rubyweekly&utm_medium=email) tutorial Derek Haynes
- [You’ll Love module_function: What It Is and When to Use It](https://medium.com/raise-coffee/you-ll-love-module-function-ca5f05284310?utm_source=rubyweekly&utm_medium=email) tutorial Sven Winkler
- [An Introduction to Unit Testing in Ruby](http://blog.codeship.com/unit-testing-in-ruby/?utm_source=rubyweekly&utm_medium=email) tutorial Leigh Halliday
- [Rails, Secure Cookies, HSTS and Friends](http://eftimov.net/rails-tls-hsts-cookies/?utm_source=rubyweekly&utm_medium=email) tutorial 
A look at a few security features in Rails. Ilija Eftimov
- [Getting Started with Distributed Ruby (DRb)](http://nithinbekal.com/posts/distributed-ruby/?utm_source=rubyweekly&utm_medium=email) tutorial 
I’ve not seen DRb getting much use in years and never found a great use for it myself, but it’s worth knowing about as part of Ruby’s ecosystem. Nithin Bekal
- [Inspect Network Traffic in Capybara with Poltergeist](https://medium.com/raise-coffee/inspect-network-traffic-in-capybara-with-poltergeist-16363ec8ecf4?utm_source=rubyweekly&utm_medium=email) tutorial Stefan Hoffmann
- [Handling Paginated Resources in Ruby](https://rossta.net/blog/paginated-resources-in-ruby.html?utm_source=rubyweekly&utm_medium=email) tutorial Ross Kaffenberger
- [Transforming Hashes: A Refactoring Story](http://codenoble.com/blog/transforming-hashes-a-refactoring-story/?utm_source=rubyweekly&utm_medium=email) opinion Adam Crownoble
- [Using Ruby in Security Critical Applications](https://www.youtube.com/watch?v=GenjU6iRb6o) video Tom Macklin
- [Scout: Git-integrated App Monitoring](https://scoutapp.com/?utm_source=rw_121715&utm_medium=email&utm_campaign=ruby_weekly) tools 
Trace performance bottlenecks to the line-of-code, author, commit, and deploy date. Scout is the fastest path from slow to fast. [Learn more.](https://scoutapp.com/?utm_source=rw_121715=email=ruby_weekly) ScoutSponsored
- [migrate: Tool for Managing and Executing Your Database Migrations](https://github.com/ivpusic/migrate?utm_source=rubyweekly&utm_medium=email) tools Ivan Pusic
- [Slacked: Send Notifications to Slack From Your Ruby App](https://github.com/codelittinc/slacked?utm_source=rubyweekly&utm_medium=email) code 
Easily send notifications to Slack from a Ruby or Rails app. Codelitt Incubator
- [ActiveJob::Retriable: Retries Failed Jobs with Exponential Back-Off](https://github.com/SimplyBuilt/activejob-retriable?utm_source=rubyweekly&utm_medium=email) code 
Mimics Sidekiq’s RetryJobs functionality. Michael Coyne
- [Earthdata Search: A NASA App Built on Rails](https://github.com/nasa/earthdata-search?utm_source=rubyweekly&utm_medium=email) code 
If you fancy seeing how NASA builds a Rails app.. NASA
- [monkeylearn-ruby: Ruby Client for the MonkeyLearn API](https://github.com/monkeylearn/monkeylearn-ruby?utm_source=rubyweekly&utm_medium=email) code 
[MonkeyLearn](http://www.monkeylearn.com/) lets you work with machine learning models for language processing from your apps. MonkeyLearn
- [Minitest::Hyper: Pretty HTML Reports for Minitest](https://github.com/chriskottom/minitest-hyper?utm_source=rubyweekly&utm_medium=email) code 
A new plugin for Minitest that generates an attractive single-page HTML report for your test runs. Chris Kottom
- [strong_migrations: Catch Unsafe Migrations At Dev Time](https://github.com/ankane/strong_migrations?utm_source=rubyweekly&utm_medium=email) code Andrew Kane

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

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