begin/rescue blocks removed
url_for substituted with to