class Subscription < ActiveRecord::Base
  belongs_to :reader
  belongs_to :subscribable, :polymorphic => true
  belongs_to :magazine,  :class_name => "Magazine",
                         :foreign_key => "subscribable_id"
  belongs_to :newspaper, :class_name => "Newspaper",
                         :foreign_key => "subscribable_id"
end