NerdDiffer/job_tracker

View on GitHub
app/models/job_applications/posting.rb

Summary

Maintainability
A
0 mins
Test Coverage

Do not use spaces between -> and opening brace in lambda literals
Open

    scope :belonging_to_user, -> (user_id) { User.find(user_id).postings }

This cop checks for spaces between -> and opening parameter brace in lambda literals.

Example: EnforcedStyle: requirenospace (default)

# bad
  a = -> (x, y) { x + y }

  # good
  a = ->(x, y) { x + y }

Example: EnforcedStyle: require_space

# bad
  a = ->(x, y) { x + y }

  # good
  a = -> (x, y) { x + y }

There are no issues that match your filters.

Category
Status