Skip to content

Commit

Permalink
Disable some of the Rubocop checks for now
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt committed Sep 8, 2024
1 parent cc8c178 commit d42f664
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ Layout/LineLength:
Metrics/BlockLength:
Exclude:
- 'spec/**/*'

Style/Documentation:
Enabled: false
2 changes: 1 addition & 1 deletion lib/active_model/relation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module ActiveModel
class ModelNotFound < StandardError
def initialize(message = nil, model = nil, primary_key = nil, id = nil)
def initialize(message = nil, model = nil, primary_key = nil, id = nil) # rubocop:disable Metrics/ParameterLists
@primary_key = primary_key
@model = model
@id = id
Expand Down

0 comments on commit d42f664

Please sign in to comment.