search for: 00400506faf5

Displaying 2 results from an estimated 2 matches for "00400506faf5".

2006 Apr 01
0
Okay, what gives? find_by_id is failing.
...t quite get it yet" problem. I am using the ActiveRecord.find_by_id method to identify the parent object (Quiz) to tie to the child object (Question) at create time. Here is the stdout log: 127.0.0.1 - - [31/Mar/2006:22:43:22 CST] "GET /question/new? parent_quiz=ff2d7022-be0a-11da-9f01-00400506faf5 HTTP/1.1" 200 806 http://localhost:3000/questions?parent_quiz=ff2d7022- be0a-11da-9f01-00400506faf5 -> /question/new?parent_quiz=ff2d7022- be0a-11da-9f01-00400506faf5 ------------------------------ Parent = nil ------------------------------ Parent should be = ff2d7022-be0a-11da...
2006 Apr 01
12
Repost: Why is rails generating bad SQL?
...;Found Parent= ",aParent,"\r\n") # aParent is returning nil, but it shouldbe a valid object Here''s the STDOUT log (I have instrumented ActiveRecord to print the SQL before it tries to run it): -------------------------------- Looking for Parent= ff2d7022-be0a-11da-9f01-00400506faf5 Initial request = nil SQL Conditions = ''nil'' Have one ID to check: ff2d7022-be0a-11da-9f01-00400506faf5 find all - finder_sql= SELECT FIRST 1 * FROM quizzes WHERE (quizzes.id = ''--- !map:HashWithIndifferentAccess ff2d7022-be0a-11da-9f01-00400506faf5: "" ...