Sha256: 3be09eea2cab4a9a94e871f998889d205f4804f5b1cd0d972cb744ef8e40d60d

Contents?: true

Size: 242 Bytes

Versions: 3

Compression:

Stored size: 242 Bytes

Contents

class Group
  include Mongoid::Document
  include Mongoid::Followee

  field :name

  def before_followed_by(follower)
    # before followee is followed
  end

  def before_unfollowed_by(follower)
    # before followee is unfollowed
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongoid_follow-0.2.3 spec/models/group.rb
mongoid_follow-0.2.2 spec/models/group.rb
mongoid_follow-0.2.1 spec/models/group.rb