#73
Oct 01, 2007

Complex Forms Part 1

Complex forms often lead to complex controllers, but that doesn't have to be the case. In this episode see how you can create multiple models through a single form while keeping the controller clean.
Download (13.5 MB, 8:05)
alternative download for iPod & Apple TV (10.1 MB, 8:05)
#75
Oct 15, 2007

Complex Forms Part 3

In this third and final episode on complex forms I will show you how to edit a project and multiple tasks all in one form. This includes removing and adding tasks dynamically as well. See the show notes for updated code.
Download (25.7 MB, 16:11)
alternative download for iPod & Apple TV (20.5 MB, 16:11)
#74
Oct 08, 2007

Complex Forms Part 2

See how to use Javascript and RJS to add and remove form fields dynamically. This episode will build upon the previous episode allowing you to create any number of tasks in one form the same time a project is created.
Tags: forms ajax views
Download (13.7 MB, 8:54)
alternative download for iPod & Apple TV (11 MB, 8:54)
#184
Oct 19, 2009

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.
Download (19.7 MB, 10:41)
alternative download for iPod & Apple TV (12.7 MB, 10:41)
#211
Apr 26, 2010

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.
Download (14.4 MB, 9:53)
alternative download for iPod & Apple TV (14.3 MB, 9:53)

sponsored by:
if you want to help:
required:
Get Quicktime Player
Give Back to Open Source