You should be able to use `class.to_s` instead of `class.name`, iirc.