Hello all, I''m running into a slight problem with Rails and the respond_to function in controllers. I''ve registered a custom Mime::Type of application/x-amf :amf (Mime::Type.register "application/x-amf", :amf). The problem I''m having is that the respond_to function never responds to the application/x-amf content-type. I think I''ve narrowed it down to the actionpack/lib/actioncontroller/mime_responds.rb file. If you look at the "custom" and "render" methods (towards the bottom). the method, "custom" doesn''t ever put the mime_type into the @mime_type_priority array. Which causes the "render" method to never try to "respond_to" for my custom mime type. Does that make sense? Any help would be greatly appreciated.. thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---