Allow Rails versions >= 4.1