permit rails versions greater than 2.3