removed api and upped rails to 4.1