smrtcards web application upgraded to Rails. 4.0