Skip to content
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

Fix Tombstone.delete_all ArgumentError #9978

Merged
merged 1 commit into from Feb 6, 2019

Conversation

Projects
None yet
2 participants
@abcang
Copy link
Collaborator

abcang commented Feb 6, 2019

Fixed a bug that caused ArgumentError (wrong number of arguments (given 1, expected 0)) when executing Tombstone.delete_all(account_id: @account.id).

Backtrace:

activerecord-5.2.2/lib/active_record/relation.rb:386→ delete_all
--
activerecord-5.2.2/lib/active_record/querying.rb:10→ delete_all
app/services/activitypub/process_account_service.rb:215→ clear_tombstones!
@Gargron

Gargron approved these changes Feb 6, 2019

@Gargron Gargron merged commit e186bd2 into master Feb 6, 2019

11 checks passed

ci/circleci: build Your tests passed on CircleCI!
Details
ci/circleci: check-i18n Your tests passed on CircleCI!
Details
ci/circleci: install Your tests passed on CircleCI!
Details
ci/circleci: install-ruby2.4 Your tests passed on CircleCI!
Details
ci/circleci: install-ruby2.5 Your tests passed on CircleCI!
Details
ci/circleci: install-ruby2.6 Your tests passed on CircleCI!
Details
ci/circleci: test-ruby2.4 Your tests passed on CircleCI!
Details
ci/circleci: test-ruby2.5 Your tests passed on CircleCI!
Details
ci/circleci: test-ruby2.6 Your tests passed on CircleCI!
Details
ci/circleci: test-webui Your tests passed on CircleCI!
Details
codeclimate All good!
Details

@abcang abcang deleted the abcang-patch-1 branch Feb 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.