Class: Conversations::UserConversation
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Conversations::UserConversation
- Defined in:
- app/models/conversations/user_conversation.rb
Instance Method Summary collapse
-
#participants ⇒ Object
TODO: Add more attributes like :username, :first_name, :last_name.
Instance Method Details
#participants ⇒ Object
TODO: Add more attributes like :username, :first_name, :last_name
17 18 19 |
# File 'app/models/conversations/user_conversation.rb', line 17 def participants self.users.collect { |u| u.name }.join(', ') end |