Hey there! Check out HackerBooks.com - our latest project that let you search books from StackOverflow and HackerNews

Latest Screencasts (page 6)

RailsCasts #47 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

RailsCasts #41 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

RailsCasts #33 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

RailsCasts #32 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

RailsCasts #26 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

RailsCasts #25 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

RailsCasts #23 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

RailsCasts #22 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

RailsCasts #16 Virtual Attributes

Railscasts - 2007-04-09 - free

Keep your controllers clean and forms flexible by adding virtual attributes to your model. This very powerful technique allows you to create form fields which may not directly relate to the database.

Watch this screencast

RailsCasts #15 Fun with Find Conditions

Railscasts - 2007-04-06 - free

You can pass more than simple strings to find conditions. Arrays, ranges, and nil values can be passed as well. In this episode you will see the tricks involved with passing these odd objects to find conditions. (Update: audio fixed).

Watch this screencast