It turned out that another developer, new to Rails, had created join tables that did not have ID columns. I isolated the behavior using a list of tables in the ignore_tables initializer. If there's no PK column, the migration generator winds up coughing as I described below, trying to find the 'position' attribute on a nil column value.
SK On Wed, Aug 18, 2010 at 5:18 PM, Matt Jones <[email protected]> wrote: > On Wed, Aug 18, 2010 at 3:21 PM, Skott Klebe <[email protected]> wrote: >> That Id was just in the pastie that's the only Google hit for the error. >> Unfortunately, there are forty-five or so models in the app, so I'm >> working backwards through the svn logs to see if one of them has a >> dumb problem in it... >> SK > > Ah, got it. You may want to try commenting out all but one of the > 'fields do' blocks and then seeing if the generator runs without > errors (hit 'c' at the end to avoid changing things...) If it works, > uncomment one and repeat... > > It's almost certainly a primary key naming issue though, so I'd focus > on any model that twiddles with that... > > --Matt Jones > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/hobousers?hl=en. > > -- Skott Klebe [email protected] -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
