acts_as_commentable_more 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5949ecc5ea8d8979835a91a3cbe7b778d40ba55
|
4
|
+
data.tar.gz: da17e2ddd07c46244196be63b994513c8c2b180a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c527d62b57a87eebcd41d0a4b5a72aaf393616cc22bf4f681e087ba1d0e824f003cbf5b50ee90fa1e0c886551c69562cea7a4ec4f535158956c698ee5c4689c
|
7
|
+
data.tar.gz: ed2517c212b686cbc03fce5c91d20563db680b6c410624d4a19e16e47449a4af7693f5434e0bcc83dd3ef4d5acef99c969149ae16cec2d18aabdc3ce88619795
|
@@ -2,7 +2,7 @@
|
|
2
2
|
class <%= class_name %> < ActiveRecord::Base
|
3
3
|
###################################################################
|
4
4
|
### To implement commentable add the following line to your model
|
5
|
-
### acts_as_commentable types: [:hide, :show], options: { class_name: '<%= class_name %>', as: :<%= class_name.demodulize.underscore + "able" %> }, as: :<%= class_name.demodulize.downcase.pluralize, counter_cache: true
|
5
|
+
### acts_as_commentable types: [:hide, :show], options: { class_name: '<%= class_name %>', as: :<%= class_name.demodulize.underscore + "able" %> }, as: :<%= class_name.demodulize.downcase.pluralize %> , counter_cache: true
|
6
6
|
|
7
7
|
### types is an array of possible comment type
|
8
8
|
### for example if you have public and private comment
|