RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources xRevised Episodes x
Debugging Ruby (revised)
Episode #54 – Apr 07, 2012 – 57 comments

Debugging Ruby (revised)

This episode will show you how to debug a rails app using the "debugger" gem: set a breakpoint, inspect variables and change the executed code at runtime. (7 minutes)
Hackers Love Mass Assignment (revised)
Episode #26 – Mar 08, 2012 – 66 comments

Hackers Love Mass Assignment (revised)

One of the most common security issues in a Rails application is the mass-assignment vulnerability which allows a user to set any attribute on the model. Learn how to prevent it in this episode. (6 minutes)
SimpleForm (revised)
Episode #234 – Mar 03, 2012 – 62 comments

SimpleForm (revised)

Easily generate complex forms with SimpleForm. Here I show how to convert bulky markup into a concise list of fields, customize it by passing options, and add error handling. (9 minutes)
Bundler (revised)
Episode #201 – Mar 16, 2012 – 58 comments

Bundler (revised)

Bundler makes it easy to manage Ruby Gem dependencies. Learn how to use it in a Rails application, see what's new in Bundler 1.1, convenient ways to run bundle exec, and how to fix gem compilation issues. (9 minutes)
Fragment Caching (revised)
Episode #90 – Feb 18, 2012 – 65 comments

Fragment Caching (revised)

If you need to cache a certain section of a page instead of the entire page, fragment caching is the way to go. Learn how caching is stored, how to create auto expiring caches, and more. (9 minutes)
Auto-Complete Association (revised)
Episode #102 – Nov 10, 2011 – 76 comments

Auto-Complete Association (revised)

A select menu is often used for setting a belongs_to association, but you should also consider using a text field with autocomple. Here I use jQuery UI and show two different solutions: client side and server side. (9 minutes)
Dynamic Page Caching (revised)
Episode #169 – Feb 11, 2012 – 63 comments

Dynamic Page Caching (revised)

Page caching is great for speeding up the performance of a page, but what if it contains user-specific content? Learn how to load content in dynamically through JavaScript in this episode. (7 minutes)
PDFs with Prawn (revised)
Episode #153 – Nov 03, 2011 – 82 comments

PDFs with Prawn (revised)

Prawn is an excellent Ruby library for generating PDF documents. Here you will learn how to add it to a Rails application through a separate PDF renderer class. (11 minutes)
Delayed Job (revised)
Episode #171 – Jan 07, 2012 – 62 comments

Delayed Job (revised)

Long requests should be moved into a background process, and Delayed Job is one of the easiest ways to do this because it works with an Active Record database. (8 minutes)
Rails Metal (revised)
Episode #150 – Jan 27, 2012 – 45 comments

Rails Metal (revised)

Rails metal may have been removed in Rails 3, but it is possible to bypass the entire Rails stack through middleware as shown in this episode. (6 minutes)