rename clear to cmd_clear, in rails somewhere defined clear method