From eacdab45ba617368ef9c297cea950334f51aacee Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Sun, 28 May 2017 18:44:26 +1200 Subject: [PATCH] Removed planting.with_dates --- app/models/planting.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/planting.rb b/app/models/planting.rb index cac327890..21b655d6a 100644 --- a/app/models/planting.rb +++ b/app/models/planting.rb @@ -11,7 +11,6 @@ class Planting < ActiveRecord::Base default_scope { order(created_at: :desc) } scope :finished, -> { where(finished: true) } scope :current, -> { where(finished: false) } - scope :with_dates, -> { where.not(planted_at: nil) } scope :interesting, -> { has_photos.one_per_owner } scope :one_per_owner, lambda {