RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: migrations xPerformance x
Zero-Downtime Deployment
Episode #373 – Aug 09, 2012 – 69 comments

Zero-Downtime Deployment

Here I show how to accomplish zero-downtime deployment using Unicorn. I also cover gotchas when working with migrations and how to put up a maintenance page when you do need to take down the site. (12 minutes)
Autocomplete Search Terms
Episode #399 – Dec 31, 2012 – 90 comments

Autocomplete Search Terms

Learn how to add autocompletion to a search form and improve performance using Rack middleware, caching and switching from SQL to Redis. (17 minutes)
JRuby Basics
Episode #376 – Aug 30, 2012 – 81 comments

JRuby Basics

JRuby is a polished and stable Ruby implementation. Here I show the basics of setting it up and executing Java from within Ruby. I also see how it compares with MRI at running threads. (10 minutes)
Bullet
Episode #372 – Aug 09, 2012 – 60 comments

Bullet

Bullet will notify you of database queries that can potentially be improved through eager loading or counter cache column. A variety of notification alerts are supported. (6 minutes)
Counter Cache Column
Episode #23 – Apr 25, 2007 – 69 comments

Counter Cache Column

If you need to display the record count for a has_many association, you can improve performance by caching that number in a column. (7 minutes)