observe_field and disptcher problem

Hello everyone,

I am trying to make live-search list with observe_field and I still have the problem with invoking the proper action.

Take a look at the following code:

index.html.erb:

hi,

i am very new to rails but i have implemented live search using ajax the same way you tried .

try this out:but i am not sure

def search_list    if params[:text]      @transactions = Transaction.find(:all, :order => "created_at DESC", :conditions => [ 'LOWER(name) LIKE ?', '%' + params[:text].downcase + '%' ]).reverse    else flash[:notice] = 'not found.'

     render :partial => 'transactions_list'    else           render :partial => 'index'    end end

thnaks srikanth