
Remember when you were a kid, and you bought those omnibus double edition comics? How magical reading them was? We won't pretend this will be as unforgettable, but we do think we've put together a nice extra-chunky Best-of AppSignal Academy selection for you to read at the beach, the park, or just on a lazy Sunday, that will absolutely make your day.
Here are our top 5 hammock reads:
Custom Exceptions in Ruby
Almost everything in Ruby is an object and errors are no exception. #dadjokes
Ensuring Execution, Retrying Failures and Re-raising Exceptions in Ruby
Besides rescue
, Ruby has more ways to handle exceptions. We'll use the retry
and ensure
keywords as well as reraised exceptions to build a resilient web API client.
Ruby's Redo, Retry and Next Keywords
The post about retry
was super popular last holiday. Its little-known counterpart redo
works similarly, but reruns loop iterations instead of whole blocks.
ActiveRecord Performance: The N+1 Queries Anti-Pattern
Like squirrels in a summer forest, the N+1 queries problem is a common, but usually easy to spot nuisance, ehm, performance anti-pattern that's sometimes caused by lazy loading associations.
Russian Doll Caching in Rails
By nesting cache fragments, views are almost never rendered completely. Even when data changes, most of the rendered pages are served straight from the cache.
Enjoy!
Wondering what you can do next?
Finished this article? Here are a few more things you can do:
- Subscribe to our Ruby Magic newsletter and never miss an article again.
- Start monitoring your Ruby app with AppSignal.
- Share this article on social media
Most popular Ruby articles
Troubleshooting ActiveRecord Performance
You usually don't need to worry about AcriveRecord and its inner workings. This post comes in handy when performance issues arise and you have to start worrying about it.
See moreBuilding a Multi-tenant Ruby on Rails App With Subdomains
Discover different approaches to multitenancy and build a simple app with multiple tenants where each tenant will have its subdomain.
See moreBuilding a Rails App With Multiple Subdomains
Learn how to build a Rails app that can support multiple subdomains.
See more

Stefan Verkerk
Stefan often shares stories about his Mosaic script-kiddie years. Has been scaling startups since the 90s. Today, he does management and growth things at AppSignal. Has amazing Excel to SQL chops on his customized MacBook.
All articles by Stefan VerkerkBecome our next author!
AppSignal monitors your apps
AppSignal provides insights for Ruby, Rails, Elixir, Phoenix, Node.js, Express and many other frameworks and libraries. We are located in beautiful Amsterdam. We love stroopwafels. If you do too, let us know. We might send you some!
