Hi, Steffen Hiller hat da mal was gebaut: http://www.extjswithrails.com/2008/04/ordered-attributes.html
lg Am 17.06.2008 um 22:31 schrieb Daniel Weinand:
Hallo,kann mir jemand sagen ob das normal ist dass .to_json die attribute neu "aufteilt". Ich habe ein Konstrukt dass ich als json auf dem Server brauche, allerdings kommen die Attribute nicht so an wie ich sie benötige. Hier mal zwei pasties. Vielleicht kann das jemand bestätigen, oder mir sogar warum das so ist, bzw. was man dagegen machen kann.Konstrukt: http://pastie.org/pastes/216649 Antwort: http://pastie.org/pastes/216657Problem ist, dass :value und :id vertauscht werden. Allerding will die Serverseite (extjs) es genau indieser Reihenfolge haben. Gruss und Danke _______________________________________________ rubyonrails-ug mailing list [email protected] http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug
--- Siebert WD Michael Siebert Trappenweg 6, 15749 Mittenwalde, Deutschland
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ rubyonrails-ug mailing list [email protected] http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug
