Saturday, May 15th, 2010 | Author: admin

Using actsasnestedset in ruby and something like taxon.movetochildof(parent) you can get this error if your table data is incomplete. You may have functioning nesting through the chain of parent IDs but you need the left and right fields as well. If either the left or right field is null you will get an error like this one for certain move operations. This can easily happen if you’ve created some dodgy fixtures for instance.

Trying using Taxon.rebuild! to repair the table.

Read more…

 Mail this post

StumbleUpon It!
Category: Vegan
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply » Log in