---
title: "#367: Loading 1 Million Lines of Ruby in 5 Seconds"
publication: "Ruby Weekly"
issue: 367
published_at: "2017-09-21"
canonical_url: "https://rubyweekly.com/issues/367"
---

#367: Loading 1 Million Lines of Ruby in 5 Seconds

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

Ruby WeeklyIssue 367 — September 21, 2017

Marc Anguera Insa[Awesome Ruby: Curated List of Ruby Libraries and Tools](http://awesome-ruby.com/)It’s been over a year since we’ve linked to this epic, categorized collection of Ruby greatness, and it continues to be updated frequently.


Arkency Blog[How Mutation Testing Causes Deeper Thinking About Your Code](http://blog.arkency.com/constructor-for-a-included-module-in-ruby/)A brief tale about being surprised by mutation testing results and figuring out how to deal with it.


HoneybadgerSponsored[What happens when your code breaks in production?](https://www.honeybadger.io/?utm_source=rubyweekly&utm_medium=email&utm_campaign=ruby)If you have Honeybadger you'll be alerted with crucial details like the error location, the data being processed and the affected users. So you can deploy a fix quickly and get back to coding.

[![Honeybadger\](https://copm.s3.amazonaws.com/09dc8557.png)](https://www.honeybadger.io/?utm_source=rubyweekly&utm_medium=email&utm_campaign=ruby)


Stanislav Kozlovski[Crystal: The Ruby You’ve Never Heard of](https://hackernoon.com/crystal-the-ruby-youve-never-heard-of-57bad2efac9c)If you’ve read _Ruby Weekly_ for a while you probably _have_ heard of this statically compiled, Ruby-inspired language, but if not..


Irina Bednova[From Ruby to Go: What to Expect](https://www.youtube.com/watch?v=Z2sq1Fwadh4)An 18 minute overview of the differences from a seasoned Rubyist perspective. This may also be a good time to note [we have a Go newsletter](https://golangweekly.com/) as well :-)


Andrew Metcalf[How to Load 1 Million Lines of Ruby in 5 Seconds](https://www.youtube.com/watch?v=lKMOETQAdzs)A 30-minute talk from GORUCO on how Stripe reduced the time to boot a service by statically analyzing dependencies.


Aja Hammerly[Machine Learning Basics: K Nearest Neighbors](http://www.thagomizer.com/blog/2017/09/13/ml-basics-k-nearest-neighbors.html)The K Nearest Neighbors algorithm performs item classification based on existing classified data.


Vladimir Makarov[Towards Ruby 3x3 Performance [PDF\]](https://vmakarov.fedorapeople.org/VMakarov-RubyKaigi2017.pdf)Ruby 3x3 is the idea that Ruby 3 is aiming to be 3x faster than Ruby 2.x. These (very technical) slides cover some ideas for achieving this.


Jobs

- [Join the BackerKit Engineering Team](https://www.backerkit.com/jobs?utm_source=rubyweekly&utm_medium=email)BackerKit is the leading platform for creators that want to focus on creating. We're building a bunch of neat stuff, come join us. BackerKit
- [Senior Backend Engineer @ Capcom Beeline (Vancouver, Los Angeles)](https://bit.ly/cap-sep-job?utm_source=rubyweekly&utm_medium=email)Become a core member of our team. We are crafting the next-generation eSports platform for mobile games. Capcom Beeline
- [DevOps Engineer for a Distributed Messaging Platform](http://jobs.ably.io/o/devops-engineer-for-ablys-distributed-platform-remote-london?utm_source=rubyweekly&utm_medium=email)We’re solving complex distributed problems with significant infrastructure scale. If you enjoy challenging your grey matter, [apply](http://jobs.ably.io/o/devops-engineer-for-ablys-distributed-platform-remote-london). Ably realtime

In brief

- [Rails 4.2.10 RC1 Released](http://weblog.rubyonrails.org/2017/9/20/Rails-4-2-10-rc1-released/?utm_source=rubyweekly&utm_medium=email) news Official Rails Blog
- [Ruby Together's August 2017 Update](https://rubytogether.org/news/2017-09-19-august-2017-monthly-update?utm_source=rubyweekly&utm_medium=email) news 
Including news that [Reinteractive](https://reinteractive.com/posts/333-rubytogether-and-reinteractive) is supporting RT with a $60K sponsorship. Ruby Together
- [Webinar: How to Become a Performance Driven Engineer](https://www.vividcortex.com/resources/how-to-be-a-performance-driven-engineer?utm_campaign=Ruby%20Weekly&utm_source=ppc&utm_medium=Webinar%3A%20Performance%20Driven) VividCortexSponsored
- [Don't Call Us, We'll Call You: Sending Webhooks with Rails](https://benediktdeicke.com/2017/09/sending-webhooks-with-rails/?utm_source=rubyweekly&utm_medium=email) tutorial 
How to integrate your Rails app with anything that can provide a URL. Benedikt Deicke
- [Build Your Own Daily Fantasy Football Salary Tracker with Ruby and Twilio](https://twilioinc.wpengine.com/2017/09/daily-fantasy-football-salary-tracker-ruby-twilio-mms.html?utm_source=rubyweekly&utm_medium=email) tutorial Twilio
- [Use TTY::Command to Run External Processes in Ruby](https://bibwild.wordpress.com/2017/09/15/consider-ttycommand-for-all-your-external-processshell-out-needs-in-ruby/?utm_source=rubyweekly&utm_medium=email) tutorial Jonathan Rochkind
- [Cross-Site Scripting in Rails](https://brakemanpro.com/2017/09/08/cross-site-scripting-in-rails?utm_source=rubyweekly&utm_medium=email) tutorial 
How to mitigate XSS attacks in your Rails app. Brakeman Pro
- [DateTime#to_time and Time#to_time Preserve Timezone in Ruby 2.4+](https://blog.bigbinary.com/2017/09/19/to-time-preserves-time-zone-info-in-ruby-2-4.html?utm_source=rubyweekly&utm_medium=email) tutorial Big Binary
- [Composable RSpec Matchers](http://blog.arkency.com/composable-rspec-matchers/?utm_source=rubyweekly&utm_medium=email) tutorial 
A look at how in some cases it can be a good idea to compose multiple matchers together. Szymon Fiedler
- [Watch Out for This Ruby Blocks Scope Gotcha](https://medium.com/@apneadiving/watch-out-for-ruby-blocks-scope-gotcha-7f6850b8ba5e?utm_source=rubyweekly&utm_medium=email) tutorial 
Repeat: Blocks are a new scope. Benjamin Roth
- [Using Rails' MessageVerifier for Stateless Token Management](https://www.backerkit.com/blog/using-rails-messageverifier-for-stateless-token-management/?utm_source=rubyweekly&utm_medium=email) tutorial 
An alternative approach to sending out persisted tokens (like for resetting passwords). Simon Taranto
- [Slow CI build? Make it run in 2 minutes or less](https://semaphoreci.com/landers/boosters-rails?utm_source=rubyweekly&utm_medium=sponsoredlink&utm_campaign=semaphore-boosters-rubyweekly-20180921) 
Semaphore Boosters automatically parallelize large Rails test suites with split-second precision. SemaphoreSponsored
- [ezpaas-cli: A Miniature Docker-Powered Heroku Clone for In-House Deployments](https://github.com/TENDIGI/ezpaas-cli?utm_source=rubyweekly&utm_medium=email) tools 
It’s a work in progress but the author assures me it’s ripe for testing. TENDIGI
- [py2rb: An AST-Based Python to Ruby Code Translator](https://github.com/naitoh/py2rb?utm_source=rubyweekly&utm_medium=email) tools 
It’s written in Python. Naitoh Jun
- [Roda 3.0 Released: A Routing Tree Web Toolkit](https://groups.google.com/d/msg/ruby-roda/YqFyGx7Pirw/osE5x2kCAwAJ?utm_source=rubyweekly&utm_medium=email) code 
[GitHub repo](https://github.com/jeremyevans/roda). Jeremy Evans
- [Searchkick: Intelligent Search for Rails Apps](https://github.com/ankane/searchkick?utm_source=rubyweekly&utm_medium=email) code 
Uses Elasticsearch to provide ‘smart’ search that learns from what your users are searching for. Andrew Kane
- [“CircleCI 2.0 is fast. We reduced builds from minutes to 12 seconds.”](https://circleci.com/?utm_source=cooperpress&utm_medium=newsletter&utm_campaign=september&utm_content=ruby-weekly) CircleCISponsored

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

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