RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Revised Episodes x
Nested Model Form (revised)
Episode #196Apr 19, 2012228 comments

Nested Model Form (revised)

Handling multiple models in a single form is easy with accepts_nested_attributes_for. Here you will also learn how to add and remove nested records through JavaScript. (11 minutes)
The Logger (revised)
Episode #56Apr 13, 201263 comments

The Logger (revised)

The log file will show what is going on behind the scenes of a Rails request. Learn how to log messages, add tags, override formatting, and more. (6 minutes)
Debugging Ruby (revised)
Episode #54Apr 07, 201257 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)
I18n (revised)
Episode #138Mar 29, 201279 comments

I18n (revised)

Translate a site into other languages through internationalization (I18n). Here I show how to store a locale in the URL and manage translated text through YAML files. (10 minutes)
Capistrano Tasks (revised)
Episode #133Mar 24, 201279 comments

Capistrano Tasks (revised)

Learn the basics of writing Capistrano tasks, how to set variables, and run commands on a remote server. Then peak into the internals of Capistrano's deploy tasks to see how they work. (10 minutes)
Bundler (revised)
Episode #201Mar 16, 201258 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)
Hackers Love Mass Assignment (revised)
Episode #26Mar 08, 201266 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 #234Mar 03, 201262 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)
Authentication from Scratch (revised)
Episode #250Feb 25, 2012100 comments

Authentication from Scratch (revised)

Simple password authentication is easy to do with has_secure_password. Here you will learn how to make a complete Sign Up, Log In, and Log Out process as well as restrict access to certain actions. (13 minutes)
Fragment Caching (revised)
Episode #90Feb 18, 201265 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)