Forum: Ruby on Rails scaffold oracle segmentation fault

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Krzysztof C. (Guest)
on 2005-12-06 17:59
I was reading Todo tutorial
http://darkhost.mine.nu:81/~vince/rails/tutorial.html
and wanted to do this with oci driver for Oracle
I have oracle 9i database, rails 0.14.2, ruby 1.8.3(mswin32),
Windows2000

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
development:
  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
http://localhost:3000/todo/
with Listing todos and one link "New todo"
when I click it the script/server exits, with abnormal program
termination
C:/ruby1.8.3/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_controller/code_generation.rb:87:
[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??

thanks
chris
This topic is locked and can not be replied to.