Finalises app and does rake db reset