-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make rspec test fail with current transaction is aborted error #39
Comments
Which version of Ruby are you using? |
@raviolicode ruby 2.1.2p95 |
@raviolicode I find out what code make this error occur
if I change
to
that error not show up any more, this code is not write by me, maybe not the right way to use upsert |
hi @williamherry what does the |
|
try this:
i have a feeling |
@seamusabshere nothing raise and still get that error, but I change to
that error not occur, I am gonna logger that value and see if I can find something Updaterun it second time still get that error |
@seamusabshere I looked the uniq_index, all seems fine |
change database cleaner strategy to deletion, solve my problem, thanks for you help |
not fail every time and not fail if run it individually, after days of dig, I find some useful info in postgresql log
seems use that function before create it?
The text was updated successfully, but these errors were encountered: