Growstuff/growstuff

View on GitHub
app/models/seed.rb

Summary

Maintainability
A
0 mins
Test Coverage

Expected an indentation at 24 instead of at 23.
Open

                       inclusion:   { in: HEIRLOOM_VALUES, message: "You must say whether the seeds" \
Severity: Minor
Found in app/models/seed.rb by editorconfig

Expected an indentation at 30 instead of at 29.
Open

                             inverse_of: :parent_seed # children
Severity: Minor
Found in app/models/seed.rb by editorconfig

Expected an indentation at 32 instead of at 31.
Open

                               optional: true, inverse_of: :child_seeds # parent
Severity: Minor
Found in app/models/seed.rb by editorconfig

Expected an indentation at 30 instead of at 29.
Open

                             foreign_key: 'parent_seed_id', dependent: :nullify,
Severity: Minor
Found in app/models/seed.rb by editorconfig

Expected an indentation at 24 instead of at 23.
Open

                       numericality: { only_integer: true, greater_than_or_equal_to: 0 }
Severity: Minor
Found in app/models/seed.rb by editorconfig

There are no issues that match your filters.

Category
Status