ruby - Rails 3 best way to create a comment system for posts -


My first entry here.

I am trying to add a comment system to my post model. However, I am convinced that the best way to go about it for many reasons is to have the comment system similar to the forest dot com, but I want to use those visitors who do not need comment because Site is our company site which is not a big community.

The features are:

  1. Visitors can comment on the post, enter names, emails and comments.
  2. Members of our team can comment, I want them to be styled in a different way like getting to know the system was one of our team, they will be logged into the system when leaving the comment.
  3. Visitors and team members can reply to comments.
  4. Finally, I want to know the system that the comment is written by the author or not.

    I have seen and am trying to do acts I_commentable_with_threading which seems appropriate except for the need to leave any comment except for any one user account, Is there any other idea, till then I am trying to avoid?

    I have also applied myself to create comment models for threading and using awesome_n_manager_set in the comments model I have a user_id which is only if the user is logged in (meaning that they Must be a member of the team) Population, though it seems a little dirty.

    Do anyone have any ideas on this?

    Oh, and I will be notified to answer my comments to each person (if condition).

    Thanks in advance.

    >

    There are so many tools available to post comments and work with Ruby on Rail.

    You can also customize according to your own need instead of writing a dirty code.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -