Displaying 1 result from an estimated 1 matches for "clinicalsultan".
2005 Oct 31
1
Problem with migrate
...tion
   def self.up
       # this adds basic answer types and response types to the database
       ResponseType.create :name => "boolean"
   end
   def self.down
     ResponseType.find_by_name("boolean").destroy
   end
end
when I run rake migrate i get
(in /home/dupontct/clinicalsultan)
rake aborted!
uninitialized constant BasicAnswerTypes::ResponseType
ResponseType is a valid model that works with the rest of my rails app. 
  What am i doing wrong here?
Thanks
Charles
-- 
Charles Dupont	Computer System Analyst		School of Medicine
		Department of Biostatistics	Vanderbilt Univ...