RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: performance xPlugins x
MiniProfiler
Episode #368Jul 24, 2012107 comments

MiniProfiler

MiniProfiler allows you to see the speed of a request conveniently on the page. It also shows the SQL queries performed and allows you to profile a specific block of code. (9 minutes)
Full-Text Search in PostgreSQL
Episode #343Apr 17, 2012131 comments

Full-Text Search in PostgreSQL

Postgres offers full-text searching right out of the box. This episode shows how to write queries from scratch, apply tools like Texticle and pg_search, and optimize performance through indexes. (16 minutes)
Uploading to Amazon S3
Episode #383Sep 26, 2012182 comments

Uploading to Amazon S3

Here I show how to upload files directly to Amazon S3 using CarrierWave Direct and Fog. I then walk through another project which uses jQuery File Upload to handle multiple files and does not use CarrierWave. (14 minutes)
Testing JavaScript with PhantomJS
Episode #391Nov 07, 201284 comments

Testing JavaScript with PhantomJS

PhantomJS allows us to test JavaScript without going through a browser window. Here I show how to do this using Capybara and Poltergeist. I also give some tips on handling database transactions and skipping javascript tests. (10 minutes)
Sidekiq
Episode #366Jul 18, 201280 comments

Sidekiq

Sidekiq allows you to move jobs into the background for asynchronous processing. It uses threads instead of forks so it is much more efficient with memory compared to Resque. (10 minutes)
Delayed Job
Episode #171Jul 20, 200975 comments

Delayed Job

Is there a long running task which should be handled in the background? One of the best ways is using the delayed_job plugin like I show in this episode. (10 minutes)