Class: Group
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Group
- Includes:
- SocialStream::Models::Subject
- Defined in:
- app/models/group.rb
Overview
Instance Attribute Summary collapse
-
#owners ⇒ Object
Returns the value of attribute owners.
Instance Method Summary collapse
Methods included from SocialStream::Models::Subject
Instance Attribute Details
#owners ⇒ Object
Returns the value of attribute owners.
9 10 11 |
# File 'app/models/group.rb', line 9 def owners @owners end |
Instance Method Details
#profile! ⇒ Object
15 16 17 |
# File 'app/models/group.rb', line 15 def profile! actor!.profile || actor!.build_profile end |