fixes for rails 4
missing require
deprecation fix: Using #scope without passing a callable object
some more fixes, specs pass now
removes include ActiveModel::ForbiddenAttributesProtection from the vote model
removes unused require
changes .references to .integer in migrations
removes strong_parameter dependency
some more stupid voter_params stuff
changes -> to lambda, for 1.8.7 compatibility
add GitHub Flavored Markdown to README

* This makes the example code easier to read,
  especially when perusing the docs on github
Merge pull request #35 from phlipper/patch-1

add GitHub Flavored Markdown to README
Revert "changes .references to .integer in migrations".
This reverts commit 5faebe9e65f322c5523da60b007a1e728cbdbc60.
See https://github.com/MichaelWhi/acts_as_votable/commit/5faebe9e65f322c5523da60b007a1e728cbdbc60#commitcomment-2919520
rails 4 fix
Merge pull request #37 from smasry/rails4

rails 4 fix
Added support for caching scoped votes
optimizing voter method to perform 1 query instead of 2
adding dependent destroy option to votes association
Update Gemfile to support a configurable Rails version.  Update .travis.yml to use this, and add a default Rake task.
Rails 4 adds an index automatically for a references attribute, so only add the explicit index when the ActiveRecord version is less than 4.