module SocialStream::Models::Subject
{Subject Subjects} are subtypes of {Actor Actors}. {SocialStream Social Stream} provides two {Subject 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 {Tie ties}
- liked
-
sort by most likes
Public Instance Methods
to_param()
click to toggle source
# File lib/social_stream/models/subject.rb, line 101 def to_param slug end