Using :include with acts_as_tree?


#1

Is there a way to eager load children with a model that acts_as_tree?

I tried:

:include => :children

but it gives a mysql error…

Thanks,
Justin


#2

On 3/23/06, Justin B. removed_email_address@domain.invalid wrote:

Is there a way to eager load children with a model that acts_as_tree?

I tried:

:include => :children

but it gives a mysql error…

Thanks,
Justin

Try the Rails 1.1 RC.


Rick O.
http://techno-weenie.net