Thanks for your help David.

I have also tried writing my custom method just with tutors, but it 
doesn't works either!!! I guess the problem is related with something 
else :(

>  def auto_complete_for_tutor_name
>    @tutors = Tutor.find(:all, :conditions => ["enabled = 't' AND LOWER(name) 
> LIKE ?", "%#{params[:tutor][:name]}%"], :limit => 10)
>    render :inline => "<%= auto_complete_result(@tutors, :name) %>"
>  end

:S No clue what can it be :(
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to