---
title: "Ruby 2.6 Preview Released"
publication: "Ruby Weekly"
issue: 388
published_at: "2018-03-01"
canonical_url: "https://rubyweekly.com/issues/388"
---

Ruby 2.6 Preview Released

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

Ruby WeeklyIssue 388 — March 1, 2018

Yui Naruse[Ruby 2.6 Preview 1 Released](https://www.ruby-lang.org/en/news/2018/02/24/ruby-2-6-0-preview1-released/)Always exciting to see a preview release of a new version of Ruby, especially since 2.6 introduces an initial implementation of the performance-boosting MJIT compiler that we’ve mentioned a [few](https://medium.com/@k0kubun/the-method-jit-compiler-for-ruby-2-6-388ee0989c13) [times](https://medium.com/square-corner-blog/rubys-new-jit-91a5c864dd10) [recently.](https://www.johnhawthorn.com/2018/02/playing-with-ruby-jit-mjit/)


Mike Perham[Ruby Optimization with One Magic Comment](https://www.mikeperham.com/2018/02/28/ruby-optimization-with-one-magic-comment/)Mike Perham of Sidekiq fame explains how freezing your strings can help performance quite a bit and how Ruby 2.3+ can help make this easier.


CodeshipSponsored[A Roundup of Managed Kubernetes Platforms](https://resources.codeship.com/ebooks/managed-kubernetes-platforms-aw?utm_source=email-sponsorship&utm_medium=cpc-ruby-weekly-primary&utm_campaign=managed-kubernetes-platforms)In the race of container orchestrators, Kubernetes is surging ahead. However, people are often stuck on the step of getting their infrastructure to production. Get an overview of Managed Kubernetes Platforms and their basic features.

[![Codeship\](https://copm.s3.amazonaws.com/d416a14d.png)](https://resources.codeship.com/ebooks/managed-kubernetes-platforms-aw?utm_source=email-sponsorship&utm_medium=cpc-ruby-weekly-primary&utm_campaign=managed-kubernetes-platforms)


Martian Chronicles[Clowne: Clone Ruby Models With a Smile](https://evilmartians.com/chronicles/clowne-clone-ruby-models-with-a-smile)A clean way to easily duplicate models that pulls the good bits from several other gems.


Paweł Dabrowski[Build Your Own RSpec: A Gentle Metaprogramming Intro](http://pdabrowski.com/blog/ruby-on-rails/testing/build-your-own-rspec/)Create `describe`, `it`, `expect`, and other RSpec-like methods in your own mini DSL.


RubyGems Blog[Rubygems.org TLS 1.0 and 1.1 Deprecation Notice](https://blog.rubygems.org/2018/02/24/tls-10-and-11-deprecation-notice.html)Won’t affect many but worth knowing, especially if you have any servers with old versions of Ruby and OpenSSL running (e.g. Ruby 1.9 on Ubuntu 12.04 or something).


Jobs

- [Sr. Software Engineer (Full stack) - Finance Applications](https://jobs.netflix.com/jobs/865941?utm_source=rubyweekly&utm_medium=email)Join the Netflix Finance Tech team, and help build modern applications to support our global finance team. NETFLIX
- [Want to Work with Engineers Who Read Ruby Weekly?](https://detective-labs.breezy.hr/p/da041b2db095-software-engineer?source=20180301-ruby-weekly)We're hiring our 5th engineer in Chicago to help build our platform of automation based sales tools. We use Rails, React & Redux. Detective.io
- [Looking For A New Ruby Job?](https://underdog.io/?utm_medium=advertisement&utm_source=rubyweekly&utm_campaign=homepage2018-mar-1&utm_content=new-job)Try Underdog.io, where hundreds of the best tech companies go to meet top Ruby engineers. Companies email you directly as soon as next Monday. Underdog.io

In brief

- [Rubyhack Conference (Salt Lake City, May 3-4, 2018)](http://rubyhack.com/?utm_source=rubyweekly&utm_medium=email) news 
An amazing speaker lineup and early bird ends today.
- [Passenger 5.2.1 Released](https://blog.phusion.nl/2018/02/27/passenger-5-2-1/?utm_source=rubyweekly&utm_medium=email) news 
Fixing some key regressions. Phusion
- [The 13 Ruby Conferences You Cannot Miss in 2018](https://www.engineyard.com/blog/the-13-ruby-conferences-you-cannot-miss-in-2018?utm_source=rubyweekly&utm_medium=email) news Engine Yard
- [Four Continuous Delivery Metrics that Improve Your Pipeline](https://www.gocd.org/2018/01/31/continuous-delivery-metrics/?utm_campaign=cd_metrics_blog&utm_medium=email&utm_source=cooperess_ruby&utm_content=cd_metrics_blog&utm_term=) 
This blog is based on our user research with developers, operations teams, business stakeholders, and people at every intersection of DevOps. GoCDSponsored
- [Active Record Associations Without Foreign Keys](https://thomasleecopeland.com/2018/02/28/associations-without-foreign-keys.html?utm_source=rubyweekly&utm_medium=email) tutorial Tom Copeland
- [Deploying a Rails App on Kubernetes with HAProxy Ingress, Unicorn/Puma and WebSockets](https://blog.bigbinary.com/2018/02/28/using-haproxy-ingress-with-rails-uniconrn-and-websockets.html?utm_source=rubyweekly&utm_medium=email) tutorial 
Lots of parts brought together in one place here. Rahul Mahale
- [Quick Tip: Using Rack-Proxy](https://www.mayerdan.com/ruby/2018/02/26/rack-proxy-tour?utm_source=rubyweekly&utm_medium=email) tutorial Dan Mayer
- [Optimizing Rails with Caching and Rack Middleware](https://pawelurbanek.com/2018/02/05/optimize-rails-performance-bottleneck-with-caching-and-rack-middleware/?utm_source=rubyweekly&utm_medium=email) tutorial 
Maybe you’ll improve your performance 500% like the author did. Paweł Urbanek
- [How to Use Algolia Without Coupling to ActiveRecord::Base](https://blog.arkency.com/how-to-use-algolia-without-coupling-to-activerecord-base/?utm_source=rubyweekly&utm_medium=email) tutorial 
Algolia is a third-party search service/API. Robert Pankowecki
- [How To Parse Command Line Options with OptionParser](https://readysteadycode.com/howto-parse-command-line-options-with-ruby-optparse?utm_source=rubyweekly&utm_medium=email) tutorial Tim Craft
- [Quick Tip: Temporarily Disabling 'Touching' in ActiveRecord](https://karolgalanciak.com/blog/2018/02/25/rails-quick-tips-temporarily-disabling-touching-with-activerecord-dot-no-touching/?utm_source=rubyweekly&utm_medium=email) tutorial Karol Galanciak
- [Ajax on Rails with Unobtrusive JavaScript](https://www.engineyard.com/blog/ajax-on-rails-with-unobtrusive-javascript?utm_source=rubyweekly&utm_medium=email) tutorial Christopher Rigor
- [A Better Dependencies Badge for Your Repo](https://depfu.com/blog/rethinking-the-dependencies-badge?utm_source=rubyweekly&utm_campaign=brief&utm_content=badge) DepfuSponsored
- [The Ruby Advisory Database: A Database of Vulnerable Gems](https://github.com/rubysec/ruby-advisory-db?utm_source=rubyweekly&utm_medium=email) tools Rubysec
- [One-Click Install and Deploy Ruby on Rails - 60-day for Free](https://try.digitalocean.com/virtual-private-servers/?utm_source=paid_newsletter+ruby+weekly&utm_medium=display&utm_campaign=PricePerf+dr+free+newsletter+trial&utm_content=3-1-2018+ruby+weekly+cooperpress) tools DigitalOceanSponsored
- [Hanami v1.2.0.beta1: A Fast Ruby Web Framework](http://hanamirb.org/blog/2018/02/28/announcing-hanami-120beta1.html?utm_source=rubyweekly&utm_medium=email) code 
Adds HTTP/2 Early Hints and unobtrusive JavaScript support. Luca Guidi
- [Steep: Gradual Typing for Ruby](https://github.com/soutaro/steep?utm_source=rubyweekly&utm_medium=email) code Soutaro Matsumoto
- [Globalize: Rails I18n Library for ActiveRecord](https://github.com/globalize/globalize?utm_source=rubyweekly&utm_medium=email) code
- [image_optim: Optimize Images Using Multiple Utilities](https://github.com/toy/image_optim?utm_source=rubyweekly&utm_medium=email) code 
Based on the [ImageOptim app](https://imageoptim.com/mac), optimizes images with compression and metadata removal. Ivan Kuchin

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)

[Stop getting Ruby Weekly](*|UNSUB|*) | [Change email address](*|UPDATE_PROFILE|*) | [Read this issue on the Web](http://rubyweekly.com/issues/388)

© Cooperpress Ltd, Fairfield Enterprise Centre, Louth, LN11 0LS, UK
[Email policy](https://cooperpress.com/spam.html) [Privacy policy](https://cooperpress.com/privacy.html)
