codeclimate/codeclimate-rubocop

View on GitHub
config/contents/rails/scope_args.md

Summary

Maintainability
Test Coverage
This cop checks for scope calls where it was passed
a method (usually a scope) instead of a lambda/proc.

### Example:

    # bad
    scope :something, where(something: true)

    # good
    scope :something, -> { where(something: true) }