Allow Rails version 4.0 and up