app/models/task.rb
def completed_this_hour?(shifts_task)
    if Time.now.hour == shifts_task.created_at.hour
      return true
    else
      return false
    end
  end
#following three "completed" methods take a join table entry and return boolean answering title question
following three "completed" methods take a join table entry and return boolean answering title question
following three " completed " methods take a join table entry and return boolean answering title question
def completed_this_hour?(shifts_task)
    if Time.now.hour == shifts_task.created_at.hour
      return true
    else
      return false
    end
  end
def completed_this_hour? ( shifts_task ) if Time . now . hour == shifts_task . created_at . hour return true else return false end end
following three "completed" methods take a join table entry and return boolean answering title question
following three " completed " methods take a join table entry and return boolean answering title question
shifts_task