Rubocop fixes

This commit is contained in:
Brenda Wallace committed 2017-11-01 13:57:49 +13:00
1 parent d540342acb
commit 71cb3f8c5f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ class Planting < ActiveRecord::Base
friendly_id :planting_slug, use: [:slugged, :finders]
# Constants
SUNNINESS_VALUES = %w[sun semi-shade shade]
SUNNINESS_VALUES = %w(sun semi-shade shade)
PLANTED_FROM_VALUES = [
'seed',
'seedling',
+1 -1
View File
@@ -46,7 +46,7 @@
%dt Predicted finish:
%dd
- if @planting.finish_predicted_at.present?
=@planting.finish_predicted_at
= @planting.finish_predicted_at
- else
Set planted date to get predictions