diff options
author | Samy KACIMI <samy.kacimi@gmail.com> | 2017-04-05 00:47:17 +0200 |
---|---|---|
committer | Samy KACIMI <samy.kacimi@gmail.com> | 2017-04-05 00:47:17 +0200 |
commit | 79ef756f645153b91643765573230814257d0cbf (patch) | |
tree | ca60f0c86a3afab0bfcb4f2423dfb63264293866 | |
parent | 073f92fc766fe17552d7416d19b50305f63e4810 (diff) |
fix rubocop issues
-rw-r--r-- | Gemfile | 2 | ||||
-rw-r--r-- | app/models/follow.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Gemfile b/Gemfile index 87ea77735..0deed9ae0 100644 --- a/Gemfile +++ b/Gemfile @@ -69,8 +69,8 @@ end group :test do gem 'simplecov', require: false gem 'webmock' - gem 'rspec-sidekiq' gem 'faker' + gem 'rspec-sidekiq' end group :development do diff --git a/app/models/follow.rb b/app/models/follow.rb index fd7325f05..b6b9dca7c 100644 --- a/app/models/follow.rb +++ b/app/models/follow.rb @@ -4,7 +4,7 @@ class Follow < ApplicationRecord include Paginable belongs_to :account, counter_cache: :following_count, required: true - + belongs_to :target_account, class_name: 'Account', counter_cache: :followers_count, |