undefined local variable or method `representor_hash'