# Doubt in submit\_to\_remote?

**URL:** <https://www.ruby-forum.com/t/doubt-in-submit-to-remote/173475>\
**Category:** Rails\
**Created:** [August 10, 2009, 8:55am UTC](https://www.ruby-forum.com/t/doubt-in-submit-to-remote/173475 "2009-08-10T08:55:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![karthik](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/9fc348/32.png) [@karthik](https://www.ruby-forum.com/u/karthik)\
**Post date:** [August 10, 2009, 8:55am UTC](https://www.ruby-forum.com/t/doubt-in-submit-to-remote/173475/1 "2009-08-10T08:55:33Z")

</div>

hi

i have one page

where i have check boxes , when i select one check box and click the  
below

\<%= submit\_to\_remote ‘activate’, ‘Activate’, :url =\> {:action =\>  
‘search\_activate’} %\>

below is my check box

\<%= check\_box\_tag “agency[agencys\_id][]” , agency.id%\>

it is not even going to controller  
in the browser it is showing null object

but the id is correct

plz help

–  
Karthik.k  
Mobile - +91-9894991640

---

<div class="post-metadata">

**Author:** ![karthik](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/9fc348/32.png) [@karthik](https://www.ruby-forum.com/u/karthik)\
**Post date:** [August 10, 2009, 9:07am UTC](https://www.ruby-forum.com/t/doubt-in-submit-to-remote/173475/2 "2009-08-10T09:07:16Z")

</div>

hi you didnt pass the checkedbox value with the remote call  
take a look at the “locals” usage of the submit\_to\_remote  
hope this helps you

nirosh

---

<div class="post-metadata">

**Author:** ![karthik](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/9fc348/32.png) [@karthik](https://www.ruby-forum.com/u/karthik)\
**Post date:** [August 10, 2009, 9:12am UTC](https://www.ruby-forum.com/t/doubt-in-submit-to-remote/173475/3 "2009-08-10T09:12:32Z")

</div>

On Mon, Aug 10, 2009 at 12:36 PM, nirosh [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> hi you didnt pass the checkedbox value with the remote call  
> take a look at the “locals” usage of the submit\_to\_remote  
> hope this helps you
> 
> nirosh

Hi nirosh

Thank you

is there any links to read about this

Thanks

–  
Karthik.k  
Mobile - +91-9894991640
