acts-as-commentable

Is there a better acts_as_commentable for Rails?

Here's what I'm looking to do. I have a site where I want the user to be able to leave comments on various Models. acts_as_commentable is the obvious starting point for this, but I'm curious if there is a gem / plug-in with a more robust feature-set. For example: Pre-built partial(s) (w/ or w/o Twitter / FB buttons) Partial(s) that uti...

How to use acts-as-commentable-with-threading in Rails

Hi All, I am developing my first rails site (yup, i am a rails idiot). I'm writing a blog, and i got to the comments part. I installed acts-as-commentable-with-threading ( GitHub ), i made and ran the migration like the install instructions said. I have added acts_as_commentable to my Posts model and i have a Comments controller When i a...

Is there a good tutorial showing how to implement acts_as_commentable in a rails application?

The readme does not show how to handle the controller and view aspects of setting up this plugin. I have been searching for a couple hours and can't find anything that shows how to use this plugin. ...

Rails 3 acts_as_commentable Error: undefined local variable or method `acts_as_commentable'

Hello, I'm building a Rails 3 app and am trying to install acts_as_commentable Here's what I did: Added to my Gemfile: gem "acts_as_commentable" Ran bundle install Generated a Migration with the comments.rb (Comments table was created correctly) I then wanted to enable my book controller for commenting, so I added to books_controll...

acts_as_commentable_with_threading -Not returning User model on new comment creation

In my controller @comment = Comment.build_from(@post, @user.id, comment_body) @comment.save When I access, @comment.user this is weird - Watch window shows that this a User object with an object id but it is practically empty meaning the attributes is nil so when I do @comment.user.id, it chokes. The comment.rb...

acts_as_commentable_with_threading - where should the comment.rb reside?

In the plugin or should I move this to my app/models/comments folder ? or Does it even matter? The reason I ask is, the belongs_to :user association does not seem to work when I do this comments_controller: @comment = Comment.build_from(@post, @user.id, comment_body) @comment.save the comment record is created properly in DB In my ...