On Thu, Oct 22, 2009 at 3:49 PM, Marnen Laibow-Koser <[email protected]> wrote:
> > I do have a question, though: what's the advantage of embedding Builder > in ERb as you did, rather than having the ERb file call a Builder > partial? Performance. Nokogiri's builder is significantly faster than Builder from our testing at the time. Although you can swap parsing libs now in Rails, you still can't use ".xml.nokogiri" yet. We used ERB in order to use Nokogiri, since the output is returned to ERB as a string. Cheers, Walter --~--~---------~--~----~------------~-------~--~----~ 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 [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-talk?hl=en -~----------~----~----~----~------~----~------~--~---

