Autofix Rubocop Rails/IgnoredColumnsAssignment (#23761)
This commit is contained in:
parent
7646ad8a2b
commit
cb2ce842b0
8 changed files with 7 additions and 18 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue