Displaying 1 result from an estimated 1 matches for "sponsor_seq".
Did you mean:
sponsor_key
2005 Dec 22
2
nonstandard postgresql sequence names
...ecify
non-standard table names--the table in this case is called sponsor, not
sponsors).
The sponsor table''s primary key column is called "sponsor_key" instead
of id, and instead of it being a serial type, it is just an integer. It
is incremented using a sequence named "sponsor_seq".
I also have a sponsors.yml fixture with unremarkable contents.
When I try and run the test I get this:
Loaded suite test/unit/sponsor_test
Started
EWARNING: there is no transaction in progress
E
Finished in 0.831961 seconds.
1) Error:
test_truth(SponsorTest):
ActiveRecord::StatementInv...