Keep Your Queries DRY with Eager Loading

The N + 1 query problem can be very tricky to deal with or even find because you won't be typically dealing with a lot of data in development mode...

Aug 01, 2014 on Rails Ruby Performance  1

Using Redis for Autocompletion on Rails

For a website that has search functionality, you might want to have autocompletion, so when the user starts typing it automatically pops up suggestions...

Sep 30, 2014 on Rails Redis Performance  0

Caching Rails Views

"There are only two hard things in Computer Science: cache invalidation, naming things, and off-by-one errors...

Jan 13, 2015 on Rails Performance Caching  0