Allow versions above rails 4