corrected new edit card form and added rake tasks for generating databases