Class: Follow

Inherits:
ApplicationRecord show all
Extended by:
ActsAsFollower::FollowScopes, ActsAsFollower::FollowerLib
Defined in:
app/models/follow.rb

Instance Method Summary collapse

Instance Method Details

#block!Object


9
10
11
# File 'app/models/follow.rb', line 9

def block!
  update_attribute(:blocked, true)
end