It sounds like you haven't got your VO mappings set correctly. The
attributes hash is actually from Rails (my_obj.attributes). If you're
online today give me a buzz on msn and I'll throw you a handy little
script I use to generate VO and parameter mappings from a YML
description :-)
Cliff
>
> Hey Cliff, is there anyway I could get a copy of that script? It
> sounds very useful!
> Thanks
Sure thing! It's pretty ugly and hacked together Ruby code, but it
suffices for the time being. It's also relatively specific to our
project so you may need to edit it a little. Our project is a little
hush hush for the time being, so I'll also need to doctor it a little
to remove specific references - but I'll try to do that today if I get
a chance. If not, then tomorrow :-)
My development partner is actually a much more proficient Ruby
programmer than I am so perhaps at some point he'll refactor it and
make it pretty and more generically useful.
Cliff