app/models/concerns/auction_scopes.rb
Block has too many lines. [35/25] Open
Open
included do
scope :accepted, -> { where(delivery_status: delivery_statuses['accepted']) }
scope :accepted_pending_payment_url, lambda {
where(delivery_status: delivery_statuses['accepted_pending_payment_url'])
}
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.