Skip to content

Commit

Permalink
unneccessary
Browse files Browse the repository at this point in the history
  • Loading branch information
one-m1nd committed Mar 4, 2024
1 parent bcf0f53 commit b004c15
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/models/watertracker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,5 @@ class << self
def next_date(days = 21)
Watertracker.last.date + days.days
end

# Creates water tracker object for today, i.e we watered the plants today
# @return [void]
def for_today
Watertracker.create(date: Date.today)
end
end
end

0 comments on commit b004c15

Please sign in to comment.