search for: sponsor_key

Displaying 1 result from an estimated 1 matches for "sponsor_key".

2005 Dec 22
2
nonstandard postgresql sequence names
...def test_truth assert_kind_of Sponsor, sponsors(:first) end end (The "fixture" method comes from a patch that allows me to specify 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...