Class: Follow

Inherits:
ActiveRecord::Base
  • Object
show all
Extended by:
ActsAsFollower::FollowScopes, ActsAsFollower::FollowerLib
Defined in:
app/models/follow.rb

Instance Method Summary collapse

Instance Method Details

#block!Object


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

def block!
  self.update_attribute(:blocked, true)
end