> A redirect is always a redirect. What i'm saying is that sometimes you > don't want to redirect, in the aforementioned xml api example you'd > probably just respond with an empty response with the appropriate http > status code. An ajaxified interface is also a place where you might > not want to do a redirect (you'd just return some html to be inserted > into the DOM or produce some javascript to execute).
What I wasn't understanding was that the format.xxx methods were acting similarly to case statements. So the appropriate block of code is executed depending on what the mime format is. With that tiny tidbit of knowledge, it all becomes completely comprehensible. Rick --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

