Thomas r. Koll wrote:
> Hi Ashok,
> 
> id's are always integer. I'm quite sure it's the same with an Oracle
> DB.
> So please fix you database and retry.
> 
> ciao, tom
> 
> On Feb 11, 6:19�pm, Ashok Bee <rails-mailing-l...@andreas-s.net>
> wrote:
>> create table products (
>> id number not null,
>> ...
>> primary key(id)
>> )
> 
> --
> Thomas R. "TomK32" Koll <> http://ananasblau.com
> just a geek trying to change the world
> http://github.com/TomK32

Thanks Thomas.
Have corrected my table create statement.
When I create a table and corresponding sequence manually, why scaffold 
script does not create the views with proper table fields in it?
When I do
C:\Documents and Settings\xyz\Desktop\ruby\web\ab>ruby script\generate 
scaffo
ld address first_name:string last_name:string address:string 
phone:integer email
 this , it creates the views well.
Do I need to give the script a hint regarding the tables fields ?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to