Class: Relation::Follow
- Defined in:
- app/models/relation/follow.rb
Overview
This relation model implements Twitter-like relations: Users just have followers and followings.
Use this model setting config.relation_model = :follow
in your config/initializers/social_stream.rb
Constant Summary collapse
- PERMISSIONS =
[ [ 'create', 'activity' ], [ 'read', 'activity' ], [ 'follow', nil ] ]
Constants inherited from Relation
Method Summary
Methods inherited from Single
Methods inherited from Relation
allow, allow?, #follow?, ids_shared_with, #mode, negative_names, normalize, normalize_id, #positive?, positive_names