mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-23 15:28:23 -04:00
Removed planting.with_dates
This commit is contained in:
1 parent
dcb949e7b3
commit
eacdab45ba
1 file changed
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user