lib/pg_search_customisations.rb

Summary

Maintainability
A
0 mins
Test Coverage

Pass &:update_pg_search_document as an argument to each instead of a block.
Open

      all.each do |record|
        record.update_pg_search_document
      end
Severity: Minor
Found in lib/pg_search_customisations.rb by rubocop

Use symbols as procs when possible.

Example:

# bad
something.map { |s| s.upcase }

# good
something.map(&:upcase)

There are no issues that match your filters.

Category
Status