elight/acts_as_commentable_with_threading

README inconsistencies and typos

Closed this issue · 1 comments

Hi, I just read all the documentation. Noticed few issues which are basically typos in my opinion.

First, there is mentioned about votable gem.

"If you plan to use the acts_as_votable plugin with your comment system be sure to uncomment two things:"

In lib/comment.rb uncomment the line acts_as_votable.

When I run rails generate to install your gem, it creates comment.rb file under app folder. Doesn't it make sense to mention in README, that I have to change app/comment.rb to uncomment that acts_as_votable rather than in /lib/comment.rb

Another thing is inside comment.rb, commented out #acts_as_votable is with typo and doesn't work by default.

It is now:   acts_as_voteable
It should be:   acts_as_votable

Hope this helps for the future users :)

Weird, your template looks ok, although, my generated file had typo..