Andrew Kaspick
2008-Jan-28 19:21 UTC
:layout and :file don''t play nice together with a render in a view - patch
Hello, I''ve submitted a patch here to let :layout work with the :file option when rendering in a view... http://dev.rubyonrails.org/ticket/10944 I''ve re-prioritized the rendering for the passed in options in order to allow a :file to work with :layout. The fix is easy, but the explanation is a bit complicated. Can someone take a look and let me know if this fix looks correct or if another approach should be taken altogether? I also don''t know where to include tests for this, so if anybody can point me in the right direction, I''ll add the tests. Thanks, Andrew --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---