Saturday, 13 October 2007

SQL logic error: Rails fixtures

Just had a seemingly odd Rails test error:

Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader
Started
E/usr/lib/ruby/1.8/sqlite3/errors.rb:94:in `check': SQL logic error or missing database (SQLite3::SQLException)

Simple enough to fix- it turns out my primary key (the "id" column) in the test fixtures weren't unique.

If you get this error, check your fixtures!

del.icio.us Tags: , , , ,

3 comments:

Anonymous said...

ninest123 16.03
gucci outlet, louis vuitton, louboutin outlet, chanel handbags, ray ban sunglasses, louis vuitton, replica watches, longchamp outlet, michael kors outlet, jordan shoes, ugg boots, tory burch outlet, oakley sunglasses, louis vuitton outlet, oakley sunglasses, polo ralph lauren outlet, michael kors outlet, burberry outlet online, nike air max, michael kors outlet, nike outlet, tiffany and co, michael kors outlet, ray ban sunglasses, ray ban sunglasses, louis vuitton, michael kors outlet, louboutin, burberry, ugg boots, louboutin shoes, polo ralph lauren outlet, tiffany jewelry, ugg boots, replica watches, longchamp outlet, oakley sunglasses, christian louboutin outlet, prada outlet, oakley sunglasses, michael kors, louis vuitton outlet, nike free, cheap oakley sunglasses, uggs on sale, longchamp, nike air max, prada handbags, ugg boots

Anonymous said...

ugg boots uk, ugg,ugg australia,ugg italia, moncler, ugg,uggs,uggs canada, moncler, moncler, louis vuitton, canada goose outlet, hollister, louis vuitton, moncler, barbour, moncler, sac louis vuitton pas cher, ugg pas cher, karen millen, louis vuitton, lancel, bottes ugg, canada goose, canada goose uk, gucci, replica watches, juicy couture outlet, wedding dresses, coach outlet, montre pas cher, pandora charms, louis vuitton, converse outlet, moncler, links of london, barbour jackets, thomas sabo, toms shoes, canada goose, pandora jewelry, swarovski, pandora charms, marc jacobs, canada goose, moncler outlet, supra shoes, juicy couture outlet, doudoune canada goose, moncler, swarovski crystal, canada goose outlet, canada goose, ray ban, pandora jewelry
ninest123 16.03

Eddie said...

Great blog I enjoyed readinng