upgraded to rails v4.0.2