module ActsAsArchive module Migration def self.included(base) unless base.included_modules.include?(InstanceMethods) base.send :extend, ClassMethods base.class_eval do class <