On 7/6/07, Michael Koziarski <[EMAIL PROTECTED]> wrote: > > > It appears that #8174 on edge broke the ability to render HTML in the > > JS respond_to block for an ajax request. Line 131 of > > mime_responds.rb explicitly sets the template_format to that of the > > mime type. This forces action view to only look for templates of > > that format (including layouts and partials). > > This definitely sounds like a bug, I've reopened the ticket. Josh, > any comments?
That was so it would know the right format when rendering the templates. Otherwise it'd try to use html for everything. At any rate, feel free to add some failing tests for the behavior you think is correct, or come up with a patch to fix this. -- Rick Olson http://lighthouseapp.com http://weblog.techno-weenie.net http://mephistoblog.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en -~----------~----~----~----~------~----~------~--~---
