---
title: "This week's Ruby news, issue 273"
publication: "Ruby Weekly"
issue: 273
published_at: "2015-11-19"
canonical_url: "https://rubyweekly.com/issues/273"
---

This week's Ruby news, issue 273

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

Ruby WeeklyIssue 273 — November 19, 2015

Mike Perham[Sidekiq 4.0 Released: The Background Job Processor](http://www.mikeperham.com/2015/11/16/sidekiq-4.0/)Sidekiq is a popular, high performance, Redis-based job processor commonly used by Ruby apps. 4.0 is a major optimization release with throughput significantly improved over 3.5.1.


John Backus[Examples of New Features in Ruby 2.3](https://blog.blockscore.com/new-features-in-ruby-2-3/)Preview 1 of MRI Ruby 2.3.0 came out [last week](https://www.ruby-lang.org/en/news/2015/11/11/ruby-2-3-0-preview1-released/) and here are quick examples of several new features including: `Enumerable#grep_v`, `Array#dig`, `Hash#dig`, and `Numeric#positive?` For more of this, including a benchmark of the new frozen strings feature, [here's another run-through.](http://dev.mensfeld.pl/2015/11/ruby-2-3-0-changes-and-features/)


Starr Horne[Spying on Running Ruby Processes](http://blog.honeybadger.io/spying-on-running-ruby-processes/)“Did you know that it’s possible to log all method calls as they occur in a running process in real time? How about injecting code to be executed inside of a running process? You can – via the magic of rbtrace.”


CodeshipSponsored[If it works with Docker, it works with Codeship.](http://pages.codeship.com/docker?utm_campaign=DockerPlatform&utm_medium=CooperPress&utm_source=email)Check out the new Codeship with native Docker support. Work with your established Docker workflows while automating your testing and deployment tasks with our hosted platform dedicated to speed and security. [Request a free trial now.](http://pages.codeship.com/docker?utm_campaign=DockerPlatform=CooperPress=email)

[![Codeship\](https://copm.s3.amazonaws.com/97c08dcc.png)](http://pages.codeship.com/docker?utm_campaign=DockerPlatform&utm_medium=CooperPress&utm_source=email)


A Year of Commits[Five Active Record Features You Should Be Using](http://jakeyesbeck.com/2015/11/15/five-active-record-features-you-should-be-using/)A quick look at nested queries, scopes, where.not, first and take, and unscoped.


Georgi Mitrev[The Safe Navigation Operator (&.) in Ruby 2.3](http://mitrev.net/ruby/2015/11/13/the-operator-in-ruby/)A look at the way the new operator works and some aspects to its operation you need to be aware of.


Piotr Okoński[Role-Based Authorization in Rails](http://blog.chaps.io/2015/11/13/role-based-authorization-in-rails.html)A look at [AccessGranted](https://github.com/chaps-io/access-granted), a new multi-role, whitelist based authorization gem for Rails, written by a developer unhappy with CanCan.


Jamis Buck[Little Things: Refactoring with Hashes](http://weblog.jamisbuck.org/2015/11/14/little-things-refactoring-with-hashes.html)A simple demonstration of refactoring from using a `case` statement to a hash table. This is perhaps my own most common refactoring.


Jobs

- [Generalist Engineer at Swiftype (San Francisco, CA)](https://swiftype.com/jobs/generalist-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, Inc
- [Lead Engineer at fast-growing YC startup (OnboardIQ)](https://boards.greenhouse.io/onboardiq/jobs/103974#.ViklTRCrRbU?utm_source=rubyweekly&utm_medium=email)Hiring automation platform for hourly workers — companies like Munchery, Caviar, Shyp use us to vet 100% of their [workforce.](http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsQK5J4VfmQbK64JsbFVfD6ll56dSZCf6J0hSq02?t=http%3A%2F%2Fjeremycai.com%2Flabor=5845003255939072=9cd53998-5db7-4a97-85c9-692db9bad62d) We raised $3.3m from top investors to become the “Linkedin for hourly workers”. Apply to be a core member. OnboardIQ
- [Want to spend less time job searching? Join in 1 min and the best startups will come to you.](https://underdog.io/?utm_source=newsletters&utm_medium=rubyweekly&utm_content=spendlesstimev2&utm_campaign=q4_15)If you’re accepted, startup decision-makers will email you as soon as next Monday. You decide where to interview and where to work. Now open in SF, NYC, and remote. Join the Underdog.io platform today. Underdog.IO

In brief

- [RSpec 3.4 Released: A Variety of Improvements](http://rspec.info/blog/2015/11/rspec-3-4-has-been-released/?utm_source=rubyweekly&utm_medium=email) news tools Myron Marston
- [The 2015 Rails Rumble Winners](http://railsrumble.com/entries/winners?utm_source=rubyweekly&utm_medium=email) news Rails Rumble Blog
- [Virtus to Be Abandoned by Its Creator?](https://www.reddit.com/r/ruby/comments/3sjb24/virtus_to_be_abandoned_by_its_creator/?utm_source=rubyweekly&utm_medium=email) news Reddit
- [CSRF Protection in Rails Prevents Some WebKit Users From Submitting Forms](https://github.com/rails/rails/issues/21948?utm_source=rubyweekly&utm_medium=email) news Ruby on Rails
- [Representable 2.4: How Functional Programming Speeds Up Rendering And Parsing](http://nicksda.apotomo.de/2015/11/representable-2-4-how-functional-programming-speeds-up-rendering-and-parsing/?utm_source=rubyweekly&utm_medium=email) news code Nick Sutterer
- [Lexical Scoping and Ruby Class Variables](http://blog.honeybadger.io/lexical-scoping-and-ruby-class-variables/?utm_source=rubyweekly&utm_medium=email) tutorial Starr Horne
- [Building A Microservice in Ruby with Grape and Swagger](http://www.roialty.com/ruby-the-grape-swagger-stack/?utm_source=rubyweekly&utm_medium=email) tutorial Matteo Folin
- [Implementing Geosearch with MongoDB and Geocoder](http://dreamingechoes.github.io/geosearch/mongodb/rails/geosearch-with-mongodb-and-geocoder/?utm_source=rubyweekly&utm_medium=email) tutorial Iván González
- [Hacking Your Gems for Debugging](http://www.bradlanders.com/2015/11/18/hacking-your-gems-for-debugging/?utm_source=rubyweekly&utm_medium=email) tutorial Brad Landers
- [Effective TDD With Ruby: Tmux Setup](http://lucaguidi.com/2015/11/17/effective-tdd-with-ruby-tmux-setup.html?utm_source=rubyweekly&utm_medium=email) tutorial 
Tmux is a popular terminal multiplexer. Luca Guidi
- [Lessons Learned from Rust: The Result Monad in Ruby](http://www.codethatgrows.com/lessons-learned-from-rust-the-result-monad/?utm_source=rubyweekly&utm_medium=email) tutorial Zach Daniel
- [Quick, No-hack Emoji Support with MySQL and Rails](https://dev.firmafon.dk/blog/quick-no-hack-emoji-support-with-mysql-rails/?utm_source=rubyweekly&utm_medium=email) tutorial Kasper Timm Hansen
- [Rails Validations vs Postgres Check Constraints](http://naildrivin5.com/blog/2015/11/15/rails-validations-vs-postgres-check-constraints.html?utm_source=rubyweekly&utm_medium=email) tutorial opinion David Bryant Copeland
- [How Do Ruby Developers Keep Updated on Security Alerts?](http://gavinmiller.io/2015/staying-up-to-date-with-security-alerts/?utm_source=rubyweekly&utm_medium=email) opinion Gavin Miller
- [Scout: Git-integrated App Monitoring](https://scoutapp.com?utm_source=rw_111915&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_111915=email=ruby_weekly) ScoutSponsored
- [Brakeman Pro 1.0: A Pro Security Tool for Rails Apps](https://brakemanpro.com/blog/announcement/2015/11/18/brakeman-pro-is-available/?utm_source=rubyweekly&utm_medium=email) tools 
A static analysis security tool for Rails apps. Brakeman, Inc.
- [Godmin: An Admin Framework for Rails 4+](https://github.com/varvet/godmin?utm_source=rubyweekly&utm_medium=email) code 
Rather than being DSL-based, Godmin is a set of opt-in modules and helpers that can be applied to regular Rails apps and engines. Varvet
- [FiveStar: A Ruby Generic Rating Library](https://github.com/rob-murray/five-star?utm_source=rubyweekly&utm_medium=email) code 
A library to build a rating system - it allows you to rate something in your domain by criteria you define. Robert Murray
- [NotFound: Rescue ActiveRecord::RecordNotFound for a Specific Model](https://github.com/krisleech/not_found?utm_source=rubyweekly&utm_medium=email) code Kris Leech
- [React on Rails: Integration of React + Webpack + Rails for Isomorphic Apps](https://github.com/shakacode/react_on_rails/?utm_source=rubyweekly&utm_medium=email) code Shaka Code
- [Level Up Your Ruby Skills through Bloc’s Full Stack Bootcamp](https://www.bloc.io/web-developer-career-track?utm_source=display&utm_medium=display&utm_campaign=display_cooperpress1015) course 
Learn every component of an application: database, server, client-side code and markup. Bloc is an outcome-oriented online program with 1-on-1 mentorship, learning by building real applications, and career support. Bloc IOSponsored

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

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