Updates supported rails version to 3.1+