Ruby weekly Issue 313
Faster Ruby via a Deoptimization Engine for MRI
This is only a pull request discussion, but hints at forthcoming performance improvements for Ruby 3. A ‘deoptimization engine’ would allow MRI to heavily optimize and JIT compile code but then revert optimizations when more advanced Ruby features are used. More discussion on Hacker News.
Rack::App: A Minimalist Framework for Building Rack Apps
A Sinatra-inspired framework being used in production to run microservices on Heroku.
Slashdot Interview with David Heinemeier Hansson
DHH explains where the name ‘Rails’ came from, what software he uses (his editor is TextMate 2), and why he still loves Ruby.
Run lightning fast and (boringly) stable production apps
Your users want to experience a fast app on each visit. AppSignal helps you inspect and improve the performance of your app, from simply viewing average performance to using our powerful custom metrics platform, and everything in between.
The Journey of a Rails Request
Explores the various steps of a Rails request. This covers Rack, the router, your controller code, and the response.
How to Reduce Controller Bloat with Interactors
A thorough walk through using the Interactor Pattern to reduce the size and responsibility of your controllers.
An Introduction to Rails i18n
How to add support for internationalization in a Rails app, where to store translations, what localized views are, how to format dates and times, etc.
Managing ActiveRecord Connections with Octoshark
Octoshark is an ActiveRecord connection manager that provides connection switching mechanisms for scenarios involving master-slave, sharding or multi-tenant architecture.
Jobs
Sr. JavaScript / Ruby DeveloperSticker Mule is looking for passionate engineers to join our remote team. Come help us build the best e-commerce experience using Ruby, Rails, React, Node, Docker and more. STICKER MULE
SuitePad is looking for a Ruby on Rails WizardJoin our team of international frontend and backend engineers developing a mobile web application for the hotel industry. You are an experienced Ruby on Rails developer looking for a new challenge in Berlin? Then we’d like to get in touch. SUITEPAD
Stop Applying to Jobs - Let Companies Come To YouOn Hired, engineers typically get 5+ job offers in 1 week. Find that new opportunity you've been craving and get access to 4,000+ companies instantly. HIRED. COM
In brief
ConFoo Montreal 2017 is Looking for Ruby Speakers NEWS RUBY-LANG. ORG
Rails 5 Disables Autoloading in Production Environments NEWS SHAILESH KALAMKAR
Forgotten Rails App? CodeCare helps you maintain those apps you don't quite have the time for anymore. . . REINTERACTIVE SPONSORED
How to Configure Your Rails App to Silence Asset Request Logging TUTORIAL ROSS KAFFENBERGER
Making A Rails Health Check That Doesn't Hit The Database TUTORIAL NICK MALCOLM
Efficiently Building Docker Containers for Production TUTORIAL PHUSION
Managing Private Dependencies with Bundler TUTORIAL DANIEL P. CLARK
Add Methods to a Scope with ActiveRecord. extending TUTORIAL A little-known ActiveRecord feature. KAROL GALANCIAK
Speed Up Large Data Rendering in Rails with Clusterize. js TUTORIAL NATHANIAL ROWE
Replace RSpec Controller Specs with Request Specs TUTORIAL AARON SUMNER
Create Form Objects Using Rails Conventions TUTORIAL Creating and customizing form objects whilst adhering to Rails’ conventions. SHUBOX
An Introduction to Elixir Via Comparisons to Ruby TUTORIAL TUTE COSTA
Migrating from delayed_job to Sidekiq STORY AMIT PATEL
Can a Bignum Bit Array Beat the 'bitarray' Gem? OPINION A comparison of the gem to a standard lib implementation. NITHIN BEKAL
The Ruby Gems I'd Rather Not Live Without OPINION There are thousands of Ruby gems out there, each one built to solve a specific problem — Sean details his staples. SEAN OLDHAM
Tech Book Face Off: Design Patterns in Ruby vs. Practical Object-Oriented Design in Ruby OPINION SAM KOBLENSKI
Get a report on your code quality and test coverage TOOLS Learn how your application compares to others. Connect with GitHub or BitBucket and we'll build a report for you. AGILE AS A SERVICE SPONSORED
mruby-cli: Utility to Set Up a CLI with mruby on Linux, OS X and Windows TOOLS TERENCE LEE
Traver: A New Test Data Generation Framework CODE More concise than the FactoryGirl approach. YURI KASPEROVICH
Uniqueness: A Better 'has_secure_token' CODE If you’re using token authentication, you’ll want to see this gem. EVENTTUS
Protected Attributes Continued: Rails 5-Ready Protected Attributes CODE A community continued version of ‘protected_attributes’. WESTON GANGER