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
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??