Changed card.answer.strip to self.answer.strip on line 8 of app/models/card.rb to correct error