Sha256: b2bb0acae428ac5093e7b7136938754b63a0dba1eb612c0f4d28f0949de627c4

Contents?: true

Size: 229 Bytes

Versions: 1

Compression:

Stored size: 229 Bytes

Contents

class User
  include Mongoid::Document
  include Mongoid::Followee
  include Mongoid::Follower

  field :name

  def after_follow
    # after follower follows
  end

  def after_unfollowed
    # after follower unfollows
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid_follow-0.2.0 spec/models/user.rb