Johan Sørensen
2009-Mar-05 14:47 UTC
[PATCH] Make partial rendering from within a content_for capture work with ruby 1.9 encodings
Hello, Rendering a partial with UTF8 content inside a content_for block is currently the only thing that''s breaking my application under Ruby 1.9. The following patch fixes this. http://rails.lighthouseapp.com/projects/8994/tickets/1988 actionpack/lib/action_view/renderable.rb | 5 +++-- .../test/fixtures/test/content_for_utf8.html.erb | 5 +++++ actionpack/test/template/render_test.rb | 12 ++++++++++-- 3 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 actionpack/test/fixtures/test/content_for_utf8.html.erb Cheers, JS --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---