search for: speilberg

Displaying 1 result from an estimated 1 matches for "speilberg".

2007 Jul 19
0
xml builder cache (with a slight problem on initial load)
...nd</code> To use the cache_xml you pass the current xml object and the ''name'' of the fragment. This is a simplified example (w/o the dynamic loading of data) but the problem that occurs still happens. <code>directors = [''George Lukas'',''Steven Speilberg'',''Michael Bay''] xml.instruct! xml.directors do directors.each do |name| cache_xml(xml,:action=>''director'',:name=>name) do xml.director :name=>name end end end</code> On the initial load of the RXML file I can indeed see t...