Marnen Laibow-Koser wrote:

> You want awesome_nested_set, which will let you do that with one query. 
> The Glue model is unnecessary.

Thanks very much for the info. I've had a quick look at the 
documentation and I see it makes use of fields :lft and :rgt  -I guess I 
can use aliases for these, along the lines of :lft => "my_field", as I 
don't have control of the database?  Also, do you know if 
awesome_nested_set will be faster than what I'm doing currently, or just 
more convenient?

regards
-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to