Class: Follow
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Follow
- Extended by:
- ActsAsFollower::FollowScopes, ActsAsFollower::FollowerLib
- Defined in:
- lib/generators/templates/model.rb
Instance Method Summary collapse
Methods included from ActsAsFollower::FollowScopes
blocked, descending, for_followable, for_followable_type, for_follower, for_follower_type, recent, unblocked
Instance Method Details
#block! ⇒ Object
10 11 12 |
# File 'lib/generators/templates/model.rb', line 10 def block! self.update_attribute(:blocked, true) end |