$('td[id=notes-<%= @meal.id %>]').html('<%= j notes(@meal) %>'); $('td[id=notes-links-<%= @meal.id %>] a').toggle();