Hi everyone, I have a model called category that uses acts_as_nested_set so I can use the parent/child functionality. It seems to work fine when I call Category.children.each in the category controller/view, but I''m trying to work on a rake task that needs to loop through all of the Category.children however I just keep getting an error saying undefined method `childen'' for #<Array:0xc26c748> I''m thinking I somehow need to include the acts_as_nested_set in the rake file but I''m not sure how? Thanks in advance, Ryan -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.