Displaying 1 result from an estimated 1 matches for "updated_group_id".
2006 Mar 23
1
handle multiple lists: move an item from one list to another
How do I manage multiple lists?
This is what I need. Sometimes an item needs to be moved from one list
to another.
class Item < ActiveRecord::Base
belongs_to :group
acts_as_list :scope => :group
end
class Group < ActiveRecord::Base
has_many :items, :order => "position"
end
Now, sometimes, I may need to change an item from one group to another.
But when I do that,