fix rubocop issues

feature-private-federation
Samy KACIMI 2017-04-05 00:47:17 +02:00
parent 073f92fc76
commit 79ef756f64
2 changed files with 2 additions and 2 deletions

View File

@ -69,8 +69,8 @@ end
group :test do group :test do
gem 'simplecov', require: false gem 'simplecov', require: false
gem 'webmock' gem 'webmock'
gem 'rspec-sidekiq'
gem 'faker' gem 'faker'
gem 'rspec-sidekiq'
end end
group :development do group :development do

View File

@ -4,7 +4,7 @@ class Follow < ApplicationRecord
include Paginable include Paginable
belongs_to :account, counter_cache: :following_count, required: true belongs_to :account, counter_cache: :following_count, required: true
belongs_to :target_account, belongs_to :target_account,
class_name: 'Account', class_name: 'Account',
counter_cache: :followers_count, counter_cache: :followers_count,