Tooltip effect feds away after sorting data in table in ruby

Hello Friends,

I am using tooltip.js in my rails application to show tooltip effect
on contents of table column.

But when i sort the table data using sort key = column_name, the tooltip
effect feds away.It doesnt persist on content of the table column… when
i refresh the page, the effect continues. How to solve this issue…

I m in hurry.
any suggestions are greatly appreciated.