Class: Follow
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Follow
- Extended by:
- ActsAsFollower::FollowerLib
- Defined in:
- lib/generators/templates/model.rb
Instance Method Summary collapse
Instance Method Details
#block! ⇒ Object
17 18 19 |
# File 'lib/generators/templates/model.rb', line 17 def block! self.update_attribute(:blocked, true) end |