I know I have done this before, but for the life of me I can\'t figure it out.
I have a table with a \"called\" field in it. I need to use a checkbox to update the db an
If you just want to do this just by clicking the checkbox, you need to go the Ajax road. Try using an "observe_field" in your view.
<%= observe_field ":called",
:frequency => 0.25,
:update => 'feedback_to_user',
:url => {:action => :mark_as_called},
:with => 'called',
:on => 'click' %>
All the details here.
Don't forget to adjust your routes so that the "mark_as_called" action can be found.