# Form\_remote\_tag params not passed .. PLEASE help!

**URL:** <https://www.ruby-forum.com/t/form-remote-tag-params-not-passed-please-help/72525>\
**Category:** Rails\
**Created:** [February 23, 2006, 10:21pm UTC](https://www.ruby-forum.com/t/form-remote-tag-params-not-passed-please-help/72525 "2006-02-23T22:21:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rubynewbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/58f4c7/32.png) [@rubynewbie](https://www.ruby-forum.com/u/rubynewbie)\
**Post date:** [February 23, 2006, 10:21pm UTC](https://www.ruby-forum.com/t/form-remote-tag-params-not-passed-please-help/72525/1 "2006-02-23T22:21:44Z")

</div>

This problem is driving me nuts

Here is my code for the view:

coming soon!   

Email address:

\<%= form\_remote\_tag(:update =\> 'result', :url =\> { :controller =\> 'launch', :action =\> 'process\_email' }, :with =\> "'blah=' + escape(value)", :complete =\> "Element.hide('eid');Element.hide('sub');Element.show('result')", :position =\> "top") %\> \<%= end\_form\_tag %\>

Here is my controller code:

class LaunchController \< ApplicationController  
layout “launch-layout”  
def index  
end  
def process\_email  
render\_text @params.inspect  
end  
end

It only prints out {“action”=\>“process\_email”, “controller”=\>“launch”}

The parameters DONT SHOW UP!!!

I have \<%= javascript\_include\_tag “prototype” %\> in my layout.

where am I screwing up???

PLEASE HELP!

---

<div class="post-metadata">

**Author:** ![rubynewbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/58f4c7/32.png) [@rubynewbie](https://www.ruby-forum.com/u/rubynewbie)\
**Post date:** [February 23, 2006, 10:28pm UTC](https://www.ruby-forum.com/t/form-remote-tag-params-not-passed-please-help/72525/2 "2006-02-23T22:28:39Z")

</div>

what is even more scary is the production.log generates the following

Processing LaunchController#process\_email (for x.u.x.h at 2006-02-23  
16:26:50) [GET]  
Parameters: {“action”=\>“process\_email”, “controller”=\>“launch”}  
Response body was encoded with gzip  
Completed in 0.00327 (305 reqs/sec) | 200 OK

Doesnt show the parameters! is something wrong with my view code??

---

<div class="post-metadata">

**Author:** ![rubynewbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/58f4c7/32.png) [@rubynewbie](https://www.ruby-forum.com/u/rubynewbie)\
**Post date:** [February 23, 2006, 11:20pm UTC](https://www.ruby-forum.com/t/form-remote-tag-params-not-passed-please-help/72525/3 "2006-02-23T23:20:05Z")

</div>

rubynewbie wrote:

> =====  
> It only prints out {“action”=\>“process\_email”, “controller”=\>“launch”}
> 
> The parameters DONT SHOW UP!!!

You probably want

```
            :with => "'blah=' + escape($F('blah'))",

```

or remove the :with option and escape at the server.

–  
We develop, watch us RoR, in numbers too big to ignore.

---

<div class="post-metadata">

**Author:** ![rubynewbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/58f4c7/32.png) [@rubynewbie](https://www.ruby-forum.com/u/rubynewbie)\
**Post date:** [February 24, 2006, 12:45am UTC](https://www.ruby-forum.com/t/form-remote-tag-params-not-passed-please-help/72525/4 "2006-02-24T00:45:16Z")

</div>

rubynewbie wrote:

> :with was added to see if the parameter would be passed … The problem  
> is this requested should be generating a POST on the server its  
> generating a GET! Weird!

Ah, OK. Look at the source of the generated HTML to make sure prototype  
is being included.

–  
We develop, watch us RoR, in numbers too big to ignore.

---

<div class="post-metadata">

**Author:** ![rubynewbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/58f4c7/32.png) [@rubynewbie](https://www.ruby-forum.com/u/rubynewbie)\
**Post date:** [February 24, 2006, 12:24am UTC](https://www.ruby-forum.com/t/form-remote-tag-params-not-passed-please-help/72525/5 "2006-02-24T00:24:07Z")

</div>

Mark Reginald J. wrote:

> rubynewbie wrote:
> 
> > =====  
> > It only prints out {“action”=\>“process\_email”, “controller”=\>“launch”}
> > 
> > The parameters DONT SHOW UP!!!
> 
> You probably want
> 
> ```
> :with => "'blah=' + escape($F('blah'))",
> 
> ```
> 
> or remove the :with option and escape at the server.
> 
> –  
> We develop, watch us RoR, in numbers too big to ignore.

:with was added to see if the parameter would be passed … The problem  
is this requested should be generating a POST on the server its  
generating a GET! Weird!
