UJS and make_observed

<%= text_field_tag :user_search, params[ :user_search ] %>

     <%= apply_behaviour "#user_search",
       make_observed( :field,
         :update => 'contresults',
         :with => "'user_search=' + escape($F('user_search'))",
         :url => { :controller => 'community', :action =>

‘search’ } ) %>

     <div id="contresults">

this should call this code

def search
puts params[ ‘user_search’ ]

Of course I’ve included UJS, changed application.rb with various
session_id stuff, included everything needed (it generates js files
correctly, the problem is that it’s empty …)

Someone has an idea of what’s happening here ?


Nicholas W.
[email protected]