RailsCasts Pro episodes are now free!

Learn more or hide this

More on Virtual Attributes

#167 More on Virtual Attributes

Jun 22, 2009 | 7 minutes | Forms, Models
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.
  • Download:
  • source codeProject Files in Zip (98 KB)
  • mp4Full Size H.264 Video (9.92 MB)
  • m4vSmaller H.264 Video (7.29 MB)
  • webmFull Size VP8 Video (19.1 MB)
  • ogvFull Size Theora Video (13.7 MB)