Scaffold oracle segmentation fault

I was reading Todo tutorial
and wanted to do this with oci driver for Oracle
I have oracle 9i database, rails 0.14.2, ruby 1.8.3(mswin32),

the tutorial is quite simple, I created database called todos with id as
primary key, and todos_seq as a sequence
then I configured database.yml
adapter: oci
host: orcl
username: chris
password: xxxxx

then I created model and controller
ruby script/generate model Todo
ruby script/generate controller todo

then I inserted model :todo into controller
and inserted scaffold :todo in that.

run the ruby script/server and I got the page
with Listing todos and one link “New todo”
when I click it the script/server exits, with abnormal program
[BUG] Segmentation fault
ruby 1.8.3 (2005-09-21) [i386-mswin32]

abnormal program termination

when I put some dummy data into table todos in the database, then this
first page “Listing todos” shows them, so the connection is ok.
Problems is with “New todo” link.

anybody can help??


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs