Skip to content

Commit

Permalink
Make the @soil_classes array immutable.
Browse files Browse the repository at this point in the history
  • Loading branch information
gsrohde committed Jul 18, 2019
1 parent 3a31897 commit 1d9cf04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/site.rb
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def self.soil_classes
@soil_classes ||= ['clay', 'clay loam', 'loam', 'loamy sand', 'sand',
'sandy clay', 'sandy clay loam', 'sandy loam',
'silt', 'silt loam', 'silty clay', 'silty clay loam',
'peat', 'bedrock', 'other']
'peat', 'bedrock', 'other'].freeze
end


Expand Down

0 comments on commit 1d9cf04

Please sign in to comment.