#403 Dynamic Forms pro
Learn how to add fields to a form dynamically using another form, complete with custom field types. It's fieldception!
- Download:
- source codeProject Files in Zip (66 KB)
- mp4Full Size H.264 Video (25 MB)
- m4vSmaller H.264 Video (14 MB)
- webmFull Size VP8 Video (18.7 MB)
- ogvFull Size Theora Video (27.9 MB)
Form Objects
Models have a tendency to become a complex mess as an application grows. In this episode you will learn a couple of techniques to extract form-behavior out into its own class.
(18 minutes)
Model Caching (revised)
Caching at a low level is a great option when the view is too dynamic to cache and you need something flexible that can work anywhere in the application. Here I show a variety of ways to use Rails.cache with Active Record.
(12 minutes)
Handling Exceptions (revised)
By default, Rails will render a static error file when an exception occurs in production. Here you will learn how to fully customize this behavior and render dynamic error pages.
(11 minutes)
Ember Part 2
Here we continue our look into Ember.js. First we add a JSON API to persist the entries through ember-data. Then we finish up the project by adding a computed property and a view object.
(14 minutes)
Edit Multiple (revised)
Editing one record at a time can be tedious work. Here you will learn three different ways to edit multiple records at once using checkboxes.
(15 minutes)