Friday, December 24, 2010

[Rails] Re: Active Record Relations and Nesting

> Note that it's going to be fairly complicated to deal with "all nodes
> that are connected to this one" unless you denormalize somewhat and
> make *two* NodeLinks for each edge. You may want to consider if you
> *really* need a completely undirected graph, or if there's additional
> structure (tree-like behavior, for instance) that you can simplify
> things with.
>
> If this is a central concern to your app, you may want to look into
> the specialized "graph databases" that are now available.
>
> --Matt Jones

This will be a central concern of my app, is there any resources I can
use to study undirected graphs? And I feel that the denormalization
would be an accepted way of dealing with the issue. From what I
understand this would entail having a table with

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate