Sha256: 5627a88180dc33ca2ad8970c36531236233ead6ae5af928dac1e44f2cd6755e5
Contents?: true
Size: 533 Bytes
Versions: 3
Compression:
Stored size: 533 Bytes
Contents
require 'active_record' require 'active_support/inflector' $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'acts_as_votable/init/init' require 'acts_as_votable/init/votable' require 'acts_as_votable/init/voter' require 'acts_as_votable/votable' require 'acts_as_votable/voter' require 'acts_as_votable/alias' module ActsAsVotable if defined?(ActiveRecord::Base) require 'acts_as_votable/vote' ActiveRecord::Base.extend ActsAsVotable::Init::Votable ActiveRecord::Base.extend ActsAsVotable::Init::Voter end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
acts_as_votable-0.1.0 | lib/acts_as_votable.rb |
acts_as_votable-0.0.5 | lib/acts_as_votable.rb |
acts_as_votable-0.0.4 | lib/acts_as_votable.rb |