Rails: check day and noon
def a if Time.zone.now.monday? if Time.zone.now == Time.zone.now.noon puts "this is the right time" else puts "sorry, this is not the time" end else puts "sorry, not today man" end end