Allows rails 4.x versions