| Advanced model interaction |
11:26 |
| Judicious model use |
02:27 |
|
| 10. Working with Databases |
|
| Setting up for this chapter |
01:30 |
| Switching back to our database |
03:56 |
| Basic SQL syntax |
04:20 |
| Using SQL syntax |
05:31 |
| Finding records in Rails |
08:27 |
| Using conditions to find specific records |
07:37 |
| Ordering found records |
02:19 |
| Limiting found records |
02:46 |
| Finding a single record |
07:48 |
| Using parameters to find records |
05:10 |
| Creating and saving records |
05:29 |
| Submitting forms to the database |
11:17 |
| Updating records |
06:05 |
| Deleting records |
03:46 |
| Validating database data |
08:21 |
|
| 11. Building an Application, Pt. 1: Working with Multiple Databases |
|
| Blueprinting your application |
06:44 |
| Preparing databases |
07:34 |
| Relating databases: One-to-many |
04:07 |
| Creating a relationship |
09:10 |
| Generating your own scaffold |
02:58 |
| The Flash hash |
04:30 |
| Partials |
02:26 |
| CRUD and relational databases |
12:43 |
| Relating databases: Many-to-many (simple) |
04:26 |
| Creating a simple join table |
15:13 |
| Relating databases: Many-to-many (rich) |
03:16 |
| Creating a rich join table |
03:57 |
|
| 12. Building an Application, Pt. 2: Creating Interfaces |
|
| Building the admin area |
07:23 |
| Finishing the admin area |
05:14 |
| Designing the public area |
06:54 |
| Adding images |
02:51 |
| Cycle and zebra-striping |
02:29 |
| Formatting dates and times |
04:26 |
| Helpers: Built-in and custom |
04:41 |
|
| 13. Building an Application, Pt. 3: Adding a Shopping Cart |
|
| Building a shopping cart |
10:03 |
| Cookies and sessions |
07:14 |
| Creating a ''before'' filter |
02:24 |
| Adding items to the cart |
06:06 |
| Emptying the cart |
03:41 |
|
| 14. Building an Application, Pt. 4: Finishing Your Application |
|
| Layouts |
05:10 |
| Sending values to layouts |
03:58 |
| Building a checkout form |
02:32 |
| Handling payments |
06:40 |
| Using stylesheets |
04:20 |
|
| 15. Building an Application, Pt. 5: Regulating User Access |
|
| Setting up encrypted passwords |
06:44 |
| Logging in users |
03:30 |
| Regulating user access |
06:37 |
|
| 16. Deploying Your Application |
|
| Deploying your application |
03:17 |
|
| Conclusion |
|
| Goodbye |
00:49 |
|