Tab detected. Open
has_many :posessions
- Exclude checks
Tab detected. Open
validates :username, uniqueness: true
- Exclude checks
Inconsistent indentation detected. Open
has_and_belongs_to_many :colonies
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Inconsistent indentation detected. Open
validates :bio, length: { maximum: MAXIMUM_BIO_LENGTH }
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Inconsistent indentation detected. Open
has_many :cats, through: :adoptions
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Tab detected. Open
has_many :cats, through: :sponsors
- Exclude checks
Tab detected. Open
validates :username, :email, :role, :purrs, presence: true
- Exclude checks
Inconsistent indentation detected. Open
validates :username, :email, :role, :purrs, presence: true
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Tab detected. Open
has_many :adoptions
- Exclude checks
Tab detected. Open
has_many :cats, through: :adoptions
- Exclude checks
Inconsistent indentation detected. Open
MAXIMUM_BIO_LENGTH = 512
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Tab detected. Open
has_and_belongs_to_many :turns
- Exclude checks
Tab detected. Open
validates :bio, length: { maximum: MAXIMUM_BIO_LENGTH }
- Exclude checks
Inconsistent indentation detected. Open
MAXIMUM_USERNAME_LENGTH = 20
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Inconsistent indentation detected. Open
validates :email, uniqueness: true
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Inconsistent indentation detected. Open
has_many :posessions
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Tab detected. Open
:recoverable, :rememberable, :trackable, :validatable
- Exclude checks
Tab detected. Open
has_and_belongs_to_many :colonies
- Exclude checks
Inconsistent indentation detected. Open
enum role: [ :admin, :volunteer, :basic]
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Inconsistent indentation detected. Open
has_many :sponsors
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Do not use space inside array brackets. Open
enum role: [ :admin, :volunteer, :basic]
- Read upRead up
- Exclude checks
Checks that brackets used for array literals have or don't have surrounding space depending on configuration.
Example: EnforcedStyle: space
# The `space` style enforces that array literals have
# surrounding space.
# bad
array = [a, b, c, d]
# good
array = [ a, b, c, d ]
Example: EnforcedStyle: no_space
# The `no_space` style enforces that array literals have
# no surrounding space.
# bad
array = [ a, b, c, d ]
# good
array = [a, b, c, d]
Example: EnforcedStyle: compact
# The `compact` style normally requires a space inside
# array brackets, with the exception that successive left
# or right brackets are collapsed together in nested arrays.
# bad
array = [ a, [ b, c ] ]
# good
array = [ a, [ b, c ]]
Tab detected. Open
MAXIMUM_BIO_LENGTH = 512
- Exclude checks
Line is too long. [102/80] Open
validates :purrs, numericality: { only_integer: true, greater_than_or_equal_to: MINIMUM_PURR_VALUE }
- Exclude checks
Inconsistent indentation detected. Open
has_and_belongs_to_many :turns
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Tab detected. Open
MINIMUM_PURR_VALUE = 0
- Exclude checks
Tab detected. Open
validates :username, length: { maximum: MAXIMUM_USERNAME_LENGTH }
- Exclude checks
Align the parameters of a method call if they span more than one line. Open
:recoverable, :rememberable, :trackable, :validatable
- Read upRead up
- Exclude checks
Here we check if the parameters on a multi-line method call or definition are aligned.
Example: EnforcedStyle: withfirstparameter (default)
# good
foo :bar,
:baz
# bad
foo :bar,
:baz
Example: EnforcedStyle: withfixedindentation
# good
foo :bar,
:baz
# bad
foo :bar,
:baz
Inconsistent indentation detected. Open
MINIMUM_PURR_VALUE = 0
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Tab detected. Open
MAXIMUM_USERNAME_LENGTH = 20
- Exclude checks
Tab detected. Open
has_many :donations
- Exclude checks
Tab detected. Open
has_many :sponsors
- Exclude checks
Tab detected. Open
validates :email, uniqueness: true
- Exclude checks
Inconsistent indentation detected. Open
has_many :donations
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Inconsistent indentation detected. Open
has_many :adoptions
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Inconsistent indentation detected. Open
has_many :cats, through: :sponsors
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Inconsistent indentation detected. Open
validates :username, uniqueness: true
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Tab detected. Open
enum role: [ :admin, :volunteer, :basic]
- Exclude checks