I’m having trouble using acts_as_list with acts_as_tree
to order the “children”. I’ve found a few old posts on the web
that seem to indicate that this once worked.
class Whatever < ActiveRecord::Base
acts_as_tree :order => :position
acts_as_list :scope => :parent_id
Although the ‘position’ field is being populated,
it appears to be ignoring the :scope.
This is happening in rel_1-2-1 and edge.
Is anyone currently using this configuration?
As a side note, the :scope on acts_as_list doesn’t work
if it is passed as a string, but does work if using a symbol.
A ticket/patch has been posted. http://dev.rubyonrails.org/ticket/7380
However, this does not solve the above problem