Topic: acts_as_tree throwing an error when I try and delete
I'm really starting to hate acts_as_tree.
I'm trying to destroy a category entry and I get a error about the parent_id
Mysql::Error: #42S22Unknown column 'Category' in 'order clause': SELECT * FROM categories WHERE (categories.parent_id = 26) ORDER BY Category
Here's what I got, just guessing at this
acts_as_tree :order => name, :dependent => :delete_all
#standard category controller
redirect_to :action => 'list'