app/repositories/hearing_repository.rb
def scheduled_for_future
      <<-SQL
        hearing_days.scheduled_for >= CURRENT_DATE
      SQL
    end
# Returns a where clause that can be used to find all hearings that occur within
# in the future
#
# @note Requires a join with the `hearing_days` table.
Returns a where clause that can be used to find all hearings that occur within
in the future
Returns a where clause that can be used to find all hearings that occur within in the future
def scheduled_for_future
      <<-SQL
        hearing_days.scheduled_for >= CURRENT_DATE
      SQL
    end
def scheduled_for_future <<-SQL 
        hearing_days.scheduled_for >= CURRENT_DATE
       SQL end
Returns a where clause that can be used to find all hearings that occur within
in the future
Returns a where clause that can be used to find all hearings that occur within in the future
note
Requires a join with the `hearing_days` table.
Requires a join with the ` hearing_days ` table .