All,
Here is my situation. I am using couple of tables (users, contacts) from existing database for my new application. I can NOT alter these table. contacts has a sequence for primary key and is inserted by using a trigger on both tables when we create a new user.
on my model class I set the primary key (using set_primary_key) of the contact table. When I try to create a new user. Rails is looking for a sequence and I get the following error.
ORA-02289: sequence does not exist
Is there a way to disable the sequence?.
Thanks,
Aanu
In your contacts class, try adding: