RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: model xFree Episodes xActive Record x
Virtual Attributes
Episode #16Apr 09, 200765 comments

Virtual Attributes

Keep your controllers clean and forms flexible by adding virtual attributes to your model. This very powerful technique allows you to create form fields which may not directly relate to the database. (3 minutes)