updating the rails version and adding options model