RailsCasts
RailsCasts
Ryan Bates
#167 More on Virtual Attributes
7 minutes Posted Jun 22, 2009 at 12:00 am.
0:00
7:44
Download MP3
Show notes
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.