acts_as_votable 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.markdown +1 -1
- data/lib/acts_as_votable/version.rb +1 -1
- data/lib/acts_as_votable/votable.rb +1 -3
- data/lib/acts_as_votable/voter.rb +0 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a69a2b257a2491f945b09323a74472bdfb80c1f7
|
4
|
+
data.tar.gz: 64a63524853816cb82a01adfe3f5b7abc536889b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41be950836d6d092d91dd0fb2ad75a84bfb6c6d7db910d4b5c92c7e945bae1e47ccf839992104b8781b46f3e8a203fa1d34a3c78acf7eb8b613e5784926822c3
|
7
|
+
data.tar.gz: 4a02b443a7cf410a8d114180a04cb7ca872334de4f0809047f4c8081a56a44ea5cd44f6dba098043fb20d99701b41febd2e60efb347f882325b9b1e6d47b7751
|
data/README.markdown
CHANGED
@@ -33,9 +33,7 @@ module ActsAsVotable
|
|
33
33
|
}
|
34
34
|
|
35
35
|
base.class_eval do
|
36
|
-
|
37
|
-
belongs_to :votable, :polymorphic => true
|
38
|
-
has_many :votes, :class_name => "ActsAsVotable::Vote", :as => :votable do
|
36
|
+
has_many :votes, :class_name => "ActsAsVotable::Vote", :as => :votable do
|
39
37
|
def voters
|
40
38
|
includes(:voter).map(&:voter)
|
41
39
|
end
|