Check Rails major >= 4