Displaying 3 results from an estimated 3 matches for "addpatientvisit".
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 o...
2006 May 02
3
Route problem
...visit" is waiting.
It works in WEBrick no problem, but doesn''t work in fcgi on DreamHost.
I am guessing I just know how to make the route connection. I have this
route in there and that worked for rendering the index page
map.connect '''', :controller => "AddPatientVisit"
I add this line below it, but it doesn''t seem to do anything.
map.connect '''', :controller => "AddPatientVisit", :action =>
"addvisit"
Here is the last production.log entry:
ActionController::RoutingError (Recognition failed for "/...
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 un...