Upgraded to latest rails gem