fixed tooltip jquery problem with rails method