[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[rails] render :xml

robertj

6/10/2006 2:29:00 PM

hi,

can anybody tell me how i can configure
the xml output when using "render :xml => a_ref_list"?

i have a problem that for example the active record
property ref_id is transformed into
<ref-id> the value </ref-id>.

also i would like to have more control on what list
tags are created.
for example if i have a list of Reference objects
"render :xml => list_references" creates
<references>
<reference>
...
</reference>
<reference>
...
</reference>
</references>

thanks

ciao robertj

1 Answer

Hux

3/13/2008 4:49:00 AM

0

On Mar 13, 2:39 pm, BeKissedUnderMistletoe...@googlemail.com wrote:
> On Mar 12, 8:01 pm, Alert <flicking_you...@hotmail.com> wrote:
>
>     It is vital to any organization, to be strong and effective, to be
> ethical.
>
> L. Ron Hubbard

Which is why scientology is neither strong nor effective.

BTW, you haven't got a cloo what forgery is, do you fucktard?

Dave Hawkes