#---
# Excerpted from "Rails Recipes"
# We make no guarantees that this code is fit for any purpose. 
# Visit http://www.pragmaticprogrammer.com/titles/fr_rr for more book information.
#---
class CourseRecord < ActiveRecord::Base
  composed_of :grade,
              :class_name => 'Grade',
              :mapping => [%w(letter_grade letter_grade)]
end
