replacing <a href> with link_to