Finally works!!!!!!! these is all I did
1.controller
auto_complete_for :alumno, :nombre
protect_from_forgery :only => [:create, :delete, :update]
2.in my view
<%= text_field_with_auto_complete :alumno, :nombre, {}, {:method =>
:get} %>
3.in my route
map.resources :alumnos, :collection => {:auto_complete_for_alumno_nombre
=> :get }
and that's it. Thanks to all.....
--
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
-~----------~----~----~----~------~----~------~--~---