RailsCasts Pro episodes are now free!

Learn more or hide this

Virtual Attributes (revised)

#16 Virtual Attributes (revised)

Jul 20, 2012 | 11 minutes | Active Record, Forms
Virtual attributes are a clean way to add form fields that do not map directly to the database. Here I show how to handle validations, associations, and more.
  • Download:
  • source codeProject Files in Zip (66.3 KB)
  • mp4Full Size H.264 Video (25.9 MB)
  • m4vSmaller H.264 Video (13.2 MB)
  • webmFull Size VP8 Video (16.3 MB)
  • ogvFull Size Theora Video (31.3 MB)