upgraded to Rails