add guard and spork
add trap methods for FactoryGirl and device
prevent from disable cache_classes