瀏覽代碼

fix rubocop issues

master
Samy KACIMI 7 年之前
父節點
當前提交
79ef756f64
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      Gemfile
  2. +1
    -1
      app/models/follow.rb

+ 1
- 1
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


+ 1
- 1
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,


Loading…
取消
儲存