# Problem ActiveRecord+ActionWebService

**URL:** <https://www.ruby-forum.com/t/problem-activerecord-actionwebservice/134393>\
**Category:** Ruby\
**Created:** [April 10, 2008, 2:18pm UTC](https://www.ruby-forum.com/t/problem-activerecord-actionwebservice/134393 "2008-04-10T14:18:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![varunkumargoel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/ed8c4c/32.png) [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Post date:** [April 10, 2008, 2:18pm UTC](https://www.ruby-forum.com/t/problem-activerecord-actionwebservice/134393/1 "2008-04-10T14:18:51Z")

</div>

Hi All,  
I am creating one webservice in ror.I have one function called  
sum(int1,int2) and it’s working fine to show output.Now i wanna save the  
value of int1 and int2 into database through my webservices.  
But i am getting error badconnect.I configured database.yml file  
too.Please tell me suggestion i wanna use ActionwebService and Active  
Record together.  
Can i do this.If yes,then how?  
Looking for your suggestion gyes.  
Help me.  
Thanks  
Varun G.
