Tutorials



How to Improve ActiveRecord Performance with Subquery Caching
Slow database queries are a common performance bottleneck for Ruby on Rails apps. Simplifying a complex query is often not possible due to the underlying business logic. Instead, you can extract parts of a query, cache and reuse them to improve pe...

How to Test Ruby Code That Depends on External APIs
Few things are more frustrating than slow, flaky test suites. You're ready to deploy, wait 20 minutes for CI to run, only to find that a test failure in code you've never touched is blocking you. You dig into the source and find the problem: an ex...




Deploying a Ruby application - Apache - Passenger Library
This guide teaches you how you can deploy your app to a server. This guide assumes that you have already done the following, and that you know how to do them:Passenger and Apache are already installed on the server.You have already transferred the...
