fix #puts on classes that include Record

Currently, it prints all the records, rather than the class name.