RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: virtual attributes xFree Episodes xModels x
More on Virtual Attributes
Episode #167Jun 22, 200950 comments

More on Virtual Attributes

Use a virtual attribute to implement a simple tagging feature. In this episode I show you how to assign virtual attributes through a callback instead of a setter method. (7 minutes)