|
Hi all,
I am facing a new issue with oracle and rails. I feel rails is expecting a sequence name associated with all the tables.
The actual question is that how can we make rails understand that there is no sequence associated with a model. Coz when I am running RSpecs for some models (connected to oracle database) without sequences, Itz giving an error that
----------------------------------------------------------------------------------------------
spec bu_host_application_spec.rb -c
FF
1)
OCIError in 'BuHostApplication When a new record of BuHostApplication is created.. before(:all)'
ORA-02289: sequence does not exist
stmt.c:528:in oci8lib.so
./bu_host_application_spec.rb:7:
Finished in 0.235421 seconds
1 examples, 1 failures
----------------------------------------------------------------------------------------------
Why I confirmed that rails is asking for the sequences is coz the RSpecs for a model having sequence name set is working properly. This is happening for all the models which are not having any sequences associated with it.
Please help me in resolving this issue.
Thanks in advance,
Anand.
|