I get the following behavior within rails You have a nil object when you didn''t expect it! The error occurred while evaluating nil.call RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/mime_responds.rb:167:in `respond'' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/mime_responds.rb:161:in `each'' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/mime_responds.rb:161:in `respond'' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/mime_responds.rb:105:in `respond_to'' app/controllers/schools_controller.rb:146:in `submit'' within the respond_to do |format| format.html format.xml end call in a controller. With opera--turns out opera requests something ''non standard'' so the mime types don''t handle it right. (rdb:16) p priority #<Mime::Type:0x21c1568 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:degreematch> (rdb:16) p @order [#<Mime::Type:0x19fe1a0 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>, #<Mime::Type:0x19fdf70 @synonyms=["text/xml", "application/x-xml"], @string="application/xml", @symbol=:xml>] (rdb:16) p priority === @order true Question: is this a rails bug? is === broken? Thanks! -Roger -- 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 -~----------~----~----~----~------~----~------~--~---