Skip to content

Commit

Permalink
Naming/VariableNumber
Browse files Browse the repository at this point in the history
This assoc. is defunct after the extraction of PT-AT
  • Loading branch information
jaredbeck committed Mar 21, 2021
1 parent 049d7d6 commit e5c9138
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ Metrics/CyclomaticComplexity:
Metrics/PerceivedComplexity:
Max: 9 # Goal: 7

# Offense count: 1
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers.
# SupportedStyles: snake_case, normalcase, non_integer
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
Naming/VariableNumber:
Exclude:
- 'spec/dummy_app/app/models/person.rb'

# Offense count: 1
# Cop supports --auto-correct.
Performance/BlockGivenWithExplicitBlock:
Expand Down
1 change: 0 additions & 1 deletion spec/dummy_app/app/models/person.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class Person < ActiveRecord::Base
has_one :bicycle, foreign_key: :owner_id

has_one :thing
has_one :thing_2, class_name: "Thing"

if ActiveRecord.gem_version >= Gem::Version.new("5.0")
belongs_to :mentor, class_name: "Person", foreign_key: :mentor_id, optional: true
Expand Down

0 comments on commit e5c9138

Please sign in to comment.