Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Applied Filters: Views x
XSS Protection in Rails 3
Episode #204Mar 08, 201031 comments

XSS Protection in Rails 3

It is easy to be vulnerable to cross site scripting attacks in earlier versions of Rails, but Rails 3 solves this by automatically escaping unsafe input. (8 minutes)
Mobile Devices
Episode #199Feb 01, 201065 comments

Mobile Devices

Change the look and behavior of a Rails app on mobile devices. Also use jQTouch to build a native-looking interface. (13 minutes)
Edit Multiple Individually
Episode #198Jan 25, 201042 comments

Edit Multiple Individually

Use checkboxes to edit multiple records in one form, where each one has an individual set of form fields. (13 minutes)
Nested Model Form Part 2
Episode #197Jan 18, 2010184 comments

Nested Model Form Part 2

Add and remove nested model fields dynamically through JavaScript using either Prototype or jQuery. (12 minutes)
Nested Model Form Part 1
Episode #196Jan 11, 2010143 comments

Nested Model Form Part 1

Handling multiple models in a single form is much easier with the accepts_nested_attributes_for method. See how to use this method to handle nested model fields. (11 minutes)
Embedded Association
Episode #189Nov 23, 200954 comments

Embedded Association

Learn how to set up a one-to-many or many-to-many association which is entirely embedded into a single column through a string or bitmask. (14 minutes)
Formtastic Part 2
Episode #185Oct 26, 200946 comments

Formtastic Part 2

Learn about some of the more advanced functionality of Formtastic including handling many-to-many associations, required fields, and styling. (9 minutes)
Formtastic Part 1
Episode #184Oct 19, 200948 comments

Formtastic Part 1

Formtastic is a concise way to generate form views. In this episode (part 1 of 2) I show how to generate both a simple form and a more complex one which is customized with options. (10 minutes)
7 Security Tips
Episode #178Sep 07, 200931 comments

7 Security Tips

Security is important! Here I show seven different security flaws which are common to Rails applications ranging from mass assignment to CSRF protection. (14 minutes)
Pagination with AJAX
Episode #174Aug 10, 200963 comments

Pagination with AJAX

Learn an easy, unobtrusive way to add AJAX functionality to an existing set of pagination links using jQuery. (13 minutes)