infusionvlc/ConexionFelina

View on GitHub
app/models/colonies_user.rb

Summary

Maintainability
A
0 mins
Test Coverage

Tab detected.
Open

    belongs_to :colony
Severity: Minor
Found in app/models/colonies_user.rb by rubocop

Use 2 (not 1) spaces for indentation.
Open

    belongs_to :colony
Severity: Minor
Found in app/models/colonies_user.rb by rubocop

This cops checks for indentation that doesn't use the specified number of spaces.

See also the IndentationConsistency cop which is the companion to this one.

Example:

# bad
class A
 def test
  puts 'hello'
 end
end

# good
class A
  def test
    puts 'hello'
  end
end

Example: IgnoredPatterns: ['^\s*module']

# bad
module A
class B
  def test
  puts 'hello'
  end
end
end

# good
module A
class B
  def test
    puts 'hello'
  end
end
end

Tab detected.
Open

    belongs_to :user
Severity: Minor
Found in app/models/colonies_user.rb by rubocop

There are no issues that match your filters.

Category
Status