Created
August 5, 2008 21:27
-
-
Save dbussink/4122 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dirkjan@mrkrabs ~/Documents/projects/dm-constraints $ spec spec/ | |
..F | |
1) | |
PostgresError in 'DataMapper::Constraints should not be able to create related objects with a failing foreign key constraint' | |
ERROR: insert or update on table "cows" violates foreign key constraint "stables_fk" | |
DETAIL: Key (stable_id)=(342523311) is not present in table "stables". | |
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.4/lib/dm-core/adapters/data_objects_adapter.rb:89:in `execute_non_query' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment