diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2017-07-03 16:01:41 +0200 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2017-07-06 12:01:36 +0200 |
commit | e1a3bf30b6ea04f2c658729f65a0eb09847dd341 (patch) | |
tree | 9c418de69fba8187717aa16979e102212417c634 /rubocop/cop | |
parent | 6f1e00ea36bdcc39da955f7aa2add6a21432d190 (diff) | |
download | gitlab-ce-e1a3bf30b6ea04f2c658729f65a0eb09847dd341.tar.gz |
Rename ActiverecordSerialize cop
This cop has been renamed to ActiveRecordSerialize to match the way
"ActiveRecord" is usually written.
Diffstat (limited to 'rubocop/cop')
-rw-r--r-- | rubocop/cop/active_record_serialize.rb (renamed from rubocop/cop/activerecord_serialize.rb) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/activerecord_serialize.rb b/rubocop/cop/active_record_serialize.rb index 9bdcc3b4c34..204caf37f8b 100644 --- a/rubocop/cop/activerecord_serialize.rb +++ b/rubocop/cop/active_record_serialize.rb @@ -3,7 +3,7 @@ require_relative '../model_helpers' module RuboCop module Cop # Cop that prevents the use of `serialize` in ActiveRecord models. - class ActiverecordSerialize < RuboCop::Cop::Cop + class ActiveRecordSerialize < RuboCop::Cop::Cop include ModelHelpers MSG = 'Do not store serialized data in the database, use separate columns and/or tables instead'.freeze |