Forum: Ruby on Rails auto_complete REST 'show' action

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1df9fc8ddf084661265bbae74a8d0b43?d=identicon&s=25 jko170 (Guest)
on 2007-02-24 10:35
(Received via mailing list)
Upon selecting a match and hitting enter, how do I invoke the 'show'
action to view the individual resource? This is what I have so far:

<% form_tag :action => :show do %>
    <%= text_field_with_auto_complete :user, :last_name %>
    <%= submit_tag 'Go' %>
  <% end %>

I get the following error: Couldn't find User without an ID

Any suggestions?
This topic is locked and can not be replied to.