exception handled added [to railsapp and gem]