Railroad crossings in Fairfield will soon have medians preventing cars from driving around closed gates.