0
0
Fork 0

Autofix Rubocop Rails/IgnoredColumnsAssignment (#23761)

This commit is contained in:
Nick Schonning 2023-03-31 09:07:22 -04:00 committed by GitHub
parent 7646ad8a2b
commit cb2ce842b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 7 additions and 18 deletions

View file

@ -16,7 +16,7 @@
class AccountStat < ApplicationRecord
self.locking_column = nil
self.ignored_columns = %w(lock_version)
self.ignored_columns += %w(lock_version)
belongs_to :account, inverse_of: :account_stat