Web service models without active record

Hello all,

I want to create a model object or at least a ruby object. Stuff it
with a couple of different arrays and then pack it off on a web
service to be consumed by, unfortunately, a flex client. I tried to
create a model object in ROR using script/generate model and then
remove the reference to activerecord, however, I keep getting an
unable to cast Map (name of the object) to Map error, when I try to
use ActionWebService. Has anyone any ideas?

j