Rails - JQuery and link_to with delete method

If you use JQuery and experience problems with links using DELETE method then use the jquery-ujs gem or just download modified rails.js script.