Removed link_to_function form Rails 4