| Article: |
Ajax on Rails | |
| Subject: | access from controller for :searchtext | |
| Date: | 2005-10-10 11:11:52 | |
| From: | mewren.com | |
|
Response to: access from controller for :searchtext
|
||
|
I had the same problem. I had forgotten to include the library <%= javascript_include_tag "prototype" %> |
||
Showing messages 1 through 1 of 1.
-
access from controller for :searchtext
2005-12-09 12:21:43 kevinmarshall [View]



render_text @params.inspect
This will show you all the fields you can access via the params ... you'll probably notice that the searchtext isn't listed, but rather the value you entered is being put there (at least that was my case) ... using the :with => "'searchtext='+value" mentioned above solved my problem ... but I thought it was worth mentioning this simple debugging approach for params