Take into account the rails version