Forum: Ruby on Rails Bump: filtering results in acts_as_tree

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D4b246038154d7cc2363256bd25a4fe0?d=identicon&s=25 Larry White (Guest)
on 2006-05-24 03:20
(Received via mailing list)
---------- Forwarded message ----------
From: Larry White <ljw1001@gmail.com>
Date: May 23, 2006 10:35 AM
Subject: filtering results in acts_as_tree
To: rails@lists.rubyonrails.org

I'm using a logical delete for a table and want to use acts_as_tree with
it.  Is there any way to filter the rows returned as the tree is
traversed
to include only those records where the deleted column is equal to
FALSE?

thanks very much for your help.
This topic is locked and can not be replied to.