Latest Screencasts (page 5)
Optimistic Locking
Railscasts - 2007-07-18 - free
When two people attempt to update the same record near the same time, one of the updates will likely be overwritten. You can solve this problem with optimistic locking. Watch this screencast
Create Model Through Text Field
Railscasts - 2007-07-13 - free
Let's say you provide a select menu for setting which category a given product belongs to, but you also want the option of creating a new category by typing the name in a text field. See a great way to do that in this episode. Watch this screencast
Two Many-to-Many
Railscasts - 2007-06-20 - free
There are two different ways to set up a many-to-many association in Rails. In this episode you will see how to implement both ways along with some tips on choosing the right one for your project. Watch this screencast
Conditional Validations
Railscasts - 2007-06-06 - free
By default, validations will take place every time the model is saved. Sometimes you only want a validation to happen when certain conditions are met. See how to do that in this episode. Watch this screencast
Making a Plugin
Railscasts - 2007-05-18 - free
You can sometimes remove a lot of duplication by generating methods dynamic. In this episode I will show you how to create a plugin which does exactly that. Watch this screencast
Time in Text Field
Railscasts - 2007-05-16 - free
Although Rails does allow you to edit time attributes with text fields, it's not very flexible. In this episode you will learn how to use a virtual attribute to format the time to your liking. Watch this screencast
Hackers Love Mass Assignment
Railscasts - 2007-05-02 - free
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. Watch this screencast
SQL Injection
Railscasts - 2007-04-30 - free
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. Watch this screencast
Counter Cache Column
Railscasts - 2007-04-25 - free
If you need to display the record count for a has_many association, you can improve performance by caching that number in a column. Watch this screencast
Eager Loading
Railscasts - 2007-04-23 - free
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! Watch this screencast

