YEAH. I've been looking also. All I find are people C&P large sections of the ruby on rails guide. What does this do?
On pg 300 appears the code
render :update do |page|
if @seat.save
page.replace_html 'notice', 'seat was successfully booked'
else
page.replace_html 'notice', 'sorry - the seat could not be booked'
end
end
...
But there isn't any explaination of what this 'render :update' block does or why it's required.
Evidently it's needed, but we need an explanation for why the 'render :update' code is there...
One other issue - now we're not seeing the error messages from the model validations. We should have been told how we can now get those to display also, otherwise we now don't get the benefit of the validations, and the user only gets a not-terribly-helpful general error message.
HTH.