[Rails] Re: Ruby on Rails w/Dreamhost - routes problem...I think.

Hunter
2006-05-03T00:27:54Z

Hates_ wrote:
>
>> Correction:  The method in my controller that I need invoked is
>> ''addvisit''
>
> Have you setup your form tag properly?
>
> <%= start_form_tag :controller => "AddPatientVisit",
:action =>
> "addvisits" %>

Hi Hates_,

Thank you for the reply.  I used the code below, which works in
development, but I will try what you are suggesting.  Thanks!

<form name="myform" action="addvisit"
method="post">

   Patient #1<%= check_box("patient", ''1'',
{:checked => ''checked''},
"yes") %>
   Patient #2<%= check_box("patient", ''2'',
{:checked => ''checked''},
"yes") %>
   Patient #4<%= check_box("patient", ''4'',
{:checked => ''checked''},
"yes") %>
   Patient #8<%= check_box("patient", ''8'',
{:checked => ''checked''},
"yes") %>
   Patient #9<%= check_box("patient", ''9'',
{:checked => ''checked''},
"yes") %>