Skip to content

Commit

Permalink
Disable Metrics/ClassLength for ActiveModel::Relation class
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt committed Sep 9, 2024
1 parent c5d833a commit 2b7b8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_model/relation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def initialize(message = nil, model = nil, primary_key = nil, id = nil) # ruboco
end

# = Active Model Relation
class Relation
class Relation # rubocop:disable Metrics/ClassLength
include Enumerable

autoload :Model, 'active_model/relation/model'
Expand Down

0 comments on commit 2b7b8e2

Please sign in to comment.