saving to mysql while displaying a partial that calls for the list of mysql items lags


Originally this was part of my highlighting question but now after debugging and slicing up the problem i found that the problem was not rjs but that saving to database does not sync with the ajax partial

Controller code: