replace link_to_remote by link_to with :remote=>true