forms episodes

#198
Jan 25, 2010

Edit Multiple Individually

Use checkboxes to edit multiple records in one form, where each one has an individual set of form fields.
Tags: views forms
Download (33.6 MB, 13:53)
alternative download for iPod & Apple TV (19.8 MB, 13:53)
#197
Jan 18, 2010

Nested Model Form Part 2

Add and remove nested model fields dynamically through JavaScript using either Prototype or jQuery.
Tags: forms views
Download (20.2 MB, 12:40)
alternative download for iPod & Apple TV (15.9 MB, 12:40)
#196
Jan 11, 2010

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.
Download (22.4 MB, 11:09)
alternative download for iPod & Apple TV (15.2 MB, 11:09)
#185
Oct 26, 2009

Formtastic Part 2

Learn about some of the more advanced functionality of Formtastic including handling many-to-many associations, required fields, and styling.
Download (19.7 MB, 9:11)
alternative download for iPod & Apple TV (12.6 MB, 9:11)
#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)
#178
Sep 07, 2009

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.
Download (22.2 MB, 14:53)
alternative download for iPod & Apple TV (16.9 MB, 14:53)
#167
Jun 22, 2009

More on Virtual Attributes

Use a virtual attribute to implement a simple tagging feature. In this episode I show you how to assign virtual attributes through a callback instead of a setter method.
Tags: models forms
Download (12.4 MB, 7:44)
alternative download for iPod & Apple TV (8.4 MB, 7:44)
#165
Jun 08, 2009

Edit Multiple

Use checkboxes to select multiple records and edit them all in one form as shown in this episode. With virtual attributes you can even edit values relatively!
Download (27.7 MB, 14:26)
alternative download for iPod & Apple TV (17.7 MB, 14:26)
#102
Apr 21, 2008

Auto-Complete Association

Usually a select menu is used for setting a belongs_to association, but in this episode I will show you how to use a text field with auto completion.
Tags: ajax forms
Download (20.3 MB, 13:29)
alternative download for iPod & Apple TV (15.6 MB, 13:29)
#88
Jan 13, 2008

Dynamic Select Menus

See how to dynamically change a select menu based on another select menu using Javascript. In this episode everything is kept client side which leads to a more responsive user interface.
Tags: forms views ajax
Download (18.1 MB, 7:02)
alternative download for iPod & Apple TV (10.9 MB, 7:02)

Next Page >

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