edit card.rb (case)