RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Pro Episodes x
Authorization from Scratch Part 1
Episode #385Oct 07, 201282 comments

Authorization from Scratch Part 1

Authorization can be difficult to implement and test because it often involves complex logic that exists throughout the entire app. Here I demonstrate how to test and implement authorization from scratch. (15 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)
jQuery File Upload
Episode #381Sep 21, 2012167 comments

jQuery File Upload

Here you will learn how to upload multiple files over ajax using jQuery File Upload. I start with the basic functionality and customize it to fit the user interface. (13 minutes)
Memcached & Dalli
Episode #380Sep 12, 201283 comments

Memcached & Dalli

Memcached is an excellent cache store, and Dalli is the best way to interact with it through Ruby. Here I show various ways to use Memcached in a Rails app including how to set it up in production. (12 minutes)
Template Handlers
Episode #379Sep 04, 201267 comments

Template Handlers

Here I will demonstrate creating two template handlers. One for Ruby which is great for JSON or CSV formats. Another for interpreting Markdown which is useful for informational content. (12 minutes)
Trinidad
Episode #377Aug 30, 201271 comments

Trinidad

Trinidad is designed to serve JRuby web applications and gives you the power of Java while still keeping the feel of traditional Rails deployment. Here I show how to setup a Capistrano recipe, configure it, and more. (15 minutes)
Monit
Episode #375Aug 16, 201265 comments

Monit

Monit can help ensure your Rails app stays up and running smoothly. Here I show how to set it up, receive alerts, and keep tabs on it through a web interface. (16 minutes)
Zero-Downtime Deployment
Episode #373Aug 09, 201269 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)
Strong Parameters
Episode #371Aug 03, 201275 comments

Strong Parameters

The strong_parameters gem is an improvement over attr_accessible to securely handle mass assignment even when you have complex authorization logic. The functionality will likely be added to Rails 4 so it is a good idea to learn how it works. (12 minutes)
Client-Side Performance
Episode #369Jul 24, 201260 comments

Client-Side Performance

Optimizing Rails performance can only take you so far. The client-side plays a big part in how fast a page feels. Here I show many tools that can help make your apps faster than ever. (14 minutes)