Module: ActsAsFollower::Follower::ClassMethods

Defined in:
lib/acts_as_follower/follower.rb

Instance Method Summary collapse

Instance Method Details

#acts_as_followerObject


9
10
11
12
13
# File 'lib/acts_as_follower/follower.rb', line 9

def acts_as_follower
  has_many :follows, :as => :follower, :dependent => :destroy
  include ActsAsFollower::Follower::InstanceMethods
  include ActsAsFollower::FollowerLib
end