changed rails version from 4.0 to >= 3.2