Displaying 1 result from an estimated 1 matches for "002_simplified_version".
2006 Aug 18
1
Migration crashes when using braces to delimit blocks
...r to perform.
		t.column :name, :string, :null => false
		t.column :controller, :string, :null => false
		t.column :action, :string, :null => false
	}
	
  end
  def self.down
  	drop_table :functional_rights
  end
end
========== Output from rake: ==========
rake aborted!
./db/migrate//002_simplified_version.rb:4: syntax error, unexpected ''{'', 
expecting kEND
        create_table :functional_rights { |t|  # A table storing the actions 
on a given controller that a given right allows a user to perform.
                                         ^
./db/migrate//002_simplified_version.rb:5...