RailsCasts show

RailsCasts

Summary: Every other week you will be treated to a new, free RailsCasts episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one technique so you can quickly move on to applying it to your own project. The topics are geared toward the intermediate Rails developer, but beginners and experts will get something out of it as well. A Pro option is also available containing more screencasts each week. This is the full resolution version, a lower reoslution for mobile devices is also available.

Podcasts:

 #31 Formatting Time | File Type: video/mp4 | Duration: 5:01

Learn how to use the trusty strftime method to format a time, and see how Rails allows you to save this format for later use.

 #30 Pretty Page Title | File Type: video/mp4 | Duration: 5:16

If you are like me, you avoid creating page titles because it is kind of a pain. But in this episode I will show you a clean way to add titles to your pages.

 #29 group_by Month | File Type: video/mp4 | Duration: 5:11

Learn how to use the very useful group_by method to group an array by anything you want! In this episode I group an array of tasks by month then sort it properly.

 #28 in_groups_of | File Type: video/mp4 | Duration: 4:25

Have you ever wanted to visually line up items in rows and columns? The in_groups_of method makes this a cinch. Just watch out for the gotcha.

 #27 Cross Site Scripting | File Type: video/mp4 | Duration: 5:50

Another common security issue is cross site scripting. In this episode you will see why it is so important to escape any HTML a user may submit.

 #26 Hackers Love Mass Assignment | File Type: video/mp4 | Duration: 6:14

Your site may be at risk! When using mass assignment, you are giving the user complete control over that model and its associations. See how a hacker might use this vulnerability and learn how to stop it in this episode.

 #25 SQL Injection | File Type: video/mp4 | Duration: 5:29

One of the most common security problems for dynamic sites is SQL Injection. Thankfully Rails does everything it can in solving this issue, but you still need to be aware of it.

 #24 The Stack Trace | File Type: video/mp4 | Duration: 4:39

The stack trace can be a very useful tool when it comes to debugging. Learn the ins and outs of how the stack trace works in this episode. Note: I am using an older version of the Rails bundle here so it might be a little different than yours. The command in the newer version is called Install Plugin and requires you to type textmate_footnotes in the search.

 #23 Counter Cache Column | File Type: video/mp4 | Duration: 7:18

If you need to display the record count for a has_many association, you can improve performance by caching that number in a column.

 #22 Eager Loading | File Type: video/mp4 | Duration: 4:37

One way to improve performance is to cut down on the number of SQL queries. You can do this through eager loading. Learn all about it in this episode!

 #21 Super Simple Authentication | File Type: video/mp4 | Duration: 6:41

The final piece of the administration puzzle: authentication. There are many different approaches which is why I saved this step for last. This episode will cover a few techniques including the simple solution used for this site.

 #20 Restricting Access | File Type: video/mp4 | Duration: 4:32

In this second part of the series on administration, you will learn how to lock down the site to keep the public from accessing the administration features.

 #19 Where Administration Goes | File Type: video/mp4 | Duration: 5:12

This is the first part of a three part series on building an administration system. Many developers choose to separate it completely from the public side of the site by placing it into an admin subdirectory. This episode will show you an alternative and often better solution.

 #18 Looping Through Flash | File Type: video/mp4 | Duration: 1:44

Displaying flash messages in the layout can be a pain at times. In this episode you will learn an easy way to display any kind of flash message by looping through the hash.

 #17 HABTM Checkboxes | File Type: video/mp4 | Duration: 6:54

It is often asked: how do I create a list of checkboxes for managing a HABTM association? Ask no more because this episode will show you how to do exactly that.

Comments

Login or signup comment.