Growstuff/growstuff

View on GitHub
app/models/concerns/search_crops.rb

Summary

Maintainability
A
0 mins
Test Coverage

Expected an indentation at 16 instead of at 15.
Open

               case_sensitive: false,

Expected an indentation at 20 instead of at 19.
Open

                   harvests_count:  { type: :integer },

Expected an indentation at 20 instead of at 19.
Open

                   photos_count:    { type: :integer }

Expected an indentation at 16 instead of at 15.
Open

               merge_mappings: true,

Expected an indentation at 18 instead of at 17.
Open

                 }

Expected an indentation at 16 instead of at 15.
Open

               searchable:     %i(name descriptions alternate_names scientific_names),

Expected an indentation at 18 instead of at 17.
Open

                 properties: {

Expected an indentation at 16 instead of at 15.
Open

               }

Expected an indentation at 16 instead of at 15.
Open

               mappings:       {

Expected an indentation at 20 instead of at 19.
Open

                   created_at:      { type: :integer },

Expected an indentation at 16 instead of at 15.
Open

               settings:       { number_of_shards: 1, number_of_replicas: 0 },

Expected an indentation at 20 instead of at 19.
Open

                   plantings_count: { type: :integer },

There are no issues that match your filters.

Category
Status