allow to use rails 4.x