# Web service models without active record

**URL:** <https://www.ruby-forum.com/t/web-service-models-without-active-record/111751>\
**Category:** Rails\
**Created:** [August 10, 2007, 1:39pm UTC](https://www.ruby-forum.com/t/web-service-models-without-active-record/111751 "2007-08-10T13:39:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 10, 2007, 1:39pm UTC](https://www.ruby-forum.com/t/web-service-models-without-active-record/111751/1 "2007-08-10T13:39:26Z")

</div>

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
