Growstuff/growstuff

View on GitHub
app/models/planting.rb

Summary

Maintainability
A
0 mins
Test Coverage

Expected an indentation at 28 instead of at 27.
Open

                           inverse_of: :child_plantings
Severity: Minor
Found in app/models/planting.rb by editorconfig

Expected an indentation at 14 instead of at 13.
Open

             latitude + 10, latitude - 10)
Severity: Minor
Found in app/models/planting.rb by editorconfig

Expected an indentation at 26 instead of at 25.
Open

                         foreign_key: 'parent_planting_id',
Severity: Minor
Found in app/models/planting.rb by editorconfig

Expected an indentation at 26 instead of at 25.
Open

                         inverse_of:  :parent_planting,
Severity: Minor
Found in app/models/planting.rb by editorconfig

Expected an indentation at 26 instead of at 25.
Open

                         dependent:   :nullify
Severity: Minor
Found in app/models/planting.rb by editorconfig

Expected an indentation at 12 instead of at 11.
Open

           ON (m.id=p2.owner_id AND plantings.id < p2.id)").where("p2 IS NULL")
Severity: Minor
Found in app/models/planting.rb by editorconfig

Expected an indentation at 12 instead of at 11.
Open

           LEFT OUTER JOIN plantings p2
Severity: Minor
Found in app/models/planting.rb by editorconfig

Expected an indentation at 12 instead of at 11.
Open

           to: :crop, prefix: true
Severity: Minor
Found in app/models/planting.rb by editorconfig

Expected an indentation at 28 instead of at 27.
Open

                           optional:   true,
Severity: Minor
Found in app/models/planting.rb by editorconfig

Expected an indentation at 16 instead of at 15.
Open

               "must be the same as garden, or a collaborator on that garden")
Severity: Minor
Found in app/models/planting.rb by editorconfig

There are no issues that match your filters.

Category
Status