diff options
author | Stan Hu <stanhu@gmail.com> | 2019-08-29 16:10:49 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-08-30 13:15:34 -0700 |
commit | d93b985df07ccf07541efef709edb8467e0f2955 (patch) | |
tree | 6951f100961a2c6b56dfe593daaaaa5a6675f5a4 /doc | |
parent | fa6f19d1f83b68f2bb729be889ab7d66adbbedb8 (diff) | |
download | gitlab-ce-d93b985df07ccf07541efef709edb8467e0f2955.tar.gz |
Use self.ignored_columns += instead of =
This is to accomodate prepended modules.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/development/what_requires_downtime.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/what_requires_downtime.md b/doc/development/what_requires_downtime.md index b9d1b95a4d7..f4cee410066 100644 --- a/doc/development/what_requires_downtime.md +++ b/doc/development/what_requires_downtime.md @@ -50,7 +50,7 @@ places. This can be done by defining the columns to ignore. For example, to igno ```ruby class User < ApplicationRecord - self.ignored_columns = %i[updated_at] + self.ignored_columns += %i[updated_at] end ``` |