module JamRuby class EmailError < ActiveRecord::Base self.table_name = "email_batch_errors" belongs_to :email_batch, :class_name => 'JamRuby::EmailBatch' ERR_BOUNCE = :bounce ERR_INVALID = :invalid end end