CHANGELOG.markdown
1.85 KB
2010-03-08
- Vote method in
acts_as_votermodel returns true upon success.
2010-02-21
- Changed the
tallymethod to add support forat_least_totalandat_most_totalparameters to filter by sum of votes. - Changed the
tallymethod to add support fortotalcolumn in :order paramter.
2010-02-20
- Changed the data-type of the
votecolumn in thevotestable to integer type. - Added support for vote count caching at the
voteablemodel. - Added new method
votes_totalonvoteablemodel to return the sum of +ve and -ve votes - Optimized several methods in
voteablemodel (voters_who_voted,voted_by?) - Cleaned the code to use associations instead of direct SQL
2009-02-11
- Merge in xlash's bugfix for PostgreSQL and his has_karma patch for multi-model support.
2008-12-02
- 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.
2008-07-20
- Protect against mass assignment misvotes using attr_accessible
- Update acts_as mixins to use self.class.name instead of the deprecated self.type.name
2008-07-15
- 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
2008-07-10
- 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.