Greetings, How would I go about handling an unknown type in a respond_to block? That is, I currently have ... respond_to do | format | format.html { do something } format.xml { do something else } end I would like a handler for all other format''s, other than html/xml, so that I can, for example, log the request, render an error or whatnot. Thank you, ]{ --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---