On Wed, Oct 21, 2009 at 5:13 AM, Marnen Laibow-Koser
<[email protected]> wrote:
>
> Srinath A. wrote:
>> hi,
>>
>> My file contains 5000 lines in which only 1000 lines are custom .
>> So if use builder i should write by hand all these lines .
>
> In your case, ERb might work better than Builder, or you could use a
> Builder partial for the custom stuff.

Here's an example of using builder (in this case Nokogiri's flavor)
from within a .erb template as Marmen suggests.

http://github.com/kete/kete/blob/master/app/views/search/rss.xml.erb

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to