Using :include with acts_as_tree?

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

On 3/23/06, Justin B. [email protected] 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs