Class: Polivalente::Follow
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Polivalente::Follow
- Includes:
- Sortable
- Defined in:
- app/models/polivalente/follow.rb
Instance Method Summary collapse
- #followee_name ⇒ Object
-
#follower_name ⇒ Object
broadcasts_to -> (follow) { “follows” }.
Instance Method Details
#followee_name ⇒ Object
18 19 20 |
# File 'app/models/polivalente/follow.rb', line 18 def followee_name followee.name end |
#follower_name ⇒ Object
broadcasts_to -> (follow) { “follows” }
14 15 16 |
# File 'app/models/polivalente/follow.rb', line 14 def follower_name follower.name end |