ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Ajax on Rails
Subject:   access from controller for :searchtext
Date:   2005-06-29 22:14:32
From:   vcosby
Response to: access from controller for :searchtext

aha!
maybe the api changed. it appears you have to grab it from the request's raw post or querystring.



def live_search
render_text "you searched for: " +
request.raw_post || request.query_string
end


1 to 1 of 1
  1. access from controller for :searchtext
    2005-10-10 11:11:52  mewren.com [View]

    • access from controller for :searchtext
      2005-12-09 12:21:43  kevinmarshall [View]

1 to 1 of 1