mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-02 13:47:57 -05:00
Removing method since it is defined in predict planting
This commit is contained in:
committed by
Brenda Wallace
parent
fc1bd1893c
commit
10008ca30d
@@ -80,10 +80,6 @@ class Planting < ApplicationRecord
|
||||
in: PLANTED_FROM_VALUES, message: "%<value>s is not a valid planting method"
|
||||
}
|
||||
|
||||
def age_in_days
|
||||
(Time.zone.today - planted_at).to_i if planted_at.present?
|
||||
end
|
||||
|
||||
def planting_slug
|
||||
[
|
||||
owner.login_name,
|
||||
|
||||
Reference in New Issue
Block a user