Displaying 1 result from an estimated 1 matches for "support_call".
Did you mean:
support_acls
2006 Jun 30
4
Serious noob question. Any help would be great
...ID. I realize this should be dead simple, but I
haven''t figured out a way to get it to work. I keep getting an error:
"Unable to find without an ID. Hopefully someone here can tell me where
I''ve gone astray. Here is the code I have right now:
##controller.rb
def edit
@support_call = SupportCall.find(params[:id])
end
def find
end
##find.rhtml
<html>
<body>
<%= start_form_tag :action => "edit", :id => params[:id] %>
<%= text_field "support_call", "id" %>
<%= submit_tag "Find It!" %>
<%= end_for...