diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-15 12:37:43 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-15 12:37:43 +0200 |
commit | 4d336ceface783c255e62220cfa76812630ff1a1 (patch) | |
tree | 72407fd4b5368d3e8cdfd4c85ae928a654d8d261 /app/models | |
parent | 20f581f79669118a1a4052408078d53c7bbe83f2 (diff) |
Add sync command for neo4j, fix configuration, add neo4j to docker-compose, fix seed
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/follow.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/follow.rb b/app/models/follow.rb index 95b6bd146..656b28d35 100644 --- a/app/models/follow.rb +++ b/app/models/follow.rb @@ -26,6 +26,10 @@ class Follow < ApplicationRecord after_create :add_to_graph after_destroy :remove_from_graph + def sync! + add_to_graph + end + private def add_to_graph |