# Best Gem For Threaded Comment Storage?

**URL:** <https://www.ruby-forum.com/t/best-gem-for-threaded-comment-storage/188490>\
**Category:** Rails\
**Created:** [May 12, 2010, 7:56pm UTC](https://www.ruby-forum.com/t/best-gem-for-threaded-comment-storage/188490 "2010-05-12T19:56:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![audreylee88](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ecae2f/32.png) [@audreylee88](https://www.ruby-forum.com/u/audreylee88)\
**Post date:** [May 12, 2010, 7:56pm UTC](https://www.ruby-forum.com/t/best-gem-for-threaded-comment-storage/188490/1 "2010-05-12T19:56:39Z")

</div>

Dear List,

Given that I am developing a rails 2.3.5 site,  
When it comes to storing threaded comments in a blog or forum,  
Then which plugin/gem should be considered “State of the Art”?

I’m starting with these URLs:

> **[GitHub - rails/acts\_as\_tree: NOTICE: official repository moved to...](https://github.com/rails/acts_as_tree)**
>
> NOTICE: official repository moved to https://github.com/amerine/acts\_as\_tree - GitHub - rails/acts\_as\_tree: NOTICE: official repository moved to https://github.com/amerine/acts\_as\_tree

> **[GitHub - rails/acts\_as\_nested\_set: NOTICE: official repository moved to...](https://github.com/rails/acts_as_nested_set)**
>
> NOTICE: official repository moved to https://github.com/bbommarito/acts\_as\_nested\_set - GitHub - rails/acts\_as\_nested\_set: NOTICE: official repository moved to https://github.com/bbommarito/acts\_as...

> **[GitHub - collectiveidea/awesome\_nested\_set: An awesome replacement for...](https://github.com/collectiveidea/awesome_nested_set)**
>
> An awesome replacement for acts\_as\_nested\_set and better\_nested\_set. - GitHub - collectiveidea/awesome\_nested\_set: An awesome replacement for acts\_as\_nested\_set and better\_nested\_set.

> **[GitHub - chris/better\_nested\_set: better\_nested\_set Rails plugin (my fork...](https://github.com/chris/better_nested_set)**
>
> better\_nested\_set Rails plugin (my fork from official SVN) - GitHub - chris/better\_nested\_set: better\_nested\_set Rails plugin (my fork from official SVN)

> **[GitHub - elight/acts\_as\_commentable\_with\_threading: Similar to...](https://github.com/elight/acts_as_commentable_with_threading)**
>
> Similar to acts\_as\_commentable; however, utilizes awesome\_nested\_set to provide threaded comments - GitHub - elight/acts\_as\_commentable\_with\_threading: Similar to acts\_as\_commentable; however, util...

I’m looking for opinionated people with opinions about my question.

---

<div class="post-metadata">

**Author:** ![audreylee88](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ecae2f/32.png) [@audreylee88](https://www.ruby-forum.com/u/audreylee88)\
**Post date:** [May 13, 2010, 12:37am UTC](https://www.ruby-forum.com/t/best-gem-for-threaded-comment-storage/188490/2 "2010-05-13T00:37:59Z")

</div>

Audrey L. wrote:

> Dear List,
> 
> Given that I am developing a rails 2.3.5 site,  
> When it comes to storing threaded comments in a blog or forum,  
> Then which plugin/gem should be considered “State of the Art”?
> 
> I’m starting with these URLs:
> 
> [GitHub - rails/acts\_as\_tree: NOTICE: official repository moved to https://github.com/amerine/acts\_as\_tree](http://github.com/rails/acts_as_tree)

Skip it. It uses an inefficient data model.

> [GitHub - rails/acts\_as\_nested\_set: NOTICE: official repository moved to https://github.com/bbommarito/acts\_as\_nested\_set](http://github.com/rails/acts_as_nested_set)  
> [GitHub - collectiveidea/awesome\_nested\_set: An awesome replacement for acts\_as\_nested\_set and better\_nested\_set.](http://github.com/collectiveidea/awesome_nested_set)  
> [GitHub - chris/better\_nested\_set: better\_nested\_set Rails plugin (my fork from official SVN)](http://github.com/chris/better_nested_set)

I’d use one of these. I seem to recall that awesome\_nested\_set is the  
nicest.

> [GitHub - elight/acts\_as\_commentable\_with\_threading: Similar to acts\_as\_commentable; however, utilizes awesome\_nested\_set to provide threaded comments](http://github.com/elight/acts_as_commentable_with_threading)

I’ve never used this, so I’m not certain which tree model it uses.

> I’m looking for opinionated people with opinions about my question.

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![audreylee88](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ecae2f/32.png) [@audreylee88](https://www.ruby-forum.com/u/audreylee88)\
**Post date:** [May 13, 2010, 10:27am UTC](https://www.ruby-forum.com/t/best-gem-for-threaded-comment-storage/188490/3 "2010-05-13T10:27:41Z")

</div>

On 12 May 2010 18:54, Audrey A Lee [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> [GitHub - rails/acts\_as\_tree: NOTICE: official repository moved to https://github.com/amerine/acts\_as\_tree](http://github.com/rails/acts_as_tree)  
> [GitHub - rails/acts\_as\_nested\_set: NOTICE: official repository moved to https://github.com/bbommarito/acts\_as\_nested\_set](http://github.com/rails/acts_as_nested_set)  
> [GitHub - collectiveidea/awesome\_nested\_set: An awesome replacement for acts\_as\_nested\_set and better\_nested\_set.](http://github.com/collectiveidea/awesome_nested_set)  
> [GitHub - chris/better\_nested\_set: better\_nested\_set Rails plugin (my fork from official SVN)](http://github.com/chris/better_nested_set)  
> [GitHub - elight/acts\_as\_commentable\_with\_threading: Similar to acts\_as\_commentable; however, utilizes awesome\_nested\_set to provide threaded comments](http://github.com/elight/acts_as_commentable_with_threading)
> 
> I’m looking for opinionated people with opinions about my question.

Given a choice of nested sets, I’d use “awesome\_nested\_set”. But  
“acts\_as\_commentable\_with\_threading” seems to say exactly what you  
want to do; so I’d look into that in a bit more detail.

---

<div class="post-metadata">

**Author:** ![audreylee88](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ecae2f/32.png) [@audreylee88](https://www.ruby-forum.com/u/audreylee88)\
**Post date:** [May 13, 2010, 4:17am UTC](https://www.ruby-forum.com/t/best-gem-for-threaded-comment-storage/188490/4 "2010-05-13T04:17:46Z")

</div>

acts\_as\_commentable\_with\_threading just requires awesome\_nested\_set

go ahead and use it

On Thu, May 13, 2010 at 5:37 AM, Marnen Laibow-Koser
