Forum: Ruby on Rails auto_complete REST 'show' action

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
jko170 (Guest)
on 2007-02-24 11: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.