Fundamental question: passing params

I maybe missing something here. I have an ajax’ed search form,
parameters
are passing correctly, but they are not showing up in the action.
I can see the parameters :

Request
Parameters: {“city”=>“Boston”, “asearch”=>“category_id=2”,
“title”=>“Admin”, “term_id”=>“8”, “state_id”=>“3”}

When I try to get them in the action they are being directed too I get a
nil./ nomethod error.

I think last week I had a problem where i was told that when there is a
redirect to a different action the instance variable won’t carry over.
Is
that what’s happening here. I solved the last issue by saving the
params to
the session, but would prefer not to do that here.

TIA
Stuart

Hi –

On Fri, 13 Oct 2006, Dark A. wrote:

I maybe missing something here. I have an ajax’ed search form, parameters
are passing correctly, but they are not showing up in the action.
I can see the parameters :

Request
Parameters: {“city”=>“Boston”, “asearch”=>“category_id=2”,
“title”=>“Admin”, “term_id”=>“8”, “state_id”=>“3”}

When I try to get them in the action they are being directed too I get a
nil./ nomethod error.

It’s hard to help you with your code if you don’t provide it :slight_smile:

David


David A. Black | [email protected]
Author of “Ruby for Rails” [1] | Ruby/Rails training & consultancy [3]
DABlog (DAB’s Weblog) [2] | Co-director, Ruby Central, Inc. [4]
[1] Ruby for Rails | [3] http://www.rubypowerandlight.com
[2] http://dablog.rubypal.com | [4] http://www.rubycentral.org

Sorry David, it looked like this post never went through and there is a
new
one. I’ll call this one closed.

Stuart

On 10/13/06, [email protected] [email protected] wrote:

David


David A. Black | [email protected]
Author of “Ruby for Rails” [1] | Ruby/Rails training & consultancy [3]
DABlog (DAB’s Weblog) [2] | Co-director, Ruby Central, Inc. [4]
[1] Ruby for Rails | [3] http://www.rubypowerandlight.com
[2] http://dablog.rubypal.com | [4] http://www.rubycentral.org