title: Error in an after hook, PG::InFailedSqlTransaction from Rspec
body: <p>I was trying to run rspec from a model spec file, but I got this error: "An error occurred in an after hook"</p>
  
  <blockquote>
    <p>"An error occurred in to after hook  PG :: InFailedSqlTransaction:
    ERROR: current transaction is aborted, commands ignored until end of
    transaction. occurred at C :/ Ruby193/lib/.../postgresql_adapter: 294 "</p>
  </blockquote>
  
  <p>I googled this issue, and I found a suggestion to downgrade my 'database_cleaner' to '1.0.1'. I did, but it doesn't work.
  Does anyone have any idea how to solve this? Thanks in advance!</p>