Displaying 1 result from an estimated 1 matches for "topicsubtop".
Did you mean:
topicsubtopic
2006 Mar 29
0
active record bug?
...ut of a logger.info statement spitting out the id of the newly
inserted topic
HERE IS THE TOPIC ID: 3126
# i explicitly select the topic:
Topic Load (0.000649) SELECT * FROM topics WHERE (topics.id = 3126)
LIMIT 1
# and print out a logger statement showing that the topic exists:
topic exists
TopicSubtopic Create (0.000000) PGError: ERROR: insert or update on
table "topic_subtopic" violates foreign key constraint
"fk_topic_subtopic_subtopic_1"
DETAIL: Key (child_topic_key)=(3126) is not present in table "topics".
: INSERT INTO topic_subtopic ("child_topic_key&...