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.
The :include and :joins options for the find method can be a little confusing because they are so similar. In this episode I show specifically when to use which option.
Over time a CSS file can become large and filled with unused selectors. In this episode I show how to use the Deadweight gem to determine which CSS selects you can remove.
Security is important! Here I show seven different security flaws which are common to Rails applications ranging from mass assignment to CSRF protection.
If you need to keep track of a model's history of changes and switch between versions, consider using the vestal_versions gem like I show in this episode.
10 min
About RailsCasts
From the publisher's feed
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.