rails-api new
move to pg; add book scaffold; json 500 error; custom error serialize