Module: SocialStream::Models::Subject
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/social_stream/models/subject.rb
Overview
Subjects are subtypes of Actors. Social Stream provides two Subjects, User and Group
Each Subject must defined in config/initializers/social_stream.rb
in order to be included in the application.
Scopes
There are several scopes available for subjects
- alphabetic
-
sort subjects by name
- name_search
-
simple search by name
- distinct_initials
-
get only the first letter of the name
- followed
-
sort by most following incoming ties
- liked
-
sort by most likes
Defined Under Namespace
Modules: ClassMethods, InstanceMethods