Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2017-07-03 17:01:41 +0300
committerYorick Peterse <yorickpeterse@gmail.com>2017-07-06 13:01:36 +0300
commite1a3bf30b6ea04f2c658729f65a0eb09847dd341 (patch)
tree9c418de69fba8187717aa16979e102212417c634 /rubocop/cop
parent6f1e00ea36bdcc39da955f7aa2add6a21432d190 (diff)
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