RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: forms xFree Episodes x
Cropping Images
Episode #182Oct 05, 2009144 comments

Cropping Images

Present a slick user interface for cropping image attachments using Jcrop and Paperclip. (14 minutes)
Validations in Rails 3
Episode #211Apr 26, 201059 comments

Validations in Rails 3

Rails 3 offers several new additions to validations. Here learn how to make a custom error_messages partial, reflect on validations, and clean up complex validations in a model. (9 minutes)
Customizing Devise
Episode #210Apr 19, 201074 comments

Customizing Devise

Here we dive deeper into Devise by customizing how the views, routing, validations, and authentication works. (7 minutes)
ERB Blocks in Rails 3
Episode #208Apr 05, 201060 comments

ERB Blocks in Rails 3

Blocks in ERB templates are handled differently in Rails 3.0 Beta 2. Learn all about it in this episode. (9 minutes)
Anonymous Scopes
Episode #112Jun 02, 200870 comments

Anonymous Scopes

The scoped method allows you to generate named scopes on the fly. In this episode I show how to use anonymous scopes to improve the conditional logic which was used in the previous episode on advanced search form. (8 minutes)
Searchlogic
Episode #176Aug 24, 200996 comments

Searchlogic

Searchlogic makes searching models easier than ever with its assortment of named scopes. In this episode I show you how to create simple and advanced searches. (13 minutes)
Authlogic
Episode #160May 04, 2009127 comments

Authlogic

Authentication can get very complex. In this episode I show how Authlogic can handle this complexity while you stay in control of how it is presented to the user. (14 minutes)
Formtastic Part 2
Episode #185Oct 26, 200974 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)
Polymorphic Association
Episode #154Mar 23, 2009125 comments

Polymorphic Association

Polymorphic associations can be perplexing. In this episode I show you how to set it up in Active Record and then move to the controller and view layer. (8 minutes)
Paperclip
Episode #134Nov 03, 2008158 comments

Paperclip

Need to add image attachments to a model? See how with paperclip in this episode. (7 minutes)