mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 05:08:03 +00:00
fix rubocop issues
This commit is contained in:
parent
073f92fc76
commit
79ef756f64
2
Gemfile
2
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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue