Smrtcards web application in Rails 3