Flashcard app with rails