class Product < ActiveRecord::Base 
  translates :name 
  composed_of :unit_price, :class_name => "Globalize::Currency", 
              :mapping => [ %w(unit_price cents) ] 
end