Forum: Ruby on Rails scaffold oracle segmentation fault

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Krzysztof C. (Guest)
on 2005-12-06 17:59
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 topic is locked and can not be replied to.