search for: basicanswertypes

Displaying 1 result from an estimated 1 matches for "basicanswertypes".

2005 Oct 31
1
Problem with migrate
I have a migration that is failing. I am trying to create new records in a table. class BasicAnswerTypes < ActiveRecord::Migration 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...