if you have a column named as order you can't processFaqLabel.walk_tree for acts_as_tree order: 'order'. I was getting errors like
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: syntax error at or near "order"
LINE 1: ...bels" WHERE "faq_labels"."parent_id" IS NULL ORDER BY order
^
: SELECT "faq_labels".* FROM "faq_labels" WHERE "faq_labels"."parent_id" IS NULL ORDER BY order
if you have a column named as order you can't process
FaqLabel.walk_tree
foracts_as_tree order: 'order'
. I was getting errors likeand I had to rename my column.