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
Revert "changes .references to .integer in migrations".
This reverts commit 5faebe9e65f322c5523da60b007a1e728cbdbc60.
See https://github.com/MichaelWhi/acts_as_votable/commit/5faebe9e65f322c5523da60b007a1e728cbdbc60#commitcomment-2919520
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.
Merge pull request #44 from petergoldstein/hotfix/fix_migration_bug

Rails 4 migration includes duplicate index creation
Merge pull request #43 from petergoldstein/feature/update_travis_to_multi_rails

Expanded Travis tests
Merge branch 'rails4' of https://github.com/MichaelWhi/acts_as_votable into MichaelWhi-rails4

Conflicts:
	Gemfile.lock
	lib/acts_as_votable/vote.rb
bump version
remove hardcoded rails dependency