Removed planting.with_dates

This commit is contained in:
Brenda Wallace committed 2017-05-28 18:44:26 +12:00
1 parent dcb949e7b3
commit eacdab45ba
1 file changed
-1
-1
View File
@@ -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 {