Contributions

Article
In Ruby Magic #14, we'll look into the difference between "slurping" and streaming files in Ruby. Along the way, we'll learn about I/O, and *how* Ruby reads files line by line without slurping the whole file content into memory.
Tutorial
Almost everything in Ruby is an object, and errors are no exception. Learn to create your own exceptions in AppSignal Academy.
Article
Running a read-heavy Rails blog? This episode of AppSignal Academy is all about ActiveRecord’s counter caches. Less queries, more callbacks!
Article
You might know the retry keyword. Its little-known counterpart redo works similarly, but reruns loop iterations instead of whole blocks.
Article
Did you know Turbolinks 5 is a pure-javascript library that works on any HTML page (even without Rails, like on static pages)? This week, AppSignal Academy is all about speeding up navigation in your apps.
Article
Besides rescue, Ruby has more ways to handle exceptions. We’ll use the retry and ensure keywords and reraised exceptions to build a resilient web API client.