Displaying 1 result from an estimated 1 matches for "product_productid_seq".
2006 May 12
0
Using primary key that is not named "id"
...to_increment).
set_primary_key "ProductID", is added to the Product class
Then I used >ruby script/generate scaffold Product Admin
to generate my controllers. When I try to insert a new product in the
products table, it gave me this error
RuntimeError: ERROR C42P01 Mrelation "product_productid_seq" does not
exist Fnamespace.c L195 RRangeVarGetRelid: SELECT
currval(''Product_ProductID_seq'')
What does this mean and is what can I do to solve this?
Thank you!
--
Posted via http://www.ruby-forum.com/.