Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread
Message: 98249
BY: Praveen Devarao (praveend)
DATE: 2012-08-16 12:02
SUBJECT: RE: Ruby crash accessing initial web page

 

Hi David,

The first error message you see "undefined method `explain' " is because the query is taking longer time to execute [auto_explain_threshold_in_seconds=0.5] and ibm_db adapter doesnot support explain currently. Now that you mention there is no rows in the table, it makes me curious as to what query is being issued when the link is hit.Would you be able to track this down via CLI trace.

You mentioned your row was inserted manually, what SQL did you issue?

The id column is a autogenerated column by default that starts with 1. This makes is interesting to see why was 2 generated first. Are you sure there was no other insert performed before this?

Thanks

Praveen


Thread View

Thread Author Date
Ruby crash accessing initial web pageDavid Adler2012-08-15 16:35
      RE: Ruby crash accessing initial web pagePraveen Devarao2012-08-15 16:55
            RE: Ruby crash accessing initial web pageDavid Adler2012-08-15 17:29
      RE: Ruby crash accessing initial web pageDavid Adler2012-08-16 11:36
            RE: Ruby crash accessing initial web pagePraveen Devarao2012-08-16 12:02
                  RE: Ruby crash accessing initial web pageDavid Adler2012-08-16 17:19
                        RE: Ruby crash accessing initial web pageDavid Adler2012-08-17 14:33
                              RE: Ruby crash accessing initial web pagePraveen Devarao2012-08-19 04:02

Post a followup to this message