Skip to content

Releases: ryanto/acts_as_votable

v0.13.2

08 Nov 18:20
Compare
Choose a tag to compare
  • Rails 7 support #217

v0.13.1

19 Dec 19:45
Compare
Choose a tag to compare

#173 Optimize db queries (@fatkodima)

v0.13.0

19 Dec 17:43
Compare
Choose a tag to compare

💥 Breaking changes

  • If you're using a cacheable strategy it needs to change from update_attributes to update. Example:
< cacheable_strategy: :update_attributes
> cacheable_strategy: :update
  • Drop support for EOL rubies (2.3, 2.4) and EOL rails (4.x, 5.0). We now support Ruby 2.5, Ruby 2.6, Ruby 2.7 and Rails 5.1+

v0.12.1

18 Jul 04:09
Compare
Choose a tag to compare

v0.12.0

09 Nov 12:11
313f06c
Compare
Choose a tag to compare

v0.12.0

v0.11.1

04 Nov 11:15
Compare
Choose a tag to compare

v0.11.1

  • Drop support for old Ruby and Rails versions
  • Support new Ruby and Rails versions (Ruby 2.4 and Rails 5/5.1)
  • Fix bugs
  • Added new method count_votes_score
  • Reduce code duplication
  • Update travis build
  • Update Rspec syntax

v0.9.0

19 Dec 19:37
Compare
Choose a tag to compare

In version 0.8.0, there were bugs for a model that is both votable and voter.

Some name-conflicting methods have been renamed:

  • Renamed Votable.votes to votes_for
  • Renamed Votable.vote to vote_by,
  • Removed Votable.vote_by alias (was an alias for :vote_up)
  • Renamed Votable.unvote_for to unvote_by
  • Renamed Votable.find_votes to find_votes_for
  • Renamed Votable.up_votes to get_upvotes
    • and its aliases :get_true_votes, :get_ups, :get_upvotes, :get_likes, :get_positives, :get_for_votes
  • Renamed Votable.down_votes to get_downvotes
    • and its aliases :get_false_votes, :get_downs, :get_downvotes, :get_dislikes, :get_negatives