Class: PolylingoChat::Participant
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- PolylingoChat::Participant
- Defined in:
- lib/generators/polylingo_chat/install/templates/models/participant.rb
Instance Method Summary collapse
-
#user ⇒ Object
Alias for backward compatibility and convenience.
- #user=(value) ⇒ Object
Instance Method Details
#user ⇒ Object
Alias for backward compatibility and convenience
13 14 15 |
# File 'lib/generators/polylingo_chat/install/templates/models/participant.rb', line 13 def user participantable end |
#user=(value) ⇒ Object
17 18 19 |
# File 'lib/generators/polylingo_chat/install/templates/models/participant.rb', line 17 def user=(value) self.participantable = value end |