When I try to hit this action via Javascript, I get a 406 Not Acceptable error:
406 Not Acceptable
def show @annotation = Annotation.find_by_id(params[:id])
I hit this problem when I forgot to add :remote => true to my Ajax form.
:remote => true