Hi, I just recently discovered better_nested_sets and I would like to use it in my app. However, when I installed it from svn, both the trunk and the ez-set failed unit tests. Do the current HEAD revision pass the test / if not, what is a good revision number to use? If it does succeed, I''d like to know as I want to make sure there isn''t a bug in my environment first before I use it in my app. For context purposes: the use in my app is very simple. A nested set to store a navigation menu. Few inserts, lots of reads, relatively trivial amount of nodes (often no more than 20). I just want to make sure stuff works before I convert the existing data stored with acts_as_tree into this one. Hosh
Hi Hosh,> I just recently discovered better_nested_sets and I would like to use > it in my app. However, when I installed it from svn, both the trunk > and the ez-set failed unit tests. Do the current HEAD revision pass > the test / if not, what is a good revision number to use? If it does > succeed, I''d like to know as I want to make sure there isn''t a bug in > my environment first before I use it in my app.I just ran all the tests on both trunk (rev. 32) and ez-set without any failures (Rails 1.1.6, SQLite3, MySQL 5.0 and PgSQL 8.1). What rake command are you invoking the tests with, and what failures are you seeing?> > For context purposes: the use in my app is very simple. A nested set > to store a navigation menu. Few inserts, lots of reads, relatively > trivial amount of nodes (often no more than 20). I just want to make > sure stuff works before I convert the existing data stored with > acts_as_tree into this one.This sounds like a good scenario for using a nested set. I''m optimistic that better_nested_set will do what you need. Cheers, Krishna
On 1/2/07, Krishna Dole <dontfall at gmail.com> wrote:> > I just recently discovered better_nested_sets and I would like to use > > it in my app. However, when I installed it from svn, both the trunk > > and the ez-set failed unit tests. Do the current HEAD revision pass > > the test / if not, what is a good revision number to use? If it does > > succeed, I''d like to know as I want to make sure there isn''t a bug in > > my environment first before I use it in my app. > > I just ran all the tests on both trunk (rev. 32) and ez-set without > any failures (Rails 1.1.6, SQLite3, MySQL 5.0 and PgSQL 8.1). What > rake command are you invoking the tests with, and what failures are > you seeing?Ok, good. It is my setup then. It is probably due to Rails 1.2RC2. I''ll try the unit test on a different machine and see if the tests passes. If it is due to 1.2 RC2 and you are interested, I''ll post up the test results. -Hosh
Krishna, It is indeed 1.2RC2 causing the problem. Fortunately, this app won''t need 1.2 features. -Hosh
Hi Hosh, Thanks for letting us know. Well, better nested set should worked with 1.2, so I''ll look at it later today. Krishna On 1/2/07, Ho-Sheng Hsiao <qaexls at gmail.com> wrote:> Krishna, > > It is indeed 1.2RC2 causing the problem. Fortunately, this app won''t > need 1.2 features. > > -Hosh > _______________________________________________ > Betternestedset-talk mailing list > Betternestedset-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/betternestedset-talk >
On 1/3/07, Krishna Dole <dontfall at gmail.com> wrote:> Hi Hosh, > Thanks for letting us know. Well, better nested set should worked > with 1.2, so I''ll look at it later today.I''m developing against the current 1.2 branch and haven''t noticed any issues. --Nick