let rails do the error handling

Fixes #28