[Rails] Re: Re: Re: Re: Re: HELP !!!!
Kim
Kim at dbasol.dk
Wed Mar 1 10:26:39 GMT 2006
Wilson Bilkovich wrote:
> Rails works great on Oracle. I'm using it in a number of apps, and
> quite a few others are as well.
> Try using a Migration to create your tables from scratch. Then you can
> take a look at what a correct schema looks like, and model anything
> you do by hand on it.
> A Rails-friendly table should have a properly-named sequence, and a
> NUMBER(38) NOT NULL PRIMARY KEY column called 'id'.
>
> Here's the code for the Oracle adapter. Check out the
> 'native_database_types' method to see what it's expecting:
> http://dev.rubyonrails.org/svn/rails/trunk/activerecord/lib/active_record/connection_adapters/oci_adapter.rb
>
> --Wilson.
Hi Wilson
You are 100% correct - I created a new project and new tables and it
worked like it should. Now I only have to find out what has messed up my
initial project.
Thank You!
--
Posted via http://www.ruby-forum.com/.
More information about the Rails
mailing list