Class: Relation
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Relation
- Defined in:
- app/models/relation.rb
Instance Method Summary collapse
-
#reindex ⇒ Object
This takes care of reindexing an objects follower clap and saved count after someone did something on those.
Instance Method Details
#reindex ⇒ Object
This takes care of reindexing an objects follower clap and saved count after someone did something on those
18 19 20 |
# File 'app/models/relation.rb', line 18 def reindex resource&.index! end |