- Vote method in
acts_as_voter
model returns true upon success.
- Changed the
tally
method to add support forat_least_total
andat_most_total
parameters to filter by sum of votes. - Changed the
tally
method to add support fortotal
column in :order paramter.
- Changed the data-type of the
vote
column in thevotes
table to integer type. - Added support for vote count caching at the
voteable
model. - Added new method
votes_total
onvoteable
model to return the sum of +ve and -ve votes - Optimized several methods in
voteable
model (voters_who_voted
,voted_by?
) - Cleaned the code to use associations instead of direct SQL
- Merge in xlash's bugfix for PostgreSQL and his has_karma patch for multi-model support.
- Merge in maddox's README typo fix and his ActiveSupport.Dependency patch
- Merge in nagybence's updates that make the code usable as a Gem in addition to being a Rails plugin.
- Thanks for the bugfixes and proofreading, nagybence and maddox!
- Updated the gemplugin support to be compatible with maddox and nagybence's changes.
- Added details on the MyQuotable reference application.
- Protect against mass assignment misvotes using attr_accessible
- Update acts_as mixins to use self.class.name instead of the deprecated self.type.name
- Added examples directory
- Changed this file to markdown format for GitHub goodness
- Added a commented out unique index in the migration generator for "one person, one vote"
- Removed votes_controller.rb from lib/ and moved to examples
- Added a generator class for the migration.
- Implemented rails/init.rb
- Implemented capability to use any model as the initiator of votes.
- Implemented acts_as_voter methods.