Displaying 3 results from an estimated 3 matches for "labresult".
Did you mean:
labresults
2007 Jun 26
1
A really simple data manipulation example
In response to those who asked for a better explanation of what the
Vilno software does, here's a simple example that gives some idea of
what it does.
LABRESULTS is a dataset with multiple rows per patient , with lab
sodium measurements. It has columns: PATIENT_ID, VISIT_NUM, and
SODIUM.
DEMO is a dataset with one row per patient, with demographic data.
It has columns: PATIENT_ID, GENDER.
Here's a simple example, the following paragraph of code is a...
2007 Jul 04
1
Expected ... to define
...esult = Lab_result.find(params[:id])
if @lab_result.destroy
flash[:notice] = "Lab results successfully deleted"
redirect_to :action => ''update'', :id => @lab_result.visit
end
end
Here is the Lab_result model sitting comfortably in the models dir:
class LabResult < ActiveRecord::Base
belongs_to :lab
belongs_to :visit
end
Any advice?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post...
2005 Dec 16
25
I Would Really Like to Try RoR but...
it''s been a nightmare trying to set it up. I keep getting a an
Application Error message when I try to navigate to a url which should
be taken care of by my newly created controllers. For instance, I
wanted to test RoR out so I created a MyTest controller which should
allow me to navigate something like:
http://localhost/rubytest/MyTest
but it does not. I have no problem getting