I''m putting this here because it took too long to set up: ============================= Things you''ll need for auto_complete since everyone else was too lazy to write down: Example model is ''list'' Example field is ''name'' # Controller auto_complete_for :list, :name skip_before_filter :verify_authenticity_token, :only => [:auto_complete_for_list_name] # view (edit.html.erb) <%= javascript_include_tag :all, :cache => true %> <% form_for(@list) do |f| %> <%= f.error_messages %> <p> New <%= f.label :name %>: <%= text_field_with_auto_complete :list, :name %> <%= f.submit "Update" %> <% end %> # layout <%= javascript_include_tag :defaults %> # routes.rb map.auto_complete '':controller/:action'', :requirements => { :action => /auto_complete_for_\S+/ }, :conditions => { :method => :get } -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---