Module: Conversations::Models::Conversationalist::ClassMethods
- Defined in:
- lib/conversations/models/conversationalist.rb
Instance Method Summary collapse
Instance Method Details
#has_conversations ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/conversations/models/conversationalist.rb', line 9 def has_conversations has_many :user_conversations, :class_name => Conversations::UserConversation has_many :conversations, :through => :user_conversations, :class_name => Conversations::Conversation has_many :messages, :through => :conversations, :class_name => Conversations::Message include InstanceMethods end |