# File lib/audited/audit.rb, line 9
      def setup_audit
        belongs_to :auditable,  :polymorphic => true
        belongs_to :user,       :polymorphic => true
        belongs_to :associated, :polymorphic => true

        before_create :set_version_number, :set_audit_user

        cattr_accessor :audited_class_names
        self.audited_class_names = Set.new

        attr_accessible :action, :audited_changes, :comment, :associated
      end