Sha256: deac2cc803b0764c412feea734f81f1f6de98be630c88f76ba6fe27c671e6546
Contents?: true
Size: 583 Bytes
Versions: 4
Compression:
Stored size: 583 Bytes
Contents
require "partisan/version" require "active_record" require "partisan/follow" require "partisan/follow_helper" require "partisan/follower" require "partisan/followable" module Partisan include Partisan::FollowHelper def self.inject_into_active_record @inject_into_active_record ||= Proc.new do def self.acts_as_follower self.send :include, Partisan::Follower end def self.acts_as_followable self.send :include, Partisan::Followable end end end end require 'partisan/railtie' if defined?(Rails) && Rails::VERSION::MAJOR >= 3
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
partisan-0.2.3 | lib/partisan.rb |
partisan-0.2.2 | lib/partisan.rb |
partisan-0.2.1 | lib/partisan.rb |
partisan-0.2 | lib/partisan.rb |