Hay rack with safety feedgate