In_place_edit a boolean?

An application I’m writing has a model which contains a boolean field.
One of the views renders a list of models, including this particular
field, and one thing that would be useful would be for the viewer to be
able to update the attributes of the model to change the state of this
field.

One method might be to create a form with a drop down menu on each line
of the list and a “save” button at the bottom. However, it would look
nicer if each line could have a button which would change the model’s
attribute immediately without having to post the form and re-load the
page. Is such a thing possible, and if so, would someone mind pointing
me in the direction of any examples or similar code, please? I presume
that some variant on in_place_editing might do the trick but it’s not
clear if I could do it with this sort of value.