> Basically, we decide upon a default type order and intersect that
> with the available view files. Let's say the default response order
> is :html, :xml, :js

I like that a lot. And its fully backwards compatible since before
this you weren't even able to have view files of the same name and
different extensions be useful together. I even think the default
order you propose is reasonable (prototype will always get js anyway
if its available and someone just sending */* should get html first,
then xml if only that's available).

Please do draw up a patch for this. Any objections from anyone else on this?
--
David Heinemeier Hansson
http://www.loudthinking.com -- Broadcasting Brain
http://www.basecamphq.com   -- Online project management
http://www.backpackit.com   -- Personal information manager
http://www.rubyonrails.com  -- Web-application framework
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to