I’ve got a little problem relating to Ajax and Rails, namely updating
I have created a message inbox for a system I’ve developed, and when a
user clicks on a message, I want the number of read messages to decrease
by one (this is displayed in 2 divs in separate locations on the page),
and I don’t think the :update => ‘mydiv’ in ‘link_to_remote’ can cope
with more than one div,
I have looked at the example in the pick-axe (Chapter 18, page 403-404)
but it doesn’t seem to make much sense!
Any help is appreciated!