|
|
Shadow
Category: Web Development > Ruby On Rails
Posted: 10 Dec 08
Jordan Fowler reveals his new Shadow plugin that tracks attribute and association changes to ActiveRecord objects, making it easy to create activity fe...
|
|
|
|
|
Anonymous Scopes
Category: Web Development > Ruby On Rails
Posted: 05 Jun 08
The scoped method allows you to generate named scopes on the fly. In this episode I show how to use anonymous scopes to improve the conditional logic which was used in the previous episode on advanced search form.
|
|
Advanced Search Form
Category: Web Development > Ruby On Rails
Posted: 05 Jun 08
If you need to create an advanced search with a lot of fields, it may not be ideal to use a GET request as I showed in episode 37. In this episode I will show you how to handle this by creating a Search resource
|
|
|
|
|
|
|
Hacking ActiveRecord
Category: Web Development > Ruby On Rails
Posted: 27 Aug 07
Have you ever wanted to temporarily disable all validations? Well, ActiveRecord doesn't support this, but that doesn't mean we can't add it. This episode will show you how to open up an existing class and change its behavior.
|
|
Optimistic Locking
Category: Web Development > Ruby On Rails
Posted: 22 Jul 07
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.
|
|
|