---
title: "Writing a C Ruby extension in 2016 and getting Rails on Kubernetes"
publication: "Ruby Weekly"
issue: 324
published_at: "2016-11-17"
canonical_url: "https://rubyweekly.com/issues/324"
---

Writing a C Ruby extension in 2016 and getting Rails on Kubernetes

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

Ruby WeeklyIssue 324 — November 17, 2016

Xavier Riley[Writing a C Extension for Ruby in 2016](https://www.xavierriley.co.uk/writing-a-c-extension-for-ruby-in-2016/)An in-depth discussion of a real-world need for a C extension in Ruby and how a non-C dev got it done.


Josh Bielick[Getting Rails on Kubernetes](https://engineering.adwerx.com/rails-on-kubernetes-8cd4940eacbe)How to deploy and orchestrate a Rails 5 application with Kubernetes in Google Container Engine (GKE). There’s quite a lot to it.


Samuel Mullen[Replacing the Asset Pipeline with Webpack & Yarn](http://pixelatedworks.com/articles/replacing-the-rails-asset-pipeline-with-webpack-and-yarn/)A practical demonstration of replacing Sprockets in a Rails app with the latest JavaScript ecosystem tools. ([Yarn](https://code.facebook.com/posts/1840075619545360) is a new, high perf alternative to the _npm_ client.)


UpgradeRailsSponsored[Founders/CTOs: We upgrade Rails so that your team doesn't have to.](https://www.upgraderails.com/)Are you swamped with work but your Rails stack is outdated? UpgradeRails is a service from the founders of Hint.io and Honeybadger.io. Let our expert team upgrade your Rails apps so that you can focus on features, not maintenance.

[![UpgradeRails\](https://copm.s3.amazonaws.com/ea64bca2.png)](https://www.upgraderails.com/?utm_source=rubyweekly&utm_medium=email)


Ross Kaffenberger[Testing Rails Generators](https://rossta.net/blog/testing-rails-generators.html)_“This is the post I wished existed before attempting to write tests for a Rails generator with TDD.”_


Christian Nelson[Rails Database Best Practices](http://blog.carbonfive.com/2016/11/16/rails-database-best-practices/)9 rules that every Rails developer could read and re-read.


Starr Horne[A Rubyist's Guide to Big-O Notation](http://blog.honeybadger.io/a-rubyist-s-guide-to-big-o-notation/)Complete with explanations of the variants of Big O and examples of common Active Record methods that trigger them.


SitePoint[Rack-App: A Performant and Pragmatic Web Microframework](https://www.sitepoint.com/rack-app-a-performant-and-pragmatic-web-microframework/)Rack-App is a performant web microframework that has a single dependency.


ruby-lang[Ruby 2.3.2 and 2.2.6 Released with RubyGems Updates](https://www.ruby-lang.org/en/news/2016/11/15/ruby-2-3-2-released/)A ‘teeny’ release of the stable 2.3 series updating RubyGems, its SSL certificates, plus some bugfixes. [2.2.6](https://www.ruby-lang.org/en/news/2016/11/15/ruby-2-2-6-released/) has also been released.


Jobs

- [Senior Engineer (Ruby/JavaScript) in Chicago, IL](http://www.builtinchicago.org/job/senior-engineer-6?utm_source=rubyweekly&utm_medium=email)We are looking for motivated professionals who are excited about leveraging technology in order to impact the lives of millions of students. Our clients include ACT®, HRCI, Hobsons and many other educational companies. Benchprep
- [Ruby Software Engineer at Amazon Web Services (Seattle, WA)](https://www.amazon.jobs/jobs/458684?utm_source=rubyweekly&utm_medium=email)We’re looking for opinionated engineers to join our team in building an infrastructure-as-code tool unlike any you’ve seen before, powering the expansion of the world’s largest cloud datacenter footprint. Amazon.com
- [Job Offers Without the Hassle - Try Hired](http://hired.com/?utm_source=newsletters&utm_medium=petercooperpress&utm_campaign=q4-16-rubyweekly)Sick of pushy recruiters, and dead end interviews? Try Hired to hear from over 4,000 innovative companies looking for their next great team member. Hired

In brief

- [Ruby 2.4 Implements Array#min and Array#max](http://blog.bigbinary.com/2016/11/17/ruby-2-4-implements-array-min-and-max.html?utm_source=rubyweekly&utm_medium=email) news 
Faster than the existing Enumerable methods used. Rohit Kumar
- [Ruby 2.4 Adds Better Support for Extracting Captured Data From Regexp Matches](http://blog.bigbinary.com/2016/11/10/ruby-2-4-adds-better-support-for-extracting-captured-data-from-regexp-match-results.html?utm_source=rubyweekly&utm_medium=email) news 
MatchData gets a named_captures method that returns a hash of results. Rohit Kumar
- [JRuby Working on Ruby 2.4 Support](https://github.com/jruby/jruby/issues/4293?utm_source=rubyweekly&utm_medium=email) news JRuby Team
- [Announcing Honeybadger’s New UI Improvements](http://blog.honeybadger.io/new-improvements-on-honeybadgers-user-interface/?utm_source=rubyweekly&utm_medium=email) news 
Including a snooze button for your alerts, and code snippets for every line of the backtrace. [Learn more.](http://blog.honeybadger.io/new-improvements-on-honeybadgers-user-interface/) HoneybadgerSponsored
- [Statistical Literacy and You: An Intro for Programmers](https://www.schneems.com/2016/11/14/statistical-lit.html?utm_source=rubyweekly&utm_medium=email) tutorial Richard Schneeman
- [Opal on Rails: Replacing CoffeeScript with Client-Side Ruby](https://bulldogjob.pl/articles/261-opal-on-rails-replacing-coffeescript-with-client-side-ruby?utm_source=rubyweekly&utm_medium=email) tutorial BulldogJob
- [Testing Rake Tasks with RSpec Feature Specs](http://chriswoodford.posthaven.com/testing-rake-tasks-with-rspec-feature-specs?utm_source=rubyweekly&utm_medium=email) tutorial Chris Woodford
- [Fun with Operator Precedence and Conditionals](http://blog.codosaur.us/2016/11/x-x-wtf.html?utm_source=rubyweekly&utm_medium=email) tutorial 
x == x = WTF? Dave Aronson
- [Rewriting Ruby with synvert](https://thomasleecopeland.com/2016/11/17/rewriting-ruby-with-synvert.html?utm_source=rubyweekly&utm_medium=email) tutorial 
synvert is a DSL for converting Ruby code/syntax. Tom Copeland
- [Keep Your Global Namespace Clean with Sacrificial Test Classes](http://blog.bitwrangler.com/2016/11/10/sacrificial-test-classes.html?utm_source=rubyweekly&utm_medium=email) tutorial Ken Mayer
- [Progressive Web Apps on Rails](https://rossta.net/blog/make-your-rails-app-a-progressive-web-app.html?utm_source=rubyweekly&utm_medium=email) tutorial 
PWAs are all the rage. Here’s how to bring Rails to the PWA party. Ross Kaffenberger
- [Setting Up a New Rails Dev Environment on macOS](https://www.driftingruby.com/episodes/getting-started-ruby-on-rails-development-environment?utm_source=rubyweekly&utm_medium=email) tutorial 
A new 8 minute video covering useful tools like Homebrew, ZSH, Atom, and RVM. Drifting Ruby
- [Constraints Only Work If They Hurt](https://m.signalvnoise.com/constraints-only-work-if-they-hurt-2cde43453d7e?utm_source=rubyweekly&utm_medium=email) opinion David Heinemeier Hansson
- [Lightning-fast SSD Hosts for Your Ruby Project](https://welcome.linode.com/ruby-weekly/?utm_source=cooperpress&utm_medium=sponsored&utm_term=ruby&utm_campaign=ruby-weekly) tools 
Host Ruby 2.3.0 projects on Linode servers - the fastest cloud hosts available. Use promo code RUBY20 and get $20 credit. linodeSponsored
- [Announcing Snyk for Ruby: Find Vulnerabilities in Your Gem Dependencies](https://snyk.io/blog/welcome-ruby-users/?utm_source=rubyweekly&utm_medium=email) tools Snyk
- [Hanami v0.9.0: A Modern Web Framework for Ruby](http://hanamirb.org/blog/2016/11/15/announcing-hanami-090.html?utm_source=rubyweekly&utm_medium=email) code 
New hanami-model engine based on ROM. Luca Guidi
- [Wayback Machine Downloader: Download An Entire Site from Wayback Machine](https://github.com/hartator/wayback-machine-downloader?utm_source=rubyweekly&utm_medium=email) code hartator
- [Flammarion: A Nifty Ruby GUI Toolkit](https://github.com/zach-capalbo/flammarion#screenshots--samples?utm_source=rubyweekly&utm_medium=email) code 
Aimed at displaying bits of information easily. Uses Chrome or Electron. Zachary Capalbo
- [Whitewidow: An Open Automated SQL Vulnerability Scanner](https://github.com/Ekultek/whitewidow?utm_source=rubyweekly&utm_medium=email) code Thomas Perkins

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

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