activerecord exception instead of controller exeption