[Rails] Problem with generating a scaffold with an Oracle DB

Tom Hofte
2006-03-28T15:55:02Z

Hi all,

I have confgured my oracle application with the Oracle Express
Production release database. This all is configured well and tested(I
can see that he founds the database). However, when I generate a
scaffold application there is no view for the CRUD functions created for
the application.
Below is listed what is generated for me for a Products table:

E:\workdir\ruby\depot>ruby script/generate scaffold Product Admin
      exists  app/controllers/
      exists  app/helpers/
      create  app/views/admin
      exists  test/functional/
  dependency  model
      exists    app/models/
      exists    test/unit/
      exists    test/fixtures/
      create    app/models/product.rb
      create    test/unit/product_test.rb
      create    test/fixtures/products.yml
ORA-12537: TNS:connection closed

What is the problem here, because according to my tutorial in the fine
book "Agile webdevelopment with Rails" it should create view
components.

Does anyone see the problem here?

Thanks in advance!

-Tom

--
Posted via http://www.ruby-forum.com/.