search for: addvisits

Displaying 4 results from an estimated 4 matches for "addvisits".

Did you mean: addvisit
2006 May 02
10
Ruby on Rails w/Dreamhost - routes problem...I think.
I am trying to deploy my first app on Dreamhost using Ruby on Rails. I followed the wiki, but I think I am missing something. I think it may be in my RoR code, but I am not sure. My app runs fine when run as http://localhost:3000/AddPatientVisit/addvisits AddPatientVisit is the controller and addvisits is the form that posts back to the controller. I got rid of the index.html in public (it did get served up before I deleted it). I think my route is wrong, but I don''t know how to direct it to the page above. I should point out that my...
2006 Apr 24
12
pass checked boxes to controller
Noobie question here. :) I have a form with check boxes on them. I simply want the user to check the appropriate boxes, click the action (Add Visits). It''s my understanding, that these check box values go into a hash (add_visit_for_this_Pt), but I can''t seem to get this hash back to my controller for processing. Below is my form. Basically, all the controller is
2006 May 02
3
Route problem
I have an index.rhtml is rendered when the (main)controller is loaded. The page contains some check boxes and a submit button. See form code below. When I click the submit button, I get a 404. I don''t know how to post this data back to my controller where method "addvisit" is waiting. It works in WEBrick no problem, but doesn''t work in fcgi on DreamHost. I am
2006 Apr 24
4
javascript in RoR page - Check ALL/uncheck ALL buttons
I am trying to implement a check all and uncheck all button for my check boxes. Here is what I have below. I am getting this error each time: Error: document.myform.add_visit_for_this_Pt has no properties Source File: http://localhost:3000/AddPatientVisit/addvisits Line: 1 Strange that I can''t seem to pass value into the function. Thanks for your help! <SCRIPT LANGUAGE="JavaScript"> <!-- // by Nannette Thacker // http://www.shiningstar.net // This script checks and unchecks boxes on a form // Checks and unchecks unlimited nu...