0.0
No commit activity in last 3 years
No release in over 3 years
Provides robust comment functionality for any application.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

= 4.2.6
 Project Readme

Comment Box Gem Version

This gem provides a robust comment functionality for any rails application.

Requirements

  • Rails version v4.2.6

  • Ruby version ruby-2.3.1

  • ActiveRecord >= 3.2

Getting Started

Add this line to your Gemfile

gem 'comment_box'

And then execute:

$ bundle install

Or install it yourself

$ gem install comment_box

Installation

Run the generator (replace MODEL with your desired comment class name, e.g Comment)

$ rails generate comment_box MODEL

This generator will create a model, controller and migration for the model. The generator also configures your config/routes.rb file to point to the controller.

Next, run

rake db:migrate

Restart your application and enjoy your new commenting platform.